PageSourceSearch

https://app.conte.it/areaclienti/main.89d16f61addaafa9.js

js conte.it collected 2026-09-24 18:39:40 UTC 1,154,825 bytes, 1 lines download raw bytes

1(self.webpackChunkselfcarearea=self.webpackChunkselfcarearea||[]).push([[8792],{13738(ht,L,o){"use strict";o.d(L,{E:()=>t});var t=function(e){return e.Home="home",e.Detail="dettaglio",e.Profile="profilo",e.Renewal="rinnovo",e.Edit="modifica",e.Error="error",e.MagicLink="fast",e.NewError="errore",e.GenericError="errore-tecnico",e.InfoRequest="info-request",e.MultipleVersions="multiple-versions",e.Auth="login",e.ThankYou="thank-you",e.NewInfoRequest="new-info-request",e.PolicyChange="policy-change",e.Claim="sinistro",e.Claims="sinistri",e.ClosureTelephone="chiusura-telefonica",e.EditPolicy="modifica-polizza",e.ExpiredSession="sessione-scaduta",e.ConsentManagement="gestione-consensi",e.DigitalCai="digital-cai",e}(t||{})},60720(ht,L,o){"use strict";o.d(L,{p:()=>t});var t=function(e){return e.Email="email",e.ActivateAccount="attiva-account",e.Password="password",e.ChosePassword="scegli-password",e.ResetPassword="reimposta-password",e.RetrievePassword="recupera-password",e.ActivationAccountComplete="attivazione-account-completata",e.RetrieveAccountComplete="recupero-account-completato",e.ExpireActivationLintError="link-attivazione-scaduto",e.ExpiredRetrieveLinkError="link-recupero-scaduto",e}(t||{})},85338(ht,L,o){"use strict";o.d(L,{u:()=>t});var t=function(e){return e.VehiclesInvolved="vehiclesInvolved",e.VehicleParts="vehicleParts",e.Witnesses="witnesses",e.Wounded="wounded",e.Scenario="scenario",e.IncidentDetails="incidentDetails",e.CaiSigned="caiSigned",e.OtherVehiclePlate="otherVehiclePlate",e.OtherVehicleInsurance="otherVehicleInsurance",e.OtherVehicleBareme="otherVehicleBareme",e.VehiclesData="vehiclesData",e.DamageRefundChoice="damageRefundChoice",e}(t||{})},58547(ht,L,o){"use strict";o.d(L,{M:()=>f,MJ:()=>e,qM:()=>c,vc:()=>n}),o(85338);var e=function(M){return M.Accident="accidentFlow",M.Coverage="coverageFlow",M}(e||{}),n=function(M){return M.Accident="accident",M.AccidentDynamics="dynamics",M.Guarantee="guarantee",M.Summary="summary",M}(n||{}),c=function(M){return M.Highlight="highlight",M.Primary="primary",M}(c||{}),f=function(M){return M.NoPhoneNumber="noPhoneNumber",M.SmsNotSent="smsNotSent",M}(f||{})},20340(ht,L,o){"use strict";o.d(L,{$F:()=>At,$M:()=>Cn,$Y:()=>he,A4:()=>y,B5:()=>I,BE:()=>_t,BO:()=>m,Bj:()=>q,C7:()=>Ln,Cw:()=>je,DN:()=>ot,DW:()=>zt,E1:()=>be,F_:()=>Zn,GD:()=>zn,Ge:()=>on,Hh:()=>ie,Hl:()=>nn,IC:()=>st,Iz:()=>pe,Js:()=>mn,Kj:()=>vt,LU:()=>U,LX:()=>S,Mw:()=>T,N2:()=>to,NB:()=>at,NK:()=>J,NW:()=>Hn,O6:()=>Lt,OD:()=>jt,Op:()=>An,PA:()=>A,PE:()=>go,Q8:()=>it,RC:()=>rn,RN:()=>Bt,Rd:()=>Ae,Rx:()=>ft,S3:()=>fe,S_:()=>mo,T1:()=>j,T4:()=>hn,TJ:()=>Wt,U:()=>Dt,UK:()=>dt,Uz:()=>F,VU:()=>Ut,VX:()=>bt,W9:()=>$n,X:()=>te,XU:()=>Wn,Yn:()=>wn,ZF:()=>Jn,a$:()=>We,af:()=>Ko,an:()=>me,b:()=>$e,bR:()=>X,bX:()=>Xt,c5:()=>h,cl:()=>Zt,dJ:()=>B,dV:()=>Vo,dm:()=>Fe,ff:()=>St,fg:()=>Je,fl:()=>lo,hs:()=>C,hy:()=>tn,iy:()=>pn,kM:()=>Rn,kk:()=>G,lN:()=>co,lT:()=>In,le:()=>p,n5:()=>D,nB:()=>pt,nG:()=>V,p9:()=>Tt,pS:()=>wt,qA:()=>It,qN:()=>s,qZ:()=>Nt,qn:()=>oi,r4:()=>gn,ss:()=>xo,td:()=>Ve,tx:()=>gi,u$:()=>nt,u4:()=>$t,uf:()=>cn,uy:()=>dn,v5:()=>xe,vo:()=>H,x3:()=>k,xE:()=>Gt,xr:()=>so,y5:()=>tt,yK:()=>l,ze:()=>Mo}),o(75089),o(8968);var n=o(58547);const m="polizze",T="https://www.conte.it/",B="[email protected]",A="pa",I="portal",C="self_provisioning",k="none",s="default",l="forced",p="multiple",h="oneclick",D="button",pt="ap|rn",ot="ap|new",at="NB",Bt="RN",_t="login|email",st="login|password",Ut="CampaignSource",ft="emailActivation|linkSent|native",zt="emailActivation|linkSent|migrated",jt="emailActivation|success|native",Nt="emailActivation|success|migrated",Dt="emailActivation|expiredLink",pe="emailActivation|setPassword",Lt="landing",fe="login",St="error",Xt="activation",S="retrieve",vt="retrievePassword|linkSent",y="retrievePassword|setPassword",U="retrievePassword|success",F="payment|bank",G="error|info",dt="thankyou",wt="procedi",tt="denuncia",H="000",nt="consent|modal",V="Consento",Gt="Nego",Ae="Torna alle tue Polizze",gn="dettaglioPolizza",hn="dettaglioRinnovo",Hn="gestisciPolizza",rn="scopriRinnovo",Wn="vediRinnovo",J="alreadyIssued",Wt="alreadyPurchased",te="withdrawn",me="subblocked",nn="acquistaRinnovoVersioniMultiple",In="payment|modal",Cn="payment|uwdocument",Rn="online",mn="dettaglioPreventivo",cn="modificaPreventivo",Ln="mostraPreventivi",tn="acquistaPreventivoDettaglio",je="acquistaPreventivoHomepage",Jn="acquistaPreventivoVersioniMultiple",An="proseguiLogin",dn="proseguiPassword",$n="wrongPassword",zn="differentFromEmail",on="password",mo="cho
1osePassword",to="confirmPassword",co="fullValidPassword",We="text",xe="enterPA",Tt="retrievePassword",At="modificaRinnovoModaleVersioniMultiple",$e="modificaGaranzieRinnovoModaleVersioniMultiple",Fe="modificaInfoRinnovoModaleVersioniMultiple",bt="007|test",$t="007|notEligible",ie="payment",Ve="phone",Zn="payment",so="phone",go="card",q="banktransfer",it="auto",It="moto",Zt="suspension",he="suspension|motofree",be="suspension|notvol",Je="sospendi",pn="paga-e-sospendi",Vo="pc|suspension|notvol|thankyou",lo="telephoneClosure|aniaKo",xo="step1",Ko="riattiva-subito",oi="reactivation-other-vehicle",Mo="vai alla riattivazione";var wn=function(Ot){return Ot.Atr="ATTESTATO_DI_RISCHIO",Ot.CertificatoDiAssicurazione="CERTIFICATO DI ASSICURAZIONE",Ot.ContrattoOcto="CERTIFICATO DI ASSICURAZIONE OCTO",Ot.CartaVerde="CARTA VERDE",Ot.Preventivo="PREVENTIVO",Ot.KitOffertaRinnovo="PREVENTIVO",Ot.ContrattoParteGenerale="CONTRATTO PARTE GENERALE",Ot.Contratto="CONTRATTO PARTE GENERALE",Ot}(wn||{});const gi="claim",X=new Map([[wn.Atr,{action:"download|ATR",label:"ATR",errorLabel:"erroreATR"}],[wn.CertificatoDiAssicurazione,{action:"download|Certificate",label:"Certificato",errorLabel:"erroreCertificato"}],[wn.Contratto,{action:"download|Contract",label:"Contratto",errorLabel:"erroreContratto"}],[wn.ContrattoParteGenerale,{action:"download|Contract",label:"Contratto",errorLabel:"erroreContratto"}],[wn.ContrattoOcto,{action:"download|CertificateOCTO",label:"CertificatoOCTO",errorLabel:"erroreCertificatoOCTO"}],[wn.CartaVerde,{action:"download|CartaVerde",label:"CartaVerde",errorLabel:"erroreCartaVerde"}],[wn.Preventivo,{action:"download|Preventivo",label:"Preventivo",errorLabel:"errorePreventivo"}],[wn.KitOffertaRinnovo,{action:"download|Preventivo",label:"Preventivo",errorLabel:"errorePreventivo"}]]),j=new Map([[n.MJ.Accident,"Inizia-RCA"],[n.MJ.Coverage,"Inizia-Coverage"]])},24817(ht,L,o){"use strict";o.d(L,{t:()=>A});var t=o(44181),e=o(37754),n=o(76936),c=o(35491),f=o(67793),M=o(45198),m=o(13738),r=o(56234),_=o(80226);let g=(()=>{class I{constructor(k,s){this.actions$=k,this.navigateService=s,this.goToInfoRequest$=(0,n.EH)(()=>this.actions$.pipe((0,n.gp)(r.I9),(0,M.n)(()=>(0,f.of)(this.navigateService.navigateTo([m.E.NewInfoRequest])))),{dispatch:!1}),this.goToClosureTelephone$=(0,n.EH)(()=>this.actions$.pipe((0,n.gp)(r.ej),(0,M.n)(()=>(0,f.of)(this.navigateService.navigateTo([m.E.ClosureTelephone])))),{dispatch:!1}),this.goToThankYouPage$=(0,n.EH)(()=>this.actions$.pipe((0,n.gp)(r.gg),(0,M.n)(()=>(0,f.of)(this.navigateService.navigateTo([m.E.ThankYou])))),{dispatch:!1})}static{this.\u0275fac=function(s){return new(s||I)(_.KVO(n.En),_.KVO(e.TF))}}static{this.\u0275prov=_.jDH({token:I,factory:I.\u0275fac})}}return I})();var $=o(36e3),T=o(57869),B=o(51203);let A=(()=>{class I{static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275mod=B.$C({type:I})}static{this.\u0275inj=_.G2t({providers:[$.G],imports:[t.MD,c.md.forFeature(T.s4,T.Ff),n.Vm.forFeature([g]),e.h.forChild()]})}}return I})()},56234(ht,L,o){"use strict";o.d(L,{I9:()=>e,Sj:()=>f,ej:()=>n,gg:()=>c});var t=o(35491);const e=(0,t.VP)("[Courtesy Page] Go to Info Request Page",(0,t.xk)()),n=(0,t.VP)("[Courtesy Page] Go to Closure Telephone Page",(0,t.xk)()),c=(0,t.VP)("[Courtesy Page] Go to Thank You  Page",(0,t.xk)()),f=(0,t.VP)("[Courtesy Page] Reset Courtesy Page State")},36e3(ht,L,o){"use strict";o.d(L,{G:()=>wt});var t=o(80226),e=o(75089),n=o(76463),c=o(37754),f=o(35491),M=o(67793),m=o(80452),r=o(45198),_=o(50596),g=o(12378),$=o(50289);const B="policyEdit.courtesyPage.contacts",A="courtesyPage.vehicleChange",s_ACTIVE=`${B}.active`,s_INACTIVE=`${B}.inactive`,s_NOT_FOUND=`${B}.notFound`,s_ERROR=`${B}.error`,l_closureTelephone_title="courtesyPage.withdrawal.closureTelephone.title",l_closureTelephone_subtitle="courtesyPage.withdrawal.closureTelephone.subtitle",l_closureTelephone_subtitleInstructions="courtesyPage.withdrawal.closureTelephone.subtitleInstructions",p=new Set([e.XJp.VehicleChange,e.XJp.Reactivation]),h=new Map([[e.XJp.VehicleChange,{id:"vehicleChangeMessage",translationPath:A}],[e.XJp.Reactivation,{id:"vehicleChangeMessage",translationPath:A}],[e.XJp.PolicyEdit,{id:"policyEditMessage",translationPath:"policyEdit.courtesyPage"}]]),w=new Map([[e.D_l.Payment,{theme:"orange",suffix:"payment"}],[e.D_l.Refund,{theme:"blue",suffix:"refund"}]]),z=new Map([[e.WHC.Active,`${s_ACTIVE}`],[e.WHC.Inactive,`${s_INACTIVE}`],[e.WHC.NotFound,`${s_NOT_FOUND}`],[e.WHC.Error,`${s_ERROR}`]]);var v=o(56234),D=o(30020),N=o(37657),W=o(8659),pt=o(72471),ot=o(62336),gt=o(57869);const et=(0,f.UX)(gt.s4),Et=(0,f.Mz)(et,tt=>tt.loaded),K=(0,f.Mz)(et,tt=>tt.courtesyPageData),at=(0,f.Mz)(et,tt=>tt.modalConfig),Bt=(0,f.Mz)(K,tt=>tt.paymentType),_t=(0,f.Mz)(K,tt=>tt.policyHolderName),st=(0,f.Mz)(K,tt=>`${tt.policyHolderName} ${tt.policyHolderSurname}`),Ut=(0,f.Mz)(et,tt=>{const H=tt.courtesyPageData.paymentFlow,V=tt.courtesyPageData.transactionType,Gt=(0,ot.Kb)(tt,tt.editedPolicyData),Yt=tt.courtesyPageData.policyChange?.suspension?.typology,ge=tt.courtesyPageData.policyChange?.suspension?.effectiveDate;Yt===e.XvD.Sale&&(0,c.Dl)(ge)<-30&&(Gt.pageName=N.JB.NN),H===e.XJp.VehicleChange&&V===e.D_l.Refund&&(Gt.pageName=N.JB.cx
1),H===e.XJp.VehicleChangeAntiFraud&&(Gt.pageName=N.JB.H_),[e.XJp.SuspensionNoDays,e.XJp.ReactivationNoDays].includes(H)&&(Gt.pageName=N.JB.RQ,Gt.businessType=H===e.XJp.SuspensionNoDays?e.XJp.Suspension:e.XJp.Reactivation);const se=tt.courtesyPageData.policyChange?.reactivation?.typology,He=tt.courtesyPageData.reactivationResult;if(H===e.XJp.Reactivation&&se===e.njP.OtherVehicle&&(delete Gt.paymentType,tt.courtesyPageData.transactionType===e.D_l.Refund?(Gt.pageName=N.JB.cx,Gt.businessType=N.JB.LB):He===e.phH.ReactivationOngoingTermExtension&&(Gt.pageName=N.JB.oc,Gt.businessType=N.JB.LB)),H===e.XJp.PolicyEdit){Gt.vehicleType=e.$OU.Car;const sn=tt.courtesyPageData.apiError;V===e.D_l.Refund?(Gt.version=V,Gt.paymentType=tt.courtesyPageData.paymentType):sn?.code===e.Y8L.AniaError&&(Gt.pageName=N.JB.fl)}return Gt}),ft=(0,f.Mz)(et,Bt,(tt,H)=>{const nt=tt.editedPolicyData,Gt={vehicleType:tt.courtesyPageData.vehicleType.code??"none",creationNode:tt?"000":"none",appName:N.JB.PA,pageName:tt.courtesyPageData.pageName??N.JB.UK,version:tt.courtesyPageData.version??N.JB.qN,businessType:nt||tt.courtesyPageData.paymentFlow,...null!==tt.courtesyPageData.closureType&&{closureType:N.JB.kM}};if(tt.courtesyPageData.isRenewalPhase&&(Gt.version=N.JB.db),"claimDeclaration"===tt.courtesyPageData.businessType&&(Gt.businessType="claimDeclaration"),tt.courtesyPageData.policyChange?.suspension?.typology===e.XvD.Sale&&(0,c.Dl)(tt.courtesyPageData.policyChange?.suspension.effectiveDate)<-30&&(Gt.pageName=N.JB.NN),0===tt.courtesyPageData.paymentTotalAmount&&tt.courtesyPageData.paymentFlow===e.XJp.Suspension&&(Gt.businessType=tt.courtesyPageData.policyChange?.suspension?.typology===e.XvD.MotoFree?N.JB.Xg:tt.courtesyPageData.policyChange?.suspension?.typology===e.XvD.Voluntary?N.JB.cl:N.JB.U3),tt.courtesyPageData.paymentType===e.dmC.Bank&&tt.courtesyPageData.paymentFlow===e.XJp.Renewal&&(Gt.paymentType=N.JB.NT,Gt.appName=N.JB.hs),tt.courtesyPageData.paymentFlow===e.XJp.PolicyEdit){Gt.businessType=nt||e.XJp.PolicyEdit;const Yt=tt.courtesyPageData.transactionType;Yt===e.D_l.Payment?Gt.closureType=tt.courtesyPageData.paymentType===e.dmC.Bank?N.JB.kM+"/"+e.dmC.Bank:N.JB.kM+"/"+N.JB.PE:(Gt.version=Yt,Gt.closureType=Yt===e.D_l.Refund?N.JB.kM+"/"+e.dmC.Bank:N.JB.kM+"/"+N.JB.x3)}if(tt.courtesyPageData.paymentFlow===e.XJp.Reactivation)if(tt.courtesyPageData.policyChange?.reactivation?.typology===e.njP.SameVehicle)tt.courtesyPageData.reactivationResult===e.phH.ReactivationOngoingTermExtension&&(Gt.pageName=N.JB.AA);else if(tt.courtesyPageData.policyChange?.reactivation?.typology===e.njP.OtherVehicle){const Yt=tt.courtesyPageData.transactionType;Yt===e.D_l.Payment?(Gt.businessType=N.JB.LB,Gt.paymentType=H):Yt===e.D_l.Refund&&(Gt.businessType=N.JB.uS),Yt===e.D_l.Threshold&&(Gt.businessType=N.JB.p_)}return tt.courtesyPageData.paymentFlow===e.XJp.VehicleChange&&tt.courtesyPageData.policyChange?.suspension&&(Gt.businessType=`${tt.courtesyPageData.paymentFlow}|${Gt.pageName}`),tt.courtesyPageData.dimension20&&(Gt.dimension20=tt.courtesyPageData.dimension20),Gt}),zt=(0,f.Mz)(K,tt=>tt.paymentFlow),jt=(0,f.Mz)(K,tt=>tt.encryptedJobNumber),Nt=(0,f.Mz)(K,tt=>tt.encryptedPolicyNumber),Dt=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow;let V=tt.paymentDownpaymentAmount??tt.paymentTotalAmount;return(H===e.XJp.VehicleChange||H===e.XJp.Reactivation||H===e.XJp.PolicyEdit)&&tt.transactionType===e.D_l.Refund&&(V=Math.abs(V)),(0,c.qu)(V).split(",")}),pe=(0,f.Mz)(K,tt=>null!=tt.paymentTotalAmount&&0!==tt.paymentTotalAmount),Lt=(0,f.Mz)(K,tt=>{let H;const nt=tt.paymentFlow,V=tt.transactionType;return nt===e.XJp.Renewal?H="Importo "+(tt.paymentFractionation.code===e.szo.ANNUAL?"annuale":"semestrale"):nt===e.XJp.Withdrawal?H="courtesyPage.withdrawal.labelPrice":nt===e.XJp.Suspension?H="Importo pagato per sospensione":nt===e.XJp.Reactivation?H=tt.policyChange?.reactivation.typology===e.njP.OtherVehicle?V===e.D_l.Refund?"Importo da ricevere a rimborso":"Integrazione riattivazione nuovo veicolo":"Importo pagato per riattivazione":nt===e.XJp.VehicleChange&&(V===e.D_l.Payment?H="Importo pagato per cambio veicolo":V===e.D_l.Refund?H="Importo rimborsato":V===e.D_l.Threshold&&(H="Importo pagato")),H}),fe=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow;let nt;const V=tt.apiError;if(H===e.XJp.SuspensionNoDays)nt={title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>
1hai terminato i giorni di sospensione a tua disposizione.".replace("{{policyHolderName}}",tt.policyHolderName),subtitle:"Se hai bisogno di supporto contatta un nostro consulente al numero:"};else if(H===e.XJp.Suspension)nt={title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>completa la sospensione con un nostro consulente!".replace("{{policyHolderName}}",tt.policyHolderName)};else if(H===e.XJp.VehicleChange||H===e.XJp.VehicleChangeAntiFraud){const Gt=tt.transactionType;nt=V?.code===e.hxv.AntiFraudValidationError?{title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, ti chiediamo di inviarci alcuni documenti necessari per procedere al cambio veicolo".replace("{{policyHolderName}}",tt.policyHolderName)}:Gt===e.D_l.Refund?{title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>completa la richiesta di rimborso con un nostro consulente!".replace("{{policyHolderName}}",tt.policyHolderName)}:{title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>completa il Cambio Veicolo con un nostro consulente!".replace("{{policyHolderName}}",tt.policyHolderName)}}else if(H===e.XJp.Reactivation||H===e.XJp.ReactivationNoDays){const Gt=tt.transactionType,ge=`Ciao <span class='light-blue'>${tt.policyHolderName}</span>, <br>`;nt={title:H===e.XJp.Reactivation?ge+"completa la Riattivazione con un nostro consulente!":ge,...H===e.XJp.ReactivationNoDays&&{subtitle:"Non \xe9 possibile riattivare la polizza perch\xe9 hai superato il periodo massimo di sospensione di 10 mesi complessivi previsto dal Decreto Legislativo n. 184/2023 (in vigore dal 23 dicembre 2023).",subtitleClass:"no-days"}},V?.code===e.hxv.AntiFraudValidationError?nt={title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>Ti chiediamo di inviarci alcuni documenti necessari per procedere alla Riattivazione sul nuovo veicolo.".replace("{{policyHolderName}}",tt.policyHolderName)}:Gt===e.D_l.Refund&&(nt={title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>completa la richiesta di rimborso con un nostro consulente!".replace("{{policyHolderName}}",tt.policyHolderName)})}else H===e.XJp.PolicyEdit?nt=V?.code===e.Y8L.AniaError?{title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>Ti chiediamo di inviarci alcuni documenti necessari per procedere alla modifica dei dati.".replace("{{policyHolderName}}",tt.policyHolderName)}:{title:"Ciao <span class='light-blue'>{{policyHolderName}}</span>, <br>completa le modifiche della tua polizza e concludi l'acquisto con un nostro consulente!".replace("{{policyHolderName}}",tt.policyHolderName)}:H===e.XJp.Withdrawal&&(nt={title:l_closureTelephone_title,subtitle:l_closureTelephone_subtitle,subtitleClass:"no-days"});return nt}),St=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.paymentType,V=tt.policyChange,Gt=tt.transactionType,Yt=tt.apiError,ge=tt.businessType;let se={policyHolderFullName:`${tt.policyHolderName} ${tt.policyHolderSurname}`,plateNumber:tt.vehiclePlate};if(H===e.XJp.Renewal)se.vehicleFullDescription=(0,c.$Z)(tt.vehicleBrand.description,tt.vehicleModel.description,tt.vehicleVersion.description),se.title="I dati della nuova polizza",se.effectiveDate=tt.renewalEffectiveDate,se.coverages=tt.selectedCoverages?.map(He=>He.name).join(" + "),nt!==e.dmC.Bank&&(se=null);else if(H===e.XJp.Withdrawal)se=null;else if(H===e.XJp.Suspension)se.vehicleFullDescription=(0,c.$Z)(tt.vehicleBrand.description,tt.vehicleModel.description,tt.vehicleVersion.description),se.title="Dati della sospensione",se.effectiveDate=V.suspension.effectiveDate,se.suspensionTypeDesc=e.kWz.get(V.suspension.typology),se.expirationDate=V.suspension.expirationDate,tt.paymentType===e.dmC.Bank&&(se.iconTitleData="icon-alert-octagon");else if(H===e.XJp.VehicleChange||H===e.XJp.VehicleChangeAntiFraud)se=(0,ot.QF)(tt,se,V,Gt,Yt);else if(H===e.XJp.Reactivation){se.vehicleFullDescription=(0,c.$Z)(tt.vehicleBrand.description,tt.vehicleModel.description,tt.vehicleVersion.description),se.title="Dati della riattivazione",se.policyActivationDate=tt.reactivationDate,se.policyExpirationDate=tt.policyExpirationDate;const He=tt.policyChange.reactivation.typology;Yt?.code===e.hxv.AntiFraudValidationError&&(se.policyActivationDate=tt.vehicleChangeEffectiveDate),He===e.njP.OtherVehicle?(se.policyActivationDate=V.reactivation.effectiveDate,se.coverages=tt.newSelectedCoverages?.map(sn=>sn.code).join(", "),Gt===e.D_l.Refund?se.refundAmount=Math.abs(tt.paymentTotalAmount):se.paidAmount=tt.paymentTotalAmount):se.policyActivationDate=new e.Qnl(tt.reactivationDate).setHours(23,59,0,0)}else H===e.XJp.PolicyEdit?(se.title="Le modifiche richieste in polizza",se.primaryAddress=tt.primaryAddress,se.domicile=tt.domicile,se.email=tt.email,se.phone=tt.phone,se.guideType=tt.guideType,se.policyHolderFullName=tt.policyHolderName,Gt===e.D_l.Refund?se.refundAmount=Math.abs(tt.paymentTotalAmount):se.paidAmount=tt.paymentTotalAmount):"claimDeclaration"===ge&&(se=null);return se}),Xt=(0,f.Mz)(K,tt=>{const H=tt.policyChange?.suspension?.typology;return sessionStorage.getItem(N.JB.QB)===N.JB.F3.VehicleChange&&H!==e.XvD.Voluntary&&tt.paymentFlow===e.XJp.Suspension?`${e.XJp.Suspension}.thankYouPage.reactivationCTACard`:null}),S=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.policyChange;return H!==e.XJp.VehicleChange&&H!==e.XJp.VehicleChangeAntiFraud||!nt?.suspension?null:[{title:"Dati della sospensione",policyHolderFullName:`${tt.policyHolderName} ${tt.policyHolderSurname}`,effectiveDate:nt.suspension.effectiveDate,vehicleFullDescription:(0,c.$Z)(tt.oldVehicleBrand.description,tt.oldVehicleModel.description,tt.oldVehicleVersion.description),plateNumber:tt.oldVehiclePlate}]}),vt=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.transactionType;let V={iban:N.JB.f2,payee:D.k8,paymentReason:tt.vehiclePlate,paymentAmount:tt.paymentDownpaymentAmount??tt.paymentTotalAmount};return H===e.XJp.Suspension?V.paymentReason="Sospensione polizza per la targa {{vehiclePlate}}".replace("{{vehiclePlate}}",tt.vehiclePlate):H!==e.XJp.VehicleChange&&H!==e.XJp.VehicleChangeAntiFraud&&H!==e.XJp.Reactivation&&H!==e.XJp.PolicyEdit||nt!==e.D_l.Refund?H===e.XJp.PolicyEdit&&(V.paymentReason="{{vehiclePlate}}".replace("{{vehiclePlate}}",tt.vehiclePlate)):V=null,V}),y=(0,f.Mz)(K,tt=>{const H=tt.transactionType,nt=tt.paymentFlow,V=tt.apiError;return nt===e.XJp.Suspension?e.RqX:nt===e.XJp.Reactivation?V?.code===e.hxv.AntiFraudValidationError?e.zhu:H===e.D_l.Refund?e.mcz:e.v2b:nt===e.XJp.VehicleChange||nt===e.XJp.VehicleChangeAntiFraud?V?.code===e.hxv.AntiFraudValidationError?e.zhu:H===e.D_l.Refund?e.mcz:e.zhu:nt===e.XJp.PolicyEdit?e.Ny3:void 0}),U=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.transactionType,V=tt.policyChange?.suspension?.typology;if(H===e.XJp.Renewal)return e.qQK;if(H===e.XJp.Withdrawal)return[];if(H===e.XJp.Suspension)return V===e.XvD.Voluntary?e.IOi:e.FHO;if(H===e.XJp.Reactivation)return nt===e.D_l.Payment||nt===e.D_l.Threshold?e.bOG:nt===e.D_l.Refund?e.wZt:e.v2b;if(H===e.XJp.VehicleChange||H===e.XJp.VehicleChangeAntiFraud){if(nt===e.D_l.Payment||nt===e.D_l.Threshold)return e.bOG;if(nt===e.D_l.Refund)return e.wZt}else if(H===e.XJp.PolicyEdit)return e.jM8}),F=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.policyChange;return H!==e.XJp.VehicleChange&&H!==e.XJp.VehicleChangeAntiFraud||!nt?.suspension?null:[e.RqX]}),G=(0,f.Mz)(K,({octoCoverage:tt,newOctoCoverage:H,policyExpirationDate:nt,renew
1alEffectiveDate:V,policyChange:Gt,paymentFlow:Yt})=>({octoCoverage:tt,newOctoCoverage:H,policyExpirationDate:nt,renewalEffectiveDate:V,suspensionTypology:Gt?.suspension?.typology,paymentFlow:Yt})),dt=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.policyHolderName,V={},Gt=tt.paymentType,Yt=tt.transactionType,ge=tt.businessType;if(H===e.XJp.Renewal)Gt===e.dmC.Bank?(V.title="{policyHolderName}, ci sei quasi! fai il pagamento tramite bonifico.".replace("{policyHolderName}",nt),V.subtitle="La polizza sul tuo veicolo sar\xe0 emessa <b>entro 2 giorni</b> lavorativi dalla ricezione del pagamento.",V.secondSubtitle="Effettuato il pagamento ci occuperemo noi di tutto e non dovrai inviarci alcun documento, per qualsiasi necessit\xe0 saremo noi a contattarti ai recapiti che ci hai fornito."):(V.title="L\u2019acquisto \xe8 andato a buon fine!",V.secondSubtitle="Grazie {policyHolderName}".replace("{policyHolderName}",nt),V.text="Riceverai i documenti entro 2 giorni lavorativi secondo la modalit\xe0 da te indicata");else if(H===e.XJp.Withdrawal)V.title="courtesyPage.withdrawal.feedbackTitle",V.secondSubtitle="courtesyPage.withdrawal.feedbackSubtitle",V.text="courtesyPage.withdrawal.feedbackText";else if(H===e.XJp.Suspension)Gt===e.dmC.Bank?(V.title="{policyHolderName}, inviaci la prova del bonifico effettuato!".replace("{policyHolderName}",nt),V.subtitle="La polizza sul tuo veicolo sar\xe0 sospesa <b>entro 2 giorni</b> lavorativi dall'invio della prova di pagamento.",V.secondSubtitle="Fai subito il bonifico e invia la prova di pagamento all'indirizzo",V.secondSubtitleHref="mailto:[email protected]",V.secondSubtitleLink="[email protected]"):(V.title="Grazie {policyHolderName}!".replace("{policyHolderName}",nt),V.secondSubtitle="La richiesta di sospensione \xe8 andata a buon fine.",V.text="Ricordati di non circolare con la polizza sospesa e avvisa chi, da contratto, potrebbe guidare il veicolo oltre a te.");else{if(H===e.XJp.VehicleChange||H===e.XJp.VehicleChangeAntiFraud)return(0,ot.qT)(nt,Yt,Gt);if(H===e.XJp.PolicyEdit)V.title="La modifica della polizza \xe8 andata a buon fine!",V.secondSubtitle="Grazie {policyHolderName}".replace("{policyHolderName}",nt),V.text="Le informazioni sulla tua polizza risultano aggiornate.",(Yt===e.D_l.Payment||Yt===e.D_l.Threshold)&&Gt===e.dmC.Bank&&(V.subtitle="Riceverai il nuovo contratto sulla tua email entro <b>entro 2 giorni lavorativi</b>",(0,ot.As)(V,nt));else if(H===e.XJp.Reactivation){const se=new e.Qnl(tt.reactivationDate),He=tt.policyChange?.reactivation.typology;V.title="Grazie {policyHolderName}!".replace("{policyHolderName}",nt),tt.reactivationResult===e.phH.ReactivationOngoingTermExtension?(V.title="Abbiamo preso in carico la tua richiesta di riattivazione",V.text="Stiamo lavorando alla tua richiesta.<br> Nel giro di qualche giorno riceverai sul tuo indirizzo email {email} conferma della riattivazione avvenuta.".replace("{email}",tt.email)):He===e.njP.OtherVehicle?(V.text="Controlla il tuo indirizzo e-mail: ti abbiamo appena inviato il certificato che ti servir\xe0 per circolare con il tuo nuovo veicolo.<br>Nell'e-mail troverai anche il contratto di polizza aggiornato: stampalo, firmalo e quindi invialo all'indirizzo <a href=\"mailto:[email protected]\">[email protected]</a>.",(Yt===e.D_l.Payment||Yt===e.D_l.Threshold)&&Gt===e.dmC.Bank&&(V.subtitle="La polizza sul nuovo veicolo sar\xe0 emessa <b>entro 2 giorni</b> lavorativi dall'invio della prova di pagamento.",(0,ot.As)(V,nt))):(V.secondSubtitle="La riattivazione \xe8 andata a buon fine.",V.text="Potrai circolare con il tuo veicolo a partire <b>dalle ore 24:00 del {dateReactivation}</b>.</br>A breve riceverai sul tuo indirizzo email {email} i documenti necessari per circolare.".replace("{dateReactivation}",se.format("DD MMMM YYYY")).replace("{email}",tt.email))}else"claimDeclaration"===ge&&(V.title="claims.thankyou.title",V.subtitle="claims.thankyou.subtitle",V.text="claims.thankyou.text")}return V}),ut=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.apiError;return H===e.XJp.ReactivationNoDays?"Ricordati che non puoi circolare senza copertura; avvisa anche le altre persone abilitate da contratto alla guida del veicolo. <br /> Se hai bisogno di maggiori informazioni, siamo disponibili al seguente numero:":H===e.XJp.VehicleChange&&nt?.code===e.hxv.AntiFraudValidationError?"Inviaci un e-mail all&#96;indirizzo seguente:":H===e.XJp.VehicleChangeAntiFraud&&nt?.code===e.hxv.AntiFraudValidationError?"Invia i documenti al seguente indirizzo email:":H===e.XJp.Withdrawal?l_closureTelephone_subtitleInstructions:void 0}),yt=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.apiError;return H===e.XJp.VehicleChange&&nt?.code===e.hxv.AntiFraudValidationError?"[email protected]":H===e.XJp.VehicleChangeAntiFraud&&nt?.code===e.hxv.AntiFraudValidationError?W.Ik:H===e.XJp.PolicyEdit&&nt?.code===e.Y8L.AniaError?"[email protected]":void 0}),Re=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.apiError;return(H!==e.XJp.VehicleChange&&H!==e.XJp.VehicleChangeAntiFraud||nt?.code!==e.hxv.AntiFraudValidationError)&&!(H===e.XJp.PolicyEdit&&nt?.code===e.Y8L.AniaError)}),Pe=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.apiError?.code;return ot.$Z.get(nt?`${H}-${nt}`:H)??pt.Vj5}),qe=(0,f.Mz)(K,tt=>tt.paymentFlow===e.XJp.ReactivationNoDays?"no-days":""),oe=(0,f.Mz)(K,tt=>{const H=tt.paymentFlow,nt=tt.apiError;return(H===e.XJp.VehicleChange||H===e.XJp.VehicleChangeAntiFraud||H===e.XJp.Reactivation)&&nt?.code===e.hxv.AntiFraudValidationError||H===e.XJp.PolicyEdit&&nt?.code===e.Y8L.AniaError?"Inserisci nell&#96;oggetto <b>il numero di preventivo [{jobNumber}]</b> e allega il documento in formato jpeg o pdf.<br>Verificheremo la documentazione ed entro <b>2 giorni lavorativi dalla ricezione verrai ricontattato</b>".replace("{jobNumber}",tt.jobNumber.split("/")[0]):""});let wt=(()=>{class tt{constructor(){this.store=(0,t.WQX)(f.il),this.translateService=(0,t.WQX)(c.c$),this.loaded$=this.store.pipe((0,f.Lt)(Et)),this.paymentType$=this.store.pipe((0,f.Lt)(Bt)),this.policyHolderName$=this.store.pipe((0,f.Lt)(_t)),this.policyHolderFullName$=this.store.pipe((0,f.Lt)(st)),this.getPageViewTrackingClosureTelephone$=this.store.pipe((0,f.Lt)(Ut)),this.getPageViewTrackingThankyou$=this.store.pipe((0,f.Lt)(ft)),this.paymentFlow$=this.store.pipe((0,f.Lt)(zt)),this.encryptedJobNumber$=this.store.pipe((0,f.Lt)(jt)),this.encryptedPolicyNumber$=this.store.pipe((0,f.Lt)(Nt)),this.getLabelPrice$=this.store.select(Lt).pipe((0,r.n)(nt=>
1nt?this.translateService.stream(nt):(0,M.of)(null))),this.getShowPaymentInfo$=this.store.select(pe),this.getPaymentAmount$=this.store.select(Dt),this.payOff$=this.store.pipe((0,f.Lt)(fe)),this.getReactivationCTATranslation$=this.store.select(Xt).pipe((0,r.n)(nt=>nt?this.translateService.stream(nt):(0,M.of)(null))),this.getRecapData$=this.store.select(St).pipe((0,_.p)(Boolean),(0,r.n)(nt=>{if(!nt.coverages)return(0,M.of)(nt);const V=nt.coverages.split(", ").map(Gt=>`${n.do}.${Gt}.name`);return this.translateService.stream(V).pipe((0,g.T)(Gt=>({...nt,coverages:V.map(Yt=>Gt[Yt]).join(", ")})))})),this.getAdditionalData$=this.store.select(S),this.getClaimsInstructions$=this.store.select(K).pipe((0,_.p)(nt=>"claimDeclaration"===nt.businessType),(0,g.T)(()=>this.translateService.instant("claims.thankyou.instructions"))),this.bankTransferRecapData$=this.store.select(vt),this.contractorDataMapListClosureTelephone$=this.store.pipe((0,f.Lt)(y)),this.contractorDataMapListThankyouPage$=this.store.pipe((0,f.Lt)(U)),this.additionalDataMapListThankyouPage$=this.store.pipe((0,f.Lt)(F)),this.getDataForOctoTelematicsBanner$=this.store.pipe((0,f.Lt)(G),(0,g.T)(({octoCoverage:nt,newOctoCoverage:V,policyExpirationDate:Gt,renewalEffectiveDate:Yt,suspensionTypology:ge,paymentFlow:se})=>{if(se===e.XJp.Renewal){if(nt){let He={};const sn=new e.Qnl;if(sn.setHours(0,0,0,0),nt.selected&&!nt.isCoveredInOriginalVersion){const Ae=(0,c.Dl)(sn.getTime(),new e.Qnl(Gt).getTime())<=8?new e.Qnl(sn).addDays(1).getStandardFormat():new e.Qnl(Yt).addDays(-8).getStandardFormat();He.body=this.translateService.instant("renewal.octoCoverageBanner.selected.body"),He.phoneMessage=this.translateService.instant("renewal.octoCoverageBanner.selected.phoneMessage",{effectiveDateForTelematics:Ae})}else if(!nt.selected&&nt.isCoveredInOriginalVersion){const Ae=new e.Qnl(Yt).addDays(10).getStandardFormat();He.body=this.translateService.instant("renewal.octoCoverageBanner.notSelected.body"),He.phoneMessage=this.translateService.instant("renewal.octoCoverageBanner.notSelected.phoneMessage",{effectiveDateForTelematics:Ae})}else He=null;return He}}else if(se===e.XJp.Suspension&&V&&V.status===e.V0m.Included&&ge!==e.XvD.Theft)return{body:this.translateService.instant(`suspension.octoCoverageBanner.${ge===e.XvD.Voluntary?"voluntary":"notVoluntary"}.body`),phoneMessage:this.translateService.instant("suspension.octoCoverageBanner.phoneMessage")}})),this.getToastMessages$=this.store.pipe((0,f.Lt)(K),(0,g.T)(nt=>[...this.buildRenewalToasts(nt),...this.buildBankToasts(nt),...this.buildPolicyEditContactsToasts(nt),...this.buildWithdrawalToasts(nt),...this.buildRefundToasts(nt)])),this.getFeedbackMessages$=this.store.select(dt).pipe((0,$.E)(this.store.select(K)),(0,r.n)(([nt,V])=>"claimDeclaration"===V.businessType?(Object.entries(nt).forEach(([Gt,Yt])=>nt[Gt]=this.translateService.instant(Yt,{phone:V.phone})),(0,M.of)(nt)):V.paymentFlow===e.XJp.Withdrawal?(0,m.z)([this.translateService.stream(nt.title),this.translateService.stream(nt.secondSubtitle,{policyHolderName:V.policyHolderName}),this.translateService.stream(nt.text)]).pipe((0,g.T)(([Gt,Yt,ge])=>({...nt,title:Gt,secondSubtitle:Yt,text:ge}))):(0,M.of)(nt))),this.subtitleInstructions$=this.store.select(ut),this.getMailInstru
1ctions$=this.store.select(yt),this.getShowPhoneNumber$=this.store.select(Re),this.getInstructions$=this.store.select(Pe),this.getInstructionsClass$=this.store.select(qe),this.getTextInstructions$=this.store.select(oe),this.getModalConfig$=this.store.select(at)}navigateToInfoRequestPage(nt){this.store.dispatch(v.I9({courtesyPageData:nt}))}navigateToClosureTelephonePage(nt,V){this.store.dispatch(v.ej({courtesyPageData:nt,editedPolicyData:V}))}navigateToThankYouPage(nt,V){this.store.dispatch(v.gg({courtesyPageData:nt,editedPolicyData:V}))}buildRenewalToasts({paymentFlow:nt,isRenewalPhase:V,transactionType:Gt,paymentType:Yt,policyChange:ge}){return p.has(nt)&&V?ge?.reactivation?.typology===e.njP.SameVehicle?[]:[this.buildToastMessage("orange","vehicleChangeRenewalMessage",this.translateService.instant(Yt===e.dmC.Bank&&Gt===e.D_l.Payment?"courtesyPage.vehicleChange.renewalOngoing.bankTransferPayment":"courtesyPage.vehicleChange.renewalOngoing.default"))]:[]}buildBankToasts({paymentType:nt,paymentFlow:V,transactionType:Gt}){if(nt!==e.dmC.Bank)return[];if(V===e.XJp.Suspension)return[this.buildToastMessage("orange","suspensionBankMessage",this.translateService.instant("suspension.courtesyPageToastMessage"))];const Yt=h.get(V),ge=w.get(Gt);return Yt&&ge?[this.buildToastMessage(ge.theme,Yt.id,this.translateService.instant(`${Yt.translationPath}.${ge.suffix}`))]:[]}buildPolicyEditContactsToasts({paymentFlow:nt,paymentNoTransaction:V,policyChange:Gt}){if(nt!==e.XJp.PolicyEdit)return[];const Yt=V?.userStatus;if(!Yt)return[];const ge=e.uOL.get(Yt);return[this.buildToastMessage("orange","policyEditContactsMessage",this.translateService.instant(z.get(ge),{email:Gt.policyEdit?.contact.email}))]}buildWithdrawalToasts({paymentFlow:nt}){return nt!==e.XJp.Withdrawal?[]:[this.buildToastMessage("blue","withdrawalMessage",this.translateService.instant("courtesyPage.withdrawal.toastMessage"),"icon-info-fill","text-bold")]}buildRefundToasts({paymentType:nt,transactionType:V}){return V!==e.D_l.Refund||nt!==e.dmC.PayPal&&nt!==e.dmC.Klarna?[]:[this.buildToastMessage("blue","refundMessage",this.translateService.instant("courtesyPage.refund.toastMessage",{paymentProcessor:nt}),"icon-info-fill","text-bold")]}buildToastMessage(nt,V,Gt,Yt,ge){return{toastMessageStyle:`${nt} ${ge??""} text-grey`,iconCloseSrc:`icon-${nt}-close`,id:V,text:Gt,iconSrc:new Map([["orange","icon-alert-octagon-orange"],["blue",Yt??"icon-info-blue"]]).get(nt)}}resetCourtesyPageState(){this.store.dispatch(v.Sj())}static{this.\u0275fac=function(V){return new(V||tt)}}static{this.\u0275prov=t.jDH({token:tt,factory:tt.\u0275fac})}}return tt})()},57869(ht,L,o){"use strict";o.d(L,{Ff:()=>m,s4:()=>c});var t=o(37754),e=o(35491),n=o(56234);const c="courtesyPage",f={loaded:!1,modalConfig:{phoneBoxVisible:!0}},M=(0,t._J)(f,(0,e.on)(n.I9,(r,{courtesyPageData:_})=>({...r,loaded:!0,courtesyPageData:_})),(0,e.on)(n.ej,(r,{courtesyPageData:_,editedPolicyData:g,modalConfig:$})=>({...r,loaded:!0,courtesyPageData:_,editedPolicyData:g,...$&&{modalConfig:$}})),(0,e.on)(n.gg,(r,{courtesyPageData:_,editedPolicyData:g})=>({...r,loaded:!0,courtesyPageData:_,editedPolicyData:g})),(0,e.on)(n.Sj,()=>f));function m(r,_){return M(r,_)}},62336(ht,L,o){"use strict";o.d(L,{$Z:()=>g,qT:()=>A,QF:()=>T,Kb:()=>$,oV:()=>I,As:()=>B});var t=o(75089),e=o(37657),n=o(72471),c=o(37754);const f=[{title:"Ti chiediamo di inviare UN SOLO documento che attesti la perdita di possesso, a scelta tra:",lines:["presa in carico con la specifica della motivazione (es per rottamazione/conto vendita) con firma timbro e partita IVA del concessionario,","atto di vendita con marca da bollo annullata,","certificato di rottamazione con timbro firma e partita iva dell'incaricato che lo rilascia,","denuncia di furto,","certificato di propriet\xe0 con annotata l'esportazione. o l\u2019acquisto di un nuovo veicolo."]}],M=[{title:"Ti chiediamo di inviare UN SOLO documento che attesti il possesso, a scelta tra:",lines:["certificato di propriet\xe0 aggiornato,","ricevuta sostitutiva del documento di circolazione con timbro, partiva IVA e firma dell'agenzia che lo rilascia. In assenza di partita IVA verificare il codice agenzia sul sito dell'ACI,","libretto aggiornato,","documento Unico di Circolazione e di Propriet\xe0 (DUC)."]}],m=[{label:"vehicleChangeClosureTelephone.instructions.oldVehicle.label",buttonLabel:"vehicleChangeClosureTelephone.instructions.oldVehicle.buttonLabel",id:n.uUX.OldVehicle},{label:"vehicleChangeClosureTelephone.instructions.newVehicle.label",buttonLabel:"vehicleChangeClosureTelephone.instructions.newVehicle.buttonLabel",id:n.uUX.NewVehicle}],g=new Map([[`${t.XJp.VehicleChange}-${t.hxv.AntiFraudValidationError}`,m],[`${t.XJp.Reactivation}-${t.hxv.AntiFraudValidationError}`,m],[`${t.XJp.VehicleChangeAntiFraud}-${t.hxv.AntiFraudValidationError}`,[{label:"vehicleChangeAntiFraudClosureTelephone.instructions.oldVehicle.label",buttonLabel:"vehicleChangeAntiFraudClosureTelephone.instructions.oldVehicle.buttonLabel",id:n.uUX.OldVehicle},{label:"vehicleChangeAntiFraudClosureTelephone.instructions.newVehicle.label",buttonLabel:"vehicleChangeAntiFraudClosureTelephone.instructions.newVehicle.buttonLabel",id:n.uUX.NewVehicle}]],[`${t.XJp.PolicyEdit}-${t.Y8L.AniaError}`,[{label:"send-documents.aniaInstructions"}]],[t.XJp.ReactivationNoDays,[]],[t.XJp.Withdrawal,[]]]),$=(C,k)=>({vehicleType:C.courtesyPageData.vehicleType?.code??"none",creationNode:C?"000":"none",appName:e.JB.PA,pageName:e.JB.RI,version:C.courtesyPageData.version??e.JB.qN,businessType:k||C.courtesyPageData.paymentFlow,closureType:k?e.JB.xr:e.JB.kM,paymentType:k?e.JB.x3:C.courtesyPageData.paymentType}),T=(C,k,s,l,E)=>{const p={...k};return p.vehicleFullDescription=(0,c.$Z)(C.vehicleBrand.description,C.vehicleModel.description,C.vehicleVersion.description),p.title="I dati del cambio veicolo",p.coverages=C.newSelectedCoverages?.map(h=>
1h.code).join(", "),p.policyExpirationDate=C.policyExpirationDate,p.policyActivationDate=s?.suspension?s?.reactivation.effectiveDate:s?.vehicleChange.effectiveDate,l===t.D_l.Refund?p.refundAmount=Math.abs(C.paymentTotalAmount):p.paidAmount=C.paymentTotalAmount,E?.code===t.hxv.AntiFraudValidationError&&(p.policyActivationDate=C.vehicleChangeEffectiveDate),p},B=(C,k)=>{C.title="{policyHolderName}, inviaci la prova del bonifico effettuato!".replace("{policyHolderName}",k),C.secondSubtitle="Fai subito il bonifico e invia la prova di pagamento all'indirizzo",C.secondSubtitleHref="mailto:[email protected]",C.secondSubtitleLink="[email protected]",delete C.text},A=(C,k,s)=>{const l={title:"Il cambio veicolo \xe8 andato a buon fine!",secondSubtitle:"Grazie {policyHolderName}".replace("{policyHolderName}",C),text:"Controlla il tuo indirizzo e-mail: ti abbiamo appena inviato il certificato che ti servir\xe0 per circolare con il tuo nuovo veicolo.<br>Nell'e-mail troverai anche il contratto di polizza aggiornato: stampalo, firmalo e quindi invialo all'indirizzo <a href=\"mailto:[email protected]\">[email protected]</a>."};return(k===t.D_l.Payment||k===t.D_l.Threshold)&&s===t.dmC.Bank&&(l.subtitle="La polizza sul nuovo veicolo sar\xe0 emessa <b>entro 2 giorni</b> lavorativi dall'invio della prova di pagamento.",B(l,C)),l};function I(C,k){const l={[n.uUX.OldVehicle]:{list:k.modalInfo.infoList[n.uUX.OldVehicle],title:k.modalInfo.titleOldVehicle,fallbackList:f},[n.uUX.NewVehicle]:{list:k.modalInfo.infoList[n.uUX.NewVehicle],title:k.modalInfo.titleNewVehicle,fallbackList:M}}[C];return{list:l.list||l.fallbackList,title:l.title}}},85872(ht,L,o){"use strict";o.d(L,{K:()=>m,f:()=>f});var t=o(16317),e=o(66082),n=o(80226),c=o(51203),f=function(r){return r.POLICY="polizza",r.RENEWAL="rinnovo",r.SUBMISSION="preventivo",r}(f||{});const M=[{path:f.POLICY,loadChildren:()=>Promise.all([o.e(1864),o.e(7451),o.e(1535),o.e(4721),o.e(2076),o.e(6289)]).then(o.bind(o,26289)).then(r=>r.PolicyDetailContainerModule),data:{header:{selectedTab:e.n.Policy}}},{path:f.RENEWAL,loadChildren:()=>Promise.all([o.e(1864),o.e(7451),o.e(4767),o.e(7728),o.e(8597),o.e(2076),o.e(7128)]).then(o.bind(o,7128)).then(r=>r.NewRenewalDetailContainerModule),data:{header:{selectedTab:e.n.Policy}}},{path:f.SUBMISSION,loadChildren:()=>Promise.all([o.e(1864),o.e(7451),o.e(4721),o.e(2613)]).then(o.bind(o,52613)).then(r=>r.SubmissionDetailContainerModule),data:{header:{selectedTab:e.n.Submission}}}];let m=(()=>{class r{static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275mod=c.$C({type:r})}static{this.\u0275inj=n.G2t({imports:[t.iI.forChild(M),t.iI]})}}return r})()},32049(ht,L,o){"use strict";o.d(L,{B:()=>M});var t=o(11509),e=o(97253),n=o(50596),c=o(48857),f=o(80226);let M=(()=>{class m{constructor(_){this.routerFacade=_,this.onDestroy$=new e.B}initializeUnAuthSession(){this.routerFacade.getParams$.pipe((0,n.p)(Boolean),(0,c.Q)(this.onDestroy$)).subscribe(({accessKey:_})=>this.accessKey=_)}endUnAuthSession(){this.accessKey=void 0,this.onDestroy$.next()}static{this.\u0275fac=function(g){return new(g||m)(f.KVO(t.IO))}}static{this.\u0275prov=f.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},57844(ht,L,o){"use strict";o.d(L,{$s:()=>Et,An:()=>s,Bz:()=>N,Cv:()=>T,F_:()=>t,Go:()=>W,IU:()=>p,M2:()=>c,Nz:()=>A,RG:()=>z,UK:()=>e,Uz:()=>I,Vn:()=>K,YG:()=>_,Yy:()=>Bt,eD:()=>gt,ff:()=>M,hT:()=>f,kM:()=>g,k_:()=>E,kf:()=>_t,lT:()=>n,n5:()=>$,n9:()=>h,oy:()=>ot,p6:()=>D,q1:()=>pt,qN:()=>m,rL:()=>k,t3:()=>l,u9:()=>et,v1:()=>w,vM:()=>C});const t="rinnovo",e="thankyou",n="payment|modal",c="payment|modal|retry",f="payment|modal|help",M="error",m="default",_="noedit",g="online",$="button",T="modal",A="sp|rn",I="payment|bank",C="conferma|",k="rimuovi|",s="aggiungi|",l="chiudi|",E="salva-modifiche",p="acquista",h="acquista-polizza",w="torna-riepilogo",z="serve-aiuto",D="riprova",N="prn",W="qrn",pt="srn",ot="RinnovoAreaPersonale",gt="psd2",et="old",Et="rinnovo/thankyou",K="rinnovo/thankyou-banktransfer",Bt="Axerve",_t="ConTe"},26195(ht,L,o){"use strict";o.d(L,{s:()=>t.s,u:()=>e.ug});var t=o(78419),e=o(74178)},28857(ht,L,o){"use strict";o.d(L,{Ll:()=>n,Q4:()=>c,Y3:()=>e});var t=o(35491);const e=(0,t.VP)("[Header] Update Selected Tab",(0,t.xk)()),n=(0,t.VP)("[Header] Update Description Text",(0,t.xk)()),c=(0,t.VP)("[Header] Update Support Strategy",(0,t.xk)())},78419(ht,L,o){"use strict";o.d(L,{s:()=>_});var t=o(35491),e=o(28857),n=o(74178);const c=(0,t.UX)(n.Tt),f=(0,t.Mz)(c,g=>g.selectedTab),M=(0,t.Mz)(c,g=>g.descriptionText),m=(0,t.Mz)(c,g=>
1g.supportStrategy);var r=o(80226);let _=(()=>{class g{constructor(T){this.store=T,this.getSelectedTab$=this.store.pipe((0,t.Lt)(f)),this.getDescriptionText$=this.store.pipe((0,t.Lt)(M)),this.getSupportStrategy$=this.store.pipe((0,t.Lt)(m))}updateSelectedTab(T){this.store.dispatch(e.Y3({selectedTab:T}))}updateDescriptionText(T){this.store.dispatch(e.Ll({descriptionText:T}))}updateSupportStrategy(T){this.store.dispatch(e.Q4({supportStrategy:T}))}static{this.\u0275fac=function(B){return new(B||g)(r.KVO(t.il))}}static{this.\u0275prov=r.jDH({token:g,factory:g.\u0275fac})}}return g})()},74178(ht,L,o){"use strict";o.d(L,{Ff:()=>m,Tt:()=>n,ug:()=>c});var t=o(35491),e=o(28857);const n="header",c={DEFAULT:"default",INTERMEDIARIES:"intermediaries"},M=(0,t.vy)({supportStrategy:c.DEFAULT},(0,t.on)(e.Y3,(r,{selectedTab:_})=>({...r,selectedTab:_})),(0,t.on)(e.Ll,(r,{descriptionText:_})=>({...r,descriptionText:_})),(0,t.on)(e.Q4,(r,{supportStrategy:_})=>({...r,supportStrategy:_})));function m(r,_){return M(r,_)}},12470(ht,L,o){"use strict";o.d(L,{s:()=>n});var t=o(80226),e=o(28955);let n=(()=>{class c{constructor(){this.stepperFacade=(0,t.WQX)(e.An)}resolve(){this.stepperFacade.resetState();const M=JSON.parse(sessionStorage.getItem("uiFeature"));return M&&M.stepperFeature&&(M.stepperFeature.steps=[],sessionStorage.setItem("uiFeature",JSON.stringify(M))),!0}static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275prov=t.jDH({token:c,factory:c.\u0275fac})}}return c})()},92526(ht,L,o){"use strict";o.d(L,{g:()=>M});var t=o(50596),e=o(82305),n=o(50741),c=o(34482),f=o(80226);let M=(()=>{class m{constructor(_){this.userListFacade=_}resolve(){return this.userListFacade.loaded$.pipe((0,n.M)(_=>{_||this.userListFacade.loadUserList()}),(0,t.p)(Boolean),(0,e.s)(1))}static{this.\u0275fac=function(g){return new(g||m)(f.KVO(c.c))}}static{this.\u0275prov=f.jDH({token:m,factory:m.\u0275fac})}}return m})()},26582(ht,L,o){"use strict";o.d(L,{g:()=>$});var t=o(23321),e=o(72471),n=o(28955),c=o(80452),f=o(50596),M=o(45198),m=o(82305),r=o(50741),_=o(34482),g=o(80226);let $=(()=>{class T{constructor(A,I){this.userListFacade=A,this.modalFacade=I,this.contractorFormControl=new t.hs,this.radioButtonUsers=[]}openContractorModal(){this.userListFacade.loaded$.pipe((0,f.p)(Boolean),(0,M.n)(()=>(0,c.z)([this.userListFacade.radioButtonUsers$,this.userListFacade.selectedUserAccessKey$])),(0,r.M)(([A,I])=>{this.radioButtonUsers=A,this.modalFacade.loadOpenComponent(e.MTi,{inputs:{contractor:A},builders:{contractorFormControl:()=>this.prepareContractorFormControl(I)},outputs:{$closeClickOutput:()=>this.modalFacade.loadDismissModal(),$outsideClickOutput:()=>this.modalFacade.loadDismissModal(),$selectContractorClickOutput:()=>this.selectUser()}})}),(0,m.s)(1)).subscribe()}prepareContractorFormControl(A){return this.contractorFormControl.setValue(A),this.contractorFormControl}selectUser(){const A=this.contractorFormControl.value,I=this.radioButtonUsers.findIndex(({value:C})=>C===A);localStorage.setItem("selectedContractorIndex",`${I}`),this.modalFacade.loadCloseModal(),this.userListFacade.selectUserByAccessKey(A)}static{this.\u0275fac=function(I){return new(I||T)(g.KVO(_.c),g.KVO(n.y))}}static{this.\u0275prov=g.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},17584(ht,L,o){"use strict";o.d(L,{c:()=>c});var t=o(79608),e=o(28955),n=o(80226);let c=(()=>{class f{constructor(m,r){this.modalFacade=m,this.googleAnalyticsService=r}dismissModal(){this.modalFacade.loadDismissModal()}trackPageEvent(m,r,_,g){this.googleAnalyticsService.trackEvent(m,r,_,null,g)}trackPageView(m){this.googleAnalyticsService.trackPageView(m)}static{this.\u0275fac=function(r){return new(r||f)(n.KVO(e.y),n.KVO(t.p))}}static{this.\u0275prov=n.jDH({token:f,factory:f.\u0275fac})}}return f})()},27747(ht,L,o){"use strict";o.d(L,{OL:()=>e,fp:()=>n,mB:()=>M,oZ:()=>c,sf:()=>f});var t=o(35491);const e=(0,t.VP)("[User List] Load User List"),n=(0,t.VP)("[User List] Load User List Success",(0,t.xk)()),c=(0,t.VP)("[User List] Load User List Failure",(0,t.xk)()),f=(0,t.VP)("[User List] Select User By Access Key",(0,t.xk)()),M=(0,t.VP)("[User List] Select User",(0,t.xk)())},34482(ht,L,o){"use strict";o.d(L,{c:()=>s});var t=o(27747),e=o(35491),n=o(91416);const c=(0,e.UX)(n.HI),f=(0,e.Mz)(c,l=>l.users),M=(0,e.Mz)(c,l=>l.loaded),m=(0,e.Mz)(c,l=>l.error),r=(0,e.Mz)(c,l=>l.isUserSelected),_=(0,e.Mz)(c,l=>l.selectedUser),g=(0,e.Mz)(_,l=>l?.taxID),$=(0,e.Mz)(_,l=>l?.accessKey),T=(0,e.Mz)(_,l=>l?.gender),B=(0,e.Mz)(_,l=>`${l?.firstName} ${l?.lastName}`),A=(0,e.Mz)(_,l=>`Ciao <span translate="no">${l?.firstName}</span>!`),I=(0,e.Mz)(f,l=>{const E=[];return l.forEach((p,h)=>{E.push({inputId:"contractorChoice"+h,inputName:"contractor",label:`<span translate="no">${p.firstName} ${p.lastName}</span>`,value:p.accessKey})}),E}),C=(0,e.Mz)(_,l=>l.email);var k=o(80226);let s=(()=>{class l{constructor(p){this.store=p,this.loaded$=this.store.select(M),this.isUserSelected$=this.store.select(r),this.selectedUser$=this.store.select(_),this.selectedUserTaxID$=this.store.select(g),this.selectedUserAccessKey$=this.store.select($),this.error$=this.store.select(m),this.userList$=this.store.select(f),this.radioButtonUsers$=this.store.select(I),this.get
1SelectedUserFullName$=this.store.select(B),this.selectedUserGender$=this.store.select(T),this.getHomeTitleWithSelectedUserFirstName$=this.store.select(A),this.getEmail$=this.store.select(C)}loadUserList(){this.store.dispatch(t.OL())}selectUserByAccessKey(p){this.store.dispatch(t.sf({userAccessKey:p}))}static{this.\u0275fac=function(h){return new(h||l)(k.KVO(e.il))}}static{this.\u0275prov=k.jDH({token:l,factory:l.\u0275fac})}}return l})()},91416(ht,L,o){"use strict";o.d(L,{HI:()=>c,qj:()=>M});var t=o(37754),e=o(35491),n=o(27747);const c="userList",M=(0,t._J)({loaded:!1,isUserSelected:!1},(0,e.on)(n.OL,m=>({...m,loaded:!1})),(0,e.on)(n.fp,(m,{userList:r})=>({...m,loaded:!0,users:r})),(0,e.on)(n.mB,(m,{user:r})=>({...m,isUserSelected:!0,selectedUser:r})),(0,e.on)(n.sf,(m,{userAccessKey:r})=>({...m,isUserSelected:!0,selectedUser:m.users.find(_=>_.accessKey===r)})),(0,e.on)(n.oZ,(m,{error:r})=>({...m,error:r})))},47953(ht,L,o){"use strict";o.d(L,{Z:()=>t});const t="sp_auth_sca"},8968(ht,L,o){"use strict";o.d(L,{Rv:()=>e,Zx:()=>n,ef:()=>c});var t=o(37657),e=function(f){return f.Claims="sinistri",f.Policies="polizze",f.Submissions="preventivi",f.Automatic="auto",f}(e||{}),n=function(f){return f.PoliciesSubmissions="submissionOrPolicy",f}(n||{});const c=()=>[t.EV.Home,e.Policies]},72343(ht,L,o){"use strict";o.d(L,{K:()=>m});const t="auth",e=`${t}.accountActivation`,n=`${t}.email`,c=`${t}.choosePassword`,f=`${t}.changePassword`,M=`${t}.loginPassword`,m={_PATH:t,ENTER_IN_PERSONAL_AREA:`${t}.enterInPersonalArea`,CREDENTIALS_TO_USE:`${t}.credentialsToUse`,CREDENTIALS_ACTIVATED:`${t}.credentialsActivated`,EMAIL_LINK_EXPIRED_ACCOUNT_ACTIVATION:`${t}.emailLinkExpiredAccountActivation`,ACCOUNT_ACTIVATION:{_PATH:e,TITLE:`${e}.title`,LABEL:`${e}.label`,SUBTITLE:`${e}.subtitle`,INSTRUCTIONS:`${e}.instructions`,SENT_EMAIL_ACCOUNT_ACTIVATION:`${e}.sentEmailAccountActivation`,SENT_EMAIL_ERROR_ACTIVATION:`${e}.sentEmailErrorActivation`,SUCCESS:`${e}.success`},EMAIL:{_PATH:n,LABEL:`${n}.label`,PLACEHOLDER:`${n}.placeholder`,USER_NOT_FOUND:`${n}.userNotFound`,GENERIC_ERROR:`${n}.genericError`,FORMAT_ERROR:`${n}.formatError`,PAGE_TITLE:`${n}.pageTitle`,PAGE_SUBTITLE:`${n}.pageSubtitle`},CHOOSE_PASSWORD:{_PATH:c,LABEL:`${c}.label`,CONFIRM_PASSWORD:`${c}.confirmPassword`,TITLE:`${c}.title`,SUBTITLE:`${c}.subtitle`,REQUIREMENTS_TITLE:`${c}.requirementsTitle`,REQUIREMENTS_DIFFERENT_FROM_EMAIL:`${c}.requirementsDifferentFromEmail`,INVALID:`${c}.invalid`,INVALID_CHECK:`${c}.invalidCheck`,INCORRECT_DATA:`${c}.incorrectData`,TEMPORARY_PASSWORD_EXPIRED:`${c}.temporaryPasswordExpired`,INVALID_CODE_PROVIDED:`${c}.invalidCodeProvided`},CHANGE_PASSWORD:{_PATH:f,TITLE:`${f}.title`,RESET:`${f}.reset`,EMAIL_SENT:`${f}.emailSent`},LOGIN_PASSWORD:{_PATH:M,LABEL:`${M}.label`,PLACEHOLDER:`${M}.placeholder`,PASSWORD_PAGE_SUBTITLE:`${M}.passwordPageSubtitle`,INVALID_PASSWORD:`${M}.invalidPassword`,TIME_ERROR_MESSAGE:`${M}.timeErrorMessage`}}},28941(ht,L,o){"use strict";o.d(L,{KA:()=>t.K,pk:()=>l,Py:()=>c,GP:()=>T,bN:()=>ot,TA:()=>fe,of:()=>Dt,zl:()=>Jn,_Y:()=>$n});var t=o(72343);const e="core",n=`${e}.support`,c={_PATH:e,COOKIE_BUTTON:`${e}.cookieButton`,COPYRIGHT:`${e}.copyright`,SUPPORT:{_PATH:n,TELEPHONE_NUMBER:`${n}.defaultTelephoneNumber`,BROKERS_TELEPHONE_NUMBER:`${n}.brokersTelephoneNumber`,BROKERS_WORKING_HOURS:`${n}.brokersWorkingHours`}},f="errorDEF",M=`${f}.genericError`,m=`${f}.error4`,r=`${f}.errorTelephoneForBrokers`,_=`${f}.payment`,g=`${f}.profile`,$=`${f}.aniaKo`,T={GENERIC_ERROR:{_PATH:M,TITLE:`${M}.title`,SUBTITLE:`${M}.subtitle`,CARD_LABEL:`${M}.cardLabel`,IMG_SRC:`${M}.imgSrc`,TELEPHONE_NUMBER:`${M}.telephoneNumber`},ERROR4:{_PATH:m,TITLE:`${m}.title`,TEXT:`${m}.text`,SUBTITLE:`${m}.subtitle`,BROKER_TELEPHONE_NUMBER:`${m}.brokerTelephoneNumber`,TELEPHONE_NUMBER:`${m}.telephoneNumber`},TELEPHONE_FOR_BROKERS_ERROR:{_PATH:r,TITLE:`${r}.title`,SUBTITLE:`${r}.subtitle`,TELEPHONE_NUMBER:`${r}.telephoneNumber`,WORKING_HOURS:`${r}.workingHours`},PAYMENT:{_PATH:_,ERROR_CREDIT_CARD:`${_}.errorCreditCard`,ERROR_CREDIT_CARD_MESSAGE:`${_}.errorCreditCardMessage`,ERROR_CREDIT_CARD_MESSAGE_TITLE:`${_}
1.errorCreditCardMessageTitle`,ERROR_5DAYS_BEFORE_EXP_TITLE:`${_}.error5DaysBeforeExpirationTitle`,ERROR_5DAYS_BEFORE_EXP_TEXT:`${_}.error5DaysBeforeExpirationText`},PROFILE:{_PATH:g,GENERIC:`${g}.generic`,PAYMENT_METHOD:`${g}.paymentMethod`,RETRY:`${g}.retry`},ANIA_KO:{_PATH:$,SUBTITLE:`${$}.subtitle`,DESCRIPTION:`${$}.description`}},B="flow.claims",A=`${B}.home`,I=`${A}.card`,C=`${B}.header`,k=`${I}.body`,s=`${I}.footer`,l={_PATH:B,HOME:{_PATH:A,TITLE:`${A}.title`,CARD:{_PATH:I,HEADER:{_PATH:C,STATUS_CLOSED:`${C}.status.closed`,STATUS_DOCS_REQUESTED:`${C}.status.documentsRequested`},BODY:{_PATH:k,PLATE_NUMBER_LABEL:`${k}.plateNumberLabel`,BRAND_MODEL_LABEL:`${k}.brandModelLabel`,LOSS_DATE_LABEL:`${k}.lossDateLabel`},FOOTER:{_PATH:s,MANAGE_BUTTON:`${s}.manageButton`}}}},E="flow.policyEdit",p=`${E}.common`,h=`${E}.submissionEdit`,w=`${E}.contacts`,z=`${E}.paymentType`,v=`${z}.payOff`,D=`${E}.courtesyPage`,N=`${D}.contacts`,W=`${E}.closureTelephone`,pt=`${W}.aniaKO`,ot={COMMON:{_PATH:p,POLICY_NUMBER:`${p}.policyNumber`,PROCEED_TEXT:`${p}.proceedText`},SUBMISSION_EDIT:{_PATH:h,PAYMENT_INFO:`${h}.paymentInfo`,REFUND_INFO:`${h}.refundInfo`},CONTACTS:{_PATH:w,TITLE:`${w}.title`,SUBTITLE:`${w}.subtitle`,SIDEBAR_TITLE:`${w}.sidebarTitle`,SIDEBAR_TEXT:`${w}.sidebarText`,TOOLTIP_DESKTOP:`${w}.tooltipDesktop`,TOOLTIP_MOBILE:`${w}.tooltipMobile`,TOOLTIP_MOBILE_TITLE:`${w}.tooltipMobileTitle`,BANNER:`${w}.banner`,SAME_MAIL_ERROR:`${w}.sameMailError`,INSERT_MAIL_PLACEHOLDER:`${w}.placeholders.insertMail`,REPEAT_MAIL_PLACEHOLDER:`${w}.placeholders.repeatMail`,TELEPHONE_PLACEHOLDER:`${w}.placeholders.telephone`},PAYMENT:{_PATH:z,PAY_OFF:{_PATH:v,TITLE:`${v}.title`,SUBTITLE:`${v}.subtitle`,REFUND_TITLE:`${v}.refundTitle`,REFUND_SUBTITLE:`${v}.refundSubtitle`}},COURTESY_PAGE:{_PATH:D,PAYMENT:`${D}.payment`,REFUND:`${D}.refund`,CONTACTS:{_PATH:N,ACTIVE:`${N}.active`,INACTIVE:`${N}.inactive`,NOT_FOUND:`${N}.notFound`,ERROR:`${N}.error`}},CLOSURE_TELEPHONE:{_PATH:W,TITLE:`${W}.title`,PAYOFF:`${W}.payOff`,ANIA_KO:{_PATH:pt,PAYOFF:`${pt}.payOff`,INSTRUCTIONS:`${pt}.instructions`}}},gt="flow.renewal",et=`${gt}.buy`,Et=`${gt}.edit`,K=`${et}.octoCoverageBanner`,at=`${et}.policyWithdrawn`,Bt=`${K}.selected`,_t=`${K}.notSelected`,st=`${at}.instructions`,Ut=`${et}.closureTelephone`,ft=`${Ut}.labelPrice`,zt=`${Et}.common`,jt=`${Et}.closureTelephone`,Nt=`${Et}.aniaKO`,Dt={_PATH:gt,BUY:{_PATH:et,CALL_US_TO_PURCHASE_MESSAGE:`${et}.callUsToPurchaseMessage`,OCTO_COVERAGE_BANNER:{_PATH:K,SELECTED:{_PATH:Bt,BODY:`${Bt}.body`,PHONE_MESSAGE:`${Bt}.phoneMessage`},NOT_SELECTED:{_PATH:_t,BODY:`${_t}.body`,PHONE_MESSAGE:`${_t}.phoneMessage`}},POLICY_WITHDRAWN:{_PATH:at,CONTACT_US:`${at}.contactUs`,CONTACT_US_BUTTON:`${at}.contactUsButton`,INSTRUCTIONS:{_PATH:st,TITLE:`${st}.title`,SUBTITLE:`${st}.subtitle`,DESCRIPTION:`${st}.description`,LIST:`${st}.list`}},CLOSURE_TELEPHONE:{_PATH:Ut,TITLE:`${Ut}.title`,LABEL_PRICE:{_PATH:ft,ANNUAL:`${ft}.annual`,BIANNUAL:`${ft}.biannual`}}},EDIT:{_PATH:Et,COMMON:{_PATH:zt,SIDEBAR_TITLE:`${zt}.sidebarTitle`,RENEWAL_NUMBER:`${zt}.renewalNumber`},ANIA_KO:{_PATH:Nt,PAYOFF_TITLE:`${Nt}.payOffTitle`,DOCUMENTS:`${Nt}.documents`,EMAIL_INSTRUCTIONS:`${Nt}.emailInstructions`,TEXT_INSTRUCTIONS:`${Nt}.textInstructions`,TEXT_INSTRUCTIONS1:`${Nt}.textInstructions1`,SUBTITLE_INSTRUCTIONS:`${Nt}.subtitleInstructions`},CLOSURE_TELEPHONE:{_PATH:jt,PAYOFF:`${jt}.payOff`}}},pe="profile",Lt=`${pe}.paymentMethod`,fe={_PATH:pe,INFO:`${pe}.info`,PAYMENT_METHOD:{_PATH:Lt,TITLE:`${Lt}.title`,ASSOCIATED:`${Lt}.associated`,NOT_ASSOCIATED:`${Lt}.notAssociated`,NOT_SAVED:`${Lt}.notSaved`,DELETE_INSTRUCTIONS:`${Lt}.deleteInstructions`,DELETED:`${Lt}.deleted`,SELECT:`${Lt}.select`}},Xt="shared.page.purchaseConfirmation",S=`${Xt}.infoCardData`,vt=`${Xt}.successBanner`,y=`${Xt}.callToAction`,U=`${Xt}.octoTelematicsData`,G="shared.step.address",ut="shared.step.drivers",yt=`${ut}.driverOption`,Re=`${ut}.policyEdit`,Pe=`${ut}.renewalEdit`,oe="shared.step.payment",wt=`${oe}.transactionType`,Gt=`${oe}.errorMessage`,Yt=`${oe}.policyChange`,ge=`${Yt}.suspension`,se=`${Yt}.vehicleChange`,He=`${Yt}.reactivation`,sn=`${He}.errorMessage`,Ae=`${ge}.errorMessage`,gn=`${se}.errorMessage`,hn=`${oe}.policyEdit`,Hn=`${hn}.errorMessage`,rn=`${oe}.renewalEdit`,Wn=`${rn}.error`,Wt="shared",te=`${Wt}.button`,Se=`${Wt}.page`,Ue=`${Wt}.expiredSession`,ln=`${Wt}.links`,fn=`${Wt}.modal`,Un=`${fn}.ania`,nn=`${fn}.logout`,In=`${fn}.contact`,Le=`${In}.generic`,Gn=`${In}.error4`,Pn=`${In}.managedByBroker`,io=`${In}.error4ManagedByBroker`,Cn=`${fn}.savePaymentMethodConsensus`,Qn=`${Wt}.emptyTabCourtesyMessage`,Rn=`${Qn}.policy`,bn=`${Qn}.submission`,mn=`${Qn}.claim`,cn=`${Se}.multipleVersions`,Ln=`${cn}.submissions`,tn=`${cn}.renewals`,je=`${Wt}.installmentsPayment`,Jn={_PATH:Wt,INFO_TOOLTIP_LABEL:`${Wt}.infoTooltipLabel`,PAYMENT_CARD_DIVIDER_LABEL:`${Wt}.paymentCardDividerLabel`,POLICY:`${Wt}.policy`,POLICY_NUMBER:`${Wt}.policyNumber`,POLICY_DETAIL:`${Wt}.policyDetail`,POLICY_DATA:`${Wt}.policyData`,POLICY_DATA_SUMMARY:`${Wt}.policyDataSummary`,UPDATED_SUBMISSION_TEXT:`${Wt}.updatedSubmissionText`,CALL_US_NUMBER:`${Wt}.callUsNumber`,FOR_WHICH_REASON:`${Wt}.forWhichReason`,START_WRITING:`${Wt}.startWriting`,MANDATORY_FIELD:`${Wt}.mandatoryField`,KIND_MANDATORY_FIELD:`${Wt}.kindMandatoryField`,YES:`${Wt}.yes`,NO:`${Wt}.no`,OPTIONAL:`${Wt}.optional`,PRIVACY_CONSENT:`${Wt}.privacyConsent`,PRIVACY_CONSENT_TITLE:`${Wt}.privacyConsentTitle`,EMPTY_TAB_COURTESY_MESSAGE:{_PATH:Qn,POLICY:{_PATH:Rn,TITLE:`${Rn}.title`,SUBTITLE:`${Rn}.subtitle`,PRIMARY_BUTTON_TEXT:`${Rn}.primaryButtonText`,SECONDARY_BUTTON_TEXT:`${Rn}.secondaryButtonText`},SUBMISSION:{_PATH:bn,TITLE:`${bn}.title`,SUBTITLE:`${bn}.subtitle`,PRIMARY_BUTTON_TEXT:`${bn}.primaryButtonText`,SECONDARY_BUTTON_TEXT:`${bn}.secondaryButtonText`,SUBMISSION_DETAIL_TITLE:`${bn}.submissionDetailTitle`,SUBMISSION_DATA_TITLE:`${bn}.submissionDataTitle`,SUBMISSION_NUMBER_LABEL:`${bn}.submissionNumberLabel`},CLAIM:{_PATH:mn,TITLE:`${mn}.title`,SUBTITLE:`${mn}.subtitle`,PRIMARY_BUTTON_TEXT:`${mn}.primaryButtonText`,SECONDARY_BUTTON_TEXT:`${mn}.secondaryButtonText`}},MODAL:{_PATH:fn,ANIA:{_PATH:Un,TEXT:`${Un}.text`},LOGOUT:{_PATH:nn,TITLE:`${nn}.title`,TEXT:`${nn}.text`,PRIMARY_BUTTON:`${nn}.primaryButtonText`,SECONDARY_BUTTON:`${nn}.secondaryButtonText`},CONTACT:{_PATH:In,GENERIC:{_PATH:Le,TITLE:`${Le}.title`,DESCRIPTION:`${Le}.description`,INSTRUCTIONS_TEXT:`${Le}.instructionsText`,CALL_TO_ACTION_TEXT:`${Le}.callToActionText`,CALL_TO_ACTION_HREF:`${Le}.callToActionHref`},ERROR4:{_PATH:Gn,TITLE:`${Gn}.title`,DESCRIPTION:`${Gn}.description`,INSTRUCTIONS_TEXT:`${Gn}.instructionsText`},BROKER:{_PATH:Pn,TITLE:`${Pn}.title`,DESCRIPTION:`${Pn}.description`,INSTRUCTIONS_TEXT:`${Pn}.instructionsText`,CALL_TO_ACTION_TEXT:`${Pn}.callToActionText`,CALL_TO_ACTION_HREF:`${Pn}.callToActionHref`},ERROR4_BROKER:{_PATH:io,TITLE:`${io}.title`,DESCRIPTION:`${io}.description`,INSTRUCTIONS_TEXT:`${io}.instructionsText`}},SAVE_PAYMENT_METHOD_CONSENSUS:{_PATH:Cn,TITLE:`${Cn}.title`,STRIPE_TITLE:`${Cn}
1.stripeTitle`,STRIPE_SUBTITLE:`${Cn}.stripeSubtitle`,DESCRIPTION:`${Cn}.description`,CONFIRM_BUTTON:`${Cn}.confirmButton`,DECLINE_BUTTON:`${Cn}.declineButton`}},LINKS:{_PATH:ln,CLICK_FOR_MORE_INFO:`${ln}.clickForMoreInfo`,CLICK_HERE:`${ln}.clickHere`},BUTTON:{_PATH:te,GO_BACK:`${te}.goBack`,GO_NEXT:`${te}.goNext`,GO_BACK_TO_AREA_PERSONALE:`${te}.goBackToAreaPersonale`,GO_BACK_TO_RENEWALS:`${te}.goBackToRenewals`,GO_BACK_TO_POLICIES:`${te}.goBackToPolicies`,GO_BACK_TO_YOUR_POLICIES:`${te}.goBackToYourPolicies`,GO_BACK_TO_DETAIL:`${te}.goBackToDetail`,GO_TO_PREVIOUS_SUBMISSION:`${te}.goToPreviousSubmission`,GO_BACK_TO_SUBMISSIONS:`${te}.goBackToSubmissions`,GO_BACK_TO_ACCOUNT_MANAGEMENT:`${te}.goBackToAccountManagement`,PROCEED_BUTTON:`${te}.proceedButtonLabel`,SAVE:`${te}.saveButtonLabel`,PRESS_ENTER_LABEL:`${te}.pressEnterLabel`,TIME_CONFIRM:`${te}.timeConfirm`,AGREE_BUTTON:`${te}.agreeButton`},STEP:{_PATH:`${Wt}.step`,ADDRESS:{_PATH:G,TITLE:`${G}.title`,SUBTITLE:`${G}.subtitle`,RESIDENCE_TITLE:`${G}.residenceTitle`,RESIDENCE_PLACEHOLDER:`${G}.residencePlaceholder`,DOMICILE_TITLE:`${G}.domicileTitle`,DOMICILE_PLACEHOLDER:`${G}.domicilePlaceholder`,PROVINCE:`${G}.province`,TOWN_TITLE:`${G}.townTitle`,TOWN_PLACEHOLDER:`${G}.townPlaceholder`,TOPONYM_TITLE:`${G}.toponymTitle`,TOPONYM_PLACEHOLDER:`${G}.toponymPlaceholder`,ADDRESS_TITLE:`${G}.addressTitle`,ADDRESS_PLACEHOLDER:`${G}.addressPlaceholder`,CIVIC:`${G}.civic`,POSTAL:`${G}.postal`,SIDEBAR_TITLE:`${G}.sidebarTitle`,RENEWAL_SIDEBAR_TEXT:`${G}.renewalSidebarText`,SIDEBAR_TEXT:`${G}.sidebarText`,TOOLTIP:`${G}.tooltip`,TOOLTIP_TITLE:`${G}.tooltipTitle`,CHECKBOX_TITLE:`${G}.checkboxTitle`,CHECKBOX_DOMICILE:`${G}.checkboxDomicile`,CHECKBOX_SUBTITLE:`${G}.checkboxSubtitle`,IMAGE_TEXT_SUBTITLE:`${G}.imageTextSubtitle`,GUIDE_TEXT:`${G}.guideText`,TOAST_MESSAGE:`${G}.toastMessage`},DRIVERS:{_PATH:ut,TITLE:`${ut}.title`,SUBTITLE:`${ut}.subtitle`,SIDEBAR_TITLE:`${ut}.sidebarTitle`,DRIVER_OPTION:{_PATH:yt,TITLE:`${yt}.title`,ONLY_MAIN_DRIVER:`${yt}.onlyMainDriver`,ONLY_MAIN_DRIVER_NAME:`${yt}.onlyMainDriverName`,LIST_OF_PEOPLE:`${yt}.listOfPeople`,ALL_DRIVERS:`${yt}.allDrivers`,AGES:`${yt}.ages`,ADULT:`${yt}.adult`},POLICY_EDIT:{_PATH:Re,SIDEBAR_TEXT:`${Re}.sidebarText`,TOOLTIP_DESKTOP:`${Re}.tooltipDesktop`,TOOLTIP_MOBILE:`${Re}.tooltipMobile`},RENEWAL_EDIT:{_PATH:Pe,SIDEBAR_TEXT:`${Pe}.sidebarText`,TOOLTIP_DESKTOP:`${Pe}.tooltipDesktop`,TOOLTIP_MOBILE:`${Pe}.tooltipMobile`}},PAYMENT:{_PATH:oe,HIGHLIGHTED_SUBTITLE:`${oe}.highlightedSubtitle`,SUBTITLE:`${oe}.subtitle`,STEP_LABEL:`${oe}.stepLabel`,PROCEED_NOW:`${oe}.proceedNow`,INTEGRATION_AMOUNT:`${oe}.integrationAmount`,PAYMENT_METHOD_TITLE:`${oe}.paymentMethodTitle`,PAYMENT_METHOD_SUBTITLE:`${oe}.paymentMethodSubtitle`,REFUND_AUTH:`${oe}.refundAuth`,REFUND_AMOUNT:`${oe}.refundAmount`,REFUND_METHOD_TITLE:`${oe}.refundMethodTitle`,REFUND_METHOD_SUBTITLE:`${oe}.refundMethodSubtitle`,PRIVACY_CHECK_TITLE:`${oe}.privacyCheckTitle`,ERROR_MSG_MODAL_INFO_LIST:`${oe}.errorMessageModalInfoList`,TRANSACTION_TYPE:{_PATH:wt,REFUND:{_PATH:`${wt}.refund`,INFORMATION:`${wt}.information`,BUTTON:`${wt}.button`,IS_BENEFICIARY_OWNER:`${wt}.isBeneficiaryOwner`,IS_ITALIAN_BANK:`${wt}.isItalianBank`,USER_INFORMATION:{_PATH:`${wt}.userInformation`,NAME:`${wt}.name`,SURNAME:`${wt}.surname`,IBAN:`${wt}.iban`}},PAYMENT:{_PATH:`${wt}.payment`,INFORMATION:`${wt}.information`,BUTTON:`${wt}.button`},THRESHOLD:{_PATH:`${wt}.threshold`,INFORMATION:`${wt}.information`,BUTTON:`${wt}.button`}},ERROR_MESSAGE:{_PATH:Gt,TITLE:`${Gt}.title`,LINK:`${Gt}.link`},POLICY_CHANGE:{_PATH:Yt,REACTIVATION:{_PATH:He,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${sn}.errorMessageModalPhoneBoxText`,INTEGRATION:`${sn}.integration`,VEHICLE_CHANGE_RECAP:`${sn}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:sn,TEXT:`${sn}.text`}},SUSPENSION:{_PATH:ge,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${Ae}.errorMessageModalPhoneBoxText`,INTEGRATION:`${Ae}.integration`,VEHICLE_CHANGE_RECAP:`${Ae}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:Ae,TEXT:`${Ae}.text`}},VEHICLE_CHANGE:{_PATH:se,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${gn}.errorMessageModalPhoneBoxText`,INTEGRATION:`${gn}.integration`,VEHICLE_CHANGE_RECAP:`${gn}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:gn,TEXT:`${gn}.text`}}}
1,POLICY_EDIT:{_PATH:hn,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${hn}.errorMessageModalPhoneBoxText`,INTEGRATION:`${hn}.integration`,VEHICLE_CHANGE_RECAP:`${hn}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:Hn,TEXT:`${Hn}.text`}},RENEWAL_EDIT:{_PATH:rn,TITLE:`${rn}.title`,SUBTITLE:`${rn}.subtitle`,SIDEBAR_TEXT:`${rn}.sidebarText`,POLICY_SPLITTING:`${rn}.policySplittingTitle`,PAYMENT_METHOD_TITLE:`${rn}.paymentMethodTitle`,PAYMENT_METHOD_TEXT:`${rn}.paymentMethodText`,TOOLTIP:`${rn}.tooltip`,ERROR:{_PATH:Wn,TITLE:`${Wn}.title`,TEXT:`${Wn}.text`}}}},PAGE:{_PATH:Se,MULTIPLE_VERSIONS:{_PATH:cn,SUBMISSIONS:{_PATH:Ln,PRE_TITLE:`${Ln}.preTitle`,TITLE:`${Ln}.title`},RENEWALS:{_PATH:tn,PRE_TITLE:`${tn}.preTitle`,TITLE:`${tn}.title`}},DETAIL:o(77585).h,PURCHASE_CONFIRMATION:{_PATH:Xt,INFO_CARD_DATA:{_PATH:S,PRICE_TYPE:`${S}.priceType`,PAYMENT_SAVED_TEXT:`${S}.paymentSavedText`,PAYMENT_NOT_SAVED_TEXT:`${S}.paymentNotSavedText`,CAPTION:`${S}.caption`,DESCRIPTION_TEXT_ONE_CLICK:`${S}.descriptionTextOneClick`},SUCCESS_BANNER:{_PATH:vt,TITLE:`${vt}.title`},INSTRUCTION_TITLE:`${Xt}.instructionTitle`,INSTRUCTION_SUBTITLE:`${Xt}.instructionSubtitle`,ISSUED_RENEWAL_TITLE:`${Xt}.issuedRenewalTitle`,ISSUED_RENEWAL_SUBTITLE:`${Xt}.issuedRenewalSubtitle`,CALL_TO_ACTION:{_PATH:y,ADVERTISING_TITLE:`${y}.advertisingTitle`,ADVERTISING_SUBTITLE:`${y}.advertisingSubtitle`,ISSUED_ADVERTISING_TITLE:`${y}.issuedAdvertisingTitle`,ACTION_BUTTON_TEXT:`${y}.actionButtonText`,DESCRIPTION_TITLE:`${y}.descriptionTitle`,DESCRIPTION_TEXT:`${y}.descriptionText`},OCTO_TELEMATICS_DATA:{_PATH:U,TELEMATICS_BODY:`${U}.telematicsBody`}}},EXPIRED_SESSION:{_PATH:Ue,TITLE:`${Ue}.title`,TEXT:`${Ue}.text`,BUTTON:`${Ue}.button`},INSURANCE_COMPANIES:`${Wt}.insuranceCompanies`,INSTALLMENTS_PAYMENT:{_PATH:je,TEXT:`${je}.text`,IMAGE_ALT:`${je}.imageAlt`}},An="sidenav",dn=`${An}.item`,$n={_PATH:An,TITLE:`${An}.title`,TEXT:`${An}.text`,PRIMARY_BUTTON:`${An}.primaryButton`,SECONDARY_BUTTON:`${An}.secondaryButton`,ITEM:{_PATH:dn,CARD_MANAGEMENT:`${dn}.cardManagement`,PROFILE_DATA:`${dn}.profileData`,PAYMENTS_STATUS:`${dn}.paymentsStatus`,CLAIMS:`${dn}.claims`,DELETED_SUBMISSIONS:`${dn}.deletedSubmissions`,CONSENTS_MANAGEMENT:`${dn}.consentsManagement`,GO_TO_WEBSITE:`${dn}.goToWebsite`}}},77585(ht,L,o){"use strict";o.d(L,{h:()=>l});const t="shared.page.detail",e=`${t}.fractionation`,n=`${t}.buttonLabels`,c=`${t}.privacyCheckbox`,f=`${t}.blockedRenewal`,M=`${t}.expiredRenewal`,m=`${t}.descriptions`,r=`${m}.welcomeMessages`,_=`${m}.policyInfo`,g=`${m}.expirationInfoMessage`,$=`${_}.labels`,T=`${m}.certifiedQuality`,B=`${m}.bankTransfer`,A=`${B}.labels`,I=`${B}.days`,C=`${m}.coverages`,k=`${m}.paymentMethods`,s=`${m}.expiredPolicies`,l={_PATH:t,SUBMISSION_NUMBER:`${t}.submissionNumber`,VEHICLE_INFO:`${t}.vehicleInfo`,FRACTIONATION:{_PATH:e,ANNUAL:`${e}.annual`,BIANNUAL:`${e}.biannual`},BUTTON_LABELS:{_PATH:n,BUY:`${n}.buy`,CREDIT_CARD:`${n}.CreditCard`,RN_ONE_CLICK:`${n}.RNOneClick`,BANK_TRANSFER:`${n}.BankTransfer`,PHONE_CLOSURE:`${n}.phoneClosure`,ERROR_4:`${n}.error4`,EDIT_CARD:`${n}.editCard`,RENEWAL_EDIT:`${n}.renewalEdit`,PURCHASE_INSTRUCTIONS:`${n}.purchaseInstructions`,INSTALLMENTS_PAYMENT:`${n}.installmentsPayment`},PRIVACY_CHECKBOX:{_PATH:c,STYLE:`${c}.style`,INPUT_ID:`${c}.inputId`,INPUT_NAME:`${c}.inputName`,LABEL:`${c}.label`,MESSAGE:`${c}.message`},BLOCKED_RENEWAL:{_PATH:f,TITLE:`${f}.title`,DESCRIPTION:`${f}.description`,SUBTITLE:`${f}.subtitle`},EXPIRED_RENEWAL:{_PATH:M,TITLE:`${M}.title`,DESCRIPTION:`${M}.description`,SUBTITLE:`${M}.subtitle`},DESCRIPTIONS:{_PATH:m,OR:`${m}.or`,DISCOUNTED_PRICE:`${m}.discountedPrice`,TOTAL_ANNUAL_PRICE:`${m}.totalAnnualPrice`,SECOND_INSTALLMENT:`${m}.secondInstallment`,DOCUMENTS_TITLE:`${m}.documentsTitle`,WELCOME_MESSAGES:{_PATH:r,RENEWAL:`${r}.renewal`,EXPIRED:`${r}.expired`,EXPIRED15:`${r}.expired15`,SUMMARY:`${r}.summary`,DESCRIPTION:`${r}.description`,DESCRIPTION_SINGULAR:`${r}.descriptionSingular`,DESCRIPTION_TODAY:`${r}.descriptionToday`,DESCRIPTION_EXPIRED:`${r}.descriptionExpired`,DESCRIPTION_EXPIRED_SINGULAR:`${r}.descriptionExpiredSingular`,DESCRIPTION_SUMMARY:`${r}.descriptionSummary`,CHEAPER_MOBILE:`${r}.cheaperMobile`,HIGHER_EXPIRED_MOBILE:`${r}.higherExpiredMobile`,HIGHER_UNEXPIRED_MOBILE:`${r}.higherUnexpiredMobile`,HIGHER_CONTACT_MOBILE:`${r}.higherContactMobile`},EXPIRATION_INFO_MESSAGE:{_PATH:g,TITLE:`${g}.title`,SINGULAR:`${g}.singular`,TODAY:`${g}.today`,EXPIRED:`${g}.expired`,EXPIRED_SINGULAR:`${g}.expiredSingular`},POLICY_INFO:{_PATH:_,TITLE:`${_}.title`,DESCRIPTION:`${_}.description`,EXPIRATION_DATE_MESSAGE:`${_}.expirationDateMessage`,LABELS:{_PATH:$,POLICY_HOLDER:`${$}.policyHolder`,VEHICLE_BRAND:`${$}.vehicleBrand`,PLATE_NUMBER:`${$}.plateNumber`,POLICY_NUMBER:`${$}.policyNumber`,EFFECTIVE_DATE:`${$}.effectiveDate`,EXPIRATION_DATE:`${$}.expirationDate`,FRACTIONATION:`${$}.fractionation`,PAYMENT_METHOD:`${$}.paymentMethod`,EMAIL:`${$}.email`,PHONE:`${$}.phone`}},CERTIFIED_QUALITY:{_PATH:T,MAIN_TITLE:`${T}.mainTitle`,MAIN_SUBTITLE:`${T}.mainSubtitle`,ASSISTANCE_TITLE:`${T}.assistanceTitle`,FIRST_CARD_TITLE:`${T}.firstCardTitle`,FIRST_CARD_SUBTITLE:`${T}.firstCardSubtitle`,SECOND_CARD_TITLE:`${T}.secondCardTitle`,SECOND_CARD_SUBTITLE:`${T}.secondCardSubtitle`},BANK_TRANSFER:{_PATH:B,COPIED_LABEL:`${B}.copiedLabel`,FEEDBACK_MESSAGE:`${B}.feedbackMessage`,FEEDBACK_DESCRIPTION:`${B}.feedbackDescription`,FEEDBACK_INSTRUCTIONS:`${B}.feedbackInstructions`,BANK_TRANSFER_TITLE:`${B}.bankTransferTitle`,BANK_TRANSFER_INSTRUCTIONS:`${B}
1.bankTransferInstructions`,BANK_TRANSFER_TOAST_MESSAGE:`${B}.bankTransferToastMessage`,POLICY_INFO_DESCRIPTION:`${B}.policyInfoDescription`,COVERAGE_SECTION_DESCRIPTION:`${B}.coverageSectionDescription`,COVERAGE_TOTAL_AMOUNT_TEXT:`${B}.coverageTotalAmountText`,COVERAGE_TOTAL_AMOUNT_DESCRIPTION:`${B}.coverageTotalAmountDescription`,DOCUMENTS_TITLE:`${B}.documentsTitle`,VEHICLE_INFO:`${B}.vehicleInfo`,VEHICLE_INFO_EXPIRED:`${B}.vehicleInfoExpired`,LABELS:{_PATH:A,IBAN:`${A}.iban`,BENEFICIARY:`${A}.beneficiary`,CAUSE_OF_PAYMENT:`${A}.causeOfPayment`,AMOUNT_TO_PAY:`${A}.amountToPay`},DAYS:{_PATH:I,TODAY:`${I}.today`,IN_DAY:`${I}.inDay`,IN_DAYS:`${I}.inDays`,BETWEEN_DAY:`${I}.betweenDay`,BETWEEN_DAYS:`${I}.betweenDays`}},COVERAGES:{_PATH:C,ONLY_COVERAGES:`${C}.onlyCoverages`,TITLE:`${C}.title`,COVERAGE_TOTAL_AMOUNT:`${C}.coverageTotalAmountText`,COVERAGE_INFO_MODAL:`${C}.coverageInfoModal`},PAYMENT_METHODS:{_PATH:k,CREDIT_CARD:`${k}.creditCard`,BANK_TRANSFER:`${k}.bankTransfer`,PAYPAL:`${k}.payPal`,KLARNA:`${k}.klarna`,AMERICAN_EXPRESS:`${k}.americanExpress`,PREPAID_CARD:`${k}.prepaidCard`},EXPIRED_POLICIES:{_PATH:s,POLICY_EXPIRED:`${s}.policyExpired`,PURCHASE_INSTRUCTIONS:`${s}.purchaseInstructions`}}}},93556(ht,L,o){"use strict";o.d(L,{I:()=>A});var t=o(44181),e=o(76936),n=o(35491),c=o(37754),f=o(67793),M=o(45198),m=o(13738),r=o(37991),_=o(80226);let g=(()=>{class I{constructor(k,s){this.actions$=k,this.navigateService=s,this.init$=(0,e.EH)(()=>this.actions$.pipe((0,e.gp)(r.I),(0,M.n)(()=>(0,f.of)(this.navigateService.navigateTo([m.E.NewInfoRequest])))),{dispatch:!1})}static{this.\u0275fac=function(s){return new(s||I)(_.KVO(e.En),_.KVO(c.TF))}}static{this.\u0275prov=_.jDH({token:I,factory:I.\u0275fac})}}return I})();var $=o(44543),T=o(24452),B=o(51203);let A=(()=>{class I{static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275mod=B.$C({type:I})}static{this.\u0275inj=_.G2t({providers:[$.a],imports:[t.MD,n.md.forFeature(T.oI,T.Ff),e.Vm.forFeature([g])]})}}return I})()},37991(ht,L,o){"use strict";o.d(L,{I:()=>e});var t=o(35491);const e=(0,t.VP)("[Info Request Page] Go to Info Request Page",(0,t.xk)())},44543(ht,L,o){"use strict";o.d(L,{a:()=>T});var t=o(35491),e=o(37991),n=o(75089),c=o(20340),f=o(24452);const M=(0,t.UX)(f.oI),m=(0,t.Mz)(M,B=>B.loaded),r=(0,t.Mz)(M,B=>B.infoRequestData),_=(0,t.Mz)(r,B=>B.policyHolderName),g=(0,t.Mz)(r,B=>({vehicleType:B?B.vehicleType:c.x3,creationNode:B?c.vo:c.x3,appName:c.PA,pageName:c.kk,version:c.qN,businessType:{jobIsRenewal:B.paymentFlow===n.XJp.Renewal,submissionFNB:!1}}));var $=o(80226);let T=(()=>{class B{constructor(I){this.store=I,this.loaded$=this.store.pipe((0,t.Lt)(m)),this.policyHolderName$=this.store.pipe((0,t.Lt)(_)),this.getPageViewTracking$=this.store.pipe((0,t.Lt)(g))}navigateToInfoRequestPage(I){this.store.dispatch(e.I({infoRequestData:I}))}static{this.\u0275fac=function(C){return new(C||B)($.KVO(t.il))}}static{this.\u0275prov=$.jDH({token:B,factory:B.\u0275fac})}}return B})()},24452(ht,L,o){"use strict";o.d(L,{Ff:()=>m,oI:()=>c});var t=o(37754),e=o(35491),n=o(37991);const c="infoRequest",M=(0,t._J)({loaded:!1},(0,e.on)(n.I,(r,{infoRequestData:_})=>({...r,loaded:!0,infoRequestData:_})));function m(r,_){return M(r,_)}},66082(ht,L,o){"use strict";o.d(L,{n:()=>e});const e={...o(72471).o8L}},51807(ht,L,o){"use strict";o.d(L,{c:()=>e});var t=o(75089);const e={appVersion:o(46846).rE,appName:"areaclienti",config:{production:!0,development:!1,test:!1,mockEnabled:!1,newSca:!0},urls:{gwAPI:"/pc/service/",renewals:"/pc/service/edge/gatewayrenewal/renewal",psd2:"/pc/service/edge/psd2/psd2",policy:"/pc/service/edge/policy/policy",personalArea:"/pc/service/edge/personalarea/personalarea",apiRequests:"/api/requests",quote:"/pc/service/edge/quote/quote",downloadDocument:"/pc/service/edge/document/document/policyDocument",policyChange:"/pc/service/edge/policychange/policychange",reactivation:"/pc/service/edge/policychange/reactivation",hostSC:"https://clienti.conte.it/areapersonale/#/polizze",lambdaPaymentRedirect:"https://pzt9oyvkk4.execute-api.eu-west-1.amazonaws.com/3ds2-callback/oneclick?page="}
1,cookie:{path:"/",domain:".conte.it"},applicationHost:{webquoter:"https://app.conte.it/preventivo/",selfProvisioning:"https://areapersonale.conte.it/self-provisioning/",selfCareArea:"https://clienti.conte.it/areapersonale/"},tagManager:{layer:"GTM-PLV3C25",env:1,auth:"LXNOLR6TFRTzYa1F3IXw4A"},axerve:{script:"https://ecomm.sella.it/pagam/javascript/axerve.js",status:"ON",thresholdABValue:4,oneClickLink:"https://ecomm.sella.it/pagam/pagam3d.aspx"},awsconfig:{aws_project_region:"eu-west-1",aws_cognito_identity_pool_id:"eu-west-1:5b79795a-34b0-445f-9aa6-8da733cbc76e",aws_cognito_region:"eu-west-1",aws_user_pools_id:"eu-west-1_wDFa14pNR",aws_user_pools_web_client_id:"2j1nu8tcp4rcf02nl337eh7d5c",aws_account_id:"514508885581",aws_cloud_logic_custom:[{name:t.L3L.DigitalWorkspaceApiGateway,endpoint:"https://api-dw.conte.it",region:"eu-west-1"},{name:t.L3L.ApiCenter,region:"eu-west-1"},{name:t.L3L.CognitoApi,endpoint:"https://cognito-identity.eu-west-1.amazonaws.com/",region:"eu-west-1"}]},awsConfigIdentityPools:{renewal:"eu-west-1:73202ece-b810-478b-bd83-f04354439252"},featureFlags:{policyEditContacts:!0,policyEditResidence:!0},gReCaptcha:{projectId:"ct-customer-webapp",apiKey:"AIzaSyCuNETRt2LzHxcKOjOSOrKxoQws6tJ9Hpw",siteKey:"6Lds9fUiAAAAAPeuC8osKn8usDfzMh7Gl4GjONCk"}}},49156(ht,L,o){"use strict";var t=o(16677),e=o(49582),n=o(53515),c=o(27159),f=o(8659),M=o(81477),m=o(59681),r=o(51203),_=o(80226),g=o(37428),$=o(11509),T=o(79608),B=o(37657),A=o(74683),I=o(79711),C=o(72471),k=o(37754);const s=new _.nKC("loggedUserRouteGuard.config");var l=o(51364),E=o(75089),p=o(31058),h=o(67793),w=o(48857),z=o(50596),v=o(45198),D=o(90373);let N=(()=>{class X extends A.tH{constructor(j,Ot,Ht,re){if(super(),this.config=j,this.authService=Ot,this.routerFacade=Ht,this.router=re,!j)throw new Error("LoggedUserRouteGuardService must be configured. Provide a configuration based on `LoggedUserRouteGuardConfig`.")}subscribeNavigationStart(){this.router.events.pipe((0,w.Q)(this.componentIsDestroyed()),(0,z.p)(j=>j instanceof l.Z&&(!this.config.whiteListEmptyPath||"/"!==j.url)&&!this.config.whiteList.some(Ot=>j.url.includes(Ot))),(0,v.n)(()=>(0,p.H)(this.authService.getCurrentUser())),(0,z.p)(({signInUserSession:j})=>{const Ot=1e3*j.getAccessToken().getExpiration(),Ht=(new E.Qnl).getTime(),re=this.config.expiredSessionTimeLimit||0;if(Ht<Ot)return!1;if(re&&Ht-Ot>=re)throw new Error("User expiration is too old.");return!0}),(0,v.n)(()=>(0,h.of)(this.config.sessionExpiredRoutes)),(0,D.W)(()=>(0,h.of)(this.config.missingCurrentUserRoutes))).subscribe(j=>this.routerFacade.dispatchNavigation(j,{state:{forceExit:!0}}))}static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(s),_.KVO(A.uR),_.KVO($.IO),_.KVO(l.Ix))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})();var W=o(51807),pt=o(13738),ot=o(16317),gt=o(83692),et=o(39379),Et=o(36e3),K=o(85872),at=o(92526),Bt=o(8968),_t=o(66082);const st=[];W.c.featureFlags.newHomeFeature&&st.push({path:B.EV.Claim,loadChildren:()=>o.e(2822).then(o.bind(o,2822)).then(X=>X.ClaimRoutingModule),data:{header:{selectedTab:_t.n.Claims}}});const Ut=[{path:B.EV.Auth,loadChildren:()=>Promise.all([o.e(2076),o.e(1027)]).then(o.bind(o,11027)).then(X=>X.AuthModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims,_t.n.Menu]}}},{path:B.EV.Home,loadChildren:()=>W.c.featureFlags.newHomeFeature?Promise.all([o.e(907),o.e(1535),o.e(4157),o.e(2076),o.e(7294)]).then(o.bind(o,27294)).then(X=>X.HomeContainerModule):Promise.all([o.e(907),o.e(1535),o.e(4157),o.e(7253)]).then(o.bind(o,57253)).then(X=>X.HomeContainerModule),resolve:{loadState:at.g},data:{header:{showContractor:!0}}},{path:B.EV.Detail,loadChildren:()=>Promise.all([o.e(7451),o.e(7105)]).then(o.bind(o,27105)).then(X=>X.DetailModule)},{path:`${B.EV.MagicLink}`,loadChildren:()=>o.e(597).then(o.bind(o,40597)).then(X=>X.MagicLinkModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims,_t.n.Menu]}}},{path:B.EV.MultipleVersions,loadChildren:()=>o.e(9769).then(o.bind(o,89769)).then(X=>X.MultipleVersionsModule)},{path:B.EV.ConsentManagement,loadChildren:()=>o.e(4814).then(o.bind(o,44814)).then(X=>X.ConsentManagementModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.Profile,loadChildren:()=>o.e(7794).then(o.bind(o,87794)).then(X=>X.ProfileContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},...st,{path:B.EV.Renewal,loadChildren:()=>Promise.all([o.e(8237),o.e(4767),o.e(7728),o.e(8597),o.e(1280)]).then(o.bind(o,513)).then(X=>X.PaymentContainerModule),data:{header:{selectedTab:_t.n.Policy}}},{path:B.EV.Edit,canActivate:[(0,et.mY)({strategy:"onPageReload",redirectTo:X=>{let we=X;for(;we.firstChild;
1)we=we.firstChild;const j=we.paramMap.get("encryptedTransaction")??"";return[B.EV.Detail,K.f.RENEWAL,j]}})],loadChildren:()=>Promise.all([o.e(8063),o.e(6089)]).then(o.bind(o,6089)).then(X=>X.RenewalEditModule),data:{header:{selectedTab:_t.n.Policy}}},{path:B.EV.EditPolicy,loadChildren:()=>Promise.all([o.e(8063),o.e(6089),o.e(197)]).then(o.bind(o,20197)).then(X=>X.PolicyEditModule),data:{header:{selectedTab:_t.n.Policy}}},{path:B.EV.Withdrawal,loadChildren:()=>Promise.all([o.e(8063),o.e(3616)]).then(o.bind(o,83616)).then(X=>X.WithdrawalFeatureModule)},{path:B.EV.Error,loadChildren:()=>Promise.all([o.e(8237),o.e(2076),o.e(3676)]).then(o.bind(o,27187)).then(X=>X.ErrorContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.NewError,loadChildren:()=>Promise.all([o.e(2076),o.e(6916)]).then(o.bind(o,6916)).then(X=>X.SharedErrorFeatureShellModule),canActivate:[(0,et.mY)({strategy:"onStateNotLoaded",loaded$:()=>(0,_.WQX)(gt.JN).loaded$,redirectTo:Bt.ef})],data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.GenericError,loadChildren:()=>Promise.all([o.e(2076),o.e(1844)]).then(o.bind(o,41844)).then(X=>X.GenericErrorContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.InfoRequest,loadChildren:()=>Promise.all([o.e(8237),o.e(2076),o.e(3676)]).then(o.bind(o,27187)).then(X=>X.InfoRequestContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.ClosureTelephone,loadChildren:()=>o.e(9849).then(o.bind(o,99849)).then(X=>X.ClosureTelephoneContainerModule),canActivate:[(0,et.mY)({strategy:"onStateNotLoaded",loaded$:()=>(0,_.WQX)(Et.G).loaded$,redirectTo:Bt.ef})],data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.NewInfoRequest,loadChildren:()=>Promise.all([o.e(2076),o.e(964)]).then(o.bind(o,80964)).then(X=>X.InfoRequestContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.ThankYou,loadChildren:()=>Promise.all([o.e(2076),o.e(5092)]).then(o.bind(o,55092)).then(X=>X.ThankYouContainerModule),canActivate:[(0,et.mY)({strategy:"onStateNotLoaded",loaded$:()=>(0,_.WQX)(Et.G).loaded$,redirectTo:Bt.ef})],data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}},{path:B.EV.ExpiredSession,loadChildren:()=>Promise.all([o.e(2076),o.e(7349)]).then(o.bind(o,37349)).then(X=>X.ExpiredSessionContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims,_t.n.Menu]}}},{path:B.EV.PolicyChange,loadChildren:()=>Promise.all([o.e(2076),o.e(6214)]).then(o.bind(o,76214)).then(X=>X.PolicyChangeModule),data:{header:{selectedTab:_t.n.Policy}}},{path:B.EV.Claims,loadChildren:()=>Promise.all([o.e(1864),o.e(2076),o.e(2323)]).then(o.bind(o,92323)).then(X=>X.ClaimsModule),data:{header:{selectedTab:_t.n.Policy}}},{path:B.EV.DigitalCai,loadChildren:()=>Promise.all([o.e(2076),o.e(8185)]).then(o.bind(o,8185)).then(X=>X.DigitalCaiRoutingModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Menu]}}},{path:"",redirectTo:`${B.EV.Auth}`,pathMatch:"full"},{path:"**",loadChildren:()=>Promise.all([o.e(8237),o.e(2076),o.e(3676)]).then(o.bind(o,27187)).then(X=>X.ErrorContainerModule),data:{header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims]}}}];let ft=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({imports:[ot.iI.forRoot(Ut,{scrollPositionRestoration:"enabled",anchorScrolling:"enabled",canceledNavigationResolution:"computed"}),ot.iI]})}}return X})();var zt=o(28955),jt=o(80452),Nt=o(29210),Dt=o(50741),pe=o(82305),Lt=o(50289),fe=o(12378),St=o(43732),Xt=o(60720),S=o(20340),vt=o(57844),y=o(26195),U=o(78419),F=o(47953),G=o(28941),dt=o(30453),ut=o(44287);function yt(X,we){if(1&X&&(r.j41(0,"div",6),r.nrm(1,"img",8),r.k0s()),2&X){const j=r.XpG(2);r.R7$(),r.Y8G("alt",j.logoConfig.alt)("src",j.logoConfig.src,r.B4B)("srcset",j.logoConfig.srcset)}}function Re(X,we){if(1&X&&(r.j41(0,"li",9)(1,"a",10),r.EFF(2),r.k0s()()),2&X){const j=we.$implicit;r.R7$(),r.Y8G("href",j.href,r.B4B)("target",j.target||"_self"),r.R7$(),r.JRh(j.label)}}function Pe(X,we){if(1&X&&(r.j41(0,"ul",7),r.Z7z(1,Re,3,3,"li",9,r.fX1),r.k0s()),2&X){const j=r.XpG(2);r.R7$(),r.Dyx(j.primaryLinks)}}function qe(X,we){if(1&X&&(r.j41(0,"div",2),r.nVh(1,yt,2,3,"div",6),r.nVh(2,Pe,3,0,"ul",7),r.k0s()),2&X){const j=r.XpG();r.R7$(),r.vxM(j.logoConfig?1:-1),r.R7$(),r.vxM(null!=j.primaryLinks&&j.primaryLinks.length?2:-1)}}function oe(X,we){if(1&X&&r.nrm(0,"div",3),2&X){const j=r.XpG();r.Y8G("innerHTML",j.copyright,r.npT)}}function wt(X,we){if(1&X&&(r.j41(0,"a",10),r.EFF(1),r.k0s()),2&X){const j=r.XpG().$implicit;r.Y8G("href",j.href,r.B4B)("target",j.target||"_self"),r.R7$(),r.SpI(" ",j.label," ")}}function tt(X,we){if(1&X){const j=r.RV6();r.j41(0,"a",13),r.bIt("click",function(Ht){_.eBV(j);const re=r.XpG(3);return _.Njj(re.onCookieButtonClick(Ht))}),r.EFF(1),r.k0s()}if(2&X){const j=r.XpG().$implicit;r.R7$(),r.SpI(" ",j.label," ")}}function H(X,we){if(1&X&&(r.j41(0,"li",11),r.nVh(1,wt,2,3,"a",10)(2,tt,2,1,"a",12),r.k0s()),2&X){const j=we.$implicit;r.R7$(),r.vxM(j.openCookie?2:1)}}function nt(X,we){if(1&X&&(r.j41(0,"ul",4),r.Z7z(1,H,3,1,"li",11,r.fX1),r.k0s()),2&X){const j=r.XpG();r.R7$(),r.Dyx(j.secondaryLinks)}}function V(X,we){if(1&X&&r.nrm(0,"div",5),2&X){const j=r.XpG();r.Y8G("innerHTML",j.termsOfUse,r.npT)}}const Gt={src:"./assets/img/logo-admiral.png",srcset:"\n    ./assets/img/[email protected] 1x,\n    ./assets/img/[email protected] 2x,\n    ./assets/img/[email protected] 3x\n  ",alt:"Admiral"},Yt=[{href:"//www.conte.it/chi-siamo/",target:"_blank",label:"Chi Siamo"},{href:"//www.conte.it/chi-siamo/gruppo-admiral/",target:"_blank",label:"Gruppo Admiral"},{href:"//www.conte.it/chi-siamo/news-e-comunicazioni/blog/",target:"_blank",label:"Blog"}],se=[{href:"//www.conte.it/polizze-assicurative/federalismo-fiscale/",label:"Federalismo Fiscale"},{href:"//www.conte.it/polizze-assicurative/condizioni-cga-auto-moto/",label:"Condizioni Contrattuali"},{href:"//www.conte.it/chi-siamo/compagnie-partner/",label:"Compagnie Partner"},{href:"//www.conte.it/chi-siamo/dati-personali/privacy-policy/",label:"Privacy"},{href:"//www.conte.it/chi-siamo/dati-personali/cookie-policy/",label:"Cookie Policy"},{href:null,label:"Impostazioni Cookie \u{1f36a}",openCookie:!0},{href:"//www.conte.it/mappa-del-sito/",label:"Mappa del sito"},{href:"//www.conte.it/come-fare-per/inoltrare-reclamo/",label:"Reclami"},{href:"//www.conte.it/accessibilita/",target:"_blank",label:"Accessibilit\xe0"}];let sn=(()=>{class X{constructor(){this.logoConfig=Gt,this.primaryLinks=Yt,this.copyright="Copyright &c
1opy; 2023 ConTe.it. Tutti i diritti riservati",this.secondaryLinks=se,this.termsOfUse='\n  <span class="font-weight-bold">ConTe.it</span> \xe8 un marchio registrato della succursale\n  italiana di Admiral Intermediary Services S.A. (AIS), societ\xe0 di intermediazione assicurativa\n  appartenente ad Admiral Group plc. Registrata presso la Direcci\xf3n General de Seguros y Fondos\n  de Pensiones (DGSFP) con n\xb0 AJ-0213; sede legale: Siviglia (Spagna), Calle Albert Einstein, 10\n  \u2013 41092; sede secondaria: Roma (Italia), Via della Bufalotta, 374 \u2013 00139 \u2013 C.C.I.A. di Roma\n  n\xb0 1553228 \u2013 P. IVA n\xb0 14879501006. AIS \xe8 autorizzata ad operare in Italia in regime di\n  libert\xe0 di stabilimento - iscrizione nell\u2019Elenco degli Intermediari assicurativi UE\n  dell\u2019IVASS: n\xb0 UE00010496. AIS distribuisce in Italia prodotti di Admiral Europe Compa\xf1\xeda de\n  Seguros S.A. (AECS), che fa parte di Admiral Group plc., opera in Italia in regime di libera\n  prestazione di servizi ed \xe8 iscritta nell\u2019elenco delle Compagnie comunitarie autorizzate ad\n  operare in Italia al numero II.01531. AECS ha sede legale a Madrid (Spagna), Calle Rodr\xedguez\n  Mar\xedn, 61, 1\xaa planta, 28016 ed \xe8 iscritta nel registro delle imprese di assicurazione della\n  DGSFP con n\xb0 C0805 \u2013 Capitale Sociale \u20ac 9.015.000. AIS \xe8 rappresentante fiscale e\n  rappresentante per la gestione dei sinistri in Italia di AECS.\n  ',this.$cookieButtonClick=new r.bkB}onCookieButtonClick(j){this.$cookieButtonClick.emit(j)}static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275cmp=r.VBU({type:X,selectors:[["conte-dw-footer"]],inputs:{logoConfig:"logoConfig",primaryLinks:"primaryLinks",copyright:"copyright",secondaryLinks:"secondaryLinks",termsOfUse:"termsOfUse"},outputs:{$cookieButtonClick:"$cookieButtonClick"},standalone:!1,decls:6,vars:4,consts:[[1,"ui-bootstrap","footer__main-container"],[1,"row","dw-container","footer__container"],[1,"col-12","px-0","row","mx-0","footer__header-section"],[1,"col-12","px-0","d-flex","justify-content-center","justify-content-md-start","align-items-center","footer__copyright",3,"innerHTML"],[1,"col-12","row","justify-content-between","justify-content-md-start","footer__secondary-link-container"],[1,"col-12","p-0","footer__terms-of-use",3,"innerHTML"],[1,"col-12","col-md-auto","px-0","mb-md-0","mx-auto","footer__logo-container"],[1,"col-12","col-md","p-0","row","m-0","justify-content-center","justify-content-md-start","align-items-center"],[1,"footer__logo",3,"alt","src","srcset"],[1,"col-auto","footer__primary-link"],[3,"href","target"],[1,"col-auto","footer__secondary-link"],["tabindex","0","role","link"],["tabindex","0","role","link",3,"click"]],template:function(Ot,Ht){1&Ot&&(r.j41(0,"div",0)(1,"footer",1),r.nVh(2,qe,3,2,"div",2),r.nVh(3,oe,1,1,"div",3),r.nVh(4,nt,3,0,"ul",4),r.nVh(5,V,1,1,"div",5),r.k0s()()),2&Ot&&(r.R7$(2),r.vxM(Ht.logoConfig||null!=Ht.primaryLinks&&Ht.primaryLinks.length?2:-1),r.R7$(),r.vxM(Ht.copyright?3:-1),r.R7$(),r.vxM(null!=Ht.secondaryLinks&&Ht.secondaryLinks.length?4:-1),r.R7$(),r.vxM(Ht.termsOfUse?5:-1))},styles:[".footer__main-container[_ngcontent-%COMP%]{background-color:#fff}.footer__container[_ngcontent-%COMP%]{padding:28px 20px}.footer__header-section[_ngcontent-%COMP%]{padding-bottom:24px;margin-bottom:16px;border-bottom:1px solid #ccdde8}.footer__logo-container[_ngcontent-%COMP%]{margin-bottom:24px;max-width:max-content}.footer__logo[_ngcontent-%COMP%]{width:auto;height:40px}.footer__primary-link[_ngcontent-%COMP%]{padding:0 14px}.footer__primary-link[_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid #ccdde8}.footer__primary-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#00558c;font-family:Lato,sans-serif;font-weight:400;font-size:14px;line-height:160%}.footer__primary-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .footer__primary-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus-visible{outline:none;color:#4dabff;text-decoration:underline!important}.footer__copyright[_ngcontent-%COMP%]{padding-bottom:16px;color:#00558c;font-family:Lato,sans-serif;font-weight:400;font-size:12px;line-height:160%}.footer__secondary-link-container[_ngcontent-%COMP%]{padding:0 14px 16px;margin:0 -8px}.footer__secondary-link[_ngcontent-%COMP%]{padding:0 8px}.footer__secondary-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#484848;font-family:Lato,sans-serif;font-weight:700;font-size:12px;line-height:160%}.footer__secondary-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .footer__secondary-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus-visible{outline:none;color:#4dabff;text-decoration:underline!important}.footer__terms-of-use[_ngcontent-%COMP%]{color:#484848;font-family:Lato,sans-serif;font-weight:400;font-size:12px;line-height:160%}@media (min-width: 768px){.footer__header-section[_ngcontent-%COMP%]{padding-bottom:21px;margin-bottom:30px}.footer__logo[_ngcontent-%COMP%]{width:100px;height:auto}
1.footer__primary-link[_ngcontent-%COMP%], .footer__copyright[_ngcontent-%COMP%]{color:#005388}.footer__secondary-link-container[_ngcontent-%COMP%]{padding:0 0 18px;margin:0 -25px}.footer__secondary-link[_ngcontent-%COMP%]{padding:0 25px}}@media (min-width: 1024px){.footer__container[_ngcontent-%COMP%]{padding:50px 20px 40px}}"]})}}return X})();var Ae=o(35491);const gn=(0,Ae.VP)("[Logout] Load Logout"),Hn=((0,Ae.VP)("[Logout Success] Load Logout Success"),(0,Ae.VP)("[Logout Failure] Load Logout Failure",(0,Ae.xk)()));let rn=(()=>{class X{constructor(j){this.store=j}logout(){this.store.dispatch(gn())}static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(Ae.il))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})();const Wn=[{title:G._Y.ITEM.CARD_MANAGEMENT,route:["profilo","carte"],visible:!0},{title:G._Y.ITEM.PROFILE_DATA,route:"",visible:!1},{title:G._Y.ITEM.PAYMENTS_STATUS,route:"",visible:!1},{title:G._Y.ITEM.CLAIMS,route:"",visible:!1},{title:G._Y.ITEM.DELETED_SUBMISSIONS,route:"",visible:!1},{title:G._Y.ITEM.CONSENTS_MANAGEMENT,route:[pt.E.ConsentManagement],visible:!0},{title:G._Y.ITEM.GO_TO_WEBSITE,route:"https://www.conte.it",visible:!0}];var J=o(62013),Wt=o(14524),te=o(19699),me=o(62727);let Se=(()=>{class X{transform(j){return j&&j.filter(Ot=>Ot.visible)}static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275pipe=r.EJ8({name:"menuVisibleFilter",type:X,pure:!1,standalone:!1})}}return X})();function Ue(X,we){if(1&X&&(r.j41(0,"div",7),r.nrm(1,"conte-dw-image-text",13),r.j41(2,"div",14)(3,"conte-dw-button",15),r.EFF(4),r.k0s()()()),2&X){const j=r.XpG(2);r.R7$(),r.Y8G("img",j.imgUser)("title",j.nameUser),r.R7$(2),r.Y8G("imgRight",!0),r.R7$(),r.JRh(j.textContractor)}}function ln(X,we){1&X&&r.nrm(0,"div",8)}function fn(X,we){if(1&X&&(r.j41(0,"div",9)(1,"conte-dw-button",16),r.EFF(2,"Notifiche"),r.k0s(),r.j41(3,"conte-dw-button",17),r.EFF(4,"Preferiti"),r.k0s()()),2&X){const j=r.XpG(2);r.R7$(),r.Y8G("notificationsNumber",j.notificationsNumber),r.R7$(2),r.Y8G("notificationsNumber",j.favoritesNumber)}}function Un(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",18),r.bIt("$buttonClickOutput",function(){const Ht=_.eBV(j).$implicit,re=r.XpG(2);return _.Njj(re.onMenuItemClick(Ht))}),r.EFF(2),r.k0s()()}if(2&X){const j=we.$implicit;r.R7$(2),r.JRh(j.title)}}function nn(X,we){if(1&X){const j=r.RV6();r.j41(0,"div",2,0)(2,"div",3),r.bIt("$outsideClick",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onOutsideClick(Ht))}),r.j41(3,"div",4)(4,"conte-dw-button",5),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onCloseNavMenuClick(Ht))}),r.k0s()(),r.j41(5,"div",6),r.nVh(6,Ue,5,4,"div",7),r.nVh(7,ln,1,0,"div",8),r.nVh(8,fn,5,2,"div",9),r.nrm(9,"div",8),r.j41(10,"div",10)(11,"ul"),r.Z7z(12,Un,3,1,"li",null,r.fX1),r.nI1(14,"menuVisibleFilter"),r.k0s()(),r.j41(15,"div",11)(16,"conte-dw-button",12),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onLogoutClick(Ht))}),r.EFF(17,"Disconnetti"),r.k0s()()()()()}if(2&X){const j=r.sdS(1),Ot=r.XpG();r.R7$(2),r.Y8G("@openClose",Ot.sidenavStatus)("context",j),r.R7$(2),r.Y8G("text",!1),r.R7$(2),r.vxM(Ot.nameUser?6:-1),r.R7$(),r.vxM(Ot.nameUser?7:-1),r.R7$(),r.vxM(Ot.notificationsNumber?8:-1),r.R7$(4),r.Dyx(r.bMT(14,6,Ot.menuItemList))}}let In=(()=>{class X{constructor(){this.imgUser="",this.nameUser="",this.textContractor="",this.$logOutClickOutput=new r.bkB,this.$closeMenuOutput=new r.bkB,this.$outsideClickOutput=new r.bkB,this.$menuItemClickOutput=new r.bkB,this.backgroundStatus=!1}onCloseNavMenuClick(j){this.$closeMenuOutput.emit(j)}onLogoutClick(j){this.$logOutClickOutput.emit(j)}onOutsideClick(j){this.$outsideClickOutput.emit(j)}onMenuItemClick(j){this.$menuItemClickOutput.emit(j)}static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275cmp=r.VBU({type:X,selectors:[["conte-dw-menu-personal-area"]],inputs:{imgUser:"imgUser",nameUser:"nameUser",textContractor:"textContractor",notificationsNumber:"notificationsNumber",menuItemList:"menuItemList",favoritesNumber:"favoritesNumber",sidenavStatus:"sidenavStatus"},outputs:{$logOutClickOutput:"$logOutClickOutput",$closeMenuOutput:"$closeMenuOutput",$outsideClickOutput:"$outsideClickOutput",$menuItemClickOutput:"$menuItemClickOutput"},standalone:!1,decls:2,vars:1,consts:[["background",""],[1,"ui-bootstrap"],["id","dw-modal-background",1,"dw-modal-background","dw-modal-background-menu","justify-content-end"],["id","menu-personal-area","conteDwOutsideClick","",1,"menu-personal-area",3,"$outsideClick","context"],[1,"menu-close","d-flex","justify-content-end"],["imgSrc","./assets/img/icon-blueclose.svg","id","menu-icon-close",3,"$buttonClickOutput","text"],[1,"menu-content"],[1,"menu-header","d-flex","flex-column","justify-content-center"],[1,"dw-line"],[1,"menu-icons","d-flex","align-items-center","justify-content-center"],[1,"menu-items","text-center","text-md-1-left"],[1,"menu-logout","text-center","text-md-1-left"],["id","log-out-button",1,"button","button-secondary","little",3,"$buttonClickOutput"],["imageTextStyle","dw-column menu","icon","upload-photo",3,"img","title"],[1,"menu-contractor-filter"],["id","contractor-button","imgSrc","./assets/img/icon-dropdown-close-arrow.svg","imgClass","img-right little margin",1,"button","flex","button-no-wrap",3,"imgRight"],["id","notifications-icon","notificationClass","icon-notification","imgSrc","./assets/img/icon-notification-circle.svg","imgClass","img-top-big",1,"button","button-notification",3,"notificationsNumber"],["id","favorites-icon","notificationClass","icon-notification","imgSrc","./assets/img/icon-favorites-circle.svg","imgClass","img-top-big",1,"button","button-notification",3,"notificationsNumber"],["id","menu-item",3,"$buttonClickOutput"]],template:function(Ot,Ht){1&Ot&&(r.j41(0,"div",1),r.nVh(1,nn,18,8,"div",2),r.k0s()),2&Ot&&(r.R7$(),r.vxM(Ht.sidenavStatus?1:-1))},dependencies:[Wt.U,te.Q,me.n,Se],styles:[".dw-modal-background[_ngcontent-%COMP%]{padding:0;align-items:flex-end;top:0}.menu-personal-area[_ngcontent-%COMP%]{--button-padding: 0;--button-width: auto;z-index:1026;background-color:#fff;width:375px;min-height:100%;padding:30px;overflow-x:hidden}.menu-personal-area[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]{animation:translateLeft .6s ease-in-out;-webkit-animation:translateLeft .6s ease-in-out;-moz-animation:translateLeft .6s ease-in-out;-o-animation:translateLeft .6s ease-in-out}.menu-personal-area[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{animation:translateRight .6s ease-in-out;-webkit-animation:translateRight .6s ease-in-out;-moz-animation:translateRight .6s ease-in-out;-o-animation:translateRight .6s ease-in-out}.menu-personal-area[_ngcontent-%COMP%]   .menu-content[_ngcontent-%COMP%]{padding:0 30px}.menu-personal-area[_ngcontent-%COMP%]   .menu-contractor-filter[_ngcontent-%COMP%]{padding-top:10px}.menu-personal-area[_ngcontent-%COMP%]   .dw-line[_ngcontent-%COMP%]{margin:35px auto}.menu-personal-area[_ngcontent-%COMP%]   .menu-icons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 12px}.menu-personal-area[_ngcontent-%COMP%]   .menu-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{--button-text-transform: uppercase}.menu-personal-area[_ngcontent-%COMP%]   .menu-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){padding-bottom:30px}.menu-personal-area[_ngcontent-%COMP%]   .menu-logout[_ngcontent-%COMP%]{padding:50px 0 0}@media (max-width: 767px){.menu-personal-area[_ngcontent-%COMP%]   .menu-content[_ngcontent-%COMP%]{padding:0 20px}.menu-personal-area[_ngcontent-%COMP%]   .dw-line[_ngcontent-%COMP%]{margin:20px auto}.menu-personal-area[_ngcontent-%COMP%]   .menu-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:14px}.menu-personal-area[_ngcontent-%COMP%]   .menu-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){padding-bottom:25px}.menu-personal-area[_ngcontent-%COMP%]   .menu-logout[_ngcontent-%COMP%]{padding:25px 0 0}.menu-personal-area[_ngcontent-%COMP%]     .button-secondary{display:inline-block}}@media (max-width: 480px){.menu-personal-area[_ngcontent-%COMP%]{width:100%}}"],data:{animation:[(0,J.hZ)("openClose",[(0,J.kY)(":enter",[(0,J.iF)({transform:"translateX(100%)",opacity:0}
1),(0,J.i0)("200ms",(0,J.iF)({transform:"translateX(0)",opacity:1}))]),(0,J.kY)(":leave",[(0,J.iF)({transform:"translateX(0)",opacity:1}),(0,J.i0)("200ms",(0,J.iF)({transform:"translateX(100%)",opacity:0}))])])]}})}}return X})();var Le=o(44181);let Gn=(()=>{class X{constructor(j,Ot,Ht,re,Nn,po,Ro){this.navMenuFacade=j,this.modalFacade=Ot,this.navigateService=Ht,this.logoutFacade=re,this.routerFacade=Nn,this.headerFacade=po,this.translateService=Ro,this.navMenuStatus$=this.navMenuFacade.isOpen$,this.navMenuItems=Wn.map(xn=>({...xn,title:this.translateService.instant(xn.title)}))}onCloseSidenav(){this.navMenuFacade.closeNavMenu(),this.routerFacade.selectRouteDataAndParams$.pipe((0,pe.s)(1)).subscribe(j=>{this.headerFacade.updateSelectedTab(j.data.selectedTab?j.data.selectedTab:j.params.submissionOrPolicy)})}onMenuItemClick(j){this.navMenuFacade.closeNavMenu(),"string"==typeof j.route?this.navigateService.redirect(j.route,!0):this.navigateService.navigateTo(j.route)}openLogOutModal(){this.modalFacade.loadOpenModal("ModalLogoutComponent",{inputs:{title:this.translateService.instant(G._Y.TITLE),text:this.translateService.instant(G._Y.TEXT),primaryButtonText:this.translateService.instant(G._Y.PRIMARY_BUTTON),secondaryButtonText:this.translateService.instant(G._Y.SECONDARY_BUTTON)},outputs:{$primaryButtonClickOutput:()=>this.logout(),$secondaryButtonClickOutput:()=>this.modalFacade.loadDismissModal(),$closeClickOutput:()=>this.modalFacade.loadDismissModal()}})}logout(){this.modalFacade.loadCloseModal(),this.navMenuFacade.closeNavMenu(),this.logoutFacade.logout()}static{this.\u0275fac=function(Ot){return new(Ot||X)(r.rXU(k.bq),r.rXU(zt.y),r.rXU(k.TF),r.rXU(rn),r.rXU($.IO),r.rXU(U.s),r.rXU(k.c$))}}static{this.\u0275cmp=r.VBU({type:X,selectors:[["conte-dw-sidenav"]],standalone:!1,decls:2,vars:4,consts:[["imgUser","icon-woman.png","favoritesNumber","2",3,"$closeMenuOutput","$outsideClickOutput","$menuItemClickOutput","$logOutClickOutput","sidenavStatus","menuItemList"]],template:function(Ot,Ht){1&Ot&&(r.j41(0,"conte-dw-menu-personal-area",0),r.nI1(1,"async"),r.bIt("$closeMenuOutput",function(){return Ht.onCloseSidenav()})("$outsideClickOutput",function(){return Ht.onCloseSidenav()})("$menuItemClickOutput",function(Nn){return Ht.onMenuItemClick(Nn)})("$logOutClickOutput",function(){return Ht.openLogOutModal()}),r.k0s()),2&Ot&&r.Y8G("sidenavStatus",r.bMT(1,2,Ht.navMenuStatus$))("menuItemList",Ht.navMenuItems)},dependencies:[In,Le.Jj],encapsulation:2})}}return X})();var Pn=o(55084),io=o(26582),Cn=o(17584),Qn=o(34482),Rn=o(62177);const bn=[[["","slot","content"]]],mn=["[slot=content]"],cn=X=>({"header-menu-top":!0,"background-pale-grey":X}),Ln=X=>({"dw-logo":!0,"cursor-auto":X});function tn(X,we){if(1&X){const j=r.RV6();r.j41(0,"div",7)(1,"conte-dw-button",14),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onContractorButtonClick(Ht))}),r.j41(2,"span",15),r.EFF(3),r.nI1(4,"titlecase"),r.k0s()()()}if(2&X){const j=r.XpG();r.R7$(),r.Y8G("iconSrc","icon-"+j.contractorGender+".png")("imgRight",!0),r.R7$(2),r.JRh(r.bMT(4,3,j.textContractor))}}function je(X,we){if(1&X){const j=r.RV6();r.j41(0,"li",10)(1,"conte-dw-button",16),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onSubmissionClick(Ht))}),r.EFF(2," Preventivi "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Submission?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Submission?"./assets/img/icon-preventivi-on.svg":"./assets/img/icon-preventivi-off-desktop.svg")}}function Jn(X,we){if(1&X){const j=r.RV6();r.j41(0,"li",10)(1,"conte-dw-button",17),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onPoliciesClick(Ht))}),r.EFF(2," Polizze "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Policy?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Policy?"./assets/img/icon-polizze-on.svg":"./assets/img/icon-polizze-off-desktop.svg")}}function An(X,we){if(1&X){const j=r.RV6();r.j41(0,"li",10)(1,"conte-dw-button",18),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onClaimsClick(Ht))}),r.EFF(2," Sinistri "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Claims?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Claims?"./assets/img/icon-sinistri-on.svg":"./assets/img/icon-sinistri-off.svg")}}function dn(X,we){if(1&X){const j=r.RV6();r.j41(0,"li",10)(1,"conte-dw-button",19),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onForYouClick(Ht))}),r.EFF(2," Per te "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.ForYou?" selected":"")),r.Y8G("imgRight",!0)}}function $n(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",20),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onSupportClick(Ht))}),r.EFF(2," Supporto "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Support?" selected":"")),r.Y8G("imgRight",!0)}}function vn(X,we){if(1&X){const j=r.RV6();r.j41(0,"li",10)(1,"conte-dw-button",21),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onMenuClick(Ht))}),r.EFF(2," Menu "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Menu?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Menu?"./assets/img/icon-menu-on.svg":"./assets/img/icon-menu-off-desktop.svg")}}function zn(X,we){1&X&&(r.j41(0,"div",11),r.nrm(1,"conte-dw-button",22),r.k0s()),2&X&&
1(r.R7$(),r.Y8G("text",!1))}function on(X,we){if(1&X&&r.nrm(0,"label",12),2&X){const j=r.XpG();r.Y8G("innerHTML",j.descriptionText,r.npT)}}function mo(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",16),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onSubmissionClick(Ht))}),r.EFF(2," Preventivi "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Submission?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Submission?"./assets/img/icon-preventivi-on.svg":"./assets/img/icon-preventivi-off-desktop.svg")}}function to(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",17),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onPoliciesClick(Ht))}),r.EFF(2," Polizze "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Policy?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Policy?"./assets/img/icon-polizze-on.svg":"./assets/img/icon-polizze-off-desktop.svg")}}function co(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",18),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onClaimsClick(Ht))}),r.EFF(2," Sinistri "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Claims?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Claims?"./assets/img/icon-sinistri-on.svg":"./assets/img/icon-sinistri-off.svg")}}function We(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",19),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onForYouClick(Ht))}),r.EFF(2," Per te "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.ForYou?" selected":"")),r.Y8G("imgRight",!0)}}function xe(X,we){if(1&X){const j=r.RV6();r.j41(0,"li")(1,"conte-dw-button",21),r.bIt("$buttonClickOutput",function(Ht){_.eBV(j);const re=r.XpG();return _.Njj(re.onMenuClick(Ht))}),r.EFF(2," Menu "),r.k0s()()}if(2&X){const j=r.XpG();r.R7$(),r.HbH("button button-menu sticky"+(j.selectedTab===j.Tabs.Menu?" selected":"")),r.Y8G("imgRight",!0)("imgSrc",j.selectedTab===j.Tabs.Menu?"./assets/img/icon-menu-on.svg":"./assets/img/icon-menu-off-desktop.svg")}}let Tt=(()=>{class X{constructor(){this.headerBackground=Rn.G.Default,this.showContractor=!0,this.showSubmissionButton=!0,this.showPoliciesButton=!0,this.showClaimsButton=!0,this.showForYouButton=!1,this.showSupportButton=!0,this.showMenuButton=!0,this.showIconClose=!1,this.clickableLogo=!0,this.logoAltText="Logo azienda",this.$logoClickEmitter=new r.bkB,this.$submissionClickOutput=new r.bkB,this.$policiesClickOutput=new r.bkB,this.$claimsClickOutput=new r.bkB,this.$forYouClickEmitter=new r.bkB,this.$helpClickEmitter=new r.bkB,this.$menuClickEmitter=new r.bkB,this.$contractorButtonOutput=new r.bkB,this.Tabs=Rn.o,this.HeaderBackground=Rn.G}onLogoClick(j){this.$logoClickEmitter.emit(j)}onSubmissionClick(j){this.$submissionClickOutput.emit(j)}onPoliciesClick(j){this.$policiesClickOutput.emit(j)}onClaimsClick(j){this.$claimsClickOutput.emit(j)}onForYouClick(j){this.$forYouClickEmitter.emit(j)}onSupportClick(j){this.$helpClickEmitter.emit(j)}onMenuClick(j){this.$menuClickEmitter.emit(j)}onContractorButtonClick(j){this.$contractorButtonOutput.emit(j)}static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275cmp=r.VBU({type:X,selectors:[["conte-dw-header"]],inputs:{selectedTab:"selectedTab",headerBackground:"headerBackground",showContractor:"showContractor",contractorGender:"contractorGender",textContractor:"textContractor",showSubmissionButton:"showSubmissionButton",showPoliciesButton:"showPoliciesButton",showClaimsButton:"showClaimsButton",showForYouButton:"showForYouButton",showSupportButton:"showSupportButton",showMenuButton:"showMenuButton",showIconClose:"showIconClose",descriptionText:"descriptionText",clickableLogo:"clickableLogo",logoAltText:"logoAltText"},outputs:{$logoClickEmitter:"$logoClickEmitter",$submissionClickOutput:"$submissionClickOutput",$policiesClickOutput:"$policiesClickOutput",$claimsClickOutput:"$claimsClickOutput",$forYouClickEmitter:"$forYouClickEmitter",$helpClickEmitter:"$helpClickEmitter",$menuClickEmitter:"$menuClickEmitter",$contractorButtonOutput:"$contractorButtonOutput"},standalone:!1,ngContentSelectors:mn,decls:29,vars:23,consts:[[1,"ui-bootstrap","header-container"],["id","header",1,"header"],[1,"dw-container"],[1,"d-flex","align-items-center","justify-content-between"],[1,"d-flex","align-items-center"],[3,"click"],["src","./assets/img/conte-logo.svg","width","100",3,"alt"],[1,"header-contractor-filter","d-none","d-md-1-block"],[1,"header-content-projection"],[1,"header-menu","d-flex","align-items-center"],[1,"d-none","d-md-1-block"],[1,"header-icon-close","d-block","d-md-1-none"],[1,"header__description-text","d-none","d-md-1-block",3,"innerHTML"],[1,"header-menu-bottom","d-block","d-md-1-none"],["icon","icon icon-upload","id","contractor-button","imgSrc","./assets/img/icon-dropdown-close-arrow.svg","imgClass","img-right little margin",1,"button","flex","button-no-wrap",3,"$buttonClickOutput","iconSrc","imgRight"],["translate","no"],["id","quotes-menu-item","imgClass","img-right",3,"$buttonClickOutput","imgRight","imgSrc"],["id","policies-menu-item","imgClass","img-right",3,"$buttonClickOutput","imgRight","imgSrc"],["id","claims-menu-item","imgClass","img-right",3,"$buttonClickOutput","imgRight","imgSrc"],["id","for-you-menu-item","imgClass","img-right","imgSrc","./assets/img/icon-perTe-off-desktop.svg",3,"$buttonClickOutput","imgRight"],["id","supp
1ort-menu-item","imgClass","img-right","imgSrc","./assets/img/icon-aiuto.svg",3,"$buttonClickOutput","imgRight"],["id","menu-item","imgClass","img-right",3,"$buttonClickOutput","imgRight","imgSrc"],["imgSrc","./assets/img/icon-close.svg","id","header-icon-close",3,"text"]],template:function(Ot,Ht){1&Ot&&(r.NAR(bn),r.j41(0,"div",0)(1,"header",1)(2,"div")(3,"div",2)(4,"nav",3)(5,"div",4)(6,"div",5),r.bIt("click",function(Nn){return Ht.onLogoClick(Nn)}),r.j41(7,"div"),r.nrm(8,"img",6),r.k0s()(),r.nVh(9,tn,5,5,"div",7),r.k0s(),r.j41(10,"div",8),r.SdG(11),r.k0s(),r.j41(12,"ul",9),r.nVh(13,je,3,4,"li",10),r.nVh(14,Jn,3,4,"li",10),r.nVh(15,An,3,4,"li",10),r.nVh(16,dn,3,3,"li",10),r.nVh(17,$n,3,3,"li"),r.nVh(18,vn,3,4,"li",10),r.k0s(),r.nVh(19,zn,2,1,"div",11),r.k0s(),r.nVh(20,on,1,1,"label",12),r.k0s()(),r.j41(21,"div",13)(22,"nav")(23,"ul",3),r.nVh(24,mo,3,4,"li"),r.nVh(25,to,3,4,"li"),r.nVh(26,co,3,4,"li"),r.nVh(27,We,3,3,"li"),r.nVh(28,xe,3,4,"li"),r.k0s()()()()()),2&Ot&&(r.R7$(2),r.HbH(r.eq3(19,cn,Ht.headerBackground===Ht.HeaderBackground.PaleGrey)),r.R7$(5),r.HbH(r.eq3(21,Ln,!Ht.clickableLogo)),r.R7$(),r.Y8G("alt",Ht.logoAltText),r.R7$(),r.vxM(Ht.showContractor?9:-1),r.R7$(4),r.vxM(Ht.showSubmissionButton?13:-1),r.R7$(),r.vxM(Ht.showPoliciesButton?14:-1),r.R7$(),r.vxM(Ht.showClaimsButton?15:-1),r.R7$(),r.vxM(Ht.showForYouButton?16:-1),r.R7$(),r.vxM(Ht.showSupportButton?17:-1),r.R7$(),r.vxM(Ht.showMenuButton?18:-1),r.R7$(),r.vxM(Ht.showIconClose?19:-1),r.R7$(),r.vxM(Ht.descriptionText?20:-1),r.R7$(4),r.vxM(Ht.showSubmissionButton?24:-1),r.R7$(),r.vxM(Ht.showPoliciesButton?25:-1),r.R7$(),r.vxM(Ht.showClaimsButton?26:-1),r.R7$(),r.vxM(Ht.showForYouButton?27:-1),r.R7$(),r.vxM(Ht.showMenuButton?28:-1))},dependencies:[te.Q,Le.PV],styles:[".header[_ngcontent-%COMP%]   .header-menu-top[_ngcontent-%COMP%]{padding:15px 0;background-color:#fff}.header[_ngcontent-%COMP%]   .header-menu-top.background-pale-grey[_ngcontent-%COMP%]{background-color:#f1f8ff!important}.header[_ngcontent-%COMP%]   .header-menu-top[_ngcontent-%COMP%]   .cursor-auto[_ngcontent-%COMP%]{cursor:auto}.header[_ngcontent-%COMP%]   .header-contractor-filter[_ngcontent-%COMP%]{padding-left:40px}.header[_ngcontent-%COMP%]   .header-content-projection[_ngcontent-%COMP%]{flex:1}.header[_ngcontent-%COMP%]     .button.button-no-wrap{width:250px}.header[_ngcontent-%COMP%]   .header-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child     .button-menu{padding-right:0}.header[_ngcontent-%COMP%]   .header-icon-close[_ngcontent-%COMP%]{width:12px}.header[_ngcontent-%COMP%]   .header__description-text[_ngcontent-%COMP%]{margin-top:4px;color:#484848;font-size:16px;font-family:Lato,sans-serif;font-weight:400;line-height:160%}@media (max-width: 1140px){.header[_ngcontent-%COMP%]     .button.button-no-wrap{width:200px}}@media (max-width: 1024px){.header[_ngcontent-%COMP%]   .header-menu-top[_ngcontent-%COMP%]{padding:15px 0 10px}.header[_ngcontent-%COMP%]   .header-contractor-filter[_ngcontent-%COMP%]{padding-left:15px}.header[_ngcontent-%COMP%]     .button.button-no-wrap{max-width:150px;font-size:12px}.header[_ngcontent-%COMP%]     .img-right.little{width:16px;height:16px}.header[_ngcontent-%COMP%]   .dw-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:75px;max-width:75px}}@media (max-width: 767px){.header[_ngcontent-%COMP%]   .header-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]     .button-menu{color:#00558c;padding-right:0;border-bottom-color:transparent}}.header[_ngcontent-%COMP%]   .header-menu-bottom[_ngcontent-%COMP%]{padding:0 20px;background-color:#fff;box-shadow:0 -5px 5px -5px #0000001a;position:fixed;bottom:0;left:0;width:100%}.header[_ngcontent-%COMP%]   .header-menu-bottom[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child     .button-menu{padding-left:0}.header[_ngcontent-%COMP%]   .header-menu-bottom[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child     .button-menu{padding-right:0}.header[_ngcontent-%COMP%]   .light-blue-background[_ngcontent-%COMP%]{background-color:#f9fcff}.header[_ngcontent-%COMP%]   .white-background[_ngcontent-%COMP%]{background-color:#fff}@media (max-width: 767px){.no-header-top-mobile[_ngcontent-%COMP%]   .header-menu-top[_ngcontent-%COMP%], .no-header-mobile[_ngcontent-%COMP%]{display:none}}"]})}}return X})();function Qe(X,we){if(1&X){const j=r.RV6();r.j41(0,"conte-dw-header",1),r.nI1(1,"async"),r.nI1(2,"async"),r.nI1(3,"async"),r.bIt("$contractorButtonOutput",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onContractorButtonClick())})("$submissionClickOutput",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onSubmissionClick())})("$policiesClickOutput",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onPoliciesClick())})("$claimsClickOutput",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onClaimsClick())})("$menuClickEmitter",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onSidenavOpenClick())})("$helpClickEmitter",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onSupportClick())}),r.k0s()}if(2&X){const j=we,Ot=r.XpG();r.Y8G("textContractor",r.bMT(1,10,Ot.selectedUserFullName$))("contractorGender",r.bMT(2,12,Ot.selectedUserGender$))("showContractor",j.showContractor)("showSubmissionButton",j.showSubmissionButton)("showPoliciesButton",j.showPoliciesButton)("showClaimsButton",j.showClaimsButton)("showSupportButton",j.showSupportButton)("showMenuButton",j.showMenuButton)("descriptionText",r.bMT(3,14,Ot.getDescriptionText$))("selectedTab",Ot.selectedTab)}}let At=(()=>{class X{constructor(){this.env=(0,_.WQX)("environment"),this.navigateService=(0,_.WQX)(k.TF),this.activatedRoute=(0,_.WQX)(l.nX),this.router=(0,_.WQX)(l.Ix),this.userListFacade=(0,_.WQX)(Qn.c),this.policyHolderModalManagementService=(0,_.WQX)(io.g),this.navMenuFacade=(0,_.WQX)(k.bq),this.headerFacade=(0,_.WQX)(U.s),this.screenSizeFacade=(0,_.WQX)(k.oG),this.authService=(0,_.WQX)(A.uR),this.utilsService=(0,_.WQX)(Cn.c),this.$helpClickEmitter=new r.bkB,this.selectedUserFullName$=this.userListFacade.getSelectedUserFullName$,this.selectedUserGender$=this.userListFacade.selectedUserGender$,this.getDescriptionText$=this.headerFacade.getDescriptionText$,this.getHeaderVisibility$=this.router.events.pipe((0,z.p)(j=>j instanceof l.wF),(0,Pn.Z)(null),(0,v.n)(()=>(0,p.H)(this.authService.getCurrentUser()).pipe((0,D.W)(()=>(0,h.of)(null)))),(0,v.n)(j=>{let Ot;return Ot=j?this.activatedRoute.firstChild?.data:(0,h.of)({header:{hiddenTabs:[_t.n.Submission,_t.n.Policy,_t.n.Claims,_t.n.Menu]}}),Ot.pipe((0,Lt.E)(this.screenSizeFacade.matchXSmall,this.screenSizeFacade.matchSmall,this.screenSizeFacade.matchMedium)).pipe((0,fe.T)(([Ht,re,Nn,po])=>[Ht,[re,Nn,po].some(Boolean)]))}),(0,fe.T)(([{header:j},Ot])=>({showContractor:j?.showContractor,showSubmissionButton:!j?.hiddenTabs?.includes(_t.n.Submission),showPoliciesButton:!j?.hiddenTabs?.includes(_t.n.Policy),showClaimsButton:!j?.hiddenTabs?.includes(_t.n.Claims)&&this.env.featureFlags.newHomeFeature,showSupportButton:!j?.hiddenTabs?.includes(_t.n.Support)&&!Ot,showMenuButton:!j?.hiddenTabs?.includes(_t.n.Menu)})))}onClaimsClick(){this.utilsService.trackPageEvent(B.JB.n5,B.JB.q8.event.action,B.JB.q8.event.label.homeTab),this.navMenuFacade.isOpen$.pipe((0,pe.s)(1),(0,z.p)(Boolean)).subscribe(()=>{this.navMenuFacade.closeNavMenu(),this.headerFacade.updateSelectedTab(_t.n.Claims)}),this.navigateService.navigateTo([pt.E.Home,Bt.Rv.Claims])}onPoliciesClick(){this.navMenuFacade.isOpen$.pipe((0,pe.s)(1),(0,z.p)(Boolean)).subscribe(()=>{this.navMenuFacade.closeNavMenu(),this.headerFacade.updateSelectedTab(_t.n.Policy)}),this.navigateService.navigateTo([pt.E.Home,Bt.Rv.Policies])}onSubmissionClick(){this.navMenuFacade.isOpen$.pipe((0,pe.s)(1),(0,z.p)(Boolean)).subscribe(()=>{this.navMenuFacade.closeNavMenu(),this.headerFacade.updateSelectedTab(_t.n.Submission)}),this.navigateService.navigateTo([pt.E.Home,Bt.Rv.Submissions])}onContractorButtonClick(){this.policyHolderModalManagementService.openContractorModal()}onSidenavOpenClick(){this.navMenuFacade.openNavMenu(),this.headerFacade.updateSelectedTab(_t.n.Menu)}onSupportClick(){this.$helpClickEmitter.emit(!0)}
1static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275cmp=r.VBU({type:X,selectors:[["conte-dw-header-container"]],inputs:{selectedTab:"selectedTab"},outputs:{$helpClickEmitter:"$helpClickEmitter"},standalone:!1,decls:2,vars:3,consts:[[3,"textContractor","contractorGender","showContractor","showSubmissionButton","showPoliciesButton","showClaimsButton","showSupportButton","showMenuButton","descriptionText","selectedTab"],[3,"$contractorButtonOutput","$submissionClickOutput","$policiesClickOutput","$claimsClickOutput","$menuClickEmitter","$helpClickEmitter","textContractor","contractorGender","showContractor","showSubmissionButton","showPoliciesButton","showClaimsButton","showSupportButton","showMenuButton","descriptionText","selectedTab"]],template:function(Ot,Ht){if(1&Ot&&(r.nVh(0,Qe,4,16,"conte-dw-header",0),r.nI1(1,"async")),2&Ot){let re;r.vxM((re=r.bMT(1,1,Ht.getHeaderVisibility$))?0:-1,re)}},dependencies:[Tt,Le.Jj],styles:[".ui-bootstrap.header-container{position:sticky;top:0;z-index:1022}"]})}}return X})();function Jt(X,we){if(1&X){const j=r.RV6();r.j41(0,"conte-dw-header-container",1),r.nI1(1,"async"),r.bIt("$helpClickEmitter",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.supportClickHandler())}),r.k0s(),r.nrm(2,"conte-dw-sidenav")}if(2&X){const j=r.XpG();r.Y8G("selectedTab",r.bMT(1,1,j.getSelectedTab$))}}function de(X,we){1&X&&r.nrm(0,"conte-dw-spinner")}function $e(X,we){if(1&X){const j=r.RV6();r.j41(0,"conte-dw-footer",2),r.bIt("$cookieButtonClick",function(){_.eBV(j);const Ht=r.XpG();return _.Njj(Ht.onCookieButtonClick())}),r.k0s()}if(2&X){const j=r.XpG();r.Y8G("copyright",j.copyright)}}let Fe=(()=>{class X{constructor(j,Ot,Ht,re,Nn,po,Ro,xn,Oi,Ki,Wi,hi,Qi){this.spinnerFacade=j,this.utilFacade=Ot,this.screenSizeFacade=Ht,this.proposalFacade=re,this.googleAnalyticsService=Nn,this.metaService=po,this.router=Ro,this.cookieService=xn,this.routerFacade=Oi,this.navMenuFacade=Ki,this.headerFacade=Wi,this.translate=hi,this.modalFacade=Qi,this.getProposalLoaded$=this.proposalFacade.getProposalLoaded$,this.getSelectedCoverages$=this.proposalFacade.getSelectedCoverages$,this.getContractorDataListForModalHelp$=this.proposalFacade.getContractorDataListForModalHelp$,this.getSpinner$=this.spinnerFacade.isOn$,this.title="selfcarearea",this.getPageViewTracking$=this.proposalFacade.getPageViewTracking$,this.getSelectedTab$=this.headerFacade.getSelectedTab$,this.copyright=this.translate.instant(G.Py.COPYRIGHT,{year:(new Date).getFullYear()}),this.pageName=window.location.pathname.split("/")[2],this.getProposalLoaded$.pipe((0,z.p)(Boolean),(0,Nt.H)(()=>this.getContractorDataListForModalHelp$),(0,Dt.M)(fi=>this.contractorData=fi),(0,Nt.H)(()=>this.getSelectedCoverages$)).subscribe(fi=>this.coverages=fi.map(({name:ee})=>ee)),this.removeSPCookie(),this.subscribeSelectTab(),this.subscribeSupportStrategy(),this.trackLandingPageView()}ngOnInit(){this.utilFacade.dispatch((0,k.cx)()),this.screenSizeFacade.dispatchLoadScreenSize(),this.metaService.addTags([{name:"app-version",content:W.c.appVersion}]),this.isCookieBannerVisible=!this.checkIfCookieLawAgreed(),console.log("%cGREAT PLACE TO WORK!","font-size: 50px; line-height: 65px; font-weight: bold; color: #4dabff; text-shadow: 2px 2px 1px #00558c, 4px 4px 1px #00305e")}supportClickHandler(){this.isIntermediaries?(this.openSupportModal(),this.pageName===pt.E.Renewal&&(this.trackPageEvent(vt.n5,vt.Nz,vt.RG),this.trackModalHelpPageView())):(this.headerFacade.updateSelectedTab(_t.n.Support),window.Kommunicate.launchConversation())}onCloseCookieBanner(){this.cookieService.set("cookiebanner-accepted","1",1/0,"/",W.c.cookie.domain),this.isCookieBannerVisible=!1}onCookieButtonClick(){const Ot=document.getElementById("onetrust-consent-sdk").getElementsByTagName("button");Array.from(Ot).find(Ht=>Ht.getAttribute("aria-label")===this.translate.instant(G.Py.COOKIE_BUTTON))?.click()}checkIfCookieLawAgreed(){return this.cookieService.check("cookiebanner-accepted")}trackModalHelpPageView(){this.getProposalLoaded$.pipe((0,z.p)(Boolean),(0,v.n)(()=>this.getPageViewTracking$),(0,pe.s)(1)).subscribe(j=>{this.googleAnalyticsService.trackPageView({...j,pageName:vt.hT,version:vt.qN,paymentType:null})})}trackPageEvent(j,Ot,Ht){this.googleAnalyticsService.trackEvent(j,Ot,Ht)}subscribeSelectTab(){(0,jt.z)([this.router.events.pipe((0,z.p)(j=>j instanceof l.wF),(0,v.n)(()=>this.routerFacade.selectRouteDataAndParams$),(0,Lt.E)(this.routerFacade.getCurrentUrl$.pipe((0,z.p)(Boolean),(0,fe.T)(j=>j.split("/")[j.split("/").length-1]))),(0,fe.T)(([j,Ot])=>Ot===pt.E.Claims?pt.E.Claims:void 0!==j.data.header?.selectedTab?j.data.header.selectedTab:j.params.submissionOrPolicy),(0,Dt.M)(j=>this.headerFacade.updateSelectedTab(j)),(0,St.c)(1500)),this.navMenuFacade.isOpen$]).subscribe(([j,Ot])=>{const Ht=window.Kommunicate;
1Ht&&Ht.subscribeToEvents({onChatWidgetOpen:()=>{this.headerFacade.updateSelectedTab(_t.n.Support)},onChatWidgetClose:()=>{this.headerFacade.updateSelectedTab(Ot?_t.n.Menu:j)}})})}subscribeSupportStrategy(){this.headerFacade.getSupportStrategy$.pipe((0,fe.T)(j=>j===y.u.INTERMEDIARIES)).subscribe(j=>{this.isIntermediaries=j,j?document.body.classList.add("no-tony"):document.body.classList.remove("no-tony")})}trackLandingPageView(){let j=null;this.router.events.pipe((0,z.p)(Ot=>(Ot instanceof l.Z||Ot instanceof l.wF)&&(Ot.url.includes(`${pt.E.Auth}/${Xt.p.Password}`)||Ot.url.includes(pt.E.Home)))).subscribe(Ot=>{Ot instanceof l.wF&&Ot.url.includes(pt.E.Home)&&j?(this.googleAnalyticsService.trackPageView({vehicleType:S.x3,creationNode:S.x3,appName:S.PA,pageName:S.O6,version:S.qN,businessType:null}),j=!1):Ot instanceof l.Z&&Ot.url.includes(`${pt.E.Auth}/${Xt.p.Password}`)&&(j=!0)})}removeSPCookie(){this.cookieService.check(F.Z)&&this.cookieService.delete(F.Z,"/",W.c.cookie.domain)}openSupportModal(){this.modalFacade.loadOpenModal("ModalHelpComponent",{inputs:{contractorData:this.contractorData,coverages:this.coverages,telephoneDescription:this.isIntermediaries?this.translate.instant(G.Py.SUPPORT.BROKERS_WORKING_HOURS):null,telephoneNumber:this.translate.instant(this.isIntermediaries?G.Py.SUPPORT.BROKERS_TELEPHONE_NUMBER:G.Py.SUPPORT.TELEPHONE_NUMBER)},outputs:{$closeModal:()=>this.modalFacade.loadCloseModal()}})}static{this.\u0275fac=function(Ot){return new(Ot||X)(r.rXU($.ec),r.rXU(k.n0),r.rXU(k.oG),r.rXU($.hK),r.rXU(T.p),r.rXU(dt.W8),r.rXU(l.Ix),r.rXU(k.O1),r.rXU($.IO),r.rXU(k.bq),r.rXU(U.s),r.rXU(k.c$),r.rXU(zt.y))}}static{this.\u0275cmp=r.VBU({type:X,selectors:[["conte-dw-root"]],standalone:!1,decls:6,vars:6,consts:[[3,"copyright"],[3,"$helpClickEmitter","selectedTab"],[3,"$cookieButtonClick","copyright"]],template:function(Ot,Ht){1&Ot&&(r.nVh(0,Jt,3,3),r.nI1(1,"async"),r.vZN(2,de,1,0,"conte-dw-spinner"),r.nrm(3,"router-outlet"),r.nVh(4,$e,1,1,"conte-dw-footer",0),r.nI1(5,"async")),2&Ot&&(r.vxM(r.bMT(1,2,Ht.getSpinner$)?2:0),r.R7$(4),r.vxM(r.bMT(5,4,Ht.getSpinner$)?-1:4))},dependencies:[l.n3,ut.t,sn,Gn,At,Le.Jj],styles:[":host{display:flex;flex-direction:column;min-height:100dvh}conte-dw-footer{margin-top:auto}.custom-error{--error-container-subtitle-font-size: 32px;--step-page-main-container-padding: 0;--error-container-card-label-font-size: 18px;--error-container-card-max-width: 408px;--error-container-card-padding: 24px}conte-dw-header,conte-dw-header-container{display:block;position:sticky;position:-webkit-sticky;top:0;z-index:1030}conte-dw-sidenav{position:absolute;z-index:1031}\n"],encapsulation:2})}}return X})();var bt=o(75796),le=o(84512),$t=o(88626),ie=o(32049);let Ve=(()=>{class X{constructor(j,Ot){this.unAuthService=j,this.authService=Ot,this.jwtHeaderName="Authorization",this.issuerHeaderName="issuer",this.accessKeyHeaderName="access-key",this.axiosInterceptAndRetryStrategyApiCenter()}axiosInterceptAndRetryStrategyApiCenter(){var j=this;le.A.interceptors.request.use(function(){var Ot=(0,bt.A)(function*(Ht){return(yield n.n.endpoint(E.L3L.ApiCenter)).includes(Ht.host)&&(Ht.headers={...Ht.headers,[j.jwtHeaderName]:j.authService.idToken,[j.issuerHeaderName]:"aws_anonymous",[j.accessKeyHeaderName]:j.unAuthService.accessKey}),Ht});return function(Ht){return Ot.apply(this,arguments)}}(),Ot=>{Promise.reject(Ot)}),le.A.interceptors.response.use(Ot=>Ot,function(){var Ot=(0,bt.A)(function*(Ht){const re=Ht.config;return 401!==Ht.response?.status||re._retry?Promise.reject(Ht):(re._retry=!0,re.headers={...re.headers,[j.jwtHeaderName]:j.authService.idToken,[j.issuerHeaderName]:"aws_anonymous",[j.accessKeyHeaderName]:j.unAuthService.accessKey},(0,le.A)(re))});return function(Ht){return Ot.apply(this,arguments)}}())}intercept(j,Ot){const Ht=j.url.toLowerCase();return"GET"===j.method||"HEAD"===j.method||Ht.startsWith("http://")||Ht.startsWith("https://")?Ot.handle(j):(Ht.startsWith(W.c.urls.gwAPI)||Ht.startsWith("/api"))&&this.unAuthService.accessKey&&this.authService.idToken?(j=j.clone({url:`${W.c.urls.gwAPI}edge/fastgateway/fastgateway`,setHeaders:{[this.jwtHeaderName]:"Bearer "+this.authService.idToken,[this.issuerHeaderName]:"aws_anonymous",[this.accessKeyHeaderName]:this.unAuthService.accessKey}}),Ot.handle(j).pipe((0,D.W)(re=>401===re.status?this.handleUnauthorized(j,Ot):(0,$t.$)(()=>re)))):Ot.handle(j)}handleUnauthorized(j,Ot){return this.authService.getIdToken().pipe((0,v.n)(Ht=>Ot.handle(j.clone({setHeaders:{[this.jwtHeaderName]:"Bearer "+Ht,[this.issuerHeaderName]:"aws_anonymous",[this.accessKeyHeaderName]:this.unAuthService.accessKey}}))))}
1static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(ie.B),_.KVO(A.uR))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})(),On=(()=>{class X{constructor(j){this.env=j}intercept(j,Ot){const Ht=j.url.toLowerCase();if(!this.env.config.production&&this.env.config.mockEnabled&&!Ht.includes("translate")){const re=location.origin,Nn=j.clone({url:re+"/mock"+Ht});return Ot.handle(Nn)}return Ot.handle(j)}static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO("environment"))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac})}}return X})(),Zn=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({providers:[{provide:m.a7,useClass:On,multi:!0}],imports:[Le.MD]})}}return X})();var so=o(73268),go=o(2708);const q=new _.nKC("loggedUserRouteGuard.config");let Kt=(()=>{class X{constructor(j,Ot){if(this.config=j,this.routerFacade=Ot,!j)throw new Error("LoggedUserInterceptor must be configured. Provide a configuration based on `LoggedUserInterceptorConfig`.")}intercept(j,Ot){const Ht=j.url.toLowerCase();return"GET"===j.method||"HEAD"===j.method||Ht.startsWith("http://")||Ht.startsWith("https://")?Ot.handle(j):Ot.handle(j).pipe((0,D.W)(re=>401!==re.status||this.config.whiteList?.some(Nn=>Ht.includes(Nn))?(0,$t.$)(()=>re):(this.routerFacade.dispatchNavigation(this.config.sessionExpiredRoutes,{state:{forceExit:!0}}),(0,h.of)())))}static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(q),_.KVO($.IO))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac})}}return X})();var it=o(30020),It=o(76936),ae=o(48894),Zt=o(70067),he=o(24118),be=o(91603),Je=o.n(be),pn=o(76040),yn=o(24817),ho=o(57869),En=o(93556),bo=o(12470);let vo=(()=>{class X{constructor(j,Ot,Ht,re,Nn){this.actions$=j,this.authService=Ot,this.spinnerFacade=Ht,this.navigateService=re,this.tokenStorageService=Nn,this.logoutUser$=(0,It.EH)(()=>this.actions$.pipe((0,It.gp)(gn),(0,Dt.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(()=>this.authService.logout().pipe((0,D.W)(po=>(0,h.of)(Hn({error:po.response?.data||po}))),(0,fe.T)(()=>(this.tokenStorageService.accessKey="",this.tokenStorageService.amplifyToken="",this.navigateService.navigateTo([pt.E.Auth,Xt.p.Email]),this.spinnerFacade.dispatchStopSpinner(),k.$V()))))))}static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(It.En),_.KVO(A.uR),_.KVO($.ec),_.KVO(k.TF),_.KVO($.IQ))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac})}}return X})();const Eo=(0,Ae.vy)({loaded:!1},(0,Ae.on)(gn,X=>({...X,loaded:!1})),(0,Ae.on)(Hn,(X,{error:we})=>({...X,loaded:!1,error:we})));var lo=o(27747);let xo=(()=>{class X{constructor(j){this.httpClient=j}getUserList(){return this.httpClient.post(W.c.urls.personalArea,{jsonrpc:"2.0",method:"policyHolderList_AIT"})}static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(m.Qq))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac})}}return X})(),Ko=(()=>{class X{constructor(j,Ot,Ht,re,Nn,po,Ro){this.actions$=j,this.tokenStorageService=Ot,this.routerFacade=Ht,this.store=re,this.spinnerFacade=Nn,this.userListService=po,this.authService=Ro,this.getUserList$=(0,It.EH)(()=>this.actions$.pipe((0,It.gp)(lo.OL),(0,Dt.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(()=>this.userListService.getUserList().pipe((0,fe.T)(({result:xn})=>{if(!xn?.length)throw new Error("No user found!!!");const Oi=+localStorage.getItem("selectedContractorIndex")||0;return this.store.dispatch(lo.mB({user:xn[Oi]})),lo.fp({userList:xn})}),(0,D.W)(xn=>(this.routerFacade.dispatchNavigation([pt.E.Error]),(0,h.of)(lo.oZ({error:xn})))),(0,Dt.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.setStorageByUser$=(0,It.EH)(()=>this.actions$.pipe((0,It.gp)(lo.mB),(0,Dt.M)(xn=>this.tokenStorageService.accessKey=xn.user.accessKey),(0,v.n)(xn=>this.authService.updateUserAttributes({profile:xn.user.accessKey}))),{dispatch:!1}),this.setStorageByAccessKey$=(0,It.EH)(()=>this.actions$.pipe((0,It.gp)(lo.sf),(0,Dt.M)(xn=>this.tokenStorageService.accessKey=xn.userAccessKey),(0,v.n)(xn=>this.authService.updateUserAttributes({profile:xn.userAccessKey}))),{dispatch:!1})}
1static{this.\u0275fac=function(Ot){return new(Ot||X)(_.KVO(It.En),_.KVO($.IQ),_.KVO($.IO),_.KVO(Ae.il),_.KVO($.ec),_.KVO(xo),_.KVO(A.uR))}}static{this.\u0275prov=_.jDH({token:X,factory:X.\u0275fac})}}return X})();var jo=o(91416);const Ri=k.Re,Li={...k.Qg};let Wo=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({providers:[zt.y,k.WZ,k.bq,k.oG,k.An],imports:[Ae.md.forFeature(Ri,Li),It.Vm.forFeature([zt.Ar,k.QE,k.QK])]})}}return X})();o(96387);let ii=[],Mo=X=>X,ko=X=>X;W.c.config.mockEnabled&&(ii=[Zn]),W.c.config.production&&(Mo=X=>window.btoa(X),ko=X=>window.atob(X));const ye=(X,we,j)=>(("@ngrx/store/init"===j.type||"@ngrx/store/update-reducers"===j.type)&&we&&(X=Je()(X,we)),X),wn=[function eo(X){return(0,pn.CP)({keys:[{[he.Tr]:{encrypt:Mo,decrypt:ko}},{[B.F8]:{encrypt:Mo,decrypt:ko}},{[he.JV]:{encrypt:Mo,decrypt:ko}},{[zt.Re]:{encrypt:Mo,decrypt:ko}},{[so.dK]:{encrypt:Mo,decrypt:ko}},{[ho.s4]:{encrypt:Mo,decrypt:ko}}],rehydrate:!0,restoreDates:!1,mergeReducer:ye,storage:sessionStorage})(X)}];let ui=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({providers:[k.O1,at.g,bo.s,xo,Qn.c,zt.An,$.ec,$.IO,{provide:q,useValue:{sessionExpiredRoutes:[pt.E.ExpiredSession]}},{provide:m.a7,useClass:Kt,multi:!0}],imports:[ii,yn.t,En.I,$.yQ,m.q1,$.OT,gt.vc,go.aC,$.xV,it.HU.forRoot(W.c),Ae.md.forFeature(jo.HI,jo.qj),Ae.md.forFeature("logout",Eo),It.Vm.forFeature([Ko,vo]),Wo,Ae.md.forRoot({router:ae.C_},{metaReducers:wn,runtimeChecks:{strictActionImmutability:!0,strictStateImmutability:!0}}),W.c.config.production?[]:Zt.Oo.instrument()]})}}return X})();var _i=o(74178);let Mi=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({providers:[U.s],imports:[Ae.md.forFeature(_i.Tt,_i.Ff)]})}}return X})(),wo=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({providers:[Cn.c],imports:[Le.MD,C.GCM,Mi]})}}return X})(),Io=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X})}static{this.\u0275inj=_.G2t({imports:[Le.MD,C.HGK,k.h.forChild()]})}}return X})();function Yo(X){return()=>X.addGtmToDom()}function ai(X){return()=>X.getCurrentUser().catch(()=>{})}function mi(X){return()=>X.subscribeNavigationStart()}let gi=(()=>{class X{static{this.\u0275fac=function(Ot){return new(Ot||X)}}static{this.\u0275mod=r.$C({type:X,bootstrap:[Fe]})}static{this.\u0275inj=_.G2t({providers:[(0,I.LQ)({testName:I.B7.MonthlyPayment,knownFlags:[I.B7.MonthlyPayment],prefetch:!1,providerFactory:()=>new I.hR}),(0,r.phd)(()=>(0,_.WQX)(I.y9).initialize()),{provide:r.hnV,useFactory:Yo,multi:!0,deps:[T.AR]},{provide:r.hnV,useFactory:k.V6,multi:!0,deps:[k.c$]},A.uR,{provide:A.sK,useValue:W.c.awsconfig},{provide:r.hnV,useFactory:ai,multi:!0,deps:[A.uR,A.sK]},N,{provide:s,useValue:{expiredSessionTimeLimit:108e5,whiteListEmptyPath:!0,whiteList:[pt.E.Auth,pt.E.ExpiredSession,pt.E.MagicLink,pt.E.Error,pt.E.NewError,pt.E.DigitalCai],sessionExpiredRoutes:[pt.E.ExpiredSession],missingCurrentUserRoutes:[pt.E.Auth]}},{provide:r.hnV,useFactory:mi,multi:!0,deps:[N]},{provide:"ModalsComponentMap",useValue:{ModalManagePolicyComponent:C.SFZ,ModalTouchpointSpComponent:C.h4E,ModalRenewalEditComponent:C.tOC,ModalPolicyEditComponent:C.Zr3,ModalLogoutComponent:C.Nfd,ModalInfoCoverageComponent:C.Tkn,ModalLoadingComponent:C.Vgj,ModalConsensusComponent:C.gjD,ModalSelectionComponent:C.VHf,ModalInformationComponent:C.$uQ,ModalClaimEntryComponent:C.HNk,ModalContactComponent:C.bHG,ModalHelpComponent:C.awk}},{provide:m.a7,useClass:Ve,multi:!0},{provide:B.IS,useValue:{goBackPaths:[pt.E.Home,Bt.Rv.Automatic],errorPagePaths:[pt.E.GenericError],trackingBaseSection:S.PA}}],imports:[t.Bb,g.wb,ft,C.mkl,$.OT,C.kiz,Io,ui,T.l,k.pg,wo,C.KzY,C._qq,C.Az8,k.h.forRoot({loader:{provide:k.Wr,useClass:k.Gs,deps:[m.Qq]}})]})}}return X})();const Jo=(0,f.yp)(W.c.awsconfig);
1M.H.configure(Jo),c.N.configure(Jo),n.n.configure(Jo),W.c.config.production&&(0,e.SmG)(),t.sG().bootstrapModule(gi).catch(X=>console.error(X))},11509(ht,L,o){"use strict";o.d(L,{sS:()=>Gt,yQ:()=>k,HM:()=>dt,b7:()=>ut,LQ:()=>Bn,sj:()=>I,s8:()=>yt,EE:()=>Ti,xq:()=>Qo,hK:()=>xn,xV:()=>Qi,oy:()=>ra,IO:()=>po,vP:()=>va,ec:()=>ot,OT:()=>Ji,IQ:()=>A,QR:()=>hi,go:()=>l,k9:()=>h,Q_:()=>w,Y7:()=>Ot});var t=o(44181),e=o(59681),n=o(75796),c=o(75089),f=o(74683),M=o(53515),m=o(84512),r=o(88626),_=o(90373),g=o(80226),$=o(22081),T=o(51203);let B=(()=>{class O{constructor(rt,Rt){this.doc=rt,this.platform=Rt,this.lastCookieString="",this.lastToken=null,this.lastCookieName=null,this.cookieName="XSRF-TOKEN"}getToken(){if("server"===this.platform)return null;const rt=this.doc.cookie||"";return rt!==this.lastCookieString&&(this.lastToken=(0,$.b)(rt,this.cookieName),this.lastCookieString=rt),this.lastToken}getTokenByCookieName(rt){if("server"===this.platform)return null;const Rt=this.doc.cookie||"";return(Rt!==this.lastCookieString||rt!==this.lastCookieName)&&(this.lastToken=(0,$.b)(Rt,rt),this.lastCookieString=Rt,this.lastCookieName=rt),this.lastToken}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(g.qQL),g.KVO(T.Agw))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),A=(()=>{class O{constructor(){this.isAmplify=!1,this.foundation=!1,this.guidewire=!1,this._accessKey=""}get xsrfToken(){return this._xsrfToken}set xsrfToken(rt){this._xsrfToken=rt}get spToken(){return this._spToken}set spToken(rt){this._spToken=rt}get amplifyToken(){return this._amplifyToken}set amplifyToken(rt){this._amplifyToken=rt}get accessKey(){return this._accessKey}set accessKey(rt){this._accessKey=rt}static{this.\u0275fac=function(Rt){return new(Rt||O)}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})(),I=(()=>{class O{getAmplifyToken(){const rt=Object.keys(localStorage).find(Rt=>Rt.indexOf("accessToken")>0&&Rt.indexOf(this.getLoggedUserName())>0);return localStorage.getItem(rt)}getUserAccessKey(){const rt=Object.keys(localStorage).find(Ie=>Ie.indexOf("userData")>0&&Ie.indexOf(this.getLoggedUserName())>0),ue=JSON.parse(localStorage.getItem(rt))?.UserAttributes.find(Ie=>"profile"===Ie.Name);return ue?ue.Value:""}getLoggedUserName(){const rt=Object.keys(localStorage).find(Rt=>Rt.indexOf("LastAuthUser")>0);return localStorage.getItem(rt)}static{this.\u0275fac=function(Rt){return new(Rt||O)}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})(),C=(()=>{class O{constructor(rt,Rt,ue,Ie,Ne){this.tokenExtractor=rt,this.tokenService=Rt,this.localStorageService=ue,this.authService=Ie,this.env=Ne,this.xsrf_cookieName="XSRF-TOKEN",this.spAuth_cookieName="sp_auth",this.xsrf_headerName="X-XSRF-TOKEN",this.jwt_headerName="Authorization",this.issuer_headerName="issuer",this.accessKey_headerName="access-key",this.axiosInterceptAndRetryStrategyApiCenter()}getAuthBearer(){return this.tokenService.amplifyToken?this.tokenService.amplifyToken:this.authService.idToken}axiosInterceptAndRetryStrategyApiCenter(){var rt=this;m.A.interceptors.request.use(function(){var Rt=(0,n.A)(function*(ue){const Ie=yield M.n.endpoint(c.L3L.ApiCenter);return rt.tokenService.accessKey||(rt.tokenService.accessKey=rt.localStorageService.getUserAccessKey()),Ie.includes(ue.host)&&(ue.headers.Authorization="Bearer "+rt.getAuthBearer(),rt.tokenService.accessKey&&(ue.headers[rt.accessKey_headerName]=rt.tokenService.accessKey)),ue});return function(ue){return Rt.apply(this,arguments)}}(),Rt=>{Promise.reject(Rt)}),m.A.interceptors.response.use(Rt=>Rt,function(){var Rt=(0,n.A)(function*(ue){const Ie=ue.config;return 401!==ue.response?.status||Ie._retry?Promise.reject(ue):(Ie._retry=!0,Ie.headers.Authorization=rt.getAuthBearer(),(0,m.A)(Ie))});return function(ue){return Rt.apply(this,arguments)}}())}intercept(rt,Rt){let ue=!1;rt.body&&(ue=rt.body.skipErrorFilter,delete rt.body.skipErrorFilter);const Ie=rt.url.toLowerCase();return"GET"===rt.method||"HEAD"===rt.method||Ie.startsWith("http://")||Ie.startsWith("https://")?Rt.handle(rt):((Ie.startsWith(this.env.urls.gwAPI)||Ie.startsWith("/api"))&&(this.tokenService.spToken||(this.tokenService.spToken=this.tokenExtractor.getTokenByCookieName(this.xsrf_cookieName)),this.tokenService.amplifyToken||(this.tokenService.amplifyToken=this.localStorageService.getAmplifyToken()),this.tokenService.accessKey||(this.tokenService.accessKey=this.localStorageService.getUserAccessKey()),null===this.tokenService.amplifyToken||rt.headers.has(this.jwt_headerName)?null!==this.tokenService.spToken&&!rt.headers.has(this.jwt_headerName)&&(rt=rt.clone({headers:rt.headers.set(this.jwt_headerName,"Bearer "+this.tokenService.spToken)})):rt=rt.clone({setHeaders:{[this.jwt_headerName]:"Bearer "+this.tokenService.amplifyToken,[this.issuer_headerName]:"AWS",[this.accessKey_headerName]:this.tokenService.accessKey}}
1)),Rt.handle(rt).pipe((0,_.W)(Ne=>{if(ue)return(0,r.$)(()=>Ne);let an="";return 403===Ne.status&&(an=`Error: ${Ne.message}`),an=401===Ne.status?`Error: ${Ne.message}`:`Error Code: ${Ne.status}\nMessage: ${Ne.message}`,(0,r.$)(()=>new Error(an))})))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(B),g.KVO(A),g.KVO(I),g.KVO(f.uR),g.KVO("environment"))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),k=(()=>{class O{static{this.\u0275fac=function(Rt){return new(Rt||O)}}static{this.\u0275mod=T.$C({type:O})}static{this.\u0275inj=g.G2t({providers:[A,B,{provide:e.a7,useClass:C,multi:!0},{provide:e.B3,useClass:B}],imports:[t.MD,e.Z9.disable()]})}}return O})();var s=o(35491);const l=(0,s.VP)("[Router] go",(0,s.xk)()),E=(0,s.VP)("[Router] back"),p=(0,s.VP)("[Router] forward"),h=(0,s.VP)("[Spinner] Start Spinner"),w=(0,s.VP)("[Spinner] Stop Spinner"),z="spinner",D=(0,s.vy)({isOn:!1},(0,s.on)(h,O=>({...O,isOn:!0})),(0,s.on)(w,O=>({...O,isOn:!1})));function N(O,Pt){return D(O,Pt)}const W=(0,s.UX)(z),pt=(0,s.Mz)(W,O=>O.isOn);let ot=(()=>{class O{constructor(rt){this.store=rt,this.isOn$=this.store.pipe((0,s.Lt)(pt))}dispatchStartSpinner(){this.store.dispatch(h())}dispatchStopSpinner(){this.store.dispatch(w())}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();const fe=(0,s.VP)("[Privacy] Set Contractual Privacy",(0,s.xk)());var St=o(90122);const Xt="privacy",vt=(0,St.p)().getInitialState({contractualPrivacy:!1}),y=(0,s.vy)(vt,(0,s.on)(fe,(O,{contractualPrivacy:Pt})=>({...O,contractualPrivacy:Pt})));function U(O,Pt){return y(O,Pt)}const F=(0,s.UX)(Xt),G=(0,s.Mz)(F,O=>O.contractualPrivacy);let dt=(()=>{class O{constructor(rt){this.store=rt,this.getContractualPrivacy$=this.store.pipe((0,s.Lt)(G))}setContractualPrivacy(rt){this.store.dispatch(fe({contractualPrivacy:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),ut=(()=>{class O{static{this.\u0275fac=function(Rt){return new(Rt||O)}}static{this.\u0275mod=T.$C({type:O})}static{this.\u0275inj=g.G2t({providers:[dt],imports:[t.MD,s.md.forFeature(Xt,U)]})}}return O})(),yt=(()=>{class O{constructor(rt,Rt){this.http=rt,this.env=Rt,this.lookupUrl=Rt.urls.gwAPI+"edge/address/lookup"}getProvinces(){return this.http.post(this.lookupUrl,{jsonrpc:"2.0",method:"getProvinces_AIT",params:[]})}getCities(rt){return this.http.post(this.lookupUrl,{jsonrpc:"2.0",method:"getCities_AIT",params:[rt]})}getPostalCodes(rt,Rt){return this.http.post(this.lookupUrl,{jsonrpc:"2.0",method:"getPostalCodes_AIT",params:[rt,Rt]})}getToponyms(){return this.http.post(this.lookupUrl,{jsonrpc:"2.0",method:"getToponym_AIT",params:[]})}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(e.Qq),g.KVO("environment"))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();const Gt={MODIFY_RENEWALS:"003",PSD2:"004",RENEWAL_EDIT:"007"},Ae="shared.page.detail.descriptions.paymentMethods",gn=`${Ae}.bankTransfer`,Wt=new Map([[c.dmC.Bank,gn],[c.dmC.AmericanExpress,`${Ae}.americanExpress`],[c.dmC.PrepaidCard,`${Ae}.prepaidCard`],[c.dmC.TraditionalCard,`${Ae}.creditCard`],[c.dmC.PayPal,`${Ae}.payPal`],[c.dmC.Klarna,`${Ae}.klarna`]]);var te=o(76936);let me=(()=>{class O{constructor(rt,Rt){this.env=rt,this.httpClient=Rt,this.gwAPI=this.env.urls.gwAPI}getProposalData(rt){return this.httpClient.post(`${this.gwAPI}edge/gatewayrenewal/renewal`,{jsonrpc:"2.0",method:"retrieve_AIT",params:rt})}getEditPreQuoteProposalData(rt){return this.httpClient.post(`${this.gwAPI}edge/gatewayrenewal/renewal`,{jsonrpc:"2.0",method:"editAndPrequote_AIT",params:rt})}saveProposalForLater(rt){return this.httpClient.post(`${this.gwAPI}edge/gatewayrenewal/renewal`,{jsonrpc:"2.0",method:"quote_AIT",params:rt})}getDocument(rt){return this.httpClient.get(`${this.gwAPI}edge/document/document/policyDocument/${rt.publicID}?token=${rt.sessionID}`,{headers:new e.Lr({Accept:"application/pdf"}),responseType:"arraybuffer",observe:"response"})}updateDocuments(rt){return this.httpClient.post(`${this.gwAPI}edge/gatewayrenewal/renewal`,{jsonrpc:"2.0",method:"getDocumentsFromPeriod_AIT",params:rt})}updateCoveragesProposal(rt){return this.httpClient.post(`${this.gwAPI}edge/gatewayrenewal/renewal`,{jsonrpc:"2.0",method:"updateCoverages_AIT",params:rt})}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO("environment"),g.KVO(e.Qq))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})();const Se=(0,s.VP)("[Commercial Privacy] Update Commercial Privacy",(0,s.xk)());var Ue=o(30020);const ln=(0,s.VP)("[EncryptedPolicy] Encrypted Policy",(0,s.xk)()),fn=(0,s.VP)("[EncryptedPolicy] Encrypted Policy from state"),nn=((0,s.VP)("[EncryptedPolicy] Encrypted Policy Success",(0,s.xk)()),(0,s.VP)("[Modify Guarantees] Modify Guarantees",(0,s.xk)())),In=(0,s.VP)("[Modify Guarantees] Modify Guarantees Success",(0,s.xk)()),Le=(0,s.VP)("[Modify Guarantees] Modify Guarantees Error",(0,s.xk)()),Gn=(0,s.VP)("[Proposal] Load Retrieve Proposal Data",(0,s.xk)()),Pn=(0,s.VP)("[Proposal] Load Retrieve Proposal Data Success",(0,s.xk)()),io=(0,s.VP)("[Proposal] Load Retrieve Proposal Data Error",(0,s.xk)()),Cn=(0,s.VP)("[Proposal] Load Edit and PreQuote Proposal Data",(0,s.xk)()),Qn=(0,s.VP)("[Proposal] Load Edit and PreQuote Proposal Data Success",(0,s.xk)()),Rn=(0,s.VP)("[Proposal] Load Edit and PreQuote Proposal Data Error",(0,s.xk)()),bn=(0,s.VP)("[Proposal] Load Document",(0,s.xk)()),mn=(0,s.VP)("[Proposal] Load Document Success",(0,s.xk)()),cn=(0,s.VP)("[Proposal] Load Document Error",(0,s.xk)()),Ln=(0,s.VP)("[Update Proposal] Update Proposal Coverages",(0,s.xk)()),tn=(0,s.VP)("[Update Proposal] Update Proposal Coverages Success",(0,s.xk)()),je=(0,s.VP)("[Update Proposal] Load Proposal Coverages Error",(0,s.xk)()),Jn=(0,s.VP)("[Save For Later] Save For Later",(0,s.xk)()),An=(0,s.VP)("[Save For Later] Save For Later Success",(0,s.xk)()),dn=(0,s.VP)("[Save For Later] Save For Later Error",(0,s.xk)()),$n=(0,s.VP)("[Update Documents] Update Documents",(0,s.xk)()),vn=(0,s.VP)("[Update Documents] Update Documents Success",(0,s.xk)()),zn=(0,s.VP)("[Update Documents] Update Documents Error",(0,s.xk)()),on="proposal",to=(0,s.vy)({loaded:!1},(0,s.on)(Gn,O=>({...O,loaded:!1,error:null})),(0,s.on)(Pn,(O,{proposal:Pt})=>({...O,loaded:!0,proposal:Pt,commercialPrivacy:Pt.privacyConsents.consensiPrivacy.find(rt=>"PRIVACY_COMMERCIALE_CONTE"===rt.privacyType).valore})),(0,s.on)(io,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)(Cn,O=>({...O,loaded:!1,error:null})),(0,s.on)(Qn,(O,{proposal:Pt})=>({...O,loaded:!0,proposal:Pt,commercialPrivacy:Pt.privacyConsents.consensiPrivacy.find(rt=>"PRIVACY_COMMERCIALE_CONTE"===rt.privacyType).valore})),(0,s.on)(Rn,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)(bn,O=>({...O,documentLoaded:!1,error:null})),(0,s.on)(mn,(O,{downloadDocument:Pt})=>({...O,documentLoaded:!0,document:Pt})),(0,s.on)(cn,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)(Ln,O=>({...O,updated:!1,error:null})),(0,s.on)(tn,(O,{proposal:Pt})=>({...O,updated:!0,proposal:Pt})),(0,s.on)(je,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)(ln,(O,{encryptedPolicy:Pt})=>({...O,encryptedPolicyLoaded:!0,encryptedPolicy:Pt})),(0,s.on)(fn,O=>({...O,encryptedPolicyLoaded:!0,encryptedPolicy:O.proposal.encryptedPolicy})),(0,s.on)(Jn,O=>({...O,saved:!1,error:null})),(0,s.on)(An,(O,{proposal:Pt})=>({...O,saved:!0,proposal:Pt})),(0,s.on)(dn,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)(nn,O=>({...O,modified:!1,error:null})),(0,s.on)(In,(O,{proposal:Pt})=>({...O,updated:!1,modified:!0,saved:!1,proposal:Pt})),(0,s.on)(Le,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)($n,O=>({...O,loaded:!1,error:null})),(0,s.on)(vn,(O,{documents:Pt})=>({...O,documentsUpdated:!0,proposal:{...O.proposal,documents:Pt}})),(0,s.on)(zn,(O,{error:Pt})=>({...O,error:Pt})),(0,s.on)(Se,(O,{commercialPrivacy:Pt})=>({...O,commercialPrivacy:Pt,updated:!0})));function co(O,Pt){return to(O,Pt)}const We=(0,s.UX)(on),xe=(0,s.Mz)(We,O=>O?.proposal),Tt=(0,s.Mz)(xe,O=>O?.policyHolderName),Qe=(0,s.Mz)(xe,O=>O?.policyHolderEmail),At=(0,s.Mz)(We,O=>O.loaded),de=((0,s.Mz)(We,O=>O.error),(0,s.Mz)(xe,O=>O?.vehicleCoverages_AIT.entry.filter(Pt=>!Pt.selected))),$e=(0,s.Mz)(xe,O=>{let Pt;return O.migratedPolicy&&"annual"===O.paymentDivision.code||(Pt=O.vehicleCoverages_AIT.entry.find(ue=>!ue.selected&&"A009"===ue.code&&ue.avalaibleCoverage_AIT)),{telematicsCoverage:Pt,ancillariesCoverages:O.vehicleCoverages_AIT.entry.filter(ue=>!ue.selected&&"MTAncillariesCov"===ue.coverageCategoryCode&&ue.avalaibleCoverage_AIT)}}),Fe=(0,s.Mz)(xe,O=>O?.vehicleCoverages_AIT.entry.filter(Pt=>!Pt.selected&&"MTCVTCov"===Pt.coverageCategoryCode&&Pt.avalaibleCoverage_AIT&&"A009"!==Pt.code)),bt
1=(0,s.Mz)(xe,O=>O?.vehicleCoverages_AIT.entry.filter(Pt=>Pt.selected)),le=(0,s.Mz)(xe,O=>{let Pt,rt;return"biannual"===O.paymentDivision.code?(Pt=O.paymentDownpaymentAmount,rt="Rata semestrale"):"annual"===O.paymentDivision.code&&(Pt=O.paymentTotalAmount,rt="Costo totale"),{buttonVisibilityCode:O.renewalButtonVisibility_AIT,purchaseAmount:Pt,labelPurchaseTotal:rt,paymentType:O.paymentType}}),$t=(0,s.Mz)(xe,O=>{const Pt=O.paymentTotalAmount,Rt=O?.paymentDivision.description,ue=new c.GX7(O?.paymentCardFirst3Digit,O?.paymentCardLast4Digit);let Ie,Ne;return"biannual"===O.paymentDivision.code?(Ie=O.paymentDownpaymentAmount,Ne="Rata semestrale"):"annual"===O.paymentDivision.code&&(Ie=O.paymentTotalAmount,Ne="Costo totale"),{paymentTotalAmount:Pt,paymentDownPaymentAmount:O.paymentDownpaymentAmount,showPreviousYearHideDiscount:Pt<0,paymentTotalAmountPreviousYear:0,paymentType:Rt,creditCardInfo:ue,actionBarBottomData:{buttonVisibilityCode:O.renewalButtonVisibility_AIT,purchaseAmount:Ie,labelPurchaseTotal:Ne}}}),ie=(0,s.Mz)(xe,O=>new c.GX7(O?.paymentCardFirst3Digit,O?.paymentCardLast4Digit)),Ve=(0,s.Mz)(xe,O=>{const Pt=new c.Qnl;Pt.setHours(0,0,0);const rt=new c.Qnl(O.effectiveDate_AIT).addDays(1);rt.setHours(23,59,59);let ue,Ie=null;return Pt.diff(rt,"days")>15&&(ue=`La data di decorrenza della tua polizza \xe8 ${new c.Qnl(O.effectiveDate_AIT).format("DD/MM/YYYY")}.\n      Per modificarla, chiamaci al numero 06 45234523`,Ie={title:ue,error:!1}),Ie}),On=(0,s.Mz)(xe,O=>{const Pt=O.policyHolderName,rt=O.vehicleBrand,Rt=O.vehiclePlate,ue=new c.Qnl;ue.setHours(0,0,0);let Ie=0;const Ne=new c.Qnl(O.policyExpirationDate_AIT).diff(ue,"days"),an=O.renewalToPreviousRCAComparison,Oo=O?.vehicleCoverages_AIT.entry||[],Zo=Oo.find(Ao=>Ao.selected&&"A009"===Ao.code),Bi=Oo.find(Ao=>Ao.selected&&!Ao.coveredPreviously_AIT),qo=Oo.find(Ao=>!Ao.selected&&Ao.coveredPreviously_AIT),yi=Oo.find(Ao=>Ao.coveredPreviously_AIT);let ke=c.KIo,ti=c.UC2;return Zo&&"HP"===an?(ke=c.HYj,ti=c.no8):("CP"===an&&yi&&(ke=c.yif),(Bi||qo)&&(ke=c.KIo),Ne>=0?(ue.addDays(-1),Ie=new c.Qnl(O.policyExpirationDate_AIT).diff(ue,"days"),0===Ie&&(ti=c.GB5)):(ue.setHours(23,59,59),Ie=ue.diff(new c.Qnl(O.policyExpirationDate_AIT),"days"),ti=c.eOC)),ke=ke.replace("{policyHolderName}",Pt),ti=ti.replace("{makeDescription_AIT}",rt).replace("{license}",Rt).replace("{expirationDays}",Ie.toString()),{title:ke,subtitle:ti}}),Zn=(0,s.Mz)(xe,O=>[{description:"Contraente",value:`${O?.policyHolderName} ${O?.policyHolderSurname}`},{description:"Inizio Copertura",value:new c.Qnl(O.effectiveDate_AIT).format("DD/MM/YYYY")},{description:"N\xb0 Preventivo",value:`${O.jobID}/${O.jobVersion_AIT}`}]),so=(0,s.Mz)(xe,O=>O?.documents),go=(0,s.Mz)(xe,O=>O?.status),q=(0,s.Mz)(xe,O=>O?.renewalButtonVisibility_AIT),Kt=(0,s.Mz)(xe,O=>new c._W8(null,O?.paymentType,null,O.privacyConsents.consensiPrivacy.find(Pt=>"PRIVACY_COMMERCIALE_CONTE"===Pt.privacyType).valore)),it=(0,s.Mz)(xe,O=>({brand:O?.vehicleBrand,model:O?.vehicleModel,plate:O?.vehiclePlate,registrationDate:new c.Qnl(O.registrationDate_AIT).format("MM/YYYY"),purchasedYear:O?.vehiclePurchasedYear,value:O?.vehicleStatedValue,fuelType:O?.vehicleFuelType.description,antitheft:O?.vehicleAntitheft.description,overnightParking:O?.vehicleOvernightParking.description,averageKMOneYear:O?.vehicleAverageKMOneYear,carUsage:O?.vehicleCarUsage.description,addedEquipmentsCount:O?.vehicleAddedEquipmentsCount})),It=(0,s.Mz)(xe,O=>{let Pt;const rt=O?.subjects.map(Rt=>Rt.taxID);return Pt=rt.every(Rt=>Rt===rt[0])?[{role:"Proprietario, Contraente e Conducente",name:O?.subjects[0].name,surname:O?.subjects[0].surname,gender:O?.subjects[0].gender.description,dateOfBirth:new c.Qnl(O?.subjects[0].dateOfBirth).format("DD/MM/YYYY"),taxId:O?.subjects[0].taxID,citizenship:O?.subjects[0].countryOfBirth.description,occupation:O?.subjects[0].occupation,address:O?.subjects[0].primaryAddress_AIT}]:O?.subjects.map(Rt=>({role:Rt.role,name:Rt.name,surname:Rt.surname,gender:Rt.gender.description,dateOfBirth:new c.Qnl(Rt.dateOfBirth).format("DD/MM/YYYY"),taxId:Rt.taxID,citizenship:Rt.countryOfBirth.description,occupation:Rt.occupation,address:Rt.primaryAddress_AIT})),{subjectList:Pt}}),ae=(0,s.Mz)(xe,O=>({rcaTariffType:"Bonus Malus",cuClass:O?.cuClass_AIT,policyPeriodStart:new c.Qnl(O?.policyPeriodStart).format("DD/MM/YYYY"),policyPeriodEnd:new c.Qnl(O?.policyPeriodEnd).format("DD/MM/YYYY"),vehicleCoverageTypeID:O?.vehicleCoverageType.description,currentInsuranceSituation:O?.vehicleCurrentInsuranceSituation.description,suspendedTimesLast5Y:O?.suspendedTimesLast5Y,policyHolderFineTimes:O?.policyHolderFineTimes,vehicleClaimsNumberWithFault:O?.vehicleClaimsNumberWithFault,vehicleClaimsNumberWithoutFault:O?.vehicleClaimsNumberWithoutFault})),Zt=(0,s.Mz)(xe,O=>{let Pt=[];O&&(Pt=[...O.documents]);for(const rt in Pt)Pt[rt].isDynamic&&(Pt[rt]={...Pt[rt]},Pt[rt].name=Pt[rt].name.split("-")[1]);return{documentsList:Pt}}),he=(0,s.Mz)(We,O=>O.documentLoaded),be=(0,s.Mz)(We,O=>O?.document),Je=(0,s.Mz)(xe,O=>
1[{title:"Targa",description:O.vehiclePlate},{title:"Contraente",description:`${O.policyHolderName} ${O.policyHolderSurname}`},{title:"Inizio copertura",description:new c.Qnl(O.effectiveDate_AIT).format("DD/MM/YYYY")},{title:"N\xb0 preventivo",description:`${O.jobID}/${O.jobVersion_AIT}`}]),pn=(0,s.Mz)(We,O=>O.updated),yn=(0,s.Mz)(xe,O=>O?.vehicleCoverageID_AIT),ho=(0,s.Mz)(xe,O=>O?.encryptedPolicy),En=(0,s.Mz)(xe,O=>O?.creationNode),bo=(0,s.Mz)(xe,O=>O?.jobID),vo=(0,s.Mz)(xe,O=>O?.vehicleType),zo=(0,s.Mz)(xe,O=>[{description:"Contraente",value:`${O.policyHolderName} ${O.policyHolderSurname}`},{description:"Modello Veicolo",value:`${O.vehicleBrand} ${O.vehicleModel}`},{description:"Targa",value:O.vehiclePlate},{description:"Inizio Copertura",value:new c.Qnl(O.effectiveDate_AIT).format("DD/MM/YYYY")},{description:"N\xb0 Preventivo",value:`${O.jobID}/${O.jobVersion_AIT}`}]),Vo=(0,s.Mz)(xe,O=>[{description:"IBAN",value:Ue.Mo},{description:"Beneficiario",value:Ue.k8},{description:"Causale di pagamento",value:`${O.vehiclePlate} (targa)`},{description:"Semestrale"===O.paymentDivision.description?"Importo semestrale da pagare":"Importo da pagare",value:`\u20ac${O.paymentDownpaymentAmount.toString().replace(".",",")}`}]),Eo=(0,s.Mz)(xe,O=>{const Pt=O.vehicleCoverages_AIT.entry.filter(Rt=>Rt.selected);let rt="";for(const Rt in Pt)if(Pt[Rt]){const ue=Pt[Rt];1===Pt.length?rt=ue.name:Number(Rt)===Pt.length-1?rt+=ue.name:rt+=`${ue.name} + `}return[{description:"Contraente",value:`${O.policyHolderName} ${O.policyHolderSurname}`},{description:"Decorrenza",value:`${new c.Qnl(O.effectiveDate_AIT).format("DD MMMM YYYY").replace(/(^|\s)\S/g,function(Rt){return Rt.toUpperCase()})}`},{description:"Veicolo",value:`${O.vehicleBrand} ${O.vehicleModel}`},{description:"Targa",value:`${O.vehiclePlate}`},{description:"Garanzie e Servizi",value:rt}]}),lo=(0,s.Mz)(xe,O=>{const Pt=O.vehicleCoverages_AIT.entry.find(Rt=>"A009"===Rt.code);return!!Pt&&Pt.selected}),xo=(0,s.Mz)(xe,O=>{let Pt;const rt=O.vehicleCoverages_AIT.entry.find(Ne=>"A009"===Ne.code),Rt=!!rt&&rt.selected,ue=O.isOriginalTelematics,Ie=new c.Qnl;return Ie.setHours(0,0,0),!ue&&Rt?Pt=Ie.diff(new c.Qnl(O.policyExpirationDate_AIT),"days")<=8?new c.Qnl(Ie).addDays(1).format("DD/MM/YYYY"):new c.Qnl(O.effectiveDate_AIT).addDays(-8).format("DD/MM/YYYY"):ue&&!Rt&&(Pt=new c.Qnl(O.effectiveDate_AIT).addDays(10).format("DD/MM/YYYY")),{effectiveDate:Pt,telematicsRenewal:Rt,telematicsPreviousYear:O.isOriginalTelematics}}),Ko=(0,s.Mz)(xe,O=>O.renewalTrackingGroup),jo=(0,s.Mz)(xe,O=>{let Pt;return O?2===O.renewalButtonVisibility_AIT?Pt=`${Gt.MODIFY_RENEWALS}|test`:(4===O.renewalButtonVisibility_AIT||5===O.renewalButtonVisibility_AIT)&&(Pt=`${Gt.MODIFY_RENEWALS}|na`):Pt=`${Gt.MODIFY_RENEWALS}|controlgroup`,O?.renewalTrackingGroup&&(Pt+=`#${Gt.RENEWAL_EDIT}|${O.renewalTrackingGroup}`),Pt}),Ri=(0,s.Mz)(xe,jo,(O,Pt)=>{const rt=O.vehicleCoverages_AIT.entry.find(ue=>"A001"===ue.code).grossAmount;return{transactionId:O.jobID+"/"+O.jobVersion_AIT,transactionShipping:O.paymentTotalAmount-rt,transactionTax:0,transactionTotal:rt,dimension19:"",dimension20:Pt}}),Li=(0,s.Mz)(xe,O=>({category:"",price:O.paymentTotalAmount,quantity:1,sku:O.vehicleType.code})),Wo=(0,s.Mz)(xe,jo,(O,Pt)=>{let rt="";return O&&(rt=6===O.renewalButtonVisibility_AIT?"noedit|cg":5===O.renew
1alButtonVisibility_AIT?"noedit":4===O.renewalButtonVisibility_AIT?"details":"default"),{vehicleType:O?O.vehicleType.code:"none",creationNode:O?"000":"none",appName:"self_provisioning",pageName:"",version:rt,businessType:O?{jobIsRenewal:O?.jobIsRenewal,submissionFNB:O?.jobFNB_AIT}:null,coverages:O?.vehicleCoverages_AIT.entry.filter(ue=>ue.selected),paymentType:O?.paymentType,dimension20:Pt}}),oi=(0,s.Mz)(xe,O=>{const Pt=new c.IV9;return O?(Pt.email=O.policyHolderEmail,Pt.phone=O.policyHolderTelephone,Pt.plateNumber=O.vehiclePlate,Pt.startCoverage=+O.policyPeriodStart,Pt.policyHolderFullName=`${O.policyHolderName} ${O.policyHolderSurname}`,Pt.addressDocuments=`${O.documentDeliveryAddressToponym} ${O.documentDeliveryAddress}, ${O.documentDeliveryAddressStreetNumber} ${O.documentDeliveryAddressPostalCode} ${O.documentDeliveryAddressProvince}`,Pt.vehicleFullDescription=`${O.vehicleBrand} ${O.vehicleModel}`,Pt.paymentMethod=Wt.get(O.paymentType)??gn,Pt.tracking={code:O.vehicleType?.code,creationNode:O.creationNode},Pt):null}),ii=(0,s.Mz)(xe,O=>{const Pt=new c.vuF;return O?(Pt.email=O.policyHolderEmail,Pt.phone=O.policyHolderTelephone,Pt.plateNumber=O.vehiclePlate,Pt.startCoverage=+O.policyPeriodStart,Pt.policyHolderFullName=`${O.policyHolderName} ${O.policyHolderSurname}`,Pt.addressDocuments=`${O.documentDeliveryAddressToponym} ${O.documentDeliveryAddress}, ${O.documentDeliveryAddressStreetNumber} ${O.documentDeliveryAddressPostalCode} ${O.documentDeliveryAddressProvince}`,Pt.vehicleFullDescription=`${O.vehicleBrand} ${O.vehicleModel}`,Pt.jobId=`${O.jobID}`,Pt.paymentMethod=Wt.get(O.paymentType)??gn,Pt.tracking={code:O.vehicleType?.code,creationNode:O.creationNode},Pt):null}),Mo=(0,s.Mz)(xe,O=>({policyHolderName:O.policyHolderName,policyHolderSurname:O.policyHolderSurname,paymentType:O.paymentType,selectedCoverages:O.vehicleCoverages_AIT.entry.filter(rt=>rt.selected),octoCoverage:O.vehicleCoverages_AIT.entry.find(rt=>rt.code===c.r0Z.TELEMATICS),encryptedJobNumber:O.encryptedPolicy,policyExpirationDate:O.policyExpirationDate_AIT,renewalEffectiveDate:O.policyExpirationDate_AIT,paymentTotalAmount:O.paymentTotalAmount,paymentDownpaymentAmount:O?.paymentDownpaymentAmount,paymentFractionation:O.paymentDivision,vehiclePlate:O.vehiclePlate,vehicleBrand:{code:O.vehicleBrand,description:O.vehicleBrand},vehicleModel:{code:O.vehicleModel,description:O.vehicleModel},vehicleVersion:{code:O.vehicleVersion,description:O.vehicleVersion},vehicleType:O.vehicleType,dimension20:`007|${O.renewalTrackingGroup}`})),ko=(0,s.Mz)(We,O=>O.commercialPrivacy);let Qo=(()=>{class O{constructor(rt){this.store=rt,this.getCommercialPrivacy$=this.store.pipe((0,s.Lt)(ko))}dispatchUpdateCommercialPrivacy(rt){this.store.dispatch(Se({commercialPrivacy:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();var Do=o(67793),ye=o(50741),eo=o(45198),wn=o(12378);let ui=(()=>{class O{constructor(rt,Rt,ue){this.actions$=rt,this.proposalService=Rt,this.spinnerFacade=ue,this.saveProposal$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(nn),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ie=>this.proposalService.getEditPreQuoteProposalData(Ie.params).pipe((0,wn.T)(Ne=>In({proposal:Ne.result})),(0,_.W)(Ne=>(0,Do.of)(Le({error:Ne}))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(te.En),g.KVO(me),g.KVO(ot))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();var _i=o(48894);const wo=(0,s.UX)("router"),Io=(0,s.Mz)(wo,O=>O?.state.url),Yo=(0,s.Mz)(wo,O=>O?.state.root.firstChild?.firstChild.params),ai=(0,s.Mz)(wo,O=>{let Pt=O?.state.root,rt=Pt.data;for(;Pt.firstChild;)Pt=Pt.firstChild,rt={...rt,...Pt.data};return rt}),mi=(0,s.Mz)(wo,O=>{let Pt=O?.state.root,rt=Pt.params;for(;Pt.firstChild;)Pt=Pt.firstChild,rt={...rt,...Pt.params};return rt}),gi=(0,s.Mz)(ai,mi,(O,Pt)=>({data:O,params:Pt})),{selectRouteParams:Ot}=(0,_i._u)(wo);let po=(()=>{class O{constructor(rt){this.store=rt,this.getCurrentUrl$=this.store.pipe((0,s.Lt)(Io)),this.getParams$=this.store.pipe((0,s.Lt)(Yo)),this.lastRouteCompleteData$=this.store.pipe((0,s.Lt)(ai)),this.selectRouteParam
1s$=this.store.pipe((0,s.Lt)(Ot)),this.selectRouteCompleteParams$=this.store.pipe((0,s.Lt)(mi)),this.selectRouteDataAndParams$=this.store.pipe((0,s.Lt)(gi))}dispatchNavigation(rt,Rt){this.store.dispatch(l({path:rt,extras:Rt}))}dispatchBackNavigation(){this.store.dispatch(E())}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),Ro=(()=>{class O{constructor(rt,Rt,ue,Ie){this.actions$=rt,this.proposalService=Rt,this.spinnerFacade=ue,this.routerFacade=Ie,this.loadRetrieveProposal$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(Gn),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ne=>this.proposalService.getProposalData(Ne.params).pipe((0,wn.T)(an=>Pn({proposal:an.result})),(0,_.W)(an=>(this.routerFacade.dispatchNavigation(["error"]),(0,Do.of)(io({error:an})))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.loadEditAndPreQuoteProposal$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(Cn),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ne=>this.proposalService.getEditPreQuoteProposalData(Ne.params).pipe((0,wn.T)(an=>Qn({proposal:an.result})),(0,_.W)(an=>(this.routerFacade.dispatchNavigation(["error"]),(0,Do.of)(Rn({error:an})))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.loadDocument$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(bn),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ne=>this.proposalService.getDocument(Ne.documentData).pipe((0,wn.T)(an=>mn({downloadDocument:{document:an.body,filename:an.headers.get("content-disposition")}})),(0,_.W)(an=>(0,Do.of)(cn({error:an}))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.updateCoveragesProposal$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(Ln),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ne=>this.proposalService.updateCoveragesProposal(Ne.params).pipe((0,wn.T)(an=>tn({proposal:an.result})),(0,_.W)(an=>(this.routerFacade.dispatchNavigation(["error"]),(0,Do.of)(je({error:an})))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(te.En),g.KVO(me),g.KVO(ot),g.KVO(po))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),xn=(()=>{class O{constructor(rt){this.store=rt,this.getProposalLoaded$=this.store.pipe((0,s.Lt)(At)),this.getProposalSuccess$=this.store.pipe((0,s.Lt)(xe)),this.getProposalClosureInformation$=this.store.pipe((0,s.Lt)(oi)),this.getDataForThankYouPage$=this.store.pipe((0,s.Lt)(Mo
1)),this.getProposalSendDocumentsInformation$=this.store.pipe((0,s.Lt)(ii)),this.getNotSelectedCoverages$=this.store.pipe((0,s.Lt)(de)),this.getAncillariesAndTelematicsCoverages$=this.store.pipe((0,s.Lt)($e)),this.getNotSelectedCoveragesCVT$=this.store.pipe((0,s.Lt)(Fe)),this.getSelectedCoverages$=this.store.pipe((0,s.Lt)(bt)),this.getFeedbackFullData$=this.store.pipe((0,s.Lt)(Ve)),this.getPayOffData$=this.store.pipe((0,s.Lt)(On)),this.getContractorDataList$=this.store.pipe((0,s.Lt)(Zn)),this.getWidgetCart$=this.store.pipe((0,s.Lt)($t)),this.getActionBarBottomData$=this.store.pipe((0,s.Lt)(le)),this.getCreditCardInfo$=this.store.pipe((0,s.Lt)(ie)),this.getPolicyHolderName$=this.store.pipe((0,s.Lt)(Tt)),this.getPolicyHolderEmail$=this.store.pipe((0,s.Lt)(Qe)),this.getPurchaseInfo$=this.store.pipe((0,s.Lt)(Kt)),this.getDocuments$=this.store.pipe((0,s.Lt)(so)),this.getRenewalButtonVisibility$=this.store.pipe((0,s.Lt)(q)),this.getStatus$=this.store.pipe((0,s.Lt)(go)),this.getVehicleSection$=this.store.pipe((0,s.Lt)(it)),this.get
1SubjectsSection$=this.store.pipe((0,s.Lt)(It)),this.getPolicySection$=this.store.pipe((0,s.Lt)(ae)),this.getDocumentsSection$=this.store.pipe((0,s.Lt)(Zt)),this.getDocumentLoaded$=this.store.pipe((0,s.Lt)(he)),this.getDocumentSuccess$=this.store.pipe((0,s.Lt)(be)),this.getPolicyDataMobile$=this.store.pipe((0,s.Lt)(Je)),this.getUpdateProposalCoveragesLoaded$=this.store.pipe((0,s.Lt)(pn)),this.getVehicleCoverageID_AIT$=this.store.pipe((0,s.Lt)(yn)),this.getEncryptedPolicy$=this.store.pipe((0,s.Lt)(ho)),this.getCreationNode$=this.store.pipe((0,s.Lt)(En)),this.getJobId$=this.store.pipe((0,s.Lt)(bo)),this.getVehicleType$=this.store.pipe((0,s.Lt)(vo)),this.getContractorDataListForModalHelp$=this.store.pipe((0,s.Lt)(zo)),this.getContractorDateListBankTransfer$=this.store.pipe((0,s.Lt)(Vo)),this.contractorDateListPolicyBankTransfer$=this.store.pipe((0,s.Lt)(Eo)),this.getTelematicsSelected$=this.store.pipe((0,s.Lt)(lo)),this.getDataForOctoTelematics$=this.store.pipe((0,s.Lt)(xo)),this.getRenewalTransactionTracking$=this.store.pipe((0,s.Lt)(Ri)),this.getRenewalTrackingGroup$=this.store.pipe((0,s.Lt)(Ko)),this.getRenewalTransactionProductTracking$=this.store.pipe((0,s.Lt)(Li)),this.getPageViewTracking$=this.store.pipe((0,s.Lt)(Wo)),this.getCustomDimension20$=this.store.pipe((0,s.Lt)(jo))}loadProposal(rt){this.store.dispatch(Gn({params:rt}))}loadEditAndPreQuoteProposal(rt){this.store.dispatch(Cn({params:rt}))}loadDocument(rt){this.store.dispatch(bn({documentData:rt}))}updateProposalCoverages(rt){this.store.dispatch(Ln({params:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),Oi=(()=>{class O{constructor(rt,Rt,ue){this.actions$=rt,this.proposalService=Rt,this.spinnerFacade=ue,this.saveProposal$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(Jn),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ie=>this.proposalService.saveProposalForLater(Ie.params).pipe((0,wn.T)(Ne=>An({proposal:Ne.result})),(0,_.W)(Ne=>(0,Do.of)(dn({error:Ne}))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(te.En),g.KVO(me),g.KVO(ot))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),Ki=(()=>{class O{constructor(rt,Rt,ue){this.actions$=rt,this.proposalService=Rt,this.spinnerFacade=ue,this.updateDocuments$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)($n),(0,ye.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,eo.n)(Ie=>this.proposalService.updateDocuments(Ie.params).pipe((0,wn.T)(Ne=>vn({documents:Ne.result})),(0,_.W)(Ne=>(0,Do.of)(zn({error:Ne}))),(0,ye.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(te.En),g.KVO(me),g.KVO(ot))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();const Wi=(0,s.Mz)(We,O=>O.documentsUpdated);let hi=(()=>{class O{constructor(rt){this.store=rt,this.documentsUpdated$=this.store.pipe((0,s.Lt)(Wi))}updateDocuments(rt){this.store.dispatch($n({params:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),Qi=(()=>{class O{static{this.\u0275fac=function(Rt){return new(Rt||O)}}static{this.\u0275mod=T.$C({type:O})}static{this.\u0275inj=g.G2t({providers:[me,xn,ot,hi,Qo],imports:[t.MD,s.md.forFeature(on,co),te.Vm.forFeature([Ro,Oi,ui,Ki])]})}}return O})();const fi=(0,s.Mz)(We,O=>O?.encryptedPolicy),ee=(0,s.Mz)(We,O=>O?.encryptedPolicyLoaded);let Bn=(()=>{class O{constructor(rt){this.store=rt,this.getEncryptedPolicyLoaded$=this.store.pipe((0,s.Lt)(ee)),this.getEncryptedPolicySuccess$=this.store.pipe((0,s.Lt)(fi))}dispatchUpdateEncryptedPolicyFromState(){this.store.dispatch(fn())}dispatchUpdateEncryptedPolicy(rt){this.store.dispatch(ln({encryptedPolicy:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();const $i=(0,s.Mz)(We,O=>O.modified);let Ti=(()=>{class O{constructor(rt){this.store=rt,this.getProposalModified$=this.store.pipe((0,s.Lt)($i))}modifyGuarantees(rt){this.store.dispatch(nn({params:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();const ia=(0,s.Mz)(We,O=>O.saved);let va=(()=>{class O{constructor(rt){this.store=rt,this.proposalSaved$=this.store.pipe((0,s.Lt)(ia))}saveProposalForLater(rt){this.store.dispatch(Jn({params:rt}))}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(s.il))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})();var da=o(51364),aa=o(78468);let ra=(()=>{class O{constructor(rt,Rt,ue){this.actions$=rt,this.router=Rt,this.location=ue,this.goEffect$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(l),(0,ye.M)(Ie=>this.router.navigate(Ie.path,Ie.extras))),{dispatch:!1}),this.backEffect$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(E),(0,ye.M)(()=>this.location.back())),{dispatch:!1}),this.forwardEffect$=(0,te.EH)(()=>this.actions$.pipe((0,te.gp)(p),(0,ye.M)(()=>this.location.forward())),{dispatch:!1})}static{this.\u0275fac=function(Rt){return new(Rt||O)(g.KVO(te.En),g.KVO(da.Ix),g.KVO
1(aa.aZ))}}static{this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac})}}return O})(),Ji=(()=>{class O{static{this.\u0275fac=function(Rt){return new(Rt||O)}}static{this.\u0275mod=T.$C({type:O})}static{this.\u0275inj=g.G2t({providers:[ot],imports:[t.MD,s.md.forFeature(z,N)]})}}return O})()},37754(ht,L,o){"use strict";o.d(L,{B4:()=>Je,lX:()=>dt,O1:()=>G,Gs:()=>No,rP:()=>Xt,$G:()=>fe,TQ:()=>Jn,sg:()=>xe,JS:()=>$e,y7:()=>Kt,Or:()=>m,wS:()=>r,a8:()=>M,QE:()=>ia,WZ:()=>va,yx:()=>ut,bq:()=>ra,TF:()=>Re,QK:()=>xa,oG:()=>ti,An:()=>ga,Wr:()=>e.Wr,h:()=>e.h,c$:()=>e.c$,n0:()=>Ho,pg:()=>sa,Gq:()=>S,nT:()=>Ii,qu:()=>c,$Z:()=>jn,_J:()=>H,RF:()=>ei,Dl:()=>_,$g:()=>g,Ks:()=>k,N6:()=>C,Vc:()=>s,NW:()=>U,V6:()=>fa,ZA:()=>zi,h9:()=>ci,cx:()=>ca,$V:()=>tt,KZ:()=>t,MX:()=>Gi,Qg:()=>$i,Re:()=>ee});var t={};o.r(t),o.d(t,{vG:()=>ke,y3:()=>Rt,no:()=>Zo,x8:()=>Ne,On:()=>Pt,Eh:()=>Ji,o2:()=>O,r5:()=>yi,q7:()=>Pi,vq:()=>ue,W_:()=>Bi,i8:()=>an,V5:()=>Ie,CC:()=>qo,iC:()=>Oo,Sm:()=>rt,o1:()=>Ni});var e=o(31628),n=o(44181);function c(b){return(0,n.ZV)(b,"it-IT","1.2-2")}var f=o(75089);const M=6e4,m=60*M,r=24*m;function _(b,kt=Date.now()){const Z=mt=>Math.trunc(mt/r);return Z(b)-Z(kt)}function g(b,kt=Date.now()){return Math.trunc((b-kt)/36e5)}function C(b,kt){const Z=new f.Qnl;let mt=null;if(b){const qt=b.split(kt);+qt[0]<=12&&qt[1]&&(Z.setFullYear(+qt[1],+qt[0]-1,1),mt=Z.getTime())}return mt}function k(b,kt){const Z=new RegExp(`^(0?[1-9]|[12][0-9]|3[01])${kt}(0?[1-9]|1[0-2])${kt}(\\d{4})$`),mt=new RegExp(`^(0?[1-9]|1[0-2])${kt}(\\d{4})$`),qt=b.match(Z);if(qt){const[,Ke,Yn,fo]=qt.map(Number);return new Date(fo,Yn-1,Ke).getTime()}const ve=b.match(mt);if(ve){const[,Ke,Yn]=ve.map(Number);return new Date(Yn,Ke-1,1).getTime()}return null}function s(b){let kt=f.lUv;if(new f.Qnl(b).isToday()){const mt=(new f.Qnl).getHours();kt=kt.map(qt=>({...qt,isDisabled:parseInt(qt.code,10)<=mt}))}return kt}var E=o(11509),p=o(76936),h=o(35491),w=o(12378),z=o(80226),v=o(59681);let D=(()=>{class b{constructor(Z){this.http=Z}getDocument(Z){return this.http.get(Z,{responseType:"blob",observe:"response",reportProgress:!0})}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(v.Qq))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),N=(()=>{class b{constructor(Z){this.httpDownloadService=Z}getDocument(Z,mt){return this.httpDownloadService.getDocument(Z).pipe((0,w.T)(qt=>({blob:qt.body,filename:mt,type:qt.headers.get("content-type")})))}download(Z){this.newBlob=new Blob([Z.blob],{type:Z.type});const mt=window.URL.createObjectURL(this.newBlob),qt=document.createElement("a");qt.setAttribute("id","download"),qt.href=mt,qt.download=Z.filename,qt.click(),setTimeout(function(){window.URL.revokeObjectURL(mt),this.newBlob=null},100)}downloadDocumentByLink(Z){window.open(Z,"_blank")}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(D))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const W=(0,h.VP)("[Download] Load Download Document",(0,h.xk)()),pt=(0,h.VP)("[Download] Download Static File",(0,h.xk)()),ot=(0,h.VP)("[Download] Download Document Success"),gt=(0,h.VP)("[Download] Download Document Failure",(0,h.xk)()),et=(0,h.VP)("[Download] Reset Download State"),Et="download",at=(0,h.vy)({isDownloadComplete:!1,error:null},(0,h.on)(W,b=>({...b,isDownloadComplete:!1})),(0,h.on)(ot,b=>({...b,isDownloadComplete:!0})),(0,h.on)(gt,(b,kt)=>({...b,error:kt.error})),(0,h.on)(et,b=>({...b,isDownloadComplete:!1,error:null}))),_t="documents",st={[Et]:function Bt(b,kt){return at(b,kt)}},Ut=(0,h.UX)(_t);var ft=o(67793),zt=o(50741),jt=o(45198),Nt=o(90373);let Dt=(()=>{class b{constructor(Z,mt,qt){this.actions$=Z,this.downloadService=mt,this.spinnerFacade=qt,this.downloadDocument$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(W),(0,zt.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,jt.n)(ve=>this.downloadService.getDocument(ve.documentDataRequest.requestURL,ve.documentDataRequest.filename).pipe((0,w.T)(Ke=>(this.downloadService.download(Ke),ot())),(0,Nt.W)(Ke=>(0,ft.of)(gt({error:{...Ke,name:ve.documentDataRequest.name}}))),(0,zt.M)(()=>
1this.spinnerFacade.dispatchStopSpinner()))))),this.downloadStaticDocument$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(pt),(0,zt.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,w.T)(ve=>(this.downloadService.downloadDocumentByLink(ve.link),ot())),(0,Nt.W)(ve=>(0,ft.of)(gt(ve))),(0,zt.M)(()=>this.spinnerFacade.dispatchStopSpinner())))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(N),z.KVO(E.ec))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const pe=(0,h.Mz)(Ut,b=>b.download),Lt=(0,h.Mz)(pe,b=>b?.error);let fe=(()=>{class b{constructor(Z){this.store=Z,this.getError$=this.store.select(Lt)}loadDownload(Z){this.store.dispatch(W({documentDataRequest:Z}))}downloadStaticFile(Z){this.store.dispatch(pt({link:Z}))}downloadFailure(Z){this.store.dispatch(gt({error:Z}))}resetDownloadState(){this.store.dispatch(et())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();var St=o(51203);let Xt=(()=>{class b{static{this.\u0275fac=function(mt){return new(mt||b)}}static{this.\u0275mod=St.$C({type:b})}static{this.\u0275inj=z.G2t({providers:[N,D,fe,E.ec,E.IO],imports:[n.MD,E.OT,h.md.forFeature(_t,st),p.Vm.forFeature([Dt])]})}}return b})();function S(b,kt){const Z=Object.keys(b),mt=Object.keys(kt);if(Z.length!==mt.length)return!1;for(const qt of Z){const ve=b[qt],Ke=kt[qt],Yn=vt(ve)&&vt(Ke);if(Yn&&!S(ve,Ke)||!Yn&&ve!==Ke)return!1}return!0}function vt(b){return null!=b&&"object"==typeof b}function U(b,kt){const Z=b.get(kt);if(void 0===Z)throw new Error(`No value found for key: ${String(kt)}`);return Z}var F=o(59874);let G=(()=>{class b{constructor(Z,mt){this.document=Z,this.platformId=mt,this.documentIsAccessible=(0,F.UE)(this.platformId)}check(Z){return!!this.documentIsAccessible&&(Z=encodeURIComponent(Z),this.getCookieRegExp(Z).test(this.document.cookie))}get(Z){if(this.documentIsAccessible&&this.check(Z)){Z=encodeURIComponent(Z);const qt=this.getCookieRegExp(Z).exec(this.document.cookie);return this.safeDecodeURIComponent(qt[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const Z={},mt=this.document;return mt.cookie&&""!==mt.cookie&&mt.cookie.split(";").forEach(qt=>{const[ve,Ke]=qt.split("=");Z[this.safeDecodeURIComponent(ve.replace(/^ /,""))]=this.safeDecodeURIComponent(Ke)}),Z}set(Z,mt,qt,ve,Ke,Yn,fo){if(!this.documentIsAccessible)return;if("number"==typeof qt||qt instanceof Date||ve||Ke||Yn||fo)return void this.set(Z,mt,{expires:qt,path:ve,domain:Ke,secure:Yn,sameSite:fo||"Lax"});let Co=encodeURIComponent(Z)+"="+encodeURIComponent(mt)+";";const Xn=qt||{};Xn.expires&&(Co+="number"==typeof Xn.expires?"expires="+new Date((new Date).getTime()+1e3*Xn.expires*60*60*24).toUTCString()+";":"expires="+Xn.expires.toUTCString()+";"),Xn.path&&(Co+="path="+Xn.path+";"),Xn.domain&&(Co+="domain="+Xn.domain+";"),!1===Xn.secure&&"None"===Xn.sameSite&&(Xn.secure=!0),Xn.secure&&(Co+="secure;"),Xn.sameSite||(Xn.sameSite="Lax"),Co+="sameSite="+Xn.sameSite+";",this.document.cookie=Co}delete(Z,mt,qt,ve,Ke="Lax"){this.documentIsAccessible&&this.set(Z,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:mt,domain:qt,secure:ve,sameSite:Ke})}deleteAll(Z,mt,qt,ve="Lax"){if(!this.documentIsAccessible)return;const Ke=this.getAll();for(const Yn in Ke)Object.prototype.hasOwnProperty.call(Ke,Yn)&&this.delete(Yn,Z,mt,qt,ve)}getCookieRegExp(Z){const mt=Z.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+mt+"|;\\s*"+mt+")=(.*?)(?:;|$)","g")}safeDecodeURIComponent(Z){try{return decodeURIComponent(Z)}catch{return Z}}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(z.qQL),z.KVO(St.Agw))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),dt=(()=>{class b{static{this.\u0275fac=function(mt){return new(mt||b)}}static{this.\u0275mod=St.$C({type:b})}static{this.\u0275inj=z.G2t({providers:[G],imports:[n.MD]})}}return b})(),ut=(()=>{class b{constructor(Z){this.translateService=Z}createCoverageContent({code:Z}){return{code:Z,name:this.translateService.instant(`modals.coverage.${Z}.title`),description:this.translateService.instant(`modals.coverage.${Z}.description`)}}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(e.c$))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const yt=new z.nKC("Window",{providedIn:"root",factory:()=>window});let Re=(()=>{class b{constructor(Z,mt,qt){this.routerFacade=Z,this.document=mt,this.window=qt}navigateTo(Z,mt,qt){let ve="/";Z.forEach((Ke,Yn)=>ve+=Yn===Z.length-1?Ke:`${Ke}/`),mt&&(ve=`${ve}/${mt}
1`),qt?this.routerFacade.dispatchNavigation([ve],qt):this.routerFacade.dispatchNavigation([ve])}goBack(){this.routerFacade.dispatchBackNavigation()}redirect(Z,mt=!1,qt){qt&&qt(),mt?this.window.open(Z):this.document.location.assign(Z)}navigateToPaymentPage(Z,mt,qt){this.redirect(mt.applicationHost.webquoter+qt+"/"+Z)}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(E.IO),z.KVO(z.qQL),z.KVO(yt))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const qe="2.0";let oe=(()=>{class b{static{this.addressApiUrl="edge/address/lookup"}static{this.LOOKUP_GET_CITIES_AIT_REQUEST={jsonrpc:qe,method:"getCities_AIT",params:[]}}static{this.LOOKUP_COUNTRIES_REQUEST={jsonrpc:qe,method:"getCountriesWithForeignB_AIT"}}static{this.LOOKUP_PROVINCES_REQUEST={jsonrpc:qe,method:"getProvinces_AIT"}}static{this.LOOKUP_POSTAL_CODE_REQUEST={jsonrpc:qe,method:"getPostalCodes_AIT",params:[]}}static{this.LOOKUP_TOPONYM_REQUEST={jsonrpc:qe,method:"getToponym_AIT",params:[]}}}return b})(),wt=(()=>{class b{constructor(Z,mt){this.env=Z,this.http=mt,this.addressApiUrl=Z.urls?.gwAPI+oe.addressApiUrl}lookupGetCities(Z){return oe.LOOKUP_GET_CITIES_AIT_REQUEST.params=[Z],this.http.post(this.addressApiUrl,oe.LOOKUP_GET_CITIES_AIT_REQUEST)}lookupCountries(){return this.http.post(this.addressApiUrl,oe.LOOKUP_COUNTRIES_REQUEST)}lookupProvinces(){return this.http.post(this.addressApiUrl,oe.LOOKUP_PROVINCES_REQUEST)}lookupPostalCode(Z,mt){return oe.LOOKUP_POSTAL_CODE_REQUEST.params=[Z,mt],this.http.post(this.addressApiUrl,oe.LOOKUP_POSTAL_CODE_REQUEST)}lookupToponym(){return this.http.post(this.addressApiUrl,oe.LOOKUP_TOPONYM_REQUEST)}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO("environment"),z.KVO(v.Qq))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const tt=(0,h.VP)("[Reset State] reset all the state");function H(b,...kt){return(0,h.vy)(b,(0,h.on)(tt,()=>b),...kt)}const nt=(0,h.VP)("[AddressApi] Load Residence Cities List",(0,h.xk)()),V=(0,h.VP)("[AddressApi] Load Lookup Residence Cities List Success",(0,h.xk)()),Gt=(0,h.VP)("[AddressApi] Load Lookup Residence Cities List Failure",(0,h.xk)()),Yt=(0,h.VP)("[AddressApi] Load Birth Cities List",(0,h.xk)()),ge=(0,h.VP)("[AddressApi] Load Lookup Birth Cities List Success",(0,h.xk)()),se=(0,h.VP)("[AddressApi] Load Lookup Birth Cities List Failure",(0,h.xk)()),He="lookupCitiesList",Ae=H({residenceCitiesListLoaded:!1,birthCitiesListLoaded:!1},(0,h.on)(nt,b=>({...b,residenceCitiesListLoaded:!1,error:null})),(0,h.on)(Gt,(b,{error:kt})=>({...b,residenceCitiesListLoaded:!1,error:kt})),(0,h.on)(V,(b,{result:kt})=>({...b,residenceCitiesListLoaded:!0,residenceCitiesList:kt})),(0,h.on)(Yt,b=>({...b,birthCitiesListLoaded:!1,error:null})),(0,h.on)(se,(b,{error:kt})=>({...b,birthCitiesListLoaded:!1,error:kt})),(0,h.on)(ge,(b,{result:kt})=>({...b,birthCitiesListLoaded:!0,birthCitiesList:kt}))),hn=(0,h.VP)("[AddressApi] Load Lookup Countries List"),Hn=(0,h.VP)("[AddressApi] Load Lookup Countries List Success",(0,h.xk)()),rn=(0,h.VP)("[AddressApi] Load Lookup Countries List Failure",(0,h.xk)()),Wn="lookupCountriesList",Wt=H({loaded:!1},(0,h.on)(hn,b=>({...b,loaded:!1,error:null})),(0,h.on)(rn,(b,{error:kt})=>({...b,loaded:!1,error:kt})),(0,h.on)(Hn,(b,{result:kt})=>({...b,loaded:!0,countriesList:kt}))),me=(0,h.VP)("[AddressApi] Load Lookup PostalCode List",(0,h.xk)()),Se=(0,h.VP)("[AddressApi] Load Lookup PostalCode List Success",(0,h.xk)()),Ue=(0,h.VP)("[AddressApi] Load Lookup PostalCode List Failure",(0,h.xk)()),ln="lookupPostalCodeList",Un=H({loaded:!1},(0,h.on)(me,b=>({...b,loaded:!1,error:null})),(0,h.on)(Ue,(b,{error:kt})=>({...b,loaded:!1,error:kt})),(0,h.on)(Se,(b,{result:kt})=>({...b,loaded:!0,postalCodeList:kt}))),In=(0,h.VP)("[AddressApi] Load Lookup Provinces List"),Le=(0,h.VP)("[AddressApi] Load Lookup Provinces List Success",(0,h.xk)()),Gn=(0,h.VP)("[AddressApi] Load Lookup Provinces List Failure",(0,h.xk)()),Pn="lookupProvincesList",Cn=H({loaded:!1},(0,h.on)(In,b=>({...b,loaded:!1,error:null})),(0,h.on)(Gn,(b,{error:kt})=>({...b,loaded:!1,error:kt})),(0,h.on)(Le,(b,{result:kt})=>({...b,loaded:!0,provincesList:kt}))),Rn=(0,h.VP)("[AddressApi] Load Lookup Toponym List"),bn=(0,h.VP)("[AddressApi] Load Lookup Toponym List Success",(0,h.xk)()),mn=(0,h.VP)("[AddressApi] Load Lookup Toponym List Failure",(0,h.xk)()),cn="lookupToponymList",tn=H({loaded:!1},(0,h.on)(Rn,b=>({...b,loaded:!1,error:null})),(0,h.on)(mn,(b,{error:kt})=>({...b,loaded:!1,error:kt})),(0,h.on)(bn,(b,{result:kt})=>({...b,loaded:!0,toponymList:kt}))),Jn={code:"ITAL",name:"ITALIA",isForeignB:!1},An="addressApi",dn=(0,h.UX)(An),$n={[He]:function gn(b,kt){return Ae(b,kt)},[Wn]:function te(b,kt){return Wt(b,kt)},[Pn]:function Qn(b,kt){return Cn(b,kt)},[ln]:function nn(b,kt){return Un(b,kt)},[cn]:function je(b,kt){return tn(b,kt)}};let vn=(()=>{class b{constructor(Z,mt){this.actions$=Z,this.addressApi=mt,this.loadLookupResidenceCitiesList$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(nt),(0,jt.n)(qt=>this.addressApi.lookupGetCities(qt.payload).pipe((0,w.T)(ve=>V({result:ve.result})),(0,Nt.W)(ve=>(0,ft.of)(Gt({error:ve}))))))),this.loadLookupBirthCitiesList$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(Yt),(0,jt.n)(qt=>this.addressApi.lookupGetCities(qt.payload).pipe((0,w.T)(ve=>ge({result:ve.result})),(0,Nt.W)(ve=>(0,ft.of)(se({error:ve})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(wt))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const zn=(0,h.Mz)(dn,b=>b.lookupCitiesList),on=(0,h.Mz)(zn,b=>b.birthCitiesListLoaded),mo=(0,h.Mz)(zn,b=>b.residenceCitiesList),to=(0,h.Mz)(zn,b=>b.birthCitiesList),We=((0,h.Mz)(zn,b=>b.error),(0,h.Mz)(zn,b=>b.residenceCitiesListLoaded));let xe=(()=>{class b{constructor(Z){this.store=Z,this.lookupBirthCitiesListStatus$=this.store.pipe((0,h.Lt)(on)),this.lookupResidenceCitiesList$=this.store.pipe((0,h.Lt)(mo)),this.lookupBirthCitiesList$=this.store.pipe((0,h.Lt)(to)),this.lookupResidenceCitiesStatus$=this.store.pipe((0,h.Lt)(We))}dispatchLookupResidenceCitiesList(Z){this.store.dispatch(nt({payload:Z}))}dispatchLookupBirthCitiesList(Z){this.store.dispatch(Yt({payload:Z}))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),Tt=(()=>{class b{constructor(Z,mt){this.actions$=Z,this.addressApi=mt,this.loadLookupCountriesList$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(hn),(0,jt.n)(()=>this.addressApi.lookupCountries().pipe((0,w.T)(qt=>Hn({result:qt.result})),(0,Nt.W)(qt=>(0,ft.of)(rn({error:qt})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(wt))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const Qe=(0,h.Mz)(dn,b=>b.lookupCountriesList),At=(0,h.Mz)(Qe,b=>b.loaded),Jt=(0,h.Mz)(Qe,b=>b.countriesList);(0,h.Mz)(Qe,b=>b.error);let $e=(()=>{class b{constructor(Z){this.store=Z,this.lookupCountriesListStatus$=this.store.pipe((0,h.Lt)(At)),this.lookupCountriesList$=this.store.pipe((0,h.Lt)(Jt))}dispatchLoadLookupCountriesList(){this.store.dispatch(hn())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),Fe=(()=>{class b{constructor(Z,mt){this.actions$=Z,this.addressApi=mt,this.loadLookupPostalCodeList$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(me),(0,jt.n)(qt=>this.addressApi.lookupPostalCode(qt.province,qt.city).pipe((0,w.T)(ve=>Se({result:ve.result})),(0,Nt.W)(ve=>(0,ft.of)(Ue({error:ve})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(wt))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const bt=(0,h.Mz)(dn,b=>b.lookupPostalCodeList),le=(0,h.Mz)(bt,b=>b.loaded),$t=(0,h.Mz)(bt,b=>b.postalCodeList);(0,h.Mz)(bt,b=>b.error);let Ve=(()=>{class b{constructor(Z){this.store=Z,this.lookupPostalCodeListStatus$=this.store.pipe((0,h.Lt)(le)),this.lookupPostalCodeList$=this.store.pipe((0,h.Lt)($t))}dispatchLoadLookupPostalCodeList(Z,mt){this.store.dispatch(me({province:Z,city:mt}))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),On=(()=>{class b{constructor(Z,mt){this.actions$=Z,this.addressApi=mt,this.loadLookupProvincesList$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(In),(0,jt.n)(()=>this.addressApi.lookupProvinces().pipe((0,w.T)(qt=>Le({result:qt.result})),(0,Nt.W)(qt=>(0,ft.of)(Gn({error:qt})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(wt))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const Zn=(0,h.Mz)(dn,b=>b.lookupProvincesList),so=(0,h.Mz)(Zn,b=>b.loaded),go=(0,h.Mz)(Zn,b=>b.provincesList);(0,h.Mz)(Zn,b=>b.error);let Kt=(()=>{class b{constructor(Z){this.store=Z,this.lookupProvincesListStatus$=this.store.pipe((0,h.Lt)(so)),this.lookupProvincesList$=this.store.pipe((0,h.Lt)(go))}dispatchLoadLookupProvincesList(){this.store.dispatch(In())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),it=(()=>{class b{constructor(Z,mt){this.actions$=Z,this.addressApi=mt,this.loadLookupToponymList$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(Rn),(0,jt.n)(()=>this.addressApi.lookupToponym().pipe((0,w.T)(qt=>bn({result:qt.result})),(0,Nt.W)(qt=>(0,ft.of)(mn({error:qt})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(wt))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const It=(0,h.Mz)(dn,b=>b.lookupToponymList),ae=(0,h.Mz)(It,b=>b.loaded),Zt=(0,h.Mz)(It,b=>b.toponymList);(0,h.Mz)(It,b=>b.error);let be=(()=>{class b{constructor(Z){this.store=Z,this.lookupToponymListStatus$=this.store.pipe((0,h.Lt)(ae)),this.lookupToponymList$=this.store.pipe((0,h.Lt)(Zt))}dispatchLoadLookupToponymList(){this.store.dispatch(Rn())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),Je=(()=>{class b{static{this.\u0275fac=function(mt){return new(mt||b)}}static{this.\u0275mod=St.$C({type:b})}static{this.\u0275inj=z.G2t({providers:[xe,wt,$e,Kt,Ve,be],imports:[h.md.forFeature
1(An,$n),p.Vm.forFeature([vn,Tt,On,Fe,it])]})}}return b})();const vo=(0,h.VP)("[ModalInfoCoverage] Load ModalInfoCoverage Content",(0,h.xk)()),zo=(0,h.VP)("[ModalInfoCoverage] Load ModalInfoCoverage Content Success",(0,h.xk)()),Vo=(0,h.VP)("[ModalInfoCoverage] Load ModalInfoCoverage Content Failure",(0,h.xk)()),Eo="modalInfoCoverage",xo=(0,h.vy)({loaded:!1},(0,h.on)(vo,b=>({...b,loaded:!1})),(0,h.on)(zo,(b,{coverageContent:kt})=>({...b,loaded:!0,coverageContent:kt})),(0,h.on)(Vo,(b,{error:kt})=>({...b,loaded:!1,error:kt}))),Ko=(0,h.VP)("[Sidenav] Open Navigation Menu"),jo=(0,h.VP)("[Sidenav] Close Navigation Menu"),Ri="navigationMenu",Wo=(0,h.vy)({isOpen:!1},(0,h.on)(Ko,b=>({...b,isOpen:!0})),(0,h.on)(jo,b=>({...b,isOpen:!1}))),oi=(0,h.VP)("[ScreenSize Deprecated] Load Screen Size"),ii=(0,h.VP)("[ScreenSize Deprecated] Load Screen Size Success",(0,h.xk)()),Mo=(0,h.VP)("[ScreenSize Deprecated] Load Screen Size Failure",(0,h.xk)()),ko="screen_size",Do=(0,h.vy)({screenWidth:0,screenType:{xsmall:!1,small:!1,medium:!1,medium_max:!1,large:!1,xlarge:!1,handset:!1,tablet:!1,web:!1,handsetPortrait:!1,tabletPortrait:!1,webPortrait:!1,handsetLandscape:!1,tabletLandscape:!1,webLandscape:!1}},(0,h.on)(ii,(b,{screenWidth:kt,screenType:Z})=>({...b,screenWidth:kt,screenType:Z})),(0,h.on)(Mo,(b,{error:kt})=>({...b,error:kt}))),eo="[Stepper]",ui=`${eo} Add Step!`,_i=`${eo} Remove Step!`,Mi=`${eo} Go Next Step!`,wo=`${eo} Go Previous Step!`,Io=`${eo} Go Specific Step!`,Yo=`${eo} Reset State!`,ai=(0,h.VP)(`${eo} Set Steps!`,(0,h.xk)()),mi=(0,h.VP)(ui,(0,h.xk)()),gi=(0,h.VP)(_i,(0,h.xk)()),Jo=(0,h.VP)(Mi,(0,h.xk)()),X=(0,h.VP)(wo),we=(0,h.VP)(Io,(0,h.xk)()),j=(0,h.VP)(Yo),Ot=(b,kt,Z,mt)=>{const qt=xn(b);return mt?qt[kt].middleStep=Z:qt.splice(kt,0,Z),qt},Ht=(b,kt,Z)=>{const mt=xn(b);return Z?delete mt[kt].middleStep:mt.splice(kt,1),mt},re=(b,kt="completed")=>{const Z=xn(b),mt=Ro(Z),qt=Z[mt.index];if(mt.isMiddle)qt.middleStep.status=kt,qt.status="current";else{qt.status=kt;const ve=mt.index+1;ve<=Z.length-1&&(Z[ve]=Ki(Z[ve],"current"))}return Z},Nn=b=>{const kt=xn(b),Z=Ro(kt),mt=kt[Z.index];if(!Z.isMiddle&&mt.middleStep)mt.status="todo",mt.middleStep.status="current";else{Z.isMiddle?mt.middleStep.status="todo":mt.status="todo";const qt=Z.index-1;qt>=0&&(kt[qt].status="current")}return kt},po=(b,kt,Z="completed",mt)=>{const qt=[...b.map((Ke,Yn)=>{const fo=Yn<=kt?Z:"todo",Co={...Ke,status:fo};return Ke.middleStep&&(Co.middleStep={...Ke.middleStep,status:fo}),Co})],ve=qt[kt];return mt?(ve.middleStep.status="current",ve.status="todo"):ve.status="current",qt},Ro=b=>{const kt=b.findIndex(({status:qt,middleStep:ve})=>"current"===qt||"current"===ve?.status),Z=-1!==kt&&"current"===b[kt].middleStep?.status;return{step:-1!==kt?Z?b[kt].middleStep:b[kt]:null,index:kt,isMiddle:Z}},xn=b=>[...b.map(kt=>{const Z={...kt};return kt.middleStep&&(Z.middleStep={...kt.middleStep}),Z})],Ki=(b,kt)=>{const Z={...b};return Z.middleStep?Z.middleStep.status=kt:Z.status=kt,Z},Wi="stepperFeature",hi={steps:[]},Qi=(0,h.vy)(hi,(0,h.on)(ai,(b,{steps:kt})=>({...b,steps:[...kt]})),(0,h.on)(mi,(b,{stepPosition:kt,step:Z,isMiddle:mt})=>({...b,steps:Ot(b.steps,kt,Z,mt)})),(0,h.on)(gi,(b,{stepPosition:kt,isMiddle:Z})=>({...b,steps:Ht(b.steps,kt,Z)})),(0,h.on)(Jo,(b,{status:kt})=>({...b,steps:re(b.steps,kt)})),(0,h.on)(X,b=>({...b,steps:Nn(b.steps)})),(0,h.on)(we,(b,{status:kt,stepPosition:Z,isMiddle:mt})=>({...b,steps:po(b.steps,Z,kt,mt)})),(0,h.on)(j,()=>({...hi}))),ee="oldUiFeature",Bn=(0,h.UX)(ee),$i={[ko]:function ye(b,kt){return Do(b,kt)},[Eo]:xo,[Ri]:Wo,[Wi]:function fi(b,kt){return Qi(b,kt)}};var Ti=o(28955);let ia=(()=>{class b{constructor(Z,mt,qt){this.actions$=Z,this.modalInfoCoverageService=mt,this.modalFacade=qt,this.loadModalInfoCoverageContent$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(vo),(0,w.T)(ve=>{const Ke=this.modalInfoCoverageService.createCoverageContent(ve.coverage);return this.modalFacade.loadOpenModal("ModalInfoCoverageComponent",{inputs:{coverage:Ke},outputs:ve.outputs}),zo({coverageContent:Ke})})))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En),z.KVO(ut),z.KVO(Ti.y))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),va=(()=>{class b{constructor(Z){this.store=Z}loadModalInfoCoverageContent(Z,mt){this.store.dispatch(vo({coverage:Z,outputs:mt}))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const da=(0,h.Mz)(Bn,b=>b?.navigationMenu),aa=(0,h.Mz)(da,b=>b?.isOpen);let ra=(()=>{class b{constructor(Z){this.store=Z,this.isOpen$=this.store.select(aa)}openNavMenu(){this.store.dispatch(Ko())}closeNavMenu(){this.store.dispatch(jo())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var pa=o(42278),ua=o(92096),_a=o(15510),Lo=o(55084);let xa=(()=>{class b{constructor(Z){this.actions$=Z,this.loadScreenSize$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(oi),(0,jt.n)(()=>(0,pa.R)(window,"resize").pipe((0,ua.B)(500),(0,w.T)(()=>window.innerWidth),(0,_a.F)(),(0,Lo.Z)(window.innerWidth),(0,w.T)(mt=>ii({screenWidth:mt,screenType:{xsmall:window.matchMedia("(max-width: 479.98px)").matches,small:window.matchMedia("(min-width: 480px) and (max-width: 639.98px)").matches,medium:window.matchMedia("(min-width: 640px) and (max-width: 767.98px)").matches,medium_max:window.matchMedia("(max-width: 767px)").matches,large:window.matchMedia("(min-width: 768px) and (max-width: 1024.00px)").matches,xlarge:window.matchMedia("(min-width: 1140px)").matches,handset:window.matchMedia("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)").matches,tablet:window.matchMedia("(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)").matches,web:window.matchMedia("(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)").matches,handsetPortrait:window.matchMedia("(max-width: 599.98px) and (orientation: portrait)").matches,tabletPortrait:window.matchMedia("(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)").matches,webPortrait:window.matchMedia("(min-width: 840px) and (orientation: portrait)").matches,handsetLandscape:window.matchMedia("(max-width: 959.98px) and (orientation: landscape)").matches,tabletLandscape:window.matchMedia("(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)").matches,webLandscape:window.matchMedia("(min-width: 1280px) and (orientation: landscape)").matches}})),(0,Nt.W)(mt=>(0,ft.of)(Mo({error:mt})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();(0,h.UX)(ko);const Ni=(0,h.Mz)(Bn,b=>b.screen_size.screenType.xsmall),Pi=(0,h.Mz)(Bn,b=>b.screen_size.screenType.small),Ji=(0,h.Mz)(Bn,b=>b.screen_size.screenType.medium),O=(0,h.Mz)(Bn,b=>b.screen_size.screenType.medium_max),Pt=(0,h.Mz)(Bn,b=>b.screen_size.screenType.large),rt=(0,h.Mz)(Bn,b=>b.screen_size.screenType.xlarge),Rt=(0,h.Mz)(Bn,b=>b.screen_size.screenType.handset),ue=(0,h.Mz)(Bn,b=>b.screen_size.screenType.tablet),Ie=(0,h.Mz)(Bn,b=>b.screen_size.screenType.web),Ne=(0,h.Mz)(Bn,b=>b.screen_size.screenType.handsetPortrait),an=(0,h.Mz)(Bn,b=>b.screen_size.screenType.tabletPortrait),Oo=(0,h.Mz)(Bn,b=>b.screen_size.screenType.webPortrait),Zo=(0,h.Mz)(Bn,b=>b.screen_size.screenType.handsetLandscape),Bi=(0,h.Mz)(Bn,b=>b.screen_size.screenType.tabletLandscape),qo=(0,h.Mz)(Bn,b=>b.screen_size.screenType.webLandscape),yi=(0,h.Mz)(Bn,b=>b.screen_size.screenWidth),ke=(0,h.Mz)(Bn,b=>b.screen_size.error);let ti=(()=>{class b{constructor(Z){this.store=Z,this.matchXSmall=this.store.pipe((0,h.Lt)(Ni)),this.matchSmall=this.store.pipe((0,h.Lt)(Pi)),this.matchMedium=this.store.pipe((0,h.Lt)(Ji)),this.matchMediumMax=this.store.pipe((0,h.Lt)(O)),this.matchLarge=this.store.pipe((0,h.Lt)(Pt)),this.matchXLarge=this.store.pipe((0,h.Lt)(rt)),this.matchHandset=this.store.pipe((0,h.Lt)(Rt)),this.matchTablet=this.store.pipe((0,h.Lt)(ue)),this.matchWeb=this.store.pipe((0,h.Lt)(Ie)),this.matchHandsetPortrait=this.store.pipe((0,h.Lt)(Ne)),this.matchTabletPortrait=this.store.pipe((0,h.Lt)(an)),this.matchWebPortrait=this.store.pipe((0,h.Lt)(Oo)),this.matchHandsetLandscape=this.store.pipe((0,h.Lt)(Zo)),this.matchTabletLandscape=this.store.pipe((0,h.Lt)(Bi)),this.matchWebLandscape=this.store.pipe((0,h.Lt)(qo)),this.screenWidth=this.store.pipe((0,h.Lt)(yi)),this.matchError=this.store.pipe((0,h.Lt)(ke))}dispatch(Z){this.store.dispatch(Z)}dispatchLoadScreenSize(){this.store.dispatch(oi())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const Ao=(0,h.Mz)(Bn,b=>b.stepperFeature),Oa=(0,h.Mz)(Ao,b=>b.steps),ma=(0,h.Mz)(Ao,b=>Ro(b.steps).step),Zi=(0,h.Mz)(Ao,b=>((b,kt)=>100/kt*(b+1))(Ro(b.steps).index,b.steps.length));let ga=(()=>{class b{constructor(Z){this.store=Z,this.getCurrentStep$=this.store.select(ma),this.get
1Steps$=this.store.select(Oa),this.getCalculatedProgress$=this.store.select(Zi)}setSteps(Z){this.store.dispatch(ai({steps:Z}))}addStep(Z,mt,qt){this.store.dispatch(mi({stepPosition:Z,step:mt,isMiddle:qt}))}removeStep(Z,mt){this.store.dispatch(gi({stepPosition:Z,isMiddle:mt}))}goToNextStep(Z="completed"){this.store.dispatch(Jo({status:Z}))}goToPreviousStep(){this.store.dispatch(X())}goToStep(Z,mt="completed",qt){this.store.dispatch(we({stepPosition:Z,status:mt,isMiddle:qt}))}resetState(){this.store.dispatch(j())}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();const ca=(0,h.VP)("[Util] Load Screen Size"),ha=(0,h.VP)("[Util] Load Screen Size Success",(0,h.xk)()),Ci=(0,h.VP)("[Util] Load Screen Size Failure",(0,h.xk)()),Fi=(0,h.vy)({screenType:{xsmall:!1,small:!1,medium:!1,large:!1,xlarge:!1,handset:!1,tablet:!1,web:!1,handsetPortrait:!1,tabletPortrait:!1,webPortrait:!1,handsetLandscape:!1,tabletLandscape:!1,webLandscape:!1}},(0,h.on)(ha,(b,{screenType:kt})=>({...b,screenType:kt})),(0,h.on)(Ci,(b,{error:kt})=>({...b,error:kt})));function Ei(b,kt){return Fi(b,kt)}const no=(0,h.UX)("util"),qi=(0,h.Mz)(no,b=>b.screenType.xsmall),Ta=(0,h.Mz)(no,b=>b.screenType.small),Mn=(0,h.Mz)(no,b=>b.screenType.medium),ce=(0,h.Mz)(no,b=>b.screenType.large),Xo=(0,h.Mz)(no,b=>b.screenType.xlarge),wi=(0,h.Mz)(no,b=>b.screenType.handset),$o=(0,h.Mz)(no,b=>b.screenType.tablet),vi=(0,h.Mz)(no,b=>b.screenType.web),Vi=(0,h.Mz)(no,b=>b.screenType.handsetPortrait),Hi=(0,h.Mz)(no,b=>b.screenType.tabletPortrait),uo=(0,h.Mz)(no,b=>b.screenType.webPortrait),qn=(0,h.Mz)(no,b=>b.screenType.handsetLandscape),Ui=(0,h.Mz)(no,b=>b.screenType.tabletLandscape),ri=(0,h.Mz)(no,b=>b.screenType.webLandscape),en=(0,h.Mz)(no,b=>b.error);let Ho=(()=>{class b{constructor(Z){this.store=Z,this.matchSmall=this.store.pipe((0,h.Lt)(Ta)),this.matchXSmall=this.store.pipe((0,h.Lt)(qi)),this.matchMedium=this.store.pipe((0,h.Lt)(Mn)),this.matchLarge=this.store.pipe((0,h.Lt)(ce)),this.matchXLarge=this.store.pipe((0,h.Lt)(Xo)),this.matchHandset=this.store.pipe((0,h.Lt)(wi)),this.matchTablet=this.store.pipe((0,h.Lt)($o)),this.matchWeb=this.store.pipe((0,h.Lt)(vi)),this.matchHandsetPortrait=this.store.pipe((0,h.Lt)(Vi)),this.matchTabletPortrait=this.store.pipe((0,h.Lt)(Hi)),this.matchWebPortrait=this.store.pipe((0,h.Lt)(uo)),this.matchHandsetLandscape=this.store.pipe((0,h.Lt)(qn)),this.matchTabletLandscape=this.store.pipe((0,h.Lt)(Ui)),this.matchWebLandscape=this.store.pipe((0,h.Lt)(ri)),this.matchError=this.store.pipe((0,h.Lt)(en))}dispatch(Z){this.store.dispatch(Z)}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(h.il))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})();function jn(b,kt,Z){const mt=b.toLowerCase().split(" ").map(qt=>qt[0].toUpperCase()+qt.slice(1)).join(" ");return Z?`${mt} ${kt} - ${Z}`:`${mt} ${kt}`}function ei(b){return b.toLowerCase().split(" ").map(kt=>kt.charAt(0).toUpperCase()+kt.slice(1)).join(" ")}function Ii(b,kt,Z,mt,qt){return`${ei(b)} ${ei(kt)}, ${Z}, ${mt}, ${ei(qt)}`}function Gi(b){return ei(b.join(" "))}const ci=(b,kt=!1)=>(kt&&(b=b.replace(/\s/g,"")),[null,void 0,""].includes(b)),zi=b=>![null,void 0].includes(b);function fa(b){return()=>new Promise(kt=>{const Z="it-IT";b.setDefaultLang(Z),b.use(Z).subscribe(()=>console.log(`Successfully initialized '${Z}' language.'`),()=>console.error(`Problem with '${Z}' language initialization.'`),()=>kt(null))})}var Uo=o(31476);class No{constructor(kt){this.http=kt}getTranslation(kt){return(0,Uo.p)({shared:this.http.get(`translate/shared/${kt}.json`),local:this.http.get(`translate/local/${kt}.json`)}).pipe((0,w.T)(Z=>({...Z.shared,...Z.local})))}}class xi{}let ni=(()=>{class b{constructor(Z,mt){if(this.config=Z,this.http=mt,!Z)throw new Error("HttpBaseService must be configured. Provide a configuration based on `HttpServiceConfig`.");this._envUrl=Z.envUrl}post(Z,mt,qt,ve){const Ke={id:"",jsonrpc:"2.0",method:mt,params:[Z]},Yn=this.getHeaders(ve);return this.http.post(`${this._envUrl}/${qt}`,Ke,Yn).pipe((0,w.T)(fo=>fo.result))}getHeaders(Z){if(Z)return{headers:new v.Lr(Z)}}get(Z){return this.http.get(`${this._envUrl}/${Z}`).pipe((0,w.T)(mt=>mt.result))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(xi),z.KVO(v.Qq))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),ta=(()=>{class b{static forRoot(Z){return{ngModule:b,providers:[ni,{provide:xi,useValue:Z}]}}static{this.\u0275fac=function(mt){return new(mt||b)}}static{this.\u0275mod=St.$C({type:b})}static{this.\u0275inj=z.G2t({providers:[ni]})}}return b})();let ro=(()=>{class b{constructor(Z){this.actions$=Z,this.loadScreenSize$=(0,p.EH)(()=>this.actions$.pipe((0,p.gp)(ca),(0,jt.n)(()=>(0,pa.R)(window,"resize").pipe((0,ua.B)(500),(0,w.T)(()=>window.innerWidth),(0,_a.F)(),(0,Lo.Z)(window.innerWidth),(0,w.T)(()=>ha({screenType:{xsmall:window.matchMedia("(max-width: 599.98px)").matches,small:window.matchMedia("(min-width: 600px) and (max-width: 959.98px)").matches,medium:window.matchMedia("(min-width: 960px) and (max-width: 1279.98px)").matches,large:window.matchMedia("(min-width: 1280px) and (max-width: 1919.98px)").matches,xlarge:window.matchMedia("(min-width: 1920px)").matches,handset:window.matchMedia("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)").matches,tablet:window.matchMedia("(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)").matches,web:window.matchMedia("(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)").matches,handsetPortrait:window.matchMedia("(max-width: 599.98px) and (orientation: portrait)").matches,tabletPortrait:window.matchMedia("(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)").matches,webPortrait:window.matchMedia("(min-width: 840px) and (orientation: portrait)").matches,handsetLandscape:window.matchMedia("(max-width: 959.98px) and (orientation: landscape)").matches,tabletLandscape:window.matchMedia("(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)").matches,webLandscape:window.matchMedia("(min-width: 1280px) and (orientation: landscape)").matches}})),(0,Nt.W)(mt=>(0,ft.of)(Ci({error:mt})))))))}static{this.\u0275fac=function(mt){return new(mt||b)(z.KVO(p.En))}}static{this.\u0275prov=z.jDH({token:b,factory:b.\u0275fac})}}return b})(),sa=(()=>{class b{static forRoot(Z){return{ngModule:ta,providers:[{provide:xi,useValue:Z}]}}static{this.\u0275fac=function(mt){return new(mt||b)}}static{this.\u0275mod=St.$C({type:b})}static{this.\u0275inj=z.G2t({providers:[Ho,dt],imports:[n.MD,dt,ta,e.h.forChild(),h.md.forFeature
1("util",Ei),p.Vm.forFeature([ro])]})}}return b})()},75089(ht,L,o){"use strict";o.d(L,{Eay:()=>Ne,KDQ:()=>fa,L3L:()=>ur,gx0:()=>t,FDC:()=>W,UYf:()=>Tn,jYS:()=>w,Bj7:()=>Hi,Kuy:()=>hi,Xx:()=>n,Jxd:()=>Lt,$jj:()=>yo,ZMW:()=>Fn,Bu:()=>Ja,lI_:()=>Za,_K5:()=>qa,tWT:()=>Sc,AD7:()=>yr,tWY:()=>Qa,SQR:()=>Wa,L5l:()=>hr,HL4:()=>je,IqR:()=>un,deU:()=>ri,yif:()=>Co,PvX:()=>Oe,RZo:()=>gi,UMC:()=>jt,bUO:()=>Si,IV9:()=>nr,lFj:()=>Jr,Z8F:()=>l,Xrh:()=>_r,GH6:()=>gr,r0Z:()=>D,V0m:()=>mr,Fp4:()=>wr,ljE:()=>Cr,GX7:()=>Xr,vHA:()=>Dt,QzO:()=>pe,e0T:()=>ce,fYG:()=>ci,xpL:()=>ke,jMr:()=>ti,dEZ:()=>yi,UNT:()=>zt,Qnl:()=>Go,txX:()=>Oo,PfW:()=>Zo,PkV:()=>Ua,K7m:()=>g,Y8L:()=>Ye,sdf:()=>er,PnH:()=>mi,P0T:()=>zi,do6:()=>Na,dE:()=>qo,szo:()=>k,G4x:()=>h,LiY:()=>bi,d0p:()=>$e,UC2:()=>Bo,eOC:()=>wa,GB5:()=>Pa,KIo:()=>Xn,fJf:()=>Ra,QHk:()=>Io,jYi:()=>Ke,HR3:()=>ka,jeb:()=>an,Alh:()=>Ui,E7N:()=>Ha,o0Z:()=>_t,xG_:()=>Uo,EXN:()=>Ka,zsS:()=>Xa,FBV:()=>Tr,jky:()=>v,wTf:()=>ca,_nk:()=>fo,Goz:()=>uo,dQl:()=>ft,m42:()=>br,cVi:()=>vr,MhF:()=>z,cyt:()=>ve,b1l:()=>qt,cuZ:()=>Lr,uq9:()=>Ii,yXb:()=>Gi,ONZ:()=>qn,DqC:()=>za,cQb:()=>la,yRt:()=>pc,w_f:()=>Ti,Ny3:()=>ee,jM8:()=>Ro,MTl:()=>Eo,Z$W:()=>Ko,h6Z:()=>lo,WyU:()=>Qo,SWc:()=>wn,cO3:()=>ui,WLM:()=>ye,iJH:()=>Wo,kw7:()=>Mo,hd8:()=>xo,$i_:()=>oi,IzG:()=>ii,sRL:()=>Xo,M_Y:()=>mt,loD:()=>at,XJp:()=>pi,YHE:()=>pt,dmC:()=>N,eR5:()=>ir,hxv:()=>_,b6B:()=>A,VN8:()=>m,LCS:()=>dc,Mlz:()=>Mr,WHC:()=>E,uke:()=>et,$Vq:()=>ya,bbb:()=>st,Jkp:()=>s,q$Y:()=>K,_W8:()=>Ar,_7Q:()=>Qi,v2b:()=>Nn,bKt:()=>Dr,IPS:()=>Mi,qQK:()=>re,EBd:()=>Xi,tzX:()=>kt,phH:()=>I,IET:()=>C,njP:()=>B,nAI:()=>Bt,Jl:()=>_o,wrQ:()=>or,h$I:()=>ar,NE_:()=>na,a5i:()=>ot,nM2:()=>xi,Dzc:()=>Ci,An9:()=>Nt,u01:()=>ai,Dn5:()=>Ec,clQ:()=>Oa,RqX:()=>Jo,CPL:()=>X,rfM:()=>Ze,kWz:()=>ma,FHO:()=>Ot,g67:()=>j,$w_:()=>No,vuF:()=>Sr,Fg2:()=>fr,B6z:()=>li,XvD:()=>$,GcI:()=>dr,trd:()=>pr,no8:()=>ji,HYj:()=>si,oZG:()=>Er,lUv:()=>Yn,T2Y:()=>b,LxN:()=>sa,D_l:()=>Kn,h9q:()=>e,tsY:()=>fi,uhc:()=>$i,zhu:()=>Bn,mcz:()=>ia,wZt:()=>xn,bOG:()=>po,yqh:()=>wo,JJL:()=>ei,nzg:()=>we,IOi:()=>Ht,UJl:()=>T,kZb:()=>jn,$OU:()=>Pr,mTw:()=>ga,mxs:()=>ha,BjN:()=>Zi,co1:()=>ac,Hqp:()=>cc,R1b:()=>Wr,zWJ:()=>sc,$o$:()=>nc,DRT:()=>ic,Y7r:()=>rc,cHi:()=>lc,Hks:()=>Qr,uOL:()=>p,SmA:()=>Kr,ulv:()=>oc,sUK:()=>Ge});var t=function(d){return d.ForceChangePassword="FORCE_CHANGE_PASSWORD",d.ResetRequired="RESET_REQUIRED",d.Unconfirmed="UNCONFIRMED",d.Archived="ARCHIVED",d.Compromised="COMPROMISED",d.Unknown="UNKNOWN",d.Confirmed="CONFIRMED",d}(t||{});const e=[t.ResetRequired,t.Unconfirmed,t.Archived,t.Compromised,t.Unknown],n="biannual";var m=function(d){return d.Suspension="suspensionPolicy",d.Reactivation="reactivationPolicy",d.ChangePolicy="changePolicy",d}(m||{}),_=function(d){return d[d.PremiumError=32501]="PremiumError",d[d.AntiFraudValidationError=-32801]="AntiFraudValidationError",d}(_||{}),g=function(d){return d.Residence="residence",d.DriverType="driverType",d.Contacts="contacts",d}(g||{}),$=function(d){return d.Voluntary="VOLUNTARY",d.Sale="SALE",d.Theft="THEFT",d.MotoFree="MOTO_FREE",d}($||{}),T=function(d){return d.Sale="SALE",d.Theft="THEFT",d}(T||{}),B=function(d){return d.SameVehicle="same_vehicle",d.OtherVehicle="other_vehicle",d}(B||{}),A=function(d){return d.ChangeVehicle="CHANGEVEHICLE",d}(A||{}),I=function(d){return d.ReactivationOk="REACTIVATION_OK",d.ReactivationOngoingTermExtension="REACTIVATION_ONGOING_TERMEXTENSION",d.ReactivationOngoingReQuotation="REACTIVATION_ONGOING_REQUOTATION",d.ReactivationKO="REACTIVATION_KO",d}(I||{});const C=new Map([[I.ReactivationOk,!0],[I.ReactivationOngoingTermExtension,!0],[I.ReactivationOngoingReQuotation,!1],[I.ReactivationKO,!1]]);var k=function(d){return d.ANNUAL="annual",d.BIANNUAL="biannual",d}(k||{}),s=function(d){return d.OWNER="MAIN_OWNER",d.DRIVER="MAIN_DRIVER",d.HOLDER="PolicyPriNamedInsured",d}(s||{}),l=function(d){return d.ITALY="ITAL",d}(l||{}),E=function(d){return d.Active="ACTIVE",d.Inactive="INACTIVE",d.NotFound="NOT_FOUND",d.Error="ERROR",d}(E||{});const p=new Map([["ACTIVE",E.Active],["INACTIVE",E.Inactive],["NOT_FOUND",E.NotFound],["ERROR",E.Error]]);var h=function(d){return d.Diesel="D",d.LPG="G",d.Methane="M",d.Petrol="B",d.Hybrid="I",d.Electric="E",d.Other="A",d}(h||{}),w=function(d){return d.Other="1",d.Immobilizer="2",d.None="3",d.GPS="4",d}(w||{}),z=function(d){return d.Other="other",d.Box="box",d.Garage="closedGarage",d.CoveredParking="coveredParking",d.UncoveredParking="uncoveredParking",d.PrivateRoad="privateRoad",d.PublicStreetParking="publicstreetparking",d}(z||{}),v=function(d){return d.Business="business",d.LeisureAndBusiness="LeisureAndBusiness",d.LeisureOnly="leisureOnly",d.WayHomeToWork="wayHomeToWork",d}(v||{}),D=function(d){return d.RCA="A001",d.TELEMATICS="A009",d.FIREANDTHEFT="A002",d.KASKO="A003",d.COLLISION="A004",d.NATURALEVENT="A005",d.ACTOFVANDALISM="A006",d.WINDOWS="A00
17",d.NOASSUREDRISK="A008",d.DRIVERINJURY="AC001",d.ROADASSISTANCE="AC002",d.LEGALPROTECTION="AC003",d.RCATELEMATICS="A001/A009",d}(D||{}),N=function(d){return d.Bank="Bank",d.AmericanExpress="AmericanExpress",d.TraditionalCard="TradicionalCard",d.PrepaidCard="PrepaidCard",d.PayPal="Paypal",d.Klarna="Klarna",d.OtherCard="otherCard",d.OneClick="oneClick",d}(N||{}),W=function(d){return d.Banktransfer="banktransfer",d.Paypal="paypal",d.MasterPass="masterpass",d.CreditCard="creditcard",d.Klarna="klarna",d}(W||{}),pt=function(d){return d.Annual="annual",d.Biannual="biannual",d}(pt||{}),ot=function(d){return d.CheaperPrice="CP",d.HigherPrice="HP",d}(ot||{}),et=function(d){return d.NotDisplayed="NotDisplayed",d.EnableForm="EnableForm",d.EnableSP="EnableSP",d.SuspensionFlow="SuspensionFlow",d.ReactivationFlow="ReactivationFlow",d.RetrieveAndEdit="RetrieveAndEdit",d.InstallmentFlow="InstallmentFlow",d.ShowModal="ShowModal",d.Displayed="Displayed",d.NoCoverages="NoCoverages",d.Coverages="Coverages",d.TelephoneClosure="TelephoneClosure",d}(et||{}),K=function(d){return d.NotPurchasable="NotPurchasable",d.BankTransfer="BankTransfer",d.CreditCard="CreditCard",d.PayPal="PayPal",d.Klarna="Klarna",d.Pending="Pending",d.OneClick="RNOneClick",d.DocumentUpload="DocAuto",d}(K||{});const at=new Map([[K.BankTransfer,N.Bank],[K.CreditCard,N.TraditionalCard],[K.PayPal,N.PayPal],[K.Klarna,N.Klarna],[K.OneClick,N.OneClick]]);var Bt=function(d){return d.NoRenewals="NotDisplayed",d.OneRenewal="SingleRenewal",d.MultipleRenewals="MultipleRenewal",d}(Bt||{}),_t=function(d){return d.POLICY="policy",d.SUBMISSION="submission",d}(_t||{}),st=function(d){return d.Active="1",d.Expiring="2",d.Issuing="3",d.Renewed="4",d.Expired="5",d.Suspended="6",d.Canceled="7",d.Purchasable="8",d.Planned="9",d.DocumentVerification="10",d}(st||{});
1const ft=[{code:z.CoveredParking,description:"Custodito",icon:"./assets/img/parking.svg",isSelected:!1},{code:z.UncoveredParking,description:"Incustodito",icon:"./assets/img/parking.svg",isSelected:!1},{code:z.Garage,description:"Garage custodito",icon:"",isSelected:!1},{code:z.Box,description:"Box di propriet\xe0",icon:"",isSelected:!1},{code:z.PrivateRoad,description:"Viale di accesso",icon:"",isSelected:!1},{code:z.PublicStreetParking,description:"Strada",icon:"",isSelected:!1},{code:z.Other,description:"Altro",icon:"",isSelected:!1}];var zt=function(d){return d.Currency="currency",d.String="string",d.Date="date",d.DateHour="dateHour",d.Boolean="boolean",d.Number="number",d}(zt||{});const jt=zt.Currency,Nt=zt.String,Dt=zt.Date,pe=zt.DateHour,Lt=zt.Boolean,fe={label:"Premio",type:jt,variableName:"totalCost"},U={label:"Decorrenza",type:Dt,variableName:"effectiveDate"},G={label:"Scadenza",type:Dt,variableName:"expirationDate"},dt={label:"Creato il",type:Dt,variableName:"creationDate"},Pe={label:"Data inizio sospensione",type:Dt,variableName:"effectiveDate"},oe={label:"Targa",type:Nt,variableName:"plateNumber"},wt={label:"Contraente",type:Nt,variableName:"policyHolderFullName"},tt={label:"Polizza n\xb0",type:Nt,variableName:"policyNumber"},V={label:"Veicolo",type:Nt,variableName:"vehicleFullDescription"},Se={label:"Nome e Cognome",type:Nt,variableName:"fullName"},Ue={label:"Sesso",type:Nt,variableName:"gender"},ln={label:"Data di nascita",type:Dt,variableName:"dateOfBirth"},fn={label:"Comune di nascita",type:Nt,variableName:"cityOfBirth"},Un={label:"Codice Fiscale / Partita Iva",type:Nt,variableName:"taxID"},nn={label:"Nazione di nascita",type:Nt,variableName:"countryOfBirth"},Le={label:"Residenza",type:Nt,variableName:"primaryAddress"},Gn={label:"Indirizzo di residenza",type:Nt,variableName:"residenceAddress"},Pn={label:"Domicilio",type:Nt,variableName:"domicile"},io={label:"Indirizzo di domicilio",type:Nt,variableName:"domicileAddress"},Cn={label:"Professione",type:Nt,variableName:"occupation"},Qn={label:"Stato civile",type:Nt,variableName:"maritalStatus"},Rn={label:"Numero figli",type:Nt,variableName:"numberOfSons"},bn={label:"Titolo di studi",type:Nt,variableName:"educationalQualification"},mn={label:"Tipologia di guida",type:Nt,variableName:"guideType"},cn={label:"Telefono",type:Nt,variableName:"phone"},Ln={label:"Indirizzo e-mail",type:Nt,variableName:"email"},je={label:"Toyota Yaris 1.0 - Cool",type:jt,variableName:"totalCost"},$n={label:"Motivo della sospensione",type:Nt,variableName:"suspensionTypeDesc"},vn={label:"Dovrai riattivare entro il",type:Dt,variableName:"expirationDate"},zn={label:"IBAN",type:Nt,variableName:"iban"},on={label:"Beneficiario",type:Nt,variableName:"payee"},mo={label:"Causale di pagamento",type:Nt,variableName:"paymentReason"},to={label:"Importo pagato",type:jt,variableName:"paidAmount"},co={label:"Importo da pagare",type:jt,variableName:"paymentAmount"},We={label:"Importo rimborsato",type:jt,variableName:"refundAmount"},xe={label:"Garanzie e Servizi",type:Nt,variableName:"coverages"},Qe={label:"Data riattivazione",type:Dt,variableName:"reactivationPaymentDate"},At={label:"Data scadenza polizza",type:Dt,variableName:"expirationPaymentDate"},Jt={label:"Data di scadenza polizza",type:Dt,variableName:"policyExpirationDate"},de={label:"Data e ora di riattivazione",type:pe,variableName:"policyActivationDate"},$e={label:"",type:zt.Currency,variableName:"grossAmount"},Eo=[fe,U,G],lo=[U,G],xo=[fe,dt,U,G],Ko=[{label:"Premio rata",type:jt,variableName:"installmentAmount"},{label:"Scadenza rata",type:Dt,variableName:"installmentDueDate"}],Wo=[fe],oi=[{label:"La tua offerta di rinnovo",type:jt,variableName:"renewalCost"}],ii=[{label:"Costo sospensione",type:jt,variableName:"suspensionCost"}],Mo=[fe,G],Qo=[oe,wt,U,G],ye=[oe,wt,Pe,G],wn=[oe,wt,U,dt],ui=[fe,{label:"invece di",type:jt,variableName:"previousAmount"}],Mi=[oe,wt,U,G,tt],wo=[V,oe,{label:"Immatricolazione",type:Dt,variableName:"registrationDate"},{label:"Valore Veicolo",type:jt,variableName:"value"},{label:"Ricovero notturno",type:Nt,variableName:"overnightParking"},{label:"Km annui",type:Nt,variableName:"annualKm"},{label:"Utilizzo veicolo",type:Nt,variableName:"mainlyUse"},{label:"Modifiche veicolo",type:Lt,variableName:"changesToTheVehicle"},{label:"Alimentazione",type:Nt,variableName:"fuelType"},{label:"Antifurto",type:Nt,variableName:"antitheft"}],Io=[U,G,{label:"Premio totale",type:jt,variableName:"totalCost"},{label:"Frazionamento",type:Nt,variableName:"fractionation"},{label:"Situazione assicurativa",type:Nt,variableName:"insuranceSituation"},{label:"Classe CU",type:Nt,variableName:"cuClass"},{label:"Classe Admiral",type:Nt,variableName:"admiralClass"},{label:"Sospensioni patente ultimi 5 anni",type:Nt,variableName:"drivingLicenseSuspensionLast5Years"},{label:"Multe guida in stato ebrezza",type:Nt,variableName:"finesForDrivingUnderInfluenceLast5Years"},{label:"Sinistri con colpa ultimi 5 anni",type:Nt,variableName:"claimsWithFaultLast5Years"},{label:"Sinistri senza colpa ultimi 5 anni",type:Nt,variableName:"claimsWithoutFaultLast5Years"}],ai=[Se,Ue,ln,fn,Un,nn,Le,Cn,Qn,Rn,bn],mi=[Se,Ue,ln,fn,Un,nn,{label:"Anno di arrivo in Italia",type:Nt,variableName:"yearOfArrivalInItaly"},Le,Cn,Qn,Rn,bn],gi=[wt,V,oe,{label:"Inizio copertura",type:Dt,variableName:"startCoverage"},{label:"Metodo di pagamento",type:Nt,variableName:"paymentMethod"},Ln,cn,{label:"Indirizzo recapito documenti",type:Nt,variableName:"addressDocuments"}],Jo=[wt,Pe,V,oe],X=[$n,Pe,vn],we=[$n,Pe,vn],j=[$n,Pe],Ot=[oe,$n,Pe,vn],Ht=[oe,$n,Pe,vn],re=[wt,U,V,oe,xe],Nn=[oe,de,Jt],po=[...Nn,xe,to],Ro=[cn,Ln,Le,Pn,mn],xn=[wt,de,Jt,oe,V,{...xe,label:"Garanzie e Servizi"},We],hi=[zn,on,mo,co],Qi=[Pe,Qe,At],fi=[oe,wt,U,G,tt],ee=[Le,Pn,Ln,cn,mn],Bn=[wt,de,Jt,oe,V],$i=[wt,de,Jt,oe,V,{...xe,label:"Garanzie incluse"}],Ti=[Gn,io,mn,Ln,cn],ia=[wt,de,Jt,oe,V,{...xe,label:"Garanzie incluse"},We];var Pt=o(23321),rt=o(15510),Rt=o(50596),ue=o(48857),Ne=function(d){return d.NfProvince="addressNotFoundProvince",d.NfTown="addressNotFoundHomeTown",d.NfCivic="addressNotFoundHouseNumber",d.NfToponym="addressNotFoundToponym",d.NfAddress="addressNotFoundAddress",d.NfPostal="addressNotFoundPostalCode",d}(Ne||{}),an=function(d){return d.ArrowDown="ArrowDown",d.ArrowUp="ArrowUp",d.Enter="Enter",d.Escape="Escape",d}(an||{});class Oo{constructor(Qt,_e,Te,Ee,Dn,Fo){this.control=new Pt.hs(Qt,_e,Te),this.inputConfig=Ee,this.boxConfig=Dn,this.shown=Fo}}class Zo{constructor(Qt,_e,Te,Ee){this.controls=Qt;const Dn={};
1Object.keys(this.controls).forEach(Fo=>{_e?.autoReset&&(this.controls[Fo]instanceof Oo?this.getFormControl(Fo).statusChanges.pipe((0,rt.F)(),(0,Rt.p)(ki=>"INVALID"===ki),(0,ue.Q)(_e.onDestroy$)).subscribe(()=>{this.resetFormControlFromKeyToEnd(Fo)}):this.getFormGroup(Fo).formGroup.statusChanges.pipe((0,rt.F)(),(0,Rt.p)(ki=>"INVALID"===ki),(0,ue.Q)(_e.onDestroy$)).subscribe(()=>{this.resetFormControlFromKeyToEnd(Fo)})),Dn[Fo]=this.controls[Fo]instanceof Oo?this.controls[Fo].control:this.controls[Fo].formGroup}),this.formGroup=new Pt.J3(Dn,Te,Ee)}getInputConfig(Qt){if(this.controls[Qt]instanceof Oo)return this.controls[Qt].inputConfig;throw new Error(`Seems the control is a DwFormGroup the correct syntax is yourDwForm.getFormControl(${String(Qt)}').getInputConfig('yourSecondKey')`)}getFormControl(Qt){if(!this.hasControl(Qt))return console.error(`The key '${String(Qt)}' is not present in the Form`),null;if(this.controls[Qt]instanceof Oo)return this.controls[Qt].control;throw new Error(`Seems the control is a DwFormGroup the correct syntax is yourDwForm.getFormGroup('${String(Qt)}')`)}getFormGroup(Qt){if(!this.hasControl(Qt))return console.error(`The key '${String(Qt)}' is not present in the Form`),null;if(this.controls[Qt]instanceof Zo)return this.controls[Qt];throw new Error(`Seems the control is a DwFormControl the correct syntax is yourDwForm.getFormControl('${String(Qt)}')`)}removeControl(Qt){return"string"==typeof Qt&&(delete this.controls[Qt],this.formGroup.removeControl(Qt)),Array.isArray(Qt)&&Qt.forEach(_e=>{delete this.controls[_e],this.formGroup.removeControl(_e)}),this.formGroup.updateValueAndValidity(),new Zo(this.controls)}addControl(Qt,_e,Te){if(Te){const Ee={};Object.keys(this.controls).forEach(Dn=>{Ee[Dn]=this.controls[Dn],Dn===Te&&(Ee[Qt]=_e)}),this.controls=Ee,this.resetFormControlFromKeyToEnd(Te)}return this.controls[Qt]=_e,this.formGroup.addControl(Qt,_e instanceof Oo?_e.control:_e.formGroup),this.formGroup.updateValueAndValidity(),new Zo(this.controls)}hasControl(Qt){return!!this.controls[Qt]}getBoxConfig(Qt){if(this.controls[Qt]instanceof Oo)return this.controls[Qt].boxConfig;throw new Error(`Seems the control is a DwFormGroup the correct syntax is yourDwForm.getFormControl('${String(Qt)}').getBoxConfig('yourSecondKey')`)}resetFormControlFromKeyToEnd(Qt){const _e=Object.keys(this.controls);for(let Ee=_e.indexOf(Qt)+1;Ee<_e.length;Ee++)this.controls[_e[Ee]]instanceof Oo&&this.controls[_e[Ee]].control.reset(null,{emitEvent:!1}),this.controls[_e[Ee]]instanceof Zo&&this.controls[_e[Ee]].formGroup.reset()}}var Bi=o(58513),qo=function(d){return d.Valid="VALID",d.Invalid="INVALID",d}(qo||{});class yi extends Pt.J3{constructor(Qt,_e,Te,Ee,Dn,Fo){super(Qt,_e,Te),this.boxConfig=Ee,this.autoShownConfig=Dn,this.index=Fo,Dn?.autoShown&&(this.checkShown(),Object.keys(this.controls).forEach(ki=>{this.controls[ki].statusChanges.pipe((0,rt.F)(),(0,Rt.p)(Ba=>Ba===qo.Valid),(0,ue.Q)(Dn.onDestroy$)).subscribe(()=>this.checkShown()),this.controls[ki].valueChanges.pipe((0,rt.F)(),(0,Rt.p)(Ba=>null!==Ba),(0,Bi.Z)(()=>this.controls[ki].statusChanges),(0,Rt.p)(Ba=>Ba===qo.Valid),(0,ue.Q)(Dn.onDestroy$)).subscribe(()=>this.checkAutoFocus(this.controls[ki].index))}))}addControl(Qt,_e,Te){super.addControl(Qt,_e,Te),this.autoShownConfig?.autoShown&&(this.checkShown(),this.controls[Qt].statusChanges.pipe((0,rt.F)(),(0,Rt.p)(Ee=>Ee===qo.Valid),(0,ue.Q)(this.autoShownConfig.onDestroy$)).subscribe(()=>this.checkShown()),this.controls[Qt].shown&&this.checkAutoFocus(1),this.controls[Qt].valueChanges.pipe((0,rt.F)(),(0,Rt.p)(Ee=>null!==Ee),(0,Bi.Z)(()=>this.controls[Qt].statusChanges),(0,Rt.p)(Ee=>Ee===qo.Valid),(0,ue.Q)(this.autoShownConfig.onDestroy$)).subscribe(()=>this.checkAutoFocus(this.controls[Qt].index)))}removeControl(Qt,_e){super.removeControl(Qt,_e),this.autoShownConfig?.autoShown&&this.checkShown()}contains(Qt){return super.contains(Qt)}markAllVisibleAsTouchedExceptLast(){Object.keys(this.controls).filter(Qt=>this.controls[Qt].shown).map(Qt=>({key:Qt,index:this.controls[Qt].index})).sort((Qt,_e)=>Qt.index-_e.index).forEach(({key:Qt},_e,Te)=>{const Ee=this.controls[Qt];Ee.shown&&_e+1!==Te.length&&Ee.markAsTouched()})}checkShown(){Object.keys(this.controls).map(Qt=>({key:Qt,index:this.controls[Qt].index})).sort((Qt,_e)=>Qt.index-_e.index).every(({key:Qt})=>(this.controls[Qt].shown=!0,!this.controls[Qt].invalid))}checkAutoFocus(Qt){let _e=!0;Object.keys(this.controls).map(Te=>({key:Te,index:this.controls[Te].index})).sort((Te,Ee)=>Te.index-Ee.index).every(({key:Te})=>setTimeout(()=>(_e&&(this.controls[Te].autoFocus=!1,(this.controls[Te].invalid||this.controls[Te].untouched)&&this.controls[Te].index>Qt&&_e&&(this.controls[Te].autoFocus=new Boolean(!0),_e=!1)),!this.controls[Te].autoFocus)))}}class ke extends Pt.Bm{constructor(Qt,_e,Te,Ee,Dn){super(Qt,_e,Te),this.boxConfig=Ee,this.index=Dn}}class ti extends Pt.hs{constructor(Qt,_e,Te,Ee,Dn,Fo){super(Qt,_e,Te),this.inputConfig=Ee,this.boxConfig=Dn,this.index=Fo}}const Oa=[{inputId:"suspensionChoice1",value:"voluntarySuspension",inputName:"suspension",label:"Temporanea mancata circolazione del veicolo"},{inputId:"suspensionChoice2",value:"vehicleLost",inputName:"suspension",label:"Furto o perdita di possesso"}],ma=new Map([[$.Voluntary,"Non utilizzer\xf2 il veicolo per un periodo di tempo"],[$.Theft,"Ho sub\xecto il furto del veicolo"],[$.Sale,"Il veicolo \xe8 stato venduto/ ceduto in conto vendita/ rottamato/ esportato all\u2019estero"],[$.MotoFree,"Mancato uso veicolo per periodo di tempo"]]);var Zi=function(d){return d.Yes="yes",d.No="no",d}(Zi||{});const ga={inputId:"yesChoice",inputName:"yesNo",label:"Si",value:Zi.Yes},ca={inputId:"noChoice",inputName:"yesNo",label:"No",value:Zi.No},ha=[ga,ca],Ci=[{inputId:"sameOtherChoice1",inputName:"sameOther",value:B.SameVehicle,label:"Stesso veicolo"},{inputId:"sameOtherChoice2",inputName:"sameOther",value:B.OtherVehicle,label:"Altro veicolo"}],Oe=[{inputId:"consentChoice1",inputName:"consent",label:"Acconsento"},{inputId:"consentChoice2",inputName:"consent",label:"Non acconsento"}],bi=[{inputId:"consentChoice1",inputName:"consent",label:"S\xec"},{inputId:"consentChoice2",inputName:"consent",label:"No"}],ce=[{radioButtonStyle:"radio-button-box radio-button-text",inputId:"onlyMainDriver",value:"onlyMainDriver",inputName:"drivers",label:"Solo il conducente principale",showText:!0,text:'<span class="font-weight-bold light-blue">Mario Rossi</span> avr\xe0 la guida esclusiva'},{radioButtonStyle:"radio-button-box radio-button-external-content space",inputId:"ages",value:"ages",inputName:"drivers",label:"Chiunque di et\xe0 maggiore o uguale ad anni:",showExternalContent:!0},{radioButtonStyle:"radio-button-box radio-button-text",inputId:"listOfPeople",value:"listOfPeople",inputName:"drivers",label:"Lista di persone",showText:!0,text:"In caso di scelta della lista di persone dovrai chiamarci per indicare i nomi dei guidatori, trovi i recapiti alla fine di questo modulo."}],Xo=[{inputId:"annual",inputName:"policySplitting",label:"Annuale",showExternalContent:!0,labelColorClass:"light-blue-white",labelDescription:"Vantaggioso"},{inputId:"biannual",inputName:"policySplitting",label:"Semestrale"}],wi={radioButtonStyle:"radio-button-box radio-button-image text",inputId:"CreditCard",inputName:"paymentMethod",label:"Carta di credito",image:"icon-visa-mastercard",value:N.TraditionalCard},Vi={radioButtonStyle:"radio-button-box radio-button-image",inputId:"Bank",inputName:"paymentMethod",image:"icon-bonifico",value:N.Bank},Hi={radioButtonStyle:"radio-button-box radio-button-image",inputId:"Bank",inputName:"paymentMethod",image:"payment-methods/bank-transfer",imageExtension:"svg",value:N.Bank},uo={radioButtonStyle:"radio-button-box radio-button-image",inputId:"OtherCard",inputName:"paymentMethod",label:"Scegli altra carta",image:"icon-other-payment-card",imageExtension:"png",value:N.OtherCard},qn={radioButtonStyle:"radio-button-box radio-button-image",inputId:"PayPal",inputName:"paymentMethod",image:"payment-methods/paypal-logo-3",imageExtension:"svg",value:N.PayPal},Ui={radioButtonStyle:"radio-button-box radio-button-image",inputId:"Klarna",inputName:"paymentMethod",image:"payment-methods/klarna-logo",imageExtension:"svg",value:N.Klarna},ri=[wi,{inputId:"PrepaidCard",inputName:"paymentMethod",label:"Carta prepagata",image:"icon-visa-mastercard",value:N.PrepaidCard},{inputId:"AmericanExpress",inputName:"paymentMethod",image:"american-express",imageExtension:"svg",value:N.AmericanExpress},Hi];var jn=function(d){return d.VehicleOwner="policyOwner",d.OtherOwner="otherOwner",d}(jn||{});const ei=[{inputId:jn.VehicleOwner,inputName:"vehicleOwner",value:"{name}",label:"{name}",labelColorClass:"light-blue-white"},{inputId:jn.OtherOwner,inputName:"vehicleOwner",value:jn.OtherOwner,label:"Altro proprietario",labelColorClass:"light-blue-white"}],Ii=[wi,uo,Vi],Gi=[wi,Vi],ci=[{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice1",inputName:"driverAge",label:"Tutti i conducenti maggiori di anni 18",text:"18+",value:"over-18"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice2",inputName:"driverAge",label:"19",text:"19",value:"19"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice3",inputName:"driverAge",label:"20",text:"20",value:"20"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice4",inputName:"driverAge",label:"21",text:"21",value:"21"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice5",inputName:"driverAge",label:"22",text:"22",value:"22"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice6",inputName:"driverAge",label:"23",text:"23",value:"23"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice7",inputName:"driverAge",label:"24",text:"24",value:"24"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice8",inputName:"driverAge",label:"25",text:"25",value:"25"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice9",inputName:"driverAge",label:"26",text:"26",value:"26"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice10",inputName:"driverAge",label:"27",text:"27",value:"27"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice11",inputName:"driverAge",label:"28",text:"28",value:"28"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice12",inputName:"driverAge",label:"29",text:"29",value:"29"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice13",inputName:"driverAge",label:"30",text:"30",value:"30"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice14",inputName:"driverAge",label:"pi\xf9 di 30",text:"30+",value:"over-30"}],zi=[{inputName:"fuelType",inputId:"diesel",label:"Diesel",value:h.Diesel},{inputName:"fuelType",inputId:"petrol",label:"Benzina",value:h.Petrol},{inputName:"fuelType",inputId:"electric",label:"Elettrica",value:h.Electric},{inputName:"fuelType",inputId:"hybrid",label:"Ibrida",value:h.Hybrid},{inputName:"fuelType",inputId:"LPG",label:"GPL",value:h.LPG},{inputName:"fuelType",inputId:"methane",label:"Metano",value:h.Methane}],fa=[{inputName:"antiTheft",inputId:"none",label:"Nessuno",value:w.None},{inputName:"antiTheft",inputId:"satellite",label:"Satellitare/GPS",value:w.GPS},{inputName:"antiTheft",inputId:"immobilizer",label:"Immobilizer",value:w.Immobilizer},{inputName:"antiTheft",inputId:"other",label:"Altro tipo",value:w.Other}],Uo=[{inputName:"mainUse",inputId:"homeWork",label:"Casa/Lavoro",value:v.WayHomeToWork},{inputName:"mainUse",inputId:"freeTime",label:"Tempo Libero",value:v.LeisureOnly},{inputName:"mainUse",inputId:"business",label:"Affari",value:v.Business},{inputName:"mainUse",inputId:"other",label:"Altro",value:h.Other}];var No=function(d){return d.Same="same",d.Other="other",d}(No||{});const xi=[{inputId:"sameCountry",inputName:"sameOtherCountry",label:"claims.accident.sameCountry",value:No.Same},{inputId:"otherCountry",inputName:"sameOtherCountry",label:"claims.accident.otherCountry",value:No.Other}],Ze=[{inputId:"suspensionReasonChoice1",inputName:"suspensionReason",value:$.Voluntary,label:"Non utilizzer\xf2 il veicolo per un periodo di tempo"},{inputId:"suspensionReasonChoice2",inputName:"suspensionReason",value:$.Theft,label:"Ho sub\xecto il furto del veicolo"},{inputId:"suspensionReasonChoice3",inputName:"suspensionReason",value:$.Sale,label:"Il veicolo \xe8 stato venduto/ ceduto in conto vendita/ rottamato/ esportato all\u2019estero"}];var sa=function(d){return d.Default="default",d.Modal="modal",d.Tooltip="tooltip",d.CustomDesktop="custom-desktop",d}(sa||{}),b=function(d){return d.BlueHeader="blue-header",d.Classic="classic",d}(b||{}),kt=function(d){return d.SameOther="sameOther",d.Date="date",d}(kt||{});const mt={[st.Active]:"green",[st.Expiring]:"orange",[st.Issuing]:"orange",[st.Renewed]:"green",[st.Expired]:"red",[st.Suspended]:"orange",[st.Canceled]:"red",[st.Purchasable]:"green",[st.Planned]:"orange",[st.DocumentVerification]:"orange"},qt={minimumlength:"(?=^.{{minimumlength},}$)",uppercase:"(?=.*[A-Z])",lowercase:"(?=.*[a-z])",numbers:"(?=.*\\d)",symbols:"(?=.*\\W)"},ve={minimumlength:"Essere composta da almeno {minimumlength} caratteri",uppercase:"Contenere almeno un carattere maiuscolo",lowercase:"Contenere almeno un carattere minuscolo",symbols:"Contenere almeno un carattere speciale (!,*,&....)",numbers:"Contenere almeno un carattere numerico",differentFromEmail:"Essere diversa dal tuo indirizzo e-mail"};var Ke=function(d){return d.ItemsList="items-list",d.Checkbox="checkbox",d}(Ke||{});
1const Yn=[{code:"0",description:"00:00"},{code:"1",description:"01:00"},{code:"2",description:"02:00"},{code:"3",description:"03:00"},{code:"4",description:"04:00"},{code:"5",description:"05:00"},{code:"6",description:"06:00"},{code:"7",description:"07:00"},{code:"8",description:"08:00"},{code:"9",description:"09:00"},{code:"10",description:"10:00"},{code:"11",description:"11:00"},{code:"12",description:"12:00"},{code:"13",description:"13:00"},{code:"14",description:"14:00"},{code:"15",description:"15:00"},{code:"16",description:"16:00"},{code:"17",description:"17:00"},{code:"18",description:"18:00"},{code:"19",description:"19:00"},{code:"20",description:"20:00"},{code:"21",description:"21:00"},{code:"22",description:"22:00"},{code:"23",description:"23:00"}];var fo=function(d){return d.Positive="positive",d}(fo||{});const Co="<b>{policyHolderName}</b>, la tua polizza di rinnovo quest'anno costa meno!",Xn="<b>{policyHolderName}</b>, ecco la tua offerta di rinnovo!",si="<b>{policyHolderName}</b>, ecco la tua offerta di rinnovo!",ji="La polizza della tua {makeDescription_AIT} targata {license} include RCA con Protezione Satellitare e Assistenza Stradale",Bo="La polizza della tua {makeDescription_AIT} targata {license} scade tra {expirationDays} giorni",Pa="La polizza della tua {makeDescription_AIT} targata {license} scade oggi",wa="La polizza della tua {makeDescription_AIT} targata {license} \xe8 scaduta da {expirationDays} giorni";var Kn=function(d){return d.Payment="payment",d.Refund="refund",d.Threshold="threshold",d}(Kn||{}),Tn=function(d){return d.IdVehicleChange="vehicle_change",d.IdChangeData="change_data",d.IdChangeCoverages="change_coverages",d.IdReportClaim="report_claim",d.IdPayInstallment="pay_installment",d.IdSuspend="suspend",d.IdReactivate="reactivate",d.IdPolicyEditDriverType="policy_edit_driver_type",d.IdPolicyEditResidenceType="policy_edit_residence_type",d.IdPolicyEditContactsType="policy_edit_contacts_type",d.IdPolicyWithdrawal="policy_withdrawal",d}(Tn||{});const ya=new Map([[Tn.IdSuspend,"sospendiPolizza"],[Tn.IdPayInstallment,"pagaRataPolizza"],[Tn.IdReactivate,"riattivaPolizza"],[Tn.IdVehicleChange,"cambiaVeicoloPolizza"],[Tn.IdChangeData,"modificaDatiPolizza"],[Tn.IdReportClaim,"denunciaSinistroPolizza"],[Tn.IdPolicyEditDriverType,"modificaTipoGuidaPolizza"],[Tn.IdPolicyEditResidenceType,"modificaResidenzaPolizza"],[Tn.IdPolicyEditContactsType,"modificaContattiPolizza"],[Tn.IdPolicyWithdrawal,"recessoPolizza"]]),Ra={image:"action-cambia-veicolo",name:"Recupera cambio veicolo",id:Tn.IdVehicleChange},un={image:"action-modifica-dati",name:"Modifica Dati",id:Tn.IdChangeData},Xi={image:"action-segnala-sinistro",name:"Segnala Sinistro",id:Tn.IdReportClaim},Fn=new Map([["installment",{image:"action-paga-rata",name:"Paga Rata",id:Tn.IdPayInstallment}],["reactivation",{image:"action-riattiva",name:"Riattiva",id:Tn.IdReactivate}],["suspension",{image:"action-sospendi",name:"Sospendi",id:Tn.IdSuspend}],["vehicleChange",{image:"action-cambia-veicolo",name:"Cambia veicolo",id:Tn.IdVehicleChange}],["policyEdit",un],["claims",Xi],["withdrawal",{image:"action-recesso",name:"policyActions.withdrawal",id:Tn.IdPolicyWithdrawal}]]),yo=new Map([["installment",1],["reactivation",2],["suspension",3],["vehicleChange",4],["policyEdit",5],["claims",6],["withdrawal",7]]);var _o=function(d){return d.IdModifyInformation="modify_information",d.IdModifyAssurance="modify_assurance",d}(_o||{}),na=function(d){return d.IdContinue="continue",d.IdExit="exit",d}(na||{}),li=function(d){return d.Disabled="disabled",d.Todo="todo",d.Current="current",d.Visited="visited",d.Completed="completed",d.Checked="checked",d}(li||{});const So={label:"Garanzie",id:"Garanzie"},Vt={label:"Soggetti",id:"Soggetti"},dr=[So,{label:"Dati polizza",id:"DatiPolizza"},Vt,{label:"Documenti",id:"Documenti"}],pr=[So,{label:"Polizza",id:"DatiPolizza"},Vt,{label:"Doc",id:"Documenti"}];var ur=function(d){return d.DigitalWorkspaceApiGateway="digitalWorkspaceApiGateway",d.CognitoApi="cognitoApi",d.ApiCenter="apiCenter",d}(ur||{}),_r=function(d){return d.Included="included",d.NotIncluded="not-included",d.Disabled="disabled",d.Editable="editable",d}(_r||{}),mr=function(d){return d.Selected="selected",d.NotSelected="notSelected",d.NotSaleable="notSaleable",d.Included="included",d}(mr||{}),gr=function(d){return d.A001="A001",d.A002="A002",d.A003="A003",d.A004="A004",d.A005="A005",d.A006="A006",d.A007="A00
17",d.A008="A008",d.A009="A009",d.AC001="AC001",d.AC001Plus="AC001Plus",d.AC001Top="AC001Top",d.AC002="AC002",d.AC002Plus="AC002Plus",d.AC003="AC003",d}(gr||{});class Xr{constructor(Qt,_e){this.paymentCardFirst3Digit=Qt,this.paymentCardLast4Digit=_e}}var Si=function(d){return d.Bank="Bank",d.Mastercard="master",d.Visa="visa",d.Amex="americanexpress",d.MastercardSecure="mastercardSecurecode",d.VisaElectron="visaElectron",d.Paypal="Paypal",d.Klarna="Klarna",d}(Si||{});const hr=new Map([[Si.Mastercard,"icon-mastercard"],[Si.Visa,"icon-visa"],[Si.Amex,"icon-amex"],[Si.Paypal,"payment-methods/paypal-logo-3"],[Si.Klarna,"payment-methods/klarna-logo"]]);var $a=function(d){return d.Months="months",d.Weekdays="weekdays",d}($a||{});class Go extends Date{static{this.defaultLanguage="it"}static{this.monthListMap={it:[{short:"Gen",full:"Gennaio"},{short:"Feb",full:"Febbraio"},{short:"Mar",full:"Marzo"},{short:"Apr",full:"Aprile"},{short:"Mag",full:"Maggio"},{short:"Giu",full:"Giugno"},{short:"Lug",full:"Luglio"},{short:"Ago",full:"Agosto"},{short:"Set",full:"Settembre"},{short:"Ott",full:"Ottobre"},{short:"Nov",full:"Novembre"},{short:"Dic",full:"Dicembre"}],en:[{short:"Jan",full:"January"},{short:"Feb",full:"February"},{short:"Mar",full:"March"},{short:"Apr",full:"April"},{short:"May",full:"May"},{short:"Jun",full:"June"},{short:"Jul",full:"July"},{short:"Aug",full:"August"},{short:"Sep",full:"September"},{short:"Oct",full:"October"},{short:"Nov",full:"November"},{short:"Dec",full:"December"}]}}static{this.calendarKeysMap=new Map([[$a.Months,["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"]],[$a.Weekdays,["mon","tue","wed","thu","fri","sat","sun"]]])}static{this.monthsList=this.calendarKeysMap.get($a.Months).map(Qt=>({short:`dates.months.${Qt}.short`,full:`dates.months.${Qt}.full`}))}static{this.weekDaysList=this.calendarKeysMap.get($a.Weekdays).map(Qt=>({short:`dates.weekDays.${Qt}.short`,full:`dates.weekDays.${Qt}.full`}))}constructor(Qt){super(),this.formatMap={s:()=>
1`${this.getSeconds()}`,ss:()=>`0${this.getSeconds()}`.slice(-2),m:()=>`${this.getMinutes()}`,mm:()=>`0${this.getMinutes()}`.slice(-2),h:()=>`${this.getHours()%12||12}`,hh:()=>`0${this.getHours()%12||12}`.slice(-2),H:()=>`${this.getHours()}`,HH:()=>`0${this.getHours()}`.slice(-2),k:()=>`${this.getHours()||24}`,kk:()=>`0${this.getHours()||24}`.slice(-2),d:()=>`${this.getDay()}`,D:()=>`${this.getDate()}`,DD:()=>`0${this.getDate()}`.slice(-2),M:()=>`${this.getMonth()+1}`,MM:()=>`0${this.getMonth()+1}`.slice(-2),MMM:Ee=>Ee?Go.monthListMap[Ee][this.getMonth()].short:Go.monthsList[this.getMonth()].short,MMMM:Ee=>Ee?Go.monthListMap[Ee][this.getMonth()].full:Go.monthsList[this.getMonth()].full,YY:()=>`${this.getFullYear()}`.slice(-2),YYYY:()=>`${this.getFullYear()}`,yyyy:()=>`${this.getFullYear()}`,WWW:()=>Go.weekDaysList[this.getDay()].short,WWWW:()=>Go.weekDaysList[this.getDay()].full};const _e=Qt,Te=Qt;if(_e?.year)this.setFullYear(_e.year,_e.month??0,_e.day??1),this.setHours(0,0,0,0);else if(Te){const Ee=new Date(Te);this.setFullYear(Ee.getFullYear(),Ee.getMonth(),Ee.getDate()),this.setHours(Ee.getHours(),Ee.getMinutes(),Ee.getSeconds(),Ee.getMilliseconds())}}addDays(Qt){return this.setDate(this.getDate()+Qt),this}addMonths(Qt){return this.setMonth(this.getMonth()+Qt),this}addYears(Qt){return this.setFullYear(this.getFullYear()+Qt),this}diff(Qt,_e="milliseconds"){const Te=new Go(this),Ee=new Go(Qt);if("milliseconds"===_e)return Te.getTime()-Ee.getTime();if("days"===_e)return this.getDaysBetweenDates(Te.getTime(),Ee.getTime());if("months"===_e){const ki=12*Te.getFullYear()+(Te.getMonth()+1)-(12*Ee.getFullYear()+(Ee.getMonth()+1));return this.isNotCompleteMonth(Ee)?ki-Math.sign(ki):ki}if("years"===_e){const Dn=Te.getFullYear()-Ee.getFullYear();return this.isNotCompleteYear(Ee)?Dn-Math.sign(Dn):Dn}return 0}isNotCompleteMonth(Qt){const _e=new Go(this),Te=new Go(Qt);return _e.isAfter(Te)?_e.getDate()<Te.getDate():!!Te.isAfter(_e)&&_e.getDate()>Te.getDate()}isNotCompleteYear(Qt){const _e=new Go(this),Te=new Go(Qt);return _e.isAfter(Te)?_e.getMonth()<Te.getMonth()||_e.getMonth()===Te.getMonth()&&_e.getDate()<Te.getDate():!!Te.isAfter(_e)&&(_e.getMonth()>Te.getMonth()||_e.getMonth()===Te.getMonth()&&_e.getDate()>Te.getDate())}isValid(){const Qt=new Date(this);return Qt instanceof Date&&!isNaN(Qt.valueOf())}isBefore(Qt,_e="milliseconds"){return this.diff(Qt,_e)<0}isAfter(Qt,_e="milliseconds"){return this.diff(Qt,_e)>0}getStandardFormat(){return this.format("DD-MM-YYYY")}getSlashedFormat(){return this.format("DD/MM/YYYY")}format(Qt,_e){let Te=Qt;return Qt.match(/[smhHkdDMYy]+/g).forEach(Dn=>Te=Te.replace(Dn,this.formatMap[Dn](_e||Go.defaultLanguage))),Te}getLocalDateModel(){return{day:this.getDate(),month:this.getMonth(),year:this.getFullYear()}}isToday(){const Qt=new Go;return this.getDate()===Qt.getDate()&&this.getMonth()===Qt.getMonth()&&this.getFullYear()===Qt.getFullYear()}getTimeNoDate(){const Qt=new Go(this.getTime());return Qt.setHours(0,0,0,0),Math.abs(Qt.getTime()-this.getTime())}getDaysBetweenDates(Qt,_e=Date.now()){const Ee=Dn=>Math.trunc(Dn/864e5);return Ee(Qt)-Ee(_e)}}var fr=function(d){return d.Full="col-12",d.FullWithSidebar="col-xxl-9 col-md-1-8 col-12",d.Center="col-xxl-6 col-md-1-8 col-12",d}(fr||{});const Kr={Autovettura:"auto",car:"auto",Ciclomotore:"moto",Motociclo:"moto",ciclomotore:"moto",motorcycle:"moto",moped:"moto"},Wr={landing:"landing",card:"online",paypal:"online",phone:"phone",banktransfer:"online"},Qr={"tradicional card":"card","bank transfer":"banktransfer","Prepaid card":"card",Paypal:"paypal","American Express":"card",Bank:"banktransfer",TradicionalCard:"card"},Jr={rca:"A001",fireAndTheft:"A002",kasko:"A003",miniKasko:"A004",naturalEvents:"A005",vandalism:"A006",crystals:"A007",telematics:"A009",injury:"AC001",injuryPlus:"AC001Plus",injuryTop:"AC001Top",assistance:"AC002",assistancePlus:"AC002Plus",legal:"AC003"};var Xa=function(d){return d.AddressFound="addressFound",d.ShowMap="showMap",d.Toponym="toponym",d.Route="route",d.Locality="locality",d.Province="province",d.PostalCode="postalCode",d.Civic="civic",d.FormattedAddress="formattedAddress",d.ShowMapAddress="showMapAddress",d}(Xa||{}),Ka=function(d){return d.Route="route",d.City="administrative_area_level_3",d.Province="administrative_area_level_2",d.Region="administrative_area_level_1",d.Country="country",d.PostalCode="postal_code",d.StreetNumber="street_number",d}(Ka||{}),Va=function(d){return d.Accident="accidentFlow",d.Coverage="coverageFlow",d}(Va||{}),pi=function(d){return d.Renewal="rn",d.Suspension="suspension",d.SuspensionNoDays="suspensionNoDays",d.Reactivation="reactivation",d.ReactivationNoDays="reactivationNoDays",d.VehicleChange="vehicleChange",d.VehicleChangeRefund="vehicleChangeRefund",d.VehicleChangeThreshold="vehicleChangeThreshold",d.VehicleChangeAntiFraud="vehicleChangeAntiFraud",d.PolicyEdit="policyEdit",d.ResidenceEdit="residence",d.DriverTypeEdit="driverType",d.ContactsEdit="contacts",d.Withdrawal="withdrawal",d}(pi||{});const Cr=new Map([["A001","RCA"],["A002","fireAndTheft"],["A003","kasko"],["A004","collision"],["A005","naturalEvent"],["A
1006","actOfVandalism"],["A007","windows"],["A008","noAssuredRisk"],["A009","satellite"],["AC001","driverInjury"],["AC002","roadAssistance"],["AC003","legalProtection"],["A001/A009","RCA_sat"]]),nc={kasko:"A003",satellitare:"A009",furtoIncendio:"A002",miniKasko:"",assistenza:"AC002",attiVandalici:"A006",cristalli:"A007",eventiNaturali:"A005",infortunio:"AC001",tutela:"AC003",rca:"A001",collisione:"A004"},oc=new Map([["none","none"],["car","auto"],["Autovettura","auto"],["motorcycle","moto"],["Ciclomotore","moto"],["Motociclo","moto"],["ciclomotore","moto"],["moped","moto"]]),ic=new Map([["none","none"],["301","nodo301"],["302","nodo302"],["000","nodo000"],["400","nodo400"],["410","nodo410"]]),ac=new Map([["portal","portal"],["sca","fq"],["self_provisioning","sp"],["pa","pa"]]),rc=new Map([["rinnovo","payment"],["thankyou","thankyou"],["thankyou|48h","thankyou|48h"],["payment|modal","payment|modal"],["payment|modal|retry","payment|modal|retry"],["payment|modal|help","payment|modal|help"],["error","error"],["error|info","error|info"],["polizze","policyListing"],["preventivi","submissionListing"],["dettaglioPreventivo","submissionDetail"],["dettaglioPolizza","policyDetail"],["dettaglioRinnovo","renewalDetail"],["login|email","login|email"],["login|password","login|password"],["landing","landing"],["emailActivation|linkSent|native","emailActivation|linkSent|native"],["emailActivation|linkSent|migrated","emailActivation|linkSent|migrated"],["emailActivation|success|native","emailActivation|success|native"],["emailActivation|success|migrated","emailActivation|success|migrated"],["emailActivation|expiredLink","emailActivation|expiredLink"],["emailActivation|setPassword","emailActivation|setPassword"],["retrievePassword|linkSent","retrievePassword|linkSent"],["retrievePassword|setPassword","retrievePassword|setPassword"],["retrievePassword|success","retrievePassword|success"],["renewalEditStep1","renewalEditStep1"],["renewalEditStep2","renewalEditStep2"],["renewalEditStep3","renewalEditStep3"],["payment","payment"],["residence","residence"],["driverType","driverType"],["contacts","contacts"],["thankyou","thankyou"],["suspensionReason","suspensionReason"],["telephoneClosure","telephoneClosure"],["telephoneClosure|noDays","telephoneClosure|noDays"],["telephoneClosure|termext","telephoneClosure|termext"],["confirmation|motofree","confirmation|motofree"],["confirmation|notvol","confirmation|notvol"],["confirmation","confirmation"],[$.Voluntary,"confirmation"],["telephoneClosure|ania","telephoneClosure|ania"],["telephoneClosure|aniaKo","telephoneClosure|aniaKo"],["consent|modal","consent|modal"],["consent","consent"],["consent|modal|error","consent|modal|error"],["consent|modal|success","consent|modal|success"],["step1","step1"],["step1|eform","step1|eform"],["oldVehicle","oldVehicle"],["vehicleChangeData","vehicleChangeData"],["newVehicle","newVehicle"],["quotation","quotation"],["quotation|modal|futureSuspension","quotation|modal|futureSuspension"],[`paymentData|${Kn.Payment}`,"payment"],[`paymentData|${Kn.Refund}`,"refund"],[`paymentData|${Kn.Threshold}`,"threshold"],[`suspension|${Kn.Threshold}`,"suspension|48h"],[`telephoneClosure|${Kn.Refund}`,"telephoneClosure|refund"],["saveFlow4|contact","saveFlow4|contact"],["saveFlow3|summary","saveFlow3|summary"],["saveFlow1|discount","saveFlow1|discount"],["saveFlow2|coverage","saveFlow2|coverage"],["saveFlow5|upselling","saveFlow5|upselling"],["denuncia","denuncia"],["courtesy","courtesy"],["SMSrequest","SMSrequest"],["SMSconfirmation","SMSconfirmation"],["sinistri","claimListing"],["dettagli","detail"],["error|expired","error|expired"],["none","none"],["alreadyPurchased","alreadyPurchased"],["alreadyIssued","alreadyIssued"],["withdrawn","withdrawn"],["payment|uwko","payment|uwko"],["payment|uwdocument","payment|uwdocument"],["payment|rnexpired","payment|rnexpired"],["payment|modal|consent","payment|modal|consent"],["payment|modal|rnexpired","payment|modal|rnexpired"],["payment|modal|gestpay","payment|modal|gestpay"],["subblocked","subblocked"],["privacyUpdate","privacyUpdate"],["doc|information","doc|information"],["doc|toLoad1-1","doc|toLoad1-1"],["doc|toLoad1-2","doc|toLoad1-2"],["doc|toLoad2-2","doc|toLoad2-2"],["doc|toLoad1-3","doc|toLoad1-3"],["doc|toLoad2-3","doc|toLoad2-3"],["doc|toLoad3-3","doc|toLoad3-3"],["doc|loaded1-1","doc|loaded1-1"],["doc|loaded1-2","doc|loaded1-2"],["doc|loaded1-3","doc|loaded1-3"],["doc|loaded2-2","doc|loaded2-2"],["doc|loaded2-3","doc|loaded2-3"],["doc|loaded3-3","doc|loaded3-3"],["doc|kite","doc|kite"],["doc|discard","doc|discard"],["doc|courtesyPlate","doc|courtesyPlate"],["doc|courtesyType","doc|courtesyType"]]),Ge=new Map([["threshold","threshold"],["refund","refund"],["default","default"],["modifica-acquista","default"],["acquista","noedit"],["dettaglio","details"],["details","details"],["noedit|cg","noedit|cg"],["default|kiteKO","default|kiteKO"],["callUs","callUs"],["multiple","multiple"],["oneclick","oneclick"],["gratuita","suspension|motofree"],["notvol","suspension|notvol"],["none","none"],["forced","forced"],["aniako","aniako"],["email","email"],["service","service"],["lambda","lambda"],["empty","empty"]]),cc=new Map([["rn","rn"],["int","int"],["fnb","fnb"],["new","new"],[pi.VehicleChange,"pc|vehicleChange"],[pi.VehicleChangeAntiFraud,"pc|vehicleChange"],[pi.PolicyEdit,"pc|policyEdit"],[pi.ResidenceEdit,"pc|policyEdit|residence"],[pi.DriverTypeEdit,"pc|policyEdit|driverType"],[pi.ContactsEdit,"pc|policyEdit|contacts"],[pi.PolicyEdit+"|"+Kn.Threshold,"pc|policyEdit|threshold"],[pi.PolicyEdit+"|"+Kn.Refund,"pc|policyEdit|refund"],[pi.Suspension,"pc|suspension"],["pc|suspension|notvol","pc|suspension|notvol"],["pc|suspension|motofree","pc|suspension|motofree"],[pi.Reactivation,"reactivation"],["pc|reactivation|other","pc|reactivation|other"],["pc|reactivation|other|refund","pc|reactivation|other|refund"],["pc|reactivation|other|threshold","pc|reactivation|other|threshold"],[`${pi.VehicleChange}|thankyou`,"pc|vehicleChange|48h"],["claim","claim"],[Va.Accident,"claim|rca"],[Va.Coverage,"claim|coverage"],["privacyConsent","privacyConsent"],["claimDeclaration","claimDeclaration"],["none","none"]]),sc=new Map([["landing","landing"],["online","online"],["phone","phone"],["none","none"],["card","online"],["paypal","online"],["banktransfer","phone"],[`paymentData|${Kn.Payment}`,"online"],[`paymentData|${Kn.Refund}`,"online"],[`paymentData|${Kn.Threshold}`,"online"],[`suspension|${Kn.Threshold}`,null],["online/card","online/card"],["online/"+N.Bank,"online/banktransfer"],["online/none","online/none"]]),lc=new Map([["TradicionalCard","card"],["Bank","bankTransfer"],["paypal","paypal"],["tradicional card","card"],["bank transfer","banktransfer"],["banktransfer","banktransfer"],["Prepaid card","card"],["PrepaidCard","card"],["Paypal","paypal"],["American Express","card"],["AmericanExpress","americanExpress"],[K.CreditCard,"card"],[K.BankTransfer,"banktransfer"],["CreditCard","card"],["card","card"],["BankTransfer","banktransfer"],[Si.Amex,"card"],[Si.Mastercard,"card"],[Si.Visa,"card"],[Si.Klarna,"klarna"],["klarna","klarna"],[N.OtherCard,"card"],["none","none"]]);var br=function(d){return d.MissingStrongAuth="8006",d}(br||{}),vr=function(d){return d.Ok="OK",d.Ko="KO",d}(vr||{}),la=function(d){return d.Drivers="drivers",d.Contacts="contacts",d.Residence="residence",d}(la||{});const Mr={inputId:la.Residence,inputName:la.Residence,image:"./assets/img/icon-residenza.svg",value:"Residenza"},dc={inputId:la.Contacts,inputName:la.Contacts,image:"./assets/img/icon-contatti.svg",value:"Contatti"},pc={modalTitle:"Modifica Polizza",modalSubtitle:"Rivedi e modifica le informazioni della tua polizza. Il premio della polizza potrebbe variare in relazione alle nuove informazioni da te inserite.",optionList:[{inputId:la.Drivers,inputName:la.Drivers,image:"./assets/img/icon-conducenti.svg",value:"Tipologia Guida"}]};var Ye=function(d){return d.InternalError="InternalError",d.UserNameExists="UserNameExists",d.ValidationError="ValidationError",d.InvalidParameters="InvalidParameters",d.JobWithUWIssue="JobWithUWIssue",d.AniaError="AniaError",d}(Ye||{}),Tr=function(d){return d.PolicyHolder="policy_holder",d.VehicleOwner="vehicle_owner",d.MainDriver="main_driver",d.Other="other",d.CompanyOwner="company_owner",d}(Tr||{}),Sn=function(d){return d.Base="quote-creation",d.VehicleSearch="vehicle-search",d.VehicleInfo="vehicle-info",d.VehicleOwner="vehicle-owner",d.PersonalInfo="personal-info",d.PremiumPage="premium",d.PaymentPage="payment",d.EditQuotePage="edit-quote",d.ThankYouPage="thank-you",d}(Sn||{}),kn=function(d){return d.VehicleSearch="Ricerca Veicolo",d.VehicleInfo="Informazioni sul veicolo",d.VehicleOwner="Informazioni sul proprietario",d.PersonalInfo="Informazioni personali",d.Premium="Quotazione",d.Summary="Riepilogo",d.Payment="Pagamento",d.ThankYou="Grazie!",d}(kn||{}),Na=function(d){return d.LongQuote="LONG_QUOTE",d.FastQuote="FAST_QUOTE",d.CompanyFlow="COMPANY_FLOW",d.CompanyFastQuote="COMPANY_FASTQUOTE",d.EditQuoteFlow="EDIT_QUOTE_FLOW",d}(Na||{});
1const Ha=new Map([[Sn.VehicleSearch,kn.VehicleSearch],[Sn.VehicleInfo,kn.VehicleInfo],[Sn.PersonalInfo,kn.PersonalInfo],[Sn.PremiumPage,kn.Premium],[Sn.PaymentPage,kn.Payment],[Sn.ThankYouPage,kn.ThankYou]]),Ua=new Map([[Sn.EditQuotePage,kn.Summary],[Sn.PremiumPage,kn.Premium],[Sn.PaymentPage,kn.Payment],[Sn.ThankYouPage,kn.ThankYou]]);Array.from(Ha.values()),Array.from(Ha.keys()),Array.from(Ua.values()),Array.from(Ua.keys());var Pr=function(d){return d.Car="car",d.Moped="moped",d.Motorcycle="motorcycle",d}(Pr||{}),Ga=function(d){return d.MainDriver="MAIN_DRIVER",d.BodyBinding="BODYBINDING",d.Usufructuary="USUFRUCTUARY",d.Tenant="TENANT",d.Buyer="BUYER",d.SecondaryDriver="SECONDARY_DRIVER",d.MainOwner="MAIN_OWNER",d.SecondaryOwner="SECONDARY_OWNER",d}(Ga||{});const Ec={mainDriver:{publicID:"zjcggsalc8q00fetac9lhvvo1l8",rol_AIT:Ga.MainDriver},mainOwner:{publicID:"zqmga70ocvudr3o173nekbcernb",rol_AIT:Ga.MainOwner},bodyBinding:{publicID:"zmliaqcq4vbinefbui6hoq4cda9",rol_AIT:Ga.BodyBinding}},za={placeholder:"Metodo di Pagamento",id:"payment-method",name:"payment-method",label:"Metodo di Pagamento",type:"text",value:"TradicionalCard"},Wa={placeholder:"Seleziona il tipo di carta",type:"text",id:"card-type",name:"card-type",label:"Tipo di Carta"},Qa={placeholder:"xxxx-xxxx-xxxx-xxx",type:"text",id:"card-number",name:"card-number",label:"Numero di Carta",maxLength:"16"},Ja={placeholder:"es. 123",type:"text",id:"card-cvv",name:"card-cvv",maxLength:"4",label:"CVV"},Za={placeholder:"Seleziona ...",type:"text",id:"card-expiration-month",name:"card-expiration-month",label:"Mese di scadenza"},qa={placeholder:"Seleziona ...",type:"text",id:"card-expiration-year",name:"card-expiration-year",label:"Anno di scadenza"},yr={placeholder:"es. Mario rossi",type:"text",id:"card-holder-name",name:"card-holder-name",label:"Titolare della carta",maxLength:"26"},Sc={placeholder:"es. [email protected]",type:"email",id:"card-holder-email",name:"card-holder-email",label:"Indirizzo Email",maxLength:"26"},Er={type:"checkbox",id:"terms-and-conditions",name:"terms-and-conditions",label:'Ho letto ed accetto i\n   <a target="_blank" href="privacy-policy">\n     Termini e Condizioni\n   </a>\n    del servizio e\n   <a target="_blank" href="https://www.conte.it/chi-siamo/dati-personali/privacy-policy/">\n      l\'Informativa sulla Privacy </a>'};new Pt.hs({value:za.value,disabled:!0}),new Pt.hs("",Pt.k0.required),new Pt.hs("",[Pt.k0.required]),new Pt.hs("",[Pt.k0.required]),new Pt.hs("",Pt.k0.required),new Pt.hs("",Pt.k0.required),new Pt.hs("",[Pt.k0.required,Pt.k0.minLength(2)]),new Pt.hs(!1,Pt.k0.requiredTrue);var wr=function(d){return d.Drivers="drivers",d.OnlyMainDriver="onlyMainDriver",d.Ages="ages",d.ListOfPeople="listOfPeople",d.AllDrivers="allDrivers",d}(wr||{}),ka=function(d){return d.Submission="Submission",d.Renewal="Renewal",d.PolicyChange="PolicyChange",d.Policy="Policy",d}(ka||{});class Ar{constructor(Qt,_e,Te,Ee){this.encryptedPolicy=Qt,this.paymentMethod=_e,this.creditCardDetails=Te,this.commercialPrivacy=Ee}}var er=function(d){return d.InternalError="InternalError",d.UsernameExists="UserNameExists",d.ValidationError="ValidationError",d.InvalidParameters="InvalidParameters",d.UwError="JobWithUWIssue",d.AniaError="AniaError",d}(er||{});class nr{}class Sr extends nr{}var or=function(d){return d[d.NP009=1]="NP009",d[d.AniaKo=2]="AniaKo",d}(or||{}),ir=function(d){return d[d.ShowWithPremium=1]="ShowWithPremium",d[d.ShowWithoutPremium=2]="ShowWithoutPremium",d}(ir||{}),ar=function(d){return d.AncillariesOnly="AncillaryOnly",d.ShowModal="Modal",d.RenewalEditOnly="RenewalEditOnly",d}(ar||{});const Dr=[{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice1",inputName:"driverAge",label:"Tutti i conducenti maggiori di anni 18",text:"18",value:"allDrivers"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice2",inputName:"driverAge",label:"19",text:"19",value:"3"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice3",inputName:"driverAge",label:"20",text:"20",value:"4"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice4",inputName:"driverAge",label:"21",text:"21",value:"5"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice5",inputName:"driverAge",label:"22",text:"22",value:"6"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice6",inputName:"driverAge",label:"23",text:"23",value:"7"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice7",inputName:"driverAge",label:"24",text:"24",value:"8"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice8",inputName:"driverAge",label:"25",text:"25",value:"9"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice9",inputName:"driverAge",label:"26",text:"26",value:"10"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice10",inputName:"driverAge",label:"27",text:"27",value:"11"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice11",inputName:"driverAge",label:"28",text:"28",value:"12"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice12",inputName:"driverAge",label:"29",text:"29",value:"18"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice13",inputName:"driverAge",label:"30",text:"30",value:"19"},{radioButtonStyle:"radio-button-box radio-button-no-padding",inputId:"driverAgeChoice14",inputName:"driverAge",label:"pi\xf9 di 30",text:"30+",value:"19"}],Lr=/^IT\d{2}[ ][a-zA-Z]\d{3}[ ]\d{4}[ ]\d{4}[ ]\d{4}[ ]\d{4}[ ]\d{3}|IT\d{2}[a-zA-Z]\d{22}$/},30020(ht,L,o){"use strict";o.d(L,{Mo:()=>e,k8:()=>n,i2:()=>t.i,HU:()=>t.H});var t=o(96387);const e="IT 46 Q 03268 03204 052869576843",n="Admiral Intermediary Services S.A."},96387(ht,L,o){"use strict";o.d(L,{H:()=>f,i:()=>c});var t=o(44181),e=o(80226),n=o(51203);const c=new e.nKC("environment");let f=(()=>{class M{static forRoot(r){return{ngModule:M,providers:[{provide:"environment",useValue:r},{provide:c,useValue:r}]}}static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=n.$C({type:M})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return M})()},35727(ht,L,o){"use strict";o.d(L,{SB:()=>k,ZN:()=>K.Z,vr:()=>Bt});var t=o(85810),e=o(74683),n=o(20078),c=o(31058),f=o(12378),M=o(45198),m=o(90373),r=o(88626),_=o(75089),g=o(80226),$=o(81383);let T=(()=>{class _t{constructor(Ut){this.apiService=Ut}doOperation(){return this.apiService.get({apiName:_.L3L.ApiCenter,uri:t.hR})}static{this.\u0275fac=function(ft){return new(ft||_t)(g.KVO($.V))}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})(),B=(()=>{class _t{constructor(Ut){this.apiService=Ut}
1doOperation(Ut,ft){const zt={...Ut,...ft};return this.apiService.post({apiName:_.L3L.ApiCenter,uri:t.hR,body:zt})}static{this.\u0275fac=function(ft){return new(ft||_t)(g.KVO($.V))}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})(),A=(()=>{class _t{constructor(Ut){this.apiService=Ut}doOperation(Ut){const ft={...Ut};return this.apiService.post({apiName:_.L3L.ApiCenter,uri:t.F2,body:ft})}static{this.\u0275fac=function(ft){return new(ft||_t)(g.KVO($.V))}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})(),I=(()=>{class _t{constructor(Ut){this.apiService=Ut}doOperation(Ut,ft){const zt={...Ut,...ft};return this.apiService.put({apiName:_.L3L.ApiCenter,uri:t.hR,body:zt})}static{this.\u0275fac=function(ft){return new(ft||_t)(g.KVO($.V))}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})(),C=(()=>{class _t{constructor(Ut){this.apiService=Ut}doOperation(Ut){const ft={...Ut};return this.apiService.put({apiName:_.L3L.ApiCenter,uri:t.F2,body:ft})}static{this.\u0275fac=function(ft){return new(ft||_t)(g.KVO($.V))}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})(),k=(()=>{class _t{constructor(Ut,ft,zt,jt,Nt,Dt){this.authService=Ut,this.hubspotPostContact=ft,this.hubspotPutContact=zt,this.hubspotGetContact=jt,this.hubspotPostDeal=Nt,this.hubspotPutDeal=Dt,this.email$=(0,n.v)(()=>(0,c.H)(this.authService.getCurrentUser())).pipe((0,f.T)(pe=>pe?.attributes?.email||""))}postContactUpsert(Ut,ft,zt){return(zt?.email?(0,c.H)([zt.email]):this.email$).pipe((0,M.n)(jt=>this.hubspotPostContact.doOperation(Ut,{lastPageUpdate:ft,email:jt,...zt||{}}).pipe((0,m.W)(Nt=>404===Nt?.status?this.hubspotPutContact.doOperation(Ut,{lastPageUpdate:ft,email:jt,...zt||{}}):(0,r.$)(()=>Nt)))))}getContactPrivacy(){return this.hubspotGetContact.doOperation()}postDealUpsert(Ut,ft){return(ft?.email?(0,c.H)([ft?.email]):this.email$).pipe((0,M.n)(zt=>this.hubspotPutDeal.doOperation({...Ut,email:zt,...ft||{}}).pipe((0,m.W)(jt=>422===jt.status?this.hubspotPostDeal.doOperation({...Ut,email:zt,...ft||{}}):(0,r.$)(()=>jt)))))}static{this.\u0275fac=function(ft){return new(ft||_t)(g.KVO(e.uR),g.KVO(B),g.
1KVO(I),g.KVO(T),g.KVO(A),g.KVO(C))}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}}return _t})();var s=o(76936),l=o(35491),E=o(31628),p=o(44181),h=o(23321),w=o(51203);let z=(()=>{class _t{static{this.\u0275fac=function(ft){return new(ft||_t)}}static{this.\u0275mod=w.$C({type:_t})}static{this.\u0275inj=g.G2t({imports:[p.MD,h.YN,E.h.forChild()]})}}return _t})(),v=(()=>{class _t{static{this.\u0275fac=function(ft){return new(ft||_t)}}static{this.\u0275mod=w.$C({type:_t})}static{this.\u0275inj=g.G2t({imports:[p.MD,h.YN,E.h.forChild()]})}}return _t})();var D=o(51364),N=o(67793),W=o(50596),pt=o(50741),ot=o(40451),gt=o(98958),et=function(_t){return _t.GenericError="errore-tecnico",_t}(et||{});let Et=(()=>{class _t{constructor(){this.router=(0,g.WQX)(D.Ix),this.actions$=(0,g.WQX)(s.En),this.authService=(0,g.WQX)(e.uR),this.hubSpotConsentApi=(0,g.WQX)(k),this.translate=(0,g.WQX)(E.c$),this.loadContact$=(0,s.EH)(()=>this.actions$.pipe((0,s.gp)(gt.tp),(0,M.n)(()=>(0,c.H)(this.authService.getCurrentUser()).pipe((0,W.p)(Boolean),(0,f.T)(Ut=>gt.sg({contact:Ut.attributes?.email||null})),(0,m.W)(Ut=>(0,N.of)(gt.ii({error:Ut}))))))),this.setDefaultConsents$=(0,s.EH)(()=>this.actions$.pipe((0,s.gp)(gt.pX),(0,f.T)(({interfaceType:Ut})=>gt.zh({consents:"renewal"===Ut?this.getBaseRenewalConsents():this.getBasePrivacyConsents()})))),this.loadConsents$=(0,s.EH)(()=>this.actions$.pipe((0,s.gp)(gt.Iq),(0,M.n)(()=>(0,c.H)(this.hubSpotConsentApi.getContactPrivacy()).pipe((0,f.T)(Ut=>gt.zh({consents:this.getBasePrivacyConsents(Ut)})),(0,m.W)(Ut=>Ut?.status?.toString().startsWith("5")?(0,N.of)(gt.m1()):(0,N.of)(gt.ii({error:Ut}))))))),this.hubSpotNotAvailableError$=(0,s.EH)(()=>this.actions$.pipe((0,s.gp)(gt.m1),(0,pt.M)(()=>{this.router.navigateByUrl(et.GenericError)})),{dispatch:!1}),this.updateConsentsFromExternal$=(0,s.EH)(()=>this.actions$.pipe((0,s.gp)(gt.IX),(0,f.T)(({consents:Ut})=>gt.zh({consents:this.getBasePrivacyConsents({thirdConsent:Ut.thirdConsent,marketingConsent:Ut.marketingConsent,profileConsent:Ut.profileConsent,commercialConsent:Ut.commercialConsent})}))))}ngrxOnInitEffects(){return gt.sr()}getBaseRenewalConsents(){return[{id:"marketingConsent",label:this.translate.instant(ot.o.MARKETING_LABEL),info:this.translate.instant(ot.o.MARKETING_INFO),checked:!1,showMore:!1},{id:"thirdConsent",label:this.translate.instant(ot.o.THIRD_LABEL),info:this.translate.instant(ot.o.THIRD_INFO),checked:!1,showMore:!1},{id:"profileConsent",label:this.translate.instant(ot.o.PROFILE_LABEL),info:this.translate.instant(ot.o.PROFILE_INFO),checked:!1,showMore:!1}]}getBasePrivacyConsents(Ut){return[{id:"marketingConsent",label:this.translate.instant(ot.R.MARKETING_LABEL),title:this.translate.instant(ot.R.MARKETING_TITLE),info:this.translate.instant(ot.R.MARKETING_INFO),checked:Ut?.marketingConsent??!1,showMore:!1},{id:"thirdConsent",label:this.translate.instant(ot.R.THIRD_LABEL),title:this.translate.instant(ot.R.THIRD_TITLE),info:this.translate.instant(ot.R.THIRD_INFO),checked:Ut?.thirdConsent??!1,showMore:!1},{id:"profileConsent",label:this.translate.instant(ot.R.PROFILE_LABEL),title:this.translate.instant(ot.R.PROFILE_TITLE),info:this.translate.instant(ot.R.PROFILE_INFO),checked:Ut?.profileConsent??!1,showMore:!1},{id:"commercialConsent",label:this.translate.instant(ot.R.COMMERCIAL_LABEL),title:this.translate.instant(ot.R.COMMERCIAL_TITLE),info:this.translate.instant(ot.R.COMMERCIAL_INFO),checked:Ut?.commercialConsent,showMore:!1}]}static{this.\u0275fac=function(ft){return new(ft||_t)}}static{this.\u0275prov=g.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();var K=o(77721),at=o(99913);let Bt=(()=>{class _t{static{this.\u0275fac=function(ft){return new(ft||_t)}}static{this.\u0275mod=w.$C({type:_t})}static{this.\u0275inj=g.G2t({providers:[K.Z],imports:[l.md.forFeature(at.aE,at.Ff),s.Vm.forFeature([Et]),z,v,E.h.forChild()]})}}return _t})()},40451(ht,L,o){"use strict";o.d(L,{R:()=>e,o:()=>t});const t={MARKETING_LABEL:"hubspotConsent.marketingLabel",MARKETING_INFO:"hubspotConsent.marketingInfo",THIRD_LABEL:"hubspotConsent.thirdLabel",THIRD_INFO:"hubspotConsent.thirdInfo",PROFILE_LABEL:"hubspotConsent.profileLabel",PROFILE_INFO:"hubspotConsent.profileInfo",LABEL:"hubspotConsent.mainConsentLabel"},e={MARKETING_LABEL:"hubspotConsentCard.marketingLabel",MARKETING_TITLE:"hubspotConsentCard.marketingTitle",MARKETING_INFO:"hubspotConsentCard.marketingInfo",THIRD_LABEL:"hubspotConsentCard.thirdLabel",THIRD_TITLE:"hubspotConsentCard.thirdTitle",THIRD_INFO:"hubspotConsentCard.thirdInfo",PROFILE_LABEL:"hubspotConsentCard.profileLabel",PROFILE_TITLE:"hubspotConsentCard.profileTitle",PROFILE_INFO:"hubspotConsentCard.profileInfo",COMMERCIAL_LABEL:"hubspotConsentCard.commercialLabel",COMMERCIAL_TITLE:"hubspotConsentCard.commercialTitle",COMMERCIAL_INFO:"hubspotConsentCard.commercialInfo"}},85810(ht,L,o){"use strict";o.d(L,{F2:()=>f,Z3:()=>t,hR:()=>c});const t={profileConsent:!1,thirdConsent:!1,marketingConsent:!1},n="consentmanagement-service/crm",c=`${n}
1/contact`,f=`${n}/deal`},98958(ht,L,o){"use strict";o.d(L,{IX:()=>$,Iq:()=>r,ii:()=>c,m1:()=>f,pX:()=>g,sg:()=>m,sr:()=>n,tp:()=>M,zh:()=>_});var t=o(35491);const e="[HubSpotConsentConnector]",n=(0,t.VP)(`${e} Init HubSpot Consent Connector Store`),c=(0,t.VP)(`${e} Common HubSpot Consent Connector Error`,(0,t.xk)()),f=(0,t.VP)(`${e} HubSpot Not Available Error`),M=(0,t.VP)(`${e} Load contact`),m=(0,t.VP)(`${e} Load contact Success`,(0,t.xk)()),r=(0,t.VP)(`${e} Load Consents`),_=(0,t.VP)(`${e} Load Consents Success`,(0,t.xk)()),g=(0,t.VP)(`${e} Set Default Consents`,(0,t.xk)()),$=(0,t.VP)(`${e} Update Consents From External`,(0,t.xk)())},77721(ht,L,o){"use strict";o.d(L,{Z:()=>$});var t=o(35491),e=o(12378),n=o(98958),c=o(99913);const f=(0,t.UX)(c.aE),r=((0,t.Mz)(f,T=>T.loaded),(0,t.Mz)(f,T=>T.error),(0,t.Mz)(f,T=>T.contact)),_=(0,t.Mz)(f,T=>T.privacyConsents);var g=o(80226);let $=(()=>{class T{constructor(A){this.store=A,this.contact$=this.store.pipe((0,t.Lt)(r)).pipe((0,e.T)(I=>I||"")),this.consents$=this.store.pipe((0,t.Lt)(_))}loadContact(){this.store.dispatch(n.tp())}loadConsents(){this.store.dispatch(n.Iq())}setDefaultConsents(A){this.store.dispatch(n.pX({interfaceType:A}))}updateConsentsFromExternal(A){this.store.dispatch(n.IX({consents:A}))}static{this.\u0275fac=function(I){return new(I||T)(g.KVO(t.il))}}static{this.\u0275prov=g.jDH({token:T,factory:T.\u0275fac})}}return T})()},99913(ht,L,o){"use strict";o.d(L,{Ff:()=>f,aE:()=>n});var t=o(35491),e=o(98958);const n="hubSpotConsentConnector",c={loaded:!1,contact:null,privacyConsents:null},f=(0,t.vy)(c,(0,t.on)(e.sr,()=>({...c})),(0,t.on)(e.ii,(M,m)=>({...M,error:m.error})),(0,t.on)(e.tp,M=>({...M,loaded:!1,error:null,contact:null})),(0,t.on)(e.sg,(M,m)=>({...M,contact:m.contact})),(0,t.on)(e.Iq,M=>({...M,loaded:!1,error:null})),(0,t.on)(e.zh,(M,m)=>({...M,privacyConsents:m.consents})))},79608(ht,L,o){"use strict";o.d(L,{MP:()=>M,zq:()=>m,br:()=>r,cu:()=>A,LP:()=>B,p:()=>I,s5:()=>h,AR:()=>n,l:()=>k});var t=o(44181),e=o(80226);let n=(()=>{class w{constructor(v,D){this.env=v,this.googleTagManagerId=D,this.isLoaded=!1,this.browserGlobals={windowRef:()=>window,documentRef:()=>document},this.gtmId=D,this.addGtmToDom()}addGtmToDom(){return new Promise(v=>{const D=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const N=D.createElement("script");N.id="GTMscript",N.async=!0,N.src="https://www.googletagmanager.com/gtm.js?id="+this.gtmId+"&gtm_auth="+this.env.tagManager.auth+"&gtm_preview=env-"+this.env.tagManager.env+"&gtm_cookies_win=x",D.head.insertBefore(N,D.head.firstChild);const W=D.createElement("iframe");W.setAttribute("src","https://www.googletagmanager.com/ns.html?id="+this.gtmId+"&gtm_auth="+this.env.tagManager.auth+"&gtm_preview=env-"+this.env.tagManager.env+"&gtm_cookies_win=x"),W.style.width="0",W.style.height="0",W.style.display="none",W.style.visibility="hidden";const pt=D.createElement("noscript");pt.id="GTMiframe",pt.appendChild(W),D.body.insertBefore(pt,D.body.firstChild),this.isLoaded=!0,v()})}pushTag(v){this.isLoaded||this.addGtmToDom(),this.pushOnDataLayer(v)}getDataLayer(){const v=this.browserGlobals.windowRef();return v.dataLayer=v.dataLayer||[],v.dataLayer}pushOnDataLayer(v){this.getDataLayer().push(v)}static{this.\u0275fac=function(D){return new(D||w)(e.KVO("environment"),e.KVO("googleTagManagerId"))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),c=(()=>{class w{constructor(v){this.gtmService=v}pushAdFormObj(v,D){this.gtmService.pushTag({...v,step:D})}static{this.\u0275fac=function(D){return new(D||w)(e.KVO(n))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var f=o(75089);const M="sendEvent2GTM",m="/",r="ANALYTICS_TRACK_VIEW",_="ANALYTICS_TRACK_EVENT";var B=function(w){return w.AddToWishList="add_to_wishlist",w.GenerateLead="generate_lead",w.Purchase="purchase",w.ViewItem="view_item",w.SelectItem="select_item",w.BeginCheckout="begin_checkout",w.AddToCart="add_to_cart",w.Error="error",w.Button="button",w.Unblock="unblock",w.Upload="upload",w}(B||{});let A=(()=>{class w{set customDimension20(v){this._customDimension20=v}constructor(v){this.gtmService=v}trackErrorAnalytics(v,D,N,W){this.trackEventAnalytics(B.Error,v,`service:${D}|errorCode:${N}|message:${W}`)}trackEventAnalytics(v,D,N,W,pt){this.trackEventAnalitycs(v,D,N,W,pt)}trackEventAnalitycs(v,D,N,W,pt){this.trackEventAnalyticsModel({eventCategory:v,eventAction:D,eventLabel:N,eventValue:W,dimension22:pt})}trackEventAnalyticsFull(v,D,N,W,pt,ot){const gt={eventCategory:D,eventAction:this.fieldEventAction(v),eventLabel:N,eventValue:W,dimension22:pt,dimension20:ot};this.trackEventAnalyticsModel(gt)}trackEventAnalyticsModel(v){this.gtmService.pushTag({...v,event:M,eventFilter:_})}trackEventAnalitycsModel(v){this.gtmService.pushTag({...v,event:M,eventFilter:_})}trackEventAnalyticsGA4Model(v,D){this.trackEventAnalitycsGA4Model(v,D)}trackEventAnalitycsGA4Model(v,D){this.gtmService.pushTag(D?{...v,event:D}:{...v})}trackPageAnalyticsProposalLight(v){const D={pageName:this.preparePageView(v),dimension6:v.creationNode,dimension9:this.getDimension9(v.campaignSource),dimension19:this.getGuarantees(v.garantiees),dimension20:this._customDimension20||v.dimension20};this.gtmService.pushTag({...D,event:M,eventFilter:r})}trackEventTransactionProposalLight(v,D,N){D[0].sku=f.SmA[D[0].sku],v.transactionId=N+v.transactionId,this.gtmService.pushTag({...v,transactionProducts:D,event:M,eventFilter:"ANALYTICS_TRACK_TRANSACTION"})}trackSimplePageAnalytics(v){const D={pageName:this.prepareSimplePageView(v)};this.gtmService.pushTag({...D,event:M,eventFilter:r})}trackPageObjectAnalytics(v){this.trackPageObjectAnalitycs(v)}trackPageObjectAnalitycs(v){this.gtmService.pushTag({...v,event:M,eventFilter:r})}getDimension9(v){return v||null}getVehicleType(v){return v.vehicleType?f.SmA[v.vehicleType]||v.vehicleType:"none"}getCreationNode(v){return v.creationNode?"nodo"+v.creationNode:"none"}getAppName(v){return v.appName?v.appName:"none"}getAppname(v){return v.appName?v.appName:"none"}getPagename(v){return v.pageName?v.pageName:"none"}getBusinessType(v){let D="new";
1const N=v.businessType;return N&&(N.jobIsRenewal?D="rn":N.submissionFNB&&(D="fnb")),D}getVersion(v){return v.version?v.version:"none"}getClosureTypeLogic(v){let D="";return D=v.landingPage?f.R1b.landing:v.showPaymentPage?f.R1b[this.getPaymentType(v)]:f.R1b.phone,D}getClosureType(v){return v.closureType?v.closureType:"none"}getPaymentType(v){return v.paymentType?f.Hks[v.paymentType]:"none"}getGuarantees(v){return this.getGarantees(v)}getGarantees(v){let D="";const N=[];return v?.forEach(W=>{W.code===f.lFj.kasko&&(D="kasko|"),W.code===f.lFj.telematics&&(D="satellite|"),W.code===f.lFj.fireAndTheft&&(D="fireAndTheft|"),W.code===f.lFj.miniKasko&&(D="collision|"),W.code===f.lFj.assistance&&(D="roadAssistance|"),W.code===f.lFj.assistancePlus&&(D="roadAssistancePlus|"),W.code===f.lFj.vandalism&&(D="actOfVandalism|"),W.code===f.lFj.crystals&&(D="windows|"),W.code===f.lFj.naturalEvents&&(D="naturalEvent|"),W.code===f.lFj.injury&&(D="driverInjury|"),W.code===f.lFj.injuryPlus&&(D="driverInjuryPlus|"),W.code===f.lFj.injuryTop&&(D="driverInjurySuperplus|"),W.code===f.lFj.legal&&(D="legalProtection|"),W.code===f.lFj.miniKasko&&(D="noAssuredRisk|"),W.code===f.lFj.rca&&(D="rca|"),N.push(D)}),""===D&&(D="none"+m),D="",N.sort().forEach(function(W){"rca|"===W&&(W="RCA|"),D+=W}),D.substring(0,D.length-1)}fieldEventAction(v){return this.getBusinessType(v)+"|"+this.getPagename(v)+"|"+this.getVersion(v)}prepareSimplePageViewLight(v){return this.getVehicleType(v)+m+this.getCreationNode(v)+m+this.getAppName(v)+m+this.getPagename(v)+m+this.getVersion(v)}prepareSimplePageView(v){return this.getVehicleType(v)+m+this.getCreationNode(v)+m+this.getAppName(v)+m+this.getPagename(v)+m+this.getVersion(v)+m+this.getBusinessType(v)+m+this.getClosureType(v)+m+this.getPaymentType(v)}preparePageView(v){return this.getVehicleType(v)+m+this.getCreationNode(v)+m+"portal"+m+this.getPagename(v)+m+this.getVersionUpSelling(v.kite,v.callUs)+m+this.getBusinessType(v)+m+this.getClosureTypeLogic(v)+m+this.getPaymentType(v)}getVersionUpSelling(v,D){let N;return N=v?"default|kiteKO":D?"callUs":"default",N}static{this.\u0275fac=function(D){return new(D||w)(e.KVO(n))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),I=(()=>{class w{get isPSD2(){return this._isPSD2}set isPSD2(v){this._isPSD2=v}constructor(v){this.gtmService=v,this.ANALYTICS_EVENT="sendEvent2GTM",this.ANALYTICS_SEPARATOR="/",this.ANALYTICS_TRACK_VIEW="ANALYTICS_TRACK_VIEW",this.ANALYTICS_TRACK_EVENT="ANALYTICS_TRACK_EVENT",this.ANALYTICS_TRACK_TRANSACTION="ANALYTICS_TRACK_TRANSACTION",this.COVERAGE_SEPARATOR="|"}trackEvent(v,D,N,W,pt,ot){this.gtmService.pushTag({eventCategory:v,eventAction:D,eventLabel:N,eventValue:W,dimension20:pt,dimension22:ot,event:this.ANALYTICS_EVENT,eventFilter:this.ANALYTICS_TRACK_EVENT})}trackTransaction(v,D){this.gtmService.pushTag({...v,products:D,event:this.ANALYTICS_EVENT,eventFilter:this.ANALYTICS_TRACK_TRANSACTION})}trackPageView(v){const D={pageName:this.createPageNamePath(v),dimension6:f.ulv.get(v.vehicleType),dimension9:v.campaignSource?v.campaignSource:null,dimension19:v.coverages?this.getCoverages(v.coverages):null,dimension20:v.dimension20,dimension22:v.dimension22};this.gtmService.pushTag({...D,event:this.ANALYTICS_EVENT,eventFilter:this.ANALYTICS_TRACK_VIEW})}getCoverages(v){let D="";const N=[];return v.forEach(W=>{W.code===f.$o$.kasko&&(D="kasko"+this.COVERAGE_SEPARATOR),W.code===f.$o$.satellitare&&(D="satellite"+this.COVERAGE_SEPARATOR),W.code===f.$o$.furtoIncendio&&(D="fireAndTheft"+this.COVERAGE_SEPARATOR),W.code===f.$o$.miniKasko&&(D="collision"+this.COVERAGE_SEPARATOR),W.code===f.$o$.assistenza&&(D="roadAssistance"+this.COVERAGE_SEPARATOR),W.code===f.$o$.attiVandalici&&(D="actOfVandalism"+this.COVERAGE_SEPARATOR),W.code===f.$o$.cristalli&&(D="windows"+this.COVERAGE_SEPARATOR),W.code===f.$o$.eventiNaturali&&(D="naturalEvent"+this.COVERAGE_SEPARATOR),W.code===f.$o$.infortunio&&(D="driverInjury"+this.COVERAGE_SEPARATOR),W.code===f.$o$.tutela&&(D="legalProtection"+this.COVERAGE_SEPARATOR),W.code===f.$o$.miniKasko&&(D="noAssuredRisk"+this.COVERAGE_SEPARATOR),W.code===f.$o$.collisione&&(D="collision"+this.COVERAGE_SEPARATOR),W.code===f.$o$.rca&&(D="rca"+this.COVERAGE_SEPARATOR),N.push(D)}),""===D&&(D="none"+this.ANALYTICS_SEPARATOR),D="",N.sort().forEac
1h(function(W){"rca|"===W&&(W="RCA|"),D+=W}),D.substring(0,D.length-1)}createPageNamePath(v){let D="";return v.vehicleType&&(D+=f.ulv.get(v.vehicleType)),v.creationNode&&(D+=this.ANALYTICS_SEPARATOR+f.DRT.get(v.creationNode)),v.appName&&(D+=this.ANALYTICS_SEPARATOR+f.co1.get(v.appName)),v.pageName&&(D+=this.ANALYTICS_SEPARATOR+(f.Y7r.get(v.pageName)||v.pageName)),v.version&&(D+=this.ANALYTICS_SEPARATOR+(f.sUK.get(v.version)||v.version)),v.businessType&&(D+=this.ANALYTICS_SEPARATOR+this.getPathBusinessType(v.businessType)),v.closureType&&(D+=f.zWJ.get(v.closureType)?this.ANALYTICS_SEPARATOR+f.zWJ.get(v.closureType):""),v.paymentType&&(D+=this.ANALYTICS_SEPARATOR+f.cHi.get(v.paymentType)),D}getPathBusinessType(v){let D="";if("string"==typeof v)D=f.Hqp.get(v);else{let N="";N=v.jobIsRenewal?"rn":v.submissionFNB?"fnb":v.jobIsManagedByBroker?"int":"new",D=f.Hqp.get(N)}return D}static{this.\u0275fac=function(D){return new(D||w)(e.KVO(n))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var C=o(51203);let k=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=C.$C({type:w})}static{this.\u0275inj=e.G2t({providers:[A,n,c,I,{provide:"googleTagManagerId",useValue:"GTM-PLV3C25"}],imports:[t.MD]})}}return w})();var l=o(75796),E=o(97253),p=function(w){return w.RenewalEdit="maps_renwal_edit",w.QuotationFlow="submission_quotation_flow",w}(p||{});let h=(()=>{class w{constructor(v){this.gtmService=v,this.placeDetails$=new E.B,this.prediction$=new E.B,this.browserGlobals={windowRef:()=>window,documentRef:()=>document}}GTMLoadMaps(v=p.RenewalEdit){this.browserGlobals.windowRef().google||this.gtmService.pushTag({event:v})}getAutocompleteList(v){var D=this;return(0,l.A)(function*(){const N=D.getPlacesAutocomplete(),W={input:v,fields:["formatted_address","geometry","name"],types:["address"],componentRestrictions:{country:"it"}};return yield N.getPlacePredictions(W,function(ot){return ot})})()}initMap(v){return new(this.getMapsService().Map)(document.getElementById(v),{zoom:8,center:{lat:42.519,lng:12.781},disableDefaultUI:!0})}getDetailsAndSetMap(v,D){var N=this;const W=this.browserGlobals.windowRef();W.google=W.google||[];const pt=this.initMap(D),ot={placeId:v,fields:["name","formatted_address","place_id","geometry","address_components"]},gt=new W.google.maps.Marker({map:pt,anchorPoint:new W.google.maps.Point(0,-29)});new W.google.maps.places.PlacesService(pt).getDetails(ot,function(){var Et=(0,l.A)(function*(K){return K.geometry.viewport?(pt.fitBounds(K.geometry.viewport),pt.setZoom(17)):pt.setCenter(K.geometry.location),pt.setZoom(17),gt.setPosition(K.geometry.location),gt.setVisible(!0),N.mapDetailObject(K,D),K});return function(K){return Et.apply(this,arguments)}}())}findPrediction(v,D,N=!1,W,pt){const ot=new E.B,gt=new window.google.maps.places.PlacesService(document.createElement("div"));let et=!1;const Et=D.toLowerCase(),K=W.toLowerCase(),at=pt.toLowerCase(),Bt=v.find(st=>{const Ut=st.description.toLowerCase();return Ut.includes(Et)&&Ut.includes(K)&&Ut.includes(at)}),_t=v.filter(st=>st.description.toLowerCase().includes(at));return Bt&&gt.getDetails({placeId:Bt.place_id,fields:["name","formatted_address","place_id","geometry","address_components"]},function(){var Ut=(0,l.A)(function*(ft){N&&(ft.address_components.find(zt=>"locality"===zt.types[0])?.long_name?.toLowerCase()===Et||ft.address_components.find(zt=>"administrative_area_level_3"===zt.types[0])?.long_name?.toLowerCase()===Et)&&ft.address_components.find(zt=>"route"===zt.types[0]).long_name?.toLowerCase()===at&&ft.address_components.find(zt=>"street_number"===zt.types[0]).long_name?.toLowerCase()===K&&!et&&(ot.next(Bt),et=!0)});return function(ft){return Ut.apply(this,arguments)}}()),_t&&!et&&_t.forEach(st=>{gt.getDetails({placeId:st.place_id,fields:["name","formatted_address","place_id","geometry","address_components"]},function(){var ft=(0,l.A)(function*(zt){N&&(zt.address_components.find(jt=>"locality"===jt.types[0])?.long_name?.toLowerCase()===Et||zt.address_components.find(jt=>"administrative_area_level_3"===jt.types[0]).long_name?.toLowerCase()===Et)&&zt.address_components.find(jt=>"route"===jt.types[0]).long_name?.toLowerCase()===at&&!et&&(ot.next(st),et=!0)});return function(zt){return ft.apply(this,arguments)}}())}),et||ot.next(null),ot.asObservable()}getPlacesAutocomplete(){const v=this.browserGlobals.windowRef();return v.google=v.google||[],new v.google.maps.places.AutocompleteService}getMapsService(){const v=this.browserGlobals.windowRef();return v.google=v.google||[],v.google.maps}mapDetailObject(v,D){const N={addressFound:!0,showMap:!0};N.addressId=D,N.formattedAddress=v.formatted_address,v.address_components.forEac
1h(W=>{switch(W.types[0]){case f.EXN.Route:N.toponym=W.long_name.split(" ")[0],N.route=W.long_name.substring(W.long_name.indexOf(" ")+1);break;case f.EXN.City:N.locality=W.long_name;break;case f.EXN.Province:N.province=W.short_name;break;case f.EXN.PostalCode:N.postalCode=W.long_name;break;case f.EXN.StreetNumber:N.civic=W.long_name}}),this.placeDetails$.next(N)}static{this.\u0275fac=function(D){return new(D||w)(e.KVO(n))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac})}}return w})()},24118(ht,L,o){"use strict";o.d(L,{sS:()=>ci,Y4:()=>k,jv:()=>et,w$:()=>ni,Pz:()=>fe,a6:()=>S,Jo:()=>Zn,e4:()=>kt,W_:()=>bo,h4:()=>Co,lk:()=>Li,ns:()=>ko,pf:()=>da,m_:()=>_a,uu:()=>yn,JV:()=>Bt,m0:()=>Ai,TN:()=>wa,Tr:()=>bn});var t=o(35491);const e=(0,t.VP)("[Ania] Ania Load",(0,t.xk)()),n=(0,t.VP)("[Ania] Ania Success",(0,t.xk)()),c=(0,t.VP)("[Ania] Ania Error",(0,t.xk)()),f=(0,t.VP)("[Ania] Ania Reset State");var M=o(37754);const m="ania",r={loaded:!1},_=(0,M._J)(r,(0,t.on)(e,u=>({...u,loaded:!1,error:null})),(0,t.on)(n,(u,{ania:Ft})=>({...u,loaded:!0,ania:Ft})),(0,t.on)(c,(u,{error:Ft})=>({...u,error:Ft})),(0,t.on)(f,()=>r)),$=(0,t.UX)(m),T=(0,t.Mz)($,u=>u.loaded),B=(0,t.Mz)($,u=>u.ania),A=(0,t.Mz)(B,u=>u?.reasonLossPossession),I=(0,t.Mz)($,u=>u.error);var C=o(80226);let k=(()=>{class u{constructor(ct){this.store=ct,this.getAniaLoaded$=this.store.pipe((0,t.Lt)(T)),this.getAniaSuccess$=this.store.pipe((0,t.Lt)(B)),this.reasonLossPossession$=this.store.pipe((0,t.Lt)(A)),this.getAniaError$=this.store.pipe((0,t.Lt)(I))}loadAnia(ct){this.store.dispatch(e({aniaParams:ct}))}resetState(){this.store.dispatch(f())}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(t.il))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();var s=o(44181),l=o(76936),E=o(11509),p=o(37657),h=o(28955),w=o(67793),z=o(50741),v=o(45198),D=o(12378),N=o(90373),W=o(59681);let pt=(()=>{class u{constructor(ct,xt){this.httpClient=ct,this.env=xt}aniaCheck(ct){return this.httpClient.post(this.env.urls.policyChange||"",{id:"",jsonrpc:"2.0",method:"aniaCheck_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),ot=(()=>{class u{constructor(ct,xt,Me,De,Po){this.actions$=ct,this.translateService=xt,this.routerFacade=Me,this.aniaService=De,this.modalFacade=Po,this.ania$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(e),(0,z.M)(()=>this.modalFacade.loadOpenModal("ModalLoadingComponent",{inputs:{text:this.translateService.instant(p.zl.MODAL.ANIA.TEXT)}})),(0,v.n)(Fn=>this.aniaService.aniaCheck(Fn.aniaParams).pipe((0,D.T)(yo=>n({ania:yo.result})),(0,N.W)(yo=>(this.routerFacade.dispatchNavigation([p.EV.Error]),(0,w.of)(c({error:yo})))),(0,z.M)(()=>this.modalFacade.loadCloseModal())))))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(M.c$),C.KVO(E.IO),C.KVO(pt),C.KVO(h.y))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();var gt=o(51203);let et=(()=>{class u{static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275mod=gt.$C({type:u})}static{this.\u0275inj=C.G2t({providers:[pt,k],imports:[t.md.forFeature(m,_),l.Vm.forFeature([ot]),s.MD,M.h.forChild()]})}}return u})();const Et=(0,t.VP)("[Vehicle Data Step] Load Vehicle Data Step",(0,t.xk)()),K=(0,t.VP)("[Change Vehicle Data] Reset State");var at=o(75089);const Bt="vehicleDataStep",_t={loaded:!1},st=(0,t.vy)(_t,(0,t.on)(Et,(u,{vehicleDataStep:Ft})=>({...u,loaded:!0,vehicleDataStep:Ft})),(0,t.on)(K,()=>_t));function Ut(u,Ft){return st(u,Ft)}const ft=(0,t.UX)(Bt),zt=(0,t.Mz)(ft,u=>u.vehicleDataStep),jt=(0,t.Mz)(zt,u=>{const Ft=new at.Qnl(u?.date);return Ft.setHours(Number(u?.time)),Ft.getTime()}),Nt=(0,t.Mz)(zt,u=>u?.possessionLostDate),Dt=(0,t.Mz)(zt,u=>Math.max((new at.Qnl).getTime(),u?.possessionLostDate||0)),pe=(0,t.Mz)(zt,u=>u?.reason),Lt=(0,t.Mz)(zt,u=>(0,M.Vc)(u?.date||0));let fe=(()=>{class u{constructor(ct){this.store=ct,this.getNewVehicleStartMinDate$=this.store.pipe((0,t.Lt)(Dt)),this.vehicleChangeReason$=this.store.pipe((0,t.Lt)(pe)),this.getItemListHours$=this.store.pipe((0,t.Lt)(Lt)),this.vehicleData$=this.store.pipe((0,t.Lt)(zt)),this.effectiveDateWithTime$=this.store.pipe((0,t.Lt)(jt)),this.possessionLostDate$=this.store.pipe((0,t.Lt)(Nt))}loadVehicleDataStep(ct){this.store.dispatch(Et({vehicleDataStep:ct}))}resetState(){this.store.dispatch(K())}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(t.il))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),St=(()=>{class u{static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275mod=gt.$C({type:u})}static{this.\u0275inj=C.G2t({providers:[fe],imports:[t.md.forFeature
1(Bt,Ut),s.MD,M.h.forChild()]})}}return u})();const Xt=(0,t.VP)("[Info Request Page] Go to Info Request Page",(0,t.xk)());let S=(()=>{class u{constructor(ct){this.store=ct}navigateToInfoRequestPage(ct){this.store.dispatch(Xt({infoRequestData:ct}))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(t.il))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();(new at.Qnl).addDays(3).setHours(0,0,0),(new at.Qnl).addDays(71).setHours(0,0,0),(new at.Qnl).addDays(1).setHours(0,0,0);const y=(0,t.VP)("[Load Policy Change] Load Policy Change",(0,t.xk)()),U=(0,t.VP)("[Load Policy Change] Load Policy Change Success",(0,t.xk)()),F=(0,t.VP)("[Load Policy Change] Load Policy Change Error",(0,t.xk)()),G=(0,t.VP)("[Load Policy Change] Load Policy Change Reset State"),dt=(0,t.VP)("[Load Policy Change] Load Policy Change Reset Error State"),ut=(0,t.VP)("[Policy Change] Set Total Cost Different From Zero"),yt="loadPolicyChange",Re={loaded:!1},Pe=(0,M._J)(Re,(0,t.on)(y,u=>({...u,loaded:!1,error:void 0})),(0,t.on)(U,(u,{loadPolicyChange:Ft})=>({...u,loaded:!0,loadPolicyChange:Ft})),(0,t.on)(F,(u,{error:Ft})=>({...u,error:Ft})),(0,t.on)(G,()=>Re),(0,t.on)(dt,u=>({...u,error:void 0,totalCostDifferentFromZero:void 0})),(0,t.on)(ut,u=>({...u,totalCostDifferentFromZero:!0}))),oe="Policy Change",wt=(0,t.VP)(`[${oe}] Quote load!`,(0,t.xk)()),tt=(0,t.VP)(`[${oe}] Quote load success!`,(0,t.xk)()),H=(0,t.VP)(`[${oe}] Quote load error!`,(0,t.xk)()),nt=(0,t.VP)(`[${oe}] Quote reset!`),V="quoteFeature",Gt={loaded:!1,error:null,quote:null},Yt=(0,t.vy)(Gt,(0,t.on)(wt,u=>({...u,loaded:!1,error:null,quote:null})),(0,t.on)(tt,(u,{quote:Ft})=>({...u,loaded:!0,quote:Ft})),(0,t.on)(H,(u,{error:Ft})=>({...u,error:Ft})),(0,t.on)(nt,()=>Gt)),se="Save Pre Quote",He=(0,t.VP)(`[${se}] Load Save Pre Quote Quote`,(0,t.xk)()),sn=(0,t.VP)(`[${se}] Save Pre Quote Quote Success`,(0,t.xk)()),Ae=(0,t.VP)(`[${se}] Save Pre Quote Quote Error`,(0,t.xk)()),gn=(0,t.VP)(`[${se}] Save Pre Quote Quote Reset State`),hn="savePreQuoteQuote",Hn={loaded:!1,error:null,savePreQuoteQuote:null},rn=(0,M._J)(Hn,(0,t.on)(He,u=>({...u,loaded:!1,error:null})),(0,t.on)(sn,(u,{savePreQuoteQuote:Ft})=>({...u,loaded:!0,savePreQuoteQuote:Ft})),(0,t.on)(Ae,(u,{error:Ft})=>({...u,error:Ft})),(0,t.on)(gn,()=>Hn)),J=(0,t.VP)("[Start Policy Change] Load Start Policy Change",(0,t.xk)()),Wt=(0,t.VP)("[Start Policy Change] Start Policy Change Success",(0,t.xk)()),te=(0,t.VP)("[Start Policy Change] Start Policy Change Error",(0,t.xk)()),me=(0,t.VP)("[Start Policy Change] Start Policy Change Reset State"),Se="startPolicyChange",Ue={loaded:!1},ln=(0,M._J)(Ue,(0,t.on)(J,u=>({...u,loaded:!1,error:null})),(0,t.on)(Wt,(u,{startPolicyChange:Ft})=>({...u,loaded:!0,startPolicyChange:Ft})),(0,t.on)(te,(u,{error:Ft})=>({...u,error:Ft})),(0,t.on)(me,()=>Ue)),Un="Start Suspension",nn=(0,t.VP)(`[${Un}] Load Start Suspension`,(0,t.xk)()),In=(0,t.VP)(`[${Un}] Start Suspension Success`,(0,t.xk)()),Le=(0,t.VP)(`[${Un}] Start Suspension Error`,(0,t.xk)()),Gn=(0,t.VP)(`[${Un}] Start Suspension Reset State`),Pn=(0,t.VP)(`[${Un}] Start Suspension Reset Error State`),io="startSuspension",Cn={loaded:!1},Qn=(0,M._J)(Cn,(0,t.on)(nn,u=>({...u,loaded:!1,error:null})),(0,t.on)(In,(u,{startSuspension:Ft})=>({...u,loaded:!0,startSuspension:Ft})),(0,t.on)(Le,(u,{error:Ft})=>({...u,error:Ft})),(0,t.on)(Gn,()=>Cn),(0,t.on)(Pn,u=>({...u,error:void 0}))),bn=p.lI,mn=(0,t.UX)(bn),cn={[Se]:ln,[yt]:Pe,[io]:Qn,[V]:function ge(u,Ft){return Yt(u,Ft)},[hn]:rn};var tn=o(50596);let je=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}loadPolicyChange(ct){const xt=this.environment.urls.policyChange||"",Me=ct.operation;if(Me===at.VN8.Suspension)return this.http.post(xt,{jsonrpc:"2.0",method:"startSuspension_AIT",params:[ct]});if(Me===at.VN8.ChangePolicy||Me===at.VN8.Reactivation)return this.http.post(xt,{jsonrpc:"2.0",method:"loadPolicyChangeWithEffectiveDate_AIT",params:[ct]});throw new Error(`Operation ${Me} not supported`)}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Jn=(()=>{class u{constructor(ct,xt,Me,De,Po){this.actions$=ct,this.spinnerFacade=xt,this.routerFacade=Me,this.navigateService=De,this.loadPolicyChangeService=Po,this.loadPolicyChange$=(0,l.
1EH)(()=>this.actions$.pipe((0,l.gp)(y),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(Fn=>this.loadPolicyChangeService.loadPolicyChange(Fn.requestParams).pipe((0,D.T)(({result:yo,error:_o})=>yo&&this.isSuspensionNotFree(yo)?ut():_o?F({error:_o}):U({loadPolicyChange:yo})),(0,N.W)(yo=>(this.routerFacade.dispatchNavigation([p.EV.Error]),(0,w.of)(F({error:yo})))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.loadPolicyChangeSuccess$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(U),(0,tn.p)(({loadPolicyChange:{policyChange:Fn}})=>!!Fn.suspension),(0,D.T)(()=>this.navigateService.navigateTo([p.EV.PolicyChange,p.Vu.Payment]))),{dispatch:!1})}isSuspensionNotFree(ct){return!!(ct.policyChange&&ct.policyChange.suspension&&ct.insurance&&0!==ct.insurance.totalCost)}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(E.ec),C.KVO(E.IO),C.KVO(M.TF),C.KVO(je))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const An=u=>{const Ft=u?.vehicle;return(0,M.$Z)(Ft.brand.description,Ft.model.description,Ft.version.description)},dn=u=>({businessType:{jobIsRenewal:!1,submissionFNB:!1},vehicleType:u?.vehicle?.type?.code??"none",creationNode:u?"000":"none",appName:p.JB.PA,pageName:p.JB.ff,version:p.JB.qN}),$n=u=>{if(u){const Ft=u.policyChange;let ct;Ft.suspension?ct=at.XJp.Suspension:Ft.reactivation?ct=at.XJp.Reactivation:Ft.vehicleChange&&(ct=at.XJp.VehicleChange);const xt=u.subject,Me=u.vehicle,De=u.insurance,Po=u.newVehicleCoverages,Fn={vehicleType:Me.type,policyHolderName:xt.name,policyHolderSurname:xt.surname,paymentFlow:ct,paymentTotalAmount:De.totalCost,vehiclePlate:Me.plateNumber,vehicleBrand:Me.brand,vehicleModel:Me.model,vehicleVersion:Me.version,policyChange:u.policyChange,encryptedJobNumber:De.encryptedJobNumber,encryptedPolicyNumber:De.encryptedPolicyNumber,isRenewalPhase:De.isRenewalPhase};if(Ft.reactivation)Fn.paymentTotalAmount=0;else if(Ft.suspension){const yo="A009";Fn.newOctoCoverage=Po?.coverages.find(_o=>_o.code===yo)}return Fn}},vn=(0,t.Mz)(mn,u=>u.loadPolicyChange),zn=(0,t.Mz)(vn,u=>u.loaded),on=(0,t.Mz)(vn,u=>u.loadPolicyChange),mo=(0,t.Mz)(vn,u=>u.error),to=(0,t.Mz)(vn,u=>u.totalCostDifferentFromZero),co=(0,t.Mz)(on,u=>{const Ft=u?.status?.code;return{...u?.status,color:Ft?at.M_Y[Ft]:void 0}}),We=(0,t.Mz)(on,u=>u?An(u):void 0),xe=(0,t.Mz)(on,u=>{const Ft=u?.subject,ct=u?.policyChange;let xt;return ct?.suspension?xt=at.XJp.Suspension:ct?.reactivation&&(xt=at.XJp.Reactivation),{policyHolderName:Ft?.name??"",vehicleType:u?.vehicle?.type?.description,paymentFlow:xt}}),Tt=(0,t.Mz)(on,dn),Qe=(0,t.Mz)(on,u=>u?.policyChange?.suspension?{...u.policyChange.suspension,suspensionTypeDesc:at.kWz.get(u.policyChange.suspension.typology)}:u?.policyChange?.reactivation?u.policyChange.reactivation:null),At=(0,t.Mz)(on,$n),Jt=(0,t.Mz)(on,u=>u?.insurance?.encryptedJobNumber),de=(0,t.Mz)(on,u=>u?.insurance?.jobNumber),$e=(0,t.Mz)(on,u=>(0,M.qu)(u?.insurance?.totalCost||0).split(",")),Fe=(0,t.Mz)(on,u=>u?.insurance?.totalCost),bt=(0,t.Mz)(on,u=>u?.policyChange?.suspension?at.XJp.Suspension:u?.policyChange?.reactivation?at.XJp.Reactivation:u?.policyChange?.vehicleChange?at.XJp.VehicleChange:void 0),le=(0,t.Mz)(on,u=>{const Ft=u?.policyChange;return Ft?.suspension?Ft.suspension.typology===at.XvD.Voluntary?at.nzg:at.CPL:null}),$t=(0,t.Mz)(on,u=>{const Ft={businessType:"",vehicleType:u?.vehicle?.type?.code||"",creationNode:u?"000":"none",appName:p.JB.PA,version:p.JB.qN,pageName:p.JB.F_,dimension22:`product-${u?.insurance.policyNumber}`,closureType:p.JB.kM};u?.policyChange?.suspension?Ft.businessType=at.XJp.Suspension:u?.policyChange?.reactivation&&(Ft.businessType=at.XJp.Reactivation);const ct=u?.policyChange?.suspension?.typology;return ct===at.XvD.Voluntary&&(Ft.pageName=p.JB.oD),ct===at.XvD.MotoFree?Ft.pageName=p.JB.T6:ct!==at.XvD.Voluntary&&(Ft.pageName=p.JB.cZ),Ft}),ie=(0,t.Mz)(on,u=>void 0!==u?.policyChange?.suspension),Ve=(0,t.Mz)(on,u=>void 0!==u?.policyChange?.reactivation),On=(0,t.Mz)(on,u=>u?.policyChange?.suspension?.typology);let Zn=(()=>{class u{constructor(){this.store=(0,C.WQX)(t.il),this.getLoadPolicyChangeLoaded$=this.store.pipe((0,t.Lt)(zn)),this.getLoadPolicyChangeSuccess$=this.store.pipe((0,t.Lt)(on)),this.getLoadPolicyChangeError$=this.store.pipe((0,t.Lt)(mo)),this.getTotalCostDifferentFromZero$=this.store.pipe((0,t.Lt)(to)),this.get
1Status$=this.store.pipe((0,t.Lt)(co)),this.getVehicleInfo$=this.store.pipe((0,t.Lt)(We)),this.dataForInfoRequest$=this.store.pipe((0,t.Lt)(xe)),this.getPageViewForErrorPageTracking$=this.store.pipe((0,t.Lt)(Tt)),this.policyChangeData$=this.store.pipe((0,t.Lt)(Qe)),this.dataForThankYouPage$=this.store.pipe((0,t.Lt)(At)),this.encryptedJobNumber$=this.store.pipe((0,t.Lt)(Jt)),this.jobNumber$=this.store.pipe((0,t.Lt)(de)),this.paymentAmount$=this.store.pipe((0,t.Lt)($e)),this.totalCost$=this.store.pipe((0,t.Lt)(Fe)),this.getPaymentFlow$=this.store.pipe((0,t.Lt)(bt)),this.getContractorDataMapList$=this.store.pipe((0,t.Lt)(le)),this.getPageViewTracking$=this.store.pipe((0,t.Lt)($t)),this.getPolicySuspensionType$=this.store.pipe((0,t.Lt)(On)),this.getIsSuspension$=this.store.pipe((0,t.Lt)(ie)),this.getIsReactivation$=this.store.pipe((0,t.Lt)(Ve))}loadLoadPolicyChange(ct){this.store.dispatch(y({requestParams:ct}))}loadLoadPolicyChangeSuccess(ct){this.store.dispatch(U({loadPolicyChange:ct}))}resetState(){this.store.dispatch(G())}resetErrorState(){this.store.dispatch(dt())}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();var so=o(24492),go=o(76463),q=o(8659),Kt=o(81383);let it=(()=>{class u{constructor(){this.apiService=(0,C.WQX)(Kt.V),this.upDownSellingCoverageFacade=(0,C.WQX)(go.Al)}quote(ct,xt,Me){const De=q.wO.Quotation.replace(q.Vo.PolicyNumber,xt).replace(q.Vo.TransactionId,Me);return this.apiService.put({apiName:at.L3L.ApiCenter,uri:De,body:ct})}mapUpdateCoverageRequest(ct,xt,Me){return{encryptedJobNumber:ct||"",vehicleCoverages:{vehicleCoverageID:xt||"",coverages:Me}}}mapNotTransferableCoverages(ct){return ct.map(({code:xt})=>this.upDownSellingCoverageFacade.translate(xt).name).join(", ")}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),It=(()=>{class u{constructor(){this.actions$=(0,C.WQX)(l.En),this.spinnerFacade=(0,C.WQX)(E.ec),this.routerFacade=(0,C.WQX)(E.IO),this.quoteService=(0,C.WQX)(it),this.upDownSellingCoverageFacade=(0,C.WQX)(go.Al),this.loadQuote$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(wt),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({request:ct,policyNumber:xt,transactionId:Me})=>this.quoteService.quote(ct,xt,Me).pipe((0,D.T)(De=>tt({quote:De})),(0,N.W)(De=>(0,w.of)(H({error:De}))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.loadQuoteSuccess$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(tt),(0,z.M)(({quote:{coverages:ct}})=>this.upDownSellingCoverageFacade.setCoveragesLists(ct,{fetchCoverages:!0}))),{dispatch:!1}),this.loadQuoteError$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(H),(0,tn.p)(({error:ct})=>ct.code!==at.hxv.AntiFraudValidationError),(0,z.M)(()=>this.routerFacade.dispatchNavigation([p.EV.Error]))),{dispatch:!1})}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),ae=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}savePreQuoteQuote(ct){return this.http.post(this.environment.urls.policyChange||"",{jsonrpc:"2.0",method:"saveDraftPrequoteQuote_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Zt=(()=>{class u{constructor(){this.actions$=(0,C.WQX)(l.En),this.spinnerFacade=(0,C.WQX)(E.ec),this.routerFacade=(0,C.WQX)(E.IO),this.savePreQuoteQuoteService=(0,C.WQX)(ae),this.paymentStepFacade=(0,C.WQX)(so.Lz),this.savePreQuoteQuote$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(He),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({requestParams:ct,paymentFlow:xt})=>this.savePreQuoteQuoteService.savePreQuoteQuote(ct).pipe((0,D.T)(({result:Me,error:De})=>De?Ae({error:De}):sn({savePreQuoteQuote:Me,paymentFlow:xt})),(0,N.W)(Me=>(this.routerFacade.dispatchNavigation([p.EV.Error]),(0,w.of)(Ae({error:Me})))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.savePreQuoteError$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(Ae),(0,tn.p)(({error:ct})=>ct?.code!==at.hxv.AntiFraudValidationError),(0,z.M)(()=>
1this.routerFacade.dispatchNavigation([p.EV.Error]))),{dispatch:!1}),this.savePreQuoteSuccess$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(sn),(0,D.T)(({savePreQuoteQuote:ct})=>{this.paymentStepFacade.loadPaymentStep(ct,!0)})),{dispatch:!1})}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),he=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}startPolicyChange(ct){return this.http.post(this.environment.urls.policyChange||"",{jsonrpc:"2.0",method:"startPolicyChange_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),be=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}startSuspension(ct){return this.http.post(this.environment.urls.policyChange||"",{jsonrpc:"2.0",method:"startSuspension_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();var Je=o(72471),pn=o(97253);let yn=(()=>{class u{constructor(){this.modalService=(0,C.WQX)(h.Bg),this.translateService=(0,C.WQX)(M.c$),this.subject$=new pn.B}openModalForUnfinishedFlow(ct){const xt=ct.charAt(0).toUpperCase()+ct.slice(1);return this.modalService.openComponent(Je.Nfd,{inputs:{modalLogoutStyle:"modal-suspension",icon:"illustration-error",title:this.translateService.instant(`${ct}PolicyChangePayment.exit${xt}Flow.title`),text:this.translateService.instant(`${ct}PolicyChangePayment.exit${xt}Flow.text`),primaryButtonText:this.translateService.instant(`${ct}PolicyChangePayment.exit${xt}Flow.primaryButtonText`),secondaryButtonText:this.translateService.instant(`${ct}PolicyChangePayment.exit${xt}Flow.secondaryButtonText`)},outputs:{$closeClickOutput:()=>this.emitModalSubjectChoice(!1),$outsideClickOutput:()=>this.emitModalSubjectChoice(!1),$primaryButtonClickOutput:()=>this.emitModalSubjectChoice(!1),$secondaryButtonClickOutput:()=>this.emitModalSubjectChoice(!0)}}),this.subject$.asObservable()}emitModalSubjectChoice(ct){this.modalService.dismiss(),this.subject$.next(ct)}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),ho=(()=>{class u{constructor(ct,xt,Me,De){this.actions$=ct,this.spinnerFacade=xt,this.routerFacade=Me,this.startPolicyChangeService=De,this.startPolicyChange$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(J),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(Po=>this.startPolicyChangeService.startPolicyChange(Po.requestParams).pipe((0,D.T)(Fn=>Wt({startPolicyChange:Fn.result})),(0,N.W)(Fn=>(this.routerFacade.dispatchNavigation(["error"]),(0,w.of)(te({error:Fn})))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(E.ec),C.KVO(E.IO),C.KVO(he))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),En=(()=>{class u{constructor(ct,xt,Me,De,Po,Fn,yo){this.actions$=ct,this.spinnerFacade=xt,this.stepperFacade=Me,this.routerFacade=De,this.navigateService=Po,this.startSuspensionService=Fn,this.paymentStepFacade=yo,this.startSuspension$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(nn),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({requestParams:_o,paymentFlow:na})=>this.startSuspensionService.startSuspension(_o).pipe((0,D.T)(({result:li,error:So})=>So?Le({error:So}):In({startSuspension:li,paymentFlow:na})),(0,N.W)(li=>(this.routerFacade.dispatchNavigation([p.EV.Error]),(0,w.of)(Le({error:li})))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner()))))),this.startSuspensionSuccess$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(In),(0,D.T)(({startSuspension:_o,paymentFlow:na})=>{const li=_o.policyChange;if(na===at.XJp.VehicleChange){const So={..._o,insurance:{..._o.insurance,paymentDetails:{..._o.insurance.paymentDetails,threshold:0}}};this.stepperFacade.addStep(1,{code:p.Hx.Suspension},!0),this.stepperFacade.goToNextStep(),this.navigateService.navigateTo([p.EV.PolicyChange,p.Vu.VehicleChange,p.x.Suspension]),this.paymentStepFacade.loadPaymentStep(So)}else li.suspension&&this.navigateService.navigateTo([p.EV.PolicyChange,p.Vu.Payment])})),{dispatch:!1})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(E.ec),C.KVO(M.An),C.KVO(E.IO),C.KVO(M.TF),C.KVO(be),C.KVO(so.Lz))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),bo=(()=>{class u{static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275mod=gt.$C({type:u})}static{this.\u0275inj=C.G2t({providers:[je,he,be,it,ae,yn,M.TF],imports:[so.BF,St,t.md.forFeature
1(bn,cn),l.Vm.forFeature([ho,Jn,En,Zt,It])]})}}return u})();var vo=o(50289);const Vo=(0,t.Mz)(mn,u=>u.quoteFeature),Eo=(0,t.Mz)(Vo,u=>u.quote),lo=(0,t.Mz)(Vo,u=>u.error),xo=(0,t.Mz)(Eo,u=>u?(0,M.$Z)(u.vehicle.brand.description,u.vehicle.model.description,u.vehicle.version.description):""),Ko=(0,t.Mz)(Eo,u=>u?.vehicleCoverageID),jo=(0,t.Mz)(Eo,u=>u?.insurance.encryptedJobNumber),Ri=(0,t.Mz)(Eo,u=>u?u.coverages.filter(Ft=>Ft.coveredPreviously&&!Ft.availableCoverage):[]);let Li=(()=>{class u{constructor(){this.store=(0,C.WQX)(t.il),this.upDownSellingCoverageFacade=(0,C.WQX)(go.Al),this.quoteService=(0,C.WQX)(it),this.getQuoteSuccess$=this.store.select(Eo),this.quoteDataForClosureTelephone$=this.getQuoteSuccess$.pipe((0,D.T)(ct=>function zo(u){if(!u)throw new Error("Quote data are undefined");const{subject:Ft,vehicle:ct,insurance:xt,vehicleChangeDetail:Me}=u;return{policyHolderName:Ft.name,vehicleType:ct.type,policyHolderSurname:Ft.surname,vehiclePlate:ct.plateNumber,vehicleBrand:ct.brand,vehicleModel:ct.model,vehicleVersion:ct.version,paymentTotalAmount:xt.totalCost,policyExpirationDate:xt.expirationDate,jobNumber:xt.jobNumber,vehicleChangeEffectiveDate:Me.effectiveDate}}(ct))),this.getQuoteError$=this.store.select(lo),this.vehicleModelDescription$=this.store.select(xo),this.updateCoverageRequest$=this.store.select(jo).pipe((0,vo.E)(this.store.select(Ko),this.upDownSellingCoverageFacade.coveragesCompleteUpdateService$),(0,D.T)(([ct,xt,Me])=>this.quoteService.mapUpdateCoverageRequest(ct,xt,Me))),this.notTransferableCoverages$=this.store.select(Ri).pipe((0,D.T)(ct=>this.quoteService.mapNotTransferableCoverages(ct)))}loadQuote(ct,xt,Me){this.store.dispatch(wt({request:ct,policyNumber:xt,transactionId:Me}))}resetState(){this.store.dispatch(nt())}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const Wo=(0,t.Mz)(mn,u=>u.savePreQuoteQuote),oi=(0,t.Mz)(Wo,u=>u.loaded),ii=(0,t.Mz)(Wo,u=>u.savePreQuoteQuote),Mo=(0,t.Mz)(Wo,u=>u.error);let ko=(()=>{class u{constructor(ct){this.store=ct,this.getSavePreQuoteQuoteLoaded$=this.store.pipe((0,t.Lt)(oi)),this.getSavePreQuoteQuoteSuccess$=this.store.pipe((0,t.Lt)(ii)),this.savePreQuoteQuoteError$=this.store.pipe((0,t.Lt)(Mo))}loadSavePreQuoteQuote(ct,xt){this.store.dispatch(He({requestParams:ct,paymentFlow:xt}))}resetState(){this.store.dispatch(gn())}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(t.il))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const Qo=(0,t.Mz)(mn,u=>u.startPolicyChange),Do=(0,t.Mz)(Qo,u=>u.loaded),ye=(0,t.Mz)(Qo,u=>u.startPolicyChange),eo=(0,t.Mz)(Qo,u=>u.error),wn=(0,t.Mz)(ye,u=>u?.policyChange),ui=(0,t.Mz)(ye,u=>u?.subject.name),_i=(0,t.Mz)(ye,u=>u?u.subject.name+" "+u.subject.surname:""),Mi=(0,t.Mz)(ye,u=>u?u.policyChange.reactivation?.suspensionDate:void 0),wo=(0,t.Mz)(ye,u=>{const Ft=u?.insurance,ct=u?.vehicle,xt=u?.subject;return[{dataMapList:at.WyU,inputData:{plateNumber:ct.plateNumber,policyHolderFullName:xt.name+" "+xt.surname,effectiveDate:Ft.effectiveDate,expirationDate:Ft.expirationDate}}]}),Io=(0,t.Mz)(ye,wo,(u,Ft)=>[{dataMapList:at.WLM,inputData:{...Ft[0].inputData,effectiveDate:u?.policyChange.reactivation?.suspensionDate}}]),Yo=(0,t.Mz)(ye,wo,(u,Ft)=>[{dataMapList:at.tsY,inputData:{...Ft[0].inputData,policyNumber:u?.insurance.policyNumber}}]),ai=(0,t.Mz)(ye,u=>u?.insurance.policyNumber),mi=(0,t.Mz)(ye,u=>u?.vehicle.brand.description),gi=(0,t.Mz)(ye,u=>(0,M.$Z)(u?.vehicle.brand.description||"",u?.vehicle.model.description||"",u?.vehicle.version.description||"")),Jo=(0,t.Mz)(ye,u=>u?.insurance.encryptedJobNumber),X=(0,t.Mz)(ye,u=>({policyHolderName:u?.subject.name,vehicleType:u?.vehicle.type,policyHolderSurname:u?.subject.surname,vehiclePlate:u?.vehicle.plateNumber,vehicleBrand:u?.vehicle.brand,vehicleModel:u?.vehicle.model,vehicleVersion:u?.vehicle.version,paymentTotalAmount:u?.insurance.totalCost,policyExpirationDate:u?.insurance.expirationDate,jobNumber:u?.insurance.jobNumber})),we=(0,t.Mz)(ye,u=>({...u?.status,color:u?.status?.code?at.M_Y[u.status.code]:""})),j=(0,t.Mz)(ye,u=>{const Ft=[];return u?.additionalStatusLabels?.forEach(ct=>{const xt={...ct,color:at.M_Y[ct?.code]};Ft.push(xt)}),Ft}),Ot=(0,t.Mz)(ye,u=>u?.policyChange.suspension?.availableSuspensionsDays),Ht=(0,t.Mz)(ye,u=>u?.policyChange.suspension?.showVoluntarySuspensionButton),po=(0,t.Mz)(ye,u=>u?.policyChange?.reactivation?.maxReactivationDate),Ro=(0,t.Mz)(ye,u=>u?.vehicle?.plateNumber),xn=(0,t.Mz)(ye,u=>u?.insurance?.expirationDate),Oi=(0,t.Mz)(ye,u=>({minDate:u?.policyChange?.reactivation?.minReactivationDate||0,maxDate:u?.policyChange?.reactivation?.maxReactivationDate||0})),Ki=(0,t.Mz)(ye,u=>({businessType:"",vehicleType:u?.vehicle?.type?.code??"",creationNode:u?"000":"none",appName:p.JB.PA,version:p.JB.qN,dimension22:`product-${u?.insurance?.policyNumber}`})),Wi=(0,t.Mz)(ye,u=>u?.vehicle?.type?.code),hi=(0,t.Mz)(ye,An),Qi=(0,t.Mz)(ye,dn),fi=(0,t.Mz)(ye,$n),ee=(0,t.Mz)(wn,u=>u?.vehicleChange||{}),Bn=(0,t.Mz)(ee,({lossOfPossessionMaxDate:u,lossOfPossessionMinDate:Ft,newVehicleAcquisitionMaxDate:ct,newVehicleAcquisitionMinDate:xt})=>({lossOfPossessionMinDate:Ft,lossOfPossessionMaxDate:u,newVehicleAcquisitionMinDate:xt,newVehicleAcquisitionMaxDate:ct})),$i=(0,t.Mz)(ee,u=>u.maxPeriodOfPossessionLossHours),Ti=(0,t.Mz)(ye,u=>u?.insurance?.encryptedPolicyNumber),ia=(0,t.Mz)(ye,u=>u?.insurance?.fractionation),va=(0,t.Mz)(ye,u=>u?.insurance?.isRenewalPhase);let da=(()=>
1{class u{constructor(){this.store=(0,C.WQX)(t.il),this.getStartPolicyChangeLoaded$=this.store.pipe((0,t.Lt)(Do)),this.getStartPolicyChangeSuccess$=this.store.pipe((0,t.Lt)(ye)),this.getStartPolicyChangeError$=this.store.pipe((0,t.Lt)(eo)),this.getSuspensionSideBarData$=this.store.pipe((0,t.Lt)(wo)),this.getReactivationSideBarData$=this.store.pipe((0,t.Lt)(Io)),this.getVehicleChangeSideBarData$=this.store.pipe((0,t.Lt)(Yo)),this.getPolicyNumber$=this.store.pipe((0,t.Lt)(ai)),this.getVehicleModelDescription$=this.store.pipe((0,t.Lt)(gi)),this.getEncryptedJobNumber$=this.store.pipe((0,t.Lt)(Jo)),this.getDataForClosureTelephone$=this.store.pipe((0,t.Lt)(X)),this.getEffectiveDateSuspension$=this.store.pipe((0,t.Lt)(Mi)),this.getStatus$=this.store.pipe((0,t.Lt)(we)),this.getAdditionalStatusLabels$=this.store.pipe((0,t.Lt)(j)),this.getRemainingSuspensions$=this.store.pipe((0,t.Lt)(Ot)),this.getVehiclePlate$=this.store.pipe((0,t.Lt)(Ro)),this.getVehicleBrand$=this.store.pipe((0,t.Lt)(mi)),this.getVoluntarySuspensionButtonVisibility$=this.store.pipe((0,t.Lt)(Ht)),this.getMaxReactivationDate$=this.store.pipe((0,t.Lt)(po)),this.getExpirationDate$=this.store.pipe((0,t.Lt)(xn)),this.getReactivationCalendarDates$=this.store.pipe((0,t.Lt)(Oi)),this.encryptedPolicyNumber$=this.store.pipe((0,t.Lt)(Ti)),this.policyChange$=this.store.pipe((0,t.Lt)(wn)),this.getPageViewTracking$=this.store.pipe((0,t.Lt)(Ki)),this.getVehicleType$=this.store.pipe((0,t.Lt)(Wi)),this.getVehicleInfo$=this.store.pipe((0,t.Lt)(hi)),this.getPageViewForErrorPageTracking$=this.store.pipe((0,t.Lt)(Qi)),this.getPaymentFractionation$=this.store.pipe((0,t.Lt)(ia)),this.isAnnual$=this.getPaymentFractionation$.pipe((0,D.T)(ct=>ct?.code===at.szo.ANNUAL)),this.policySubjectName$=this.store.pipe((0,t.Lt)(ui)),this.policySubjectFullName$=this.store.pipe((0,t.Lt)(_i)),this.dataForThankYouPage$=this.store.pipe((0,t.Lt)(fi)),this.getVehicleChangeCalendarDates$=this.store.pipe((0,t.Lt)(Bn)),this.getMaxPeriodOfPossessionLossHours$=this.store.pipe((0,t.Lt)($i)),this.isRenewalPhase$=this.store.pipe((0,t.Lt)(va))}getCalendarDatesByReason(ct,xt){return xt===at.XJp.VehicleChange?this.store.pipe((0,t.Lt)((u=>(0,t.Mz)(ye,Ft=>u===at.UJl.Sale?{minDate:Ft?.policyChange.vehicleChange?.notVoluntarySaleLimitCalendarDate||0,maxDate:(new at.Qnl).addDays(2).getTime()}:u===at.UJl.Theft?{minDate:Ft?.policyChange.vehicleChange?.notVoluntaryTheftLimitCalendarDate||0,maxDate:(new at.Qnl).addDays(2).getTime()}:void 0))(ct))):xt===at.XJp.Suspension?this.store.pipe((0,t.Lt)((u=>(0,t.Mz)(ye,Ft=>u===at.XvD.Voluntary?{minDate:Ft?.policyChange.suspension?.voluntaryMinDate||0,maxDate:Ft?.policyChange.suspension?.voluntaryMaxDate||0}:u===at.XvD.Sale?{minDate:Ft?.policyChange.suspension?.notVoluntarySaleMinDate||0,maxDate:Ft?.policyChange.suspension?.notVoluntaryMaxDate||0}:u===at.XvD.Theft?{minDate:Ft?.policyChange.suspension?.notVoluntaryTheftMinDate||0,maxDate:Ft?.policyChange.suspension?.notVoluntaryMaxDate||0}:void 0))(ct))):null}loadStartPolicyChange(ct){this.store.dispatch(J({requestParams:ct}))}resetState(){this.store.dispatch(me())}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const aa=(0,t.Mz)(mn,u=>u.startSuspension),ra=(0,t.Mz)(aa,u=>u.loaded),pa=(0,t.Mz)(aa,u=>u.startSuspension),ua=(0,t.Mz)(aa,u=>u.error);let _a=(()=>{class u{constructor(ct){this.store=ct,this.getStartSuspensionLoaded$=this.store.pipe((0,t.Lt)(ra)),this.getStartSuspensionSuccess$=this.store.pipe((0,t.Lt)(pa)),this.startSuspensionError$=this.store.pipe((0,t.Lt)(ua))}loadStartSuspension(ct,xt){this.store.dispatch(nn({requestParams:ct,paymentFlow:xt}))}resetState(){this.store.dispatch(Gn())}resetErrorState(){this.store.dispatch(Pn())}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(t.il))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const Ni=(0,t.VP)("[Ania Data] Get Vehicle Information load!",(0,t.xk)()),Pi=(0,t.VP)("[Ania Data] Get Vehicle Information success!",(0,t.xk)()),Ji=(0,t.VP)("[Ania Data] Get Vehicle Information error!",(0,t.xk)()),O=(0,t.VP)("[Ania Data] Get Vehicle Information reset state!"),Pt="aniaData",rt={loaded:!1,error:null,aniaData:null},Rt=(0,M._J)(rt,(0,t.on)(Ni,u=>({...u,loaded:!1,aniaData:null,error:null})),(0,t.on)(Pi,(u,{aniaData:Ft})=>({...u,loaded:!0,error:null,aniaData:Ft})),(0,t.on)(Ji,(u,{error:Ft})=>({...u,aniaData:null,error:Ft})),(0,t.on)(O,()=>rt)),Ie=(0,t.VP)("[Brand List] Load Brand List",(0,t.xk)()),Ne=(0,t.VP)("[Brand List] Load Brand List Success",(0,t.xk)()),an=(0,t.VP)("[Brand List] Load Brand List Error",(0,t.xk)()),Oo="brands",Bi=(0,M._J)({loaded:!1},(0,t.on)(Ie,u=>({...u,loaded:!1,error:null})),(0,t.on)(Ne,(u,{brands:Ft})=>({...u,brands:Ft,loaded:!0})),(0,t.on)(an,(u,{error:Ft})=>({...u,loaded:!1,error:Ft}))),yi=(0,t.VP)("[Model List] Load Model List",(0,t.xk)()),ke=(0,t.VP)("[Model List] Load Model List Success",(0,t.xk)()),ti=(0,t.VP)("[Model List] Load Model List Error",(0,t.xk)()),Ao="models",ma=(0,M._J)({loaded:!1},(0,t.on)(yi,u=>({...u,loaded:!1,error:null})),(0,t.on)(ke,(u,{models:Ft})=>({...u,models:Ft,loaded:!0})),(0,t.on)(ti,(u,{error:Ft})=>({...u,loaded:!1,error:Ft}))),Oe=(0,t.VP)("[Policy Data] Get Vehicle Information load!",(0,t.xk)()),bi=(0,t.VP)("[Policy Data] Get Vehicle Information success!",(0,t.xk)()),Fi=(0,t.VP)("[Policy Data] Get Vehicle Information error!",(0,t.xk)()),Ei=(0,t.VP)("[Policy Data] Get Vehicle Information reset state!"),no="policyData",qi={loaded:!1,error:null,policyData:null},Ta=(0,M._J)(qi,(0,t.on)(Oe,u=>({...u,loaded:!1})),(0,t.on)(bi,(u,{policyData:Ft})=>({...u,loaded:!0,error:null,policyData:Ft})),(0,t.on)(Fi,(u,{error:Ft})=>({...u,policyData:null,error:Ft})),(0,t.on)(Ei,()=>qi)),ce=(0,t.VP)("[Version List] Load Version List",(0,t.xk)()),Xo=(0,t.VP)("[Version List] Load Version List Success",(0,t.xk)()),wi=(0,t.VP)("[Version List] Load Version List Error",(0,t.xk)()),$o="versions",Vi=(0,M._J)({loaded:!1},(0,t.on)(ce,u=>({...u,loaded:!1,error:null})),(0,t.on)(Xo,(u,{versions:Ft})=>
1({...u,versions:Ft,loaded:!0})),(0,t.on)(wi,(u,{error:Ft})=>({...u,loaded:!1,error:Ft}))),uo="vehicle-info",qn=(0,t.UX)(uo),Ui={[Oo]:function qo(u,Ft){return Bi(u,Ft)},[Ao]:function Zi(u,Ft){return ma(u,Ft)},[$o]:function Hi(u,Ft){return Vi(u,Ft)},[Pt]:function ue(u,Ft){return Rt(u,Ft)},[no]:function Mn(u,Ft){return Ta(u,Ft)}},ri=(0,t.Mz)(qn,u=>u?.aniaData),en=(0,t.Mz)(ri,u=>u?.loaded),Ho=(0,t.Mz)(ri,u=>u?.aniaData),jn=(0,t.Mz)(Ho,u=>u?.vehicleRegistrationDate?new at.Qnl(u?.vehicleRegistrationDate).setHours(0,0,0,0):void 0),ei=(0,t.Mz)(Ho,u=>u?.vehiclePurchaseYear),Ii=(0,t.Mz)(en,Ho,(u,Ft)=>{if(u){const{vehicleFuelType:ct,vehicleBrand:xt,vehicleModel:Me,vehicleVersions:De,vehiclePurchaseYear:Po}=Ft;return{vehicleFuelType:ct,vehicleBrand:xt,vehicleModel:Me,vehicleVersions:De,vehiclePurchaseYear:Po}}return null}),Gi=(0,t.Mz)(ri,u=>u?.error);let ci=(()=>{class u{constructor(){this.store=(0,C.WQX)(t.il),this.getAniaDataLoaded$=this.store.pipe((0,t.Lt)(en)),this.getAniaDataSuccess$=this.store.pipe((0,t.Lt)(Ho)),this.registrationDate$=this.store.pipe((0,t.Lt)(jn)),this.purchaseYear$=this.store.pipe((0,t.Lt)(ei)),this.dataAfterRegistrationDate$=this.store.pipe((0,t.Lt)(Ii)),this.getAniaDataError$=this.store.pipe((0,t.Lt)(Gi))}loadAniaData(ct,xt){this.store.dispatch(Ni({plateNumber:ct,encryptedJobNumber:xt}))}resetState(){this.store.dispatch(O())}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const zi=(0,t.Mz)(qn,u=>u.brands),fa=(0,t.Mz)(zi,u=>u.loaded),Uo=(0,t.Mz)(zi,u=>u.brands),xi=(0,t.Mz)(zi,u=>u.error);let ni=(()=>{class u{constructor(ct){this.store=ct,this.loaded$=this.store.pipe((0,t.Lt)(fa)),this.brands$=this.store.pipe((0,t.Lt)(Uo)),this.error$=this.store.pipe((0,t.Lt)(xi))}getBrandByCode$(ct){return this.store.pipe((0,t.Lt)((u=>(0,t.Mz)(Uo,Ft=>Ft?.find(ct=>ct.code===u)))(ct)))}loadBrands(ct){this.store.dispatch(Ie({retrieveBrandsRequest:ct}))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(t.il))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const ta=(0,t.Mz)(qn,u=>u.models),Ze=(0,t.Mz)(ta,u=>u.loaded),ro=(0,t.Mz)(ta,u=>u.models),b=(0,t.Mz)(ta,u=>u.error);let kt=(()=>{class u{constructor(){this.store=(0,C.WQX)(t.il),this.loaded$=this.store.pipe((0,t.Lt)(Ze)),this.models$=this.store.pipe((0,t.Lt)(ro)),this.error$=this.store.pipe((0,t.Lt)(b))}getModelByCode$(ct){return this.store.pipe((0,t.Lt)((u=>(0,t.Mz)(ro,Ft=>Ft?.find(ct=>ct.code===u)))(ct)))}loadModels(ct){this.store.dispatch(yi({retrieveModelsRequest:ct}))}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const Z=(0,t.Mz)(qn,u=>u.policyData),mt=(0,t.Mz)(Z,u=>u.loaded),qt=(0,t.Mz)(Z,u=>u.policyData),ve=(0,t.Mz)(Z,u=>u?.error),Ke=(0,t.Mz)(qt,u=>u?.antitheft),Yn=(0,t.Mz)(qt,u=>u?.addedEquipments),fo=(0,t.Mz)(qt,u=>({annualKm:u?.annualKm,mainlyUse:u?.mainlyUse.code,overnightParking:u?.overnightParking.code,addedEquipments:[]}));let Co=(()=>{class u{constructor(){this.store=(0,C.WQX)(t.il),this.getPolicyDataLoaded$=this.store.pipe((0,t.Lt)(mt)),this.antitheft$=this.store.pipe((0,t.Lt)(Ke)),this.getPolicyDataSuccess$=this.store.pipe((0,t.Lt)(qt)),this.getAddedEquipments$=this.store.pipe((0,t.Lt)(Yn)),this.getPolicyDataError$=this.store.pipe((0,t.Lt)(ve)),this.getFormData$=this.store.pipe((0,t.Lt)(fo))}loadPolicyData(ct){this.store.dispatch(Oe({getPolicyDataRequest:ct}))}resetState(){this.store.dispatch(Ei())}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})();const Xn=(0,t.Mz)(qn,u=>u.versions),si=(0,t.Mz)(Xn,u=>u.loaded),ji=(0,t.Mz)(Xn,u=>u.versions),Pa=(0,t.Mz)(Xn,u=>u.error);let wa=(()=>{class u{constructor(){this.store=(0,C.WQX)(t.il),this.loaded$=this.store.pipe((0,t.Lt)(si)),this.versions$=this.store.pipe((0,t.Lt)(ji)),this.error$=this.store.pipe((0,t.Lt)(Pa))}getVersionByCode$(ct){return this.store.pipe((0,t.Lt)((u=>(0,t.Mz)(ji,Ft=>Ft?.find(ct=>ct.code===u)))(ct)))}loadVersions(ct){this.store.dispatch(ce({retrieveVersionsRequest:ct}))}static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Kn=(()=>{class u{constructor(ct,xt){this.http=ct,this.env=xt}getAniaDataByPlate(ct,xt){return this.http.post(this.env.urls.policyChange||"",{jsonrpc:"2.0",method:"retrieveAniaInfo_AIT",params:[{plateNumber:ct,encryptedJobNumber:xt}]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Tn=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}retrieveBrands(ct){return this.http.post(this.environment.urls.policyChange||"",{jsonrpc:"2.0",method:"retrieveBrandsVehicleInfo_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),ya=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}retrieveModels(ct){return this.http.post(this.environment.urls.policyChange||"",{jsonrpc:"2.0",method:"retrieveModelsVehicleInfo_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Yi=(()=>{class u{constructor(ct,xt){this.http=ct,this.env=xt}getVehicleDataFromPolicy(ct){return this.http.post(this.env.urls.policyChange||"",{jsonrpc:"2.0",method:"retrievePolicyData_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),ea=(()=>{class u{constructor(ct,xt){this.http=ct,this.environment=xt}retrieveVersions(ct){return this.http.post(this.environment.urls.policyChange||"",{jsonrpc:"2.0",method:"retrieveVersionsVehicleInfo_AIT",params:[ct]})}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(W.Qq),C.KVO("environment"))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Ra=(()=>{class u{constructor(ct,xt,Me){this.actions$=ct,this.aniaDataService=xt,this.spinnerFacade=Me,this.getAniaData$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(Ni),(0,z.M)(()=>
1this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({plateNumber:De,encryptedJobNumber:Po})=>this.aniaDataService.getAniaDataByPlate(De,Po).pipe((0,D.T)(({result:Fn})=>Pi({aniaData:Fn})),(0,N.W)(Fn=>(0,w.of)(Ji({error:Fn}))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(Kn),C.KVO(E.ec))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),un=(()=>{class u{constructor(ct,xt){this.actions$=ct,this.brandService=xt,this.brands$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(Ie),(0,v.n)(({retrieveBrandsRequest:Me})=>this.brandService.retrieveBrands(Me)),(0,D.T)(({result:Me})=>Ne({brands:Me})),(0,N.W)(Me=>(0,w.of)(an({error:Me})))))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(Tn))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),To=(()=>{class u{constructor(ct,xt,Me){this.actions$=ct,this.modelService=xt,this.spinnerFacade=Me,this.models$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(yi),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({retrieveModelsRequest:De})=>this.modelService.retrieveModels(De).pipe()),(0,D.T)(({result:De})=>ke({models:De})),(0,N.W)(De=>(0,w.of)(ti({error:De}))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner())))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(ya),C.KVO(E.ec))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Xi=(()=>{class u{constructor(ct,xt,Me){this.actions$=ct,this.policyDataService=xt,this.spinnerFacade=Me,this.getPolicyData$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(Oe),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({getPolicyDataRequest:De})=>this.policyDataService.getVehicleDataFromPolicy(De)),(0,D.T)(({result:De})=>bi({policyData:De})),(0,N.W)(De=>(0,w.of)(Fi({error:De}))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner())))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(Yi),C.KVO(E.ec))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Ca=(()=>{class u{constructor(ct,xt,Me){this.actions$=ct,this.versionService=xt,this.spinnerFacade=Me,this.versions$=(0,l.EH)(()=>this.actions$.pipe((0,l.gp)(ce),(0,z.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,v.n)(({retrieveVersionsRequest:De})=>this.versionService.retrieveVersions(De)),(0,D.T)(({result:De})=>Xo({versions:De})),(0,N.W)(De=>(0,w.of)(wi({error:De}))),(0,z.M)(()=>this.spinnerFacade.dispatchStopSpinner())))}static{this.\u0275fac=function(xt){return new(xt||u)(C.KVO(l.En),C.KVO(ea),C.KVO(E.ec))}}static{this.\u0275prov=C.jDH({token:u,factory:u.\u0275fac})}}return u})(),Ai=(()=>{class u{static{this.\u0275fac=function(xt){return new(xt||u)}}static{this.\u0275mod=gt.$C({type:u})}static{this.\u0275inj=C.G2t({providers:[Tn,ya,ea,ni,kt,wa,ci,Kn,Co,Yi],imports:[s.MD,t.md.forFeature(uo,Ui),l.Vm.forFeature([un,To,Ca,Ra,Xi]),E.OT]})}}return u})()},24492(ht,L,o){"use strict";o.d(L,{RW:()=>Nt,oD:()=>at,pD:()=>_t,Lz:()=>rn,BF:()=>Wn,Ff:()=>ot});var t=o(11509),e=o(37657),n=o(76936),c=o(67793),f=o(50741),M=o(45198),m=o(12378),r=o(90373),_=o(75089);const g=J=>J>0?_.D_l.Payment:J<0?_.D_l.Refund:void 0,T=new Map([[_.D_l.Payment,[_.Goz]],[_.D_l.Refund,[_.Bj7]],[_.D_l.Threshold,[]]]),B=new Map([[_.bUO.Klarna,[_.Alh]],[_.bUO.Paypal,[_.ONZ]],[_.bUO.Bank,[_.Bj7]]]);var I=o(80226),C=o(8659),k=o(81383),s=o(64415);let l=(()=>{class J{constructor(){this.gwBaseService=(0,I.WQX)(s.D),this.apiService=(0,I.WQX)(k.V)}noTransactionPurchase(te,me,Se){return me===_.XJp.Renewal?this.noTransactionPurchaseRenewal(te):this.noTransactionPurchasePolicyChange(te,Se)}noTransactionPurchaseRenewal(te){return this.gwBaseService.post(te,C.bq.Purchase,C.eJ.Renewal)}noTransactionPurchasePolicyChange(te,me){if(!me)throw new Error("Job number is required for policy change payment flow no transaction purchase");return this.apiService.post({apiName:_.L3L.ApiCenter,uri:C.wO.PurchaseNoTransaction.replace(C.Vo.TransactionId,me),body:te})}static{this.\u0275fac=function(me){return new(me||J)}}static{this.\u0275prov=I.jDH({token:J,factory:J.\u0275fac})}}return J})();var E=o(35491);const p=(0,E.VP)("[Payment No Transaction] Payment No Transaction Load",(0,E.xk)()),h=(0,E.VP)("[Payment No Transaction] Payment No Transaction Success",(0,E.xk)()),w=(0,E.VP)("[Payment No Transaction] Payment No Transaction Error",(0,E.xk)()),z=(0,E.VP)("[Payment No Transaction] Payment No Transaction Reset State");let v=(()=>{class J{constructor(te,me,Se,Ue){this.actions$=te,this.spinnerFacade=me,this.routerFacade=Se,this.paymentService=Ue,this.paymentNoTransaction$=(0,n.EH)(()=>this.actions$.pipe((0,n.gp)(p),(0,f.M)(()=>
1this.spinnerFacade.dispatchStartSpinner()),(0,M.n)(ln=>this.paymentService.noTransactionPurchase(ln.paymentParams,ln.paymentFlow,(J=>J?J.replace(/\//g,"-"):void 0)(ln.jobNumber)).pipe((0,m.T)(fn=>h({paymentNoTransaction:fn})),(0,r.W)(fn=>(this.routerFacade.dispatchNavigation([e.EV.Error]),(0,c.of)(w({error:fn})))),(0,f.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(me){return new(me||J)(I.KVO(n.En),I.KVO(t.ec),I.KVO(t.IO),I.KVO(l))}}static{this.\u0275prov=I.jDH({token:J,factory:J.\u0275fac})}}return J})();var D=o(37754);const N="payment-no-transaction",W={loaded:!1},pt=(0,D._J)(W,(0,E.on)(p,J=>({...J,loaded:!1,error:null})),(0,E.on)(h,(J,{paymentNoTransaction:Wt})=>({...J,loaded:!0,paymentNoTransaction:Wt})),(0,E.on)(w,(J,{error:Wt})=>({...J,error:Wt})),(0,E.on)(z,()=>W));function ot(J,Wt){return pt(J,Wt)}const gt=(0,E.UX)(N),et=(0,E.Mz)(gt,J=>J.loaded),Et=(0,E.Mz)(gt,J=>J.paymentNoTransaction),K=(0,E.Mz)(gt,J=>J.error);let at=(()=>{class J{constructor(){this.store=(0,I.WQX)(E.il),this.getPaymentNoTransactionLoaded$=this.store.pipe((0,E.Lt)(et)),this.getPaymentNoTransactionSuccess$=this.store.pipe((0,E.Lt)(Et)),this.getPaymentNoTransactionError$=this.store.pipe((0,E.Lt)(K))}loadPaymentNoTransaction(te,me,Se){this.store.dispatch(p({paymentParams:te,paymentFlow:me,jobNumber:Se}))}resetState(){this.store.dispatch(z())}static{this.\u0275fac=function(me){return new(me||J)}}static{this.\u0275prov=I.jDH({token:J,factory:J.\u0275fac})}}return J})();var Bt=o(51203);let _t=(()=>{class J{static{this.\u0275fac=function(me){return new(me||J)}}static{this.\u0275mod=Bt.$C({type:J})}static{this.\u0275inj=I.G2t({providers:[l,at],imports:[E.md.forFeature(N,pt),n.Vm.forFeature([v])]})}}return J})();var st=o(76463);const Ut="Payment Step",ft=(0,E.VP)(`[${Ut}] Load PaymentStep!`,(0,E.xk)()),zt=(0,E.VP)(`[${Ut}] PaymentStep load error!`,(0,E.xk)()),jt=(0,E.VP)(`[${Ut}] reset!`),Nt="paymentStep",Dt={loaded:!1,error:null,paymentStep:null},pe=(0,D._J)(Dt,(0,E.on)(ft,(J,{result:Wt,preservePolicyChange:te,editedPolicyData:me})=>({...J,paymentStep:Lt(J,Wt,te),editedPolicyData:me,loaded:!0})),(0,E.on)(zt,(J,{error:Wt})=>({...J,error:Wt})),(0,E.on)(jt,()=>Dt));function Lt(J,Wt,te){return te&&J.loaded?{...Wt,policyChange:{...Wt.policyChange,...J.paymentStep?.policyChange}}:Wt}function fe(J,Wt){return pe(J,Wt)}const St=(0,E.UX)(Nt),Xt=(0,E.Mz)(St,J=>J.paymentStep),S=(0,E.Mz)(St,J=>J.editedPolicyData),vt=(0,E.Mz)(Xt,J=>J?.vehicleCoverages.entry.find(({code:Wt})=>Wt===_.r0Z.RCA)),y=(0,E.Mz)(Xt,J=>J?.vehicleCoverages.entry.filter(({code:Wt,selected:te})=>Wt!==_.r0Z.RCA&&te)),U=(0,E.Mz)(St,J=>J.loaded),F=(0,E.Mz)(St,J=>J.error),G=(0,E.Mz)(Xt,J=>J?.insurance.encryptedJobNumber),dt=(0,E.Mz)(Xt,J=>J?.insurance.jobNumber),ut=(0,E.Mz)(Xt,J=>J?.policyChange),yt=(0,E.Mz)(Xt,J=>(0,D.$Z)(J?.vehicle.brand.description||"",J?.vehicle.model.description||"",J?.vehicle.version.description||"")),Re=(0,E.Mz)(Xt,J=>J?.vehicle.plateNumber),Pe=(0,E.Mz)(Xt,J=>{let Wt=J?.insurance.totalCost||0;return J?.insurance.downPayment&&(Wt=J.insurance.downPayment),(0,D.qu)(Wt).split(",")}),qe=(0,E.Mz)(Xt,J=>J?.insurance.totalCost),oe=(0,E.Mz)(Xt,J=>{const Wt=J?.policyChange,te=J?.vehicle,me=J?.insurance,Ue=J?.newVehicleCoverages?.coverages.filter(fn=>fn.status===_.V0m.Selected||fn.status===_.V0m.Included);return{paymentTotalAmount:me.totalCost,paymentDownpaymentAmount:me?.downPayment,policyExpirationDate:me.expirationDate,paymentFractionation:me.fractionation,policyChange:Wt,vehiclePlate:te.plateNumber,selectedCoverages:[],newSelectedCoverages:Ue,vehicleLossPossessionDate:te.lossPossessionDate,vehicleBrand:te.brand,vehicleModel:te.model,vehicleVersion:te.version,encryptedPolicyNumber:me.encryptedPolicyNumber,isRenewalPhase:me.isRenewalPhase}}),wt=(0,E.Mz)(Xt,J=>J?.insurance.totalCost),tt=(0,E.Mz)(Xt,J=>J?.insurance.downPayment),H=(0,E.Mz)(Xt,J=>J?.insurance.paymentDetails.threshold),nt=(0,E.Mz)(H,tt,wt,(J,Wt,te)=>J||0===J?_.D_l.Threshold:Wt?g(Wt):te?g(te):void 0),V=(0,E.Mz)(Xt,J=>J?.insurance.paymentDetails.paymentType),Gt=(0,E.Mz)(Xt,J=>J?.insurance.paymentDetails.paymentCardLast4Digit),Yt=(0,E.Mz)(Xt,J=>J?.vehicleCoverages?.entry.filter(Wt=>Wt.selected).map(Wt=>({dataMapList:[{..._.d0p,label:Wt.name}],inputData:{grossAmount:Wt.grossAmount}}))),ge=(0,E.Mz)(Xt,J=>J?.insurance.paymentDetails.paymentType.code),se=(0,E.Mz)(ge,nt,(J,Wt)=>((J,Wt)=>J&&B.get(J)||Wt)(J,Wt&&T.get(Wt)||[])),He=(0,E.Mz)(Xt,J=>{const Wt=J?.policyChange,te=J?.newVehicleCoverages?.coverages.filter(Se=>Se.status===_.V0m.Selected||Se.status===_.V0m.Included).map(({code:Se})=>Se).join(", "),me={policyHolderFullName:`${J?.subject.name} ${J?.subject.surname}`,policyExpirationDate:J?.insurance.expirationDate,plateNumber:J?.vehicle.plateNumber,coverages:te};
1if(Wt.vehicleChange){const Se=J?.vehicle;me.vehicleFullDescription=(0,D.$Z)(Se.brand.description,Se.model.description,Se.version.description),me.policyActivationDate=Wt.vehicleChange.effectiveDate}else if(Wt.reactivation){const Se=J?.vehicle;me.vehicleFullDescription=(0,D.$Z)(Se.brand.description,Se.model.description,Se.version.description),me.policyActivationDate=Wt.reactivation.effectiveDate}else if(Wt.suspension)me.effectiveDate=Wt.suspension.effectiveDate,me.suspensionTypeDesc=_.kWz.get(Wt.suspension.typology);else if(Wt.policyEdit){const Se=Wt.policyEdit.addressDTO_AIT,Ue=Wt.policyEdit.deliveryAddressDTO_AIT;me.residenceAddress=(0,D.nT)(Se.toponym_AIT,Se.addressLine1,Se.addressNumber_AIT,Se.postalCode,Se.city),me.domicileAddress=(0,D.nT)(Ue.toponym_AIT,Ue.addressLine1,Ue.addressNumber_AIT,Ue.postalCode,Ue.city),me.guideType=J?.policyChange.policyEdit?.vehicleCoverageType.description,me.email=J?.policyChange.policyEdit?.contact.email,me.phone=J?.policyChange.policyEdit?.contact.phone}return me}),sn=(0,E.Mz)(Xt,J=>({...J?.status,color:J?.status?.code?_.M_Y[J.status.code]:""})),Ae=(0,E.Mz)(Xt,J=>J?.vehicleCoverages.entry.filter(Wt=>Wt.coveredPreviously_AIT&&!Wt.avalaibleCoverage_AIT).map(Wt=>Wt.name).join(", ")),gn=(0,E.Mz)(Xt,nt,(J,Wt)=>({vehicleType:J?.vehicle.type?.code,creationNode:J?"000":"none",appName:e.JB.PA,version:e.JB.qN,pageName:Wt,closureType:e.JB.kM})),hn=(0,E.Mz)(Xt,J=>{const Wt=J?.policyChange.policyEdit;return{policyHolderName:J?.subject.name,phone:Wt?.contact.phone,email:Wt?.contact.email,primaryAddress:(0,D.nT)(Wt?.addressDTO_AIT.toponym_AIT||"",Wt?.addressDTO_AIT.addressLine1||"",Wt?.addressDTO_AIT.addressNumber_AIT||"",Wt?.addressDTO_AIT.postalCode||"",Wt?.addressDTO_AIT.city||""),domicile:(0,D.nT)(Wt?.deliveryAddressDTO_AIT.toponym_AIT||"",Wt?.deliveryAddressDTO_AIT.addressLine1||"",Wt?.deliveryAddressDTO_AIT.addressNumber_AIT||"",Wt?.deliveryAddressDTO_AIT.postalCode||"",Wt?.deliveryAddressDTO_AIT.city||""),guideType:Wt?.vehicleCoverageType.description,paymentFlow:_.XJp.PolicyEdit,vehicleType:{code:_.$OU.Car}}}),Hn=(0,E.Mz)(Xt,J=>{const Wt=J?.vehicleCoverages?.entry.filter(nn=>nn.selected),{plateNumber:te,brand:me,model:Se,version:Ue}=J?.vehicle,ln=J?.policyChange,{totalCost:fn}=J?.insurance,Un={policyChange:ln,vehiclePlate:te,vehicleBrand:me,vehicleModel:Se,vehicleVersion:Ue,paymentTotalAmount:fn,selectedCoverages:Wt};return J?.policyChange?.reactivation&&(Un.policyChange={...ln,reactivation:{...ln.reactivation,typology:_.njP.OtherVehicle}}),Un});let rn=(()=>{class J{constructor(te,me,Se){this.store=te,this.translateService=me,this.env=Se,this.getPaymentStep$=this.store.select(Xt),this.closureTelephoneData$=this.store.select(Hn),this.getRCACoverage$=this.store.select(vt),this.getCoverages$=this.store.select(y),this.getPaymentStepLoaded$=this.store.select(U),this.getPaymentStepError$=this.store.select(F),this.policyChange$=this.store.select(ut),this.transactionType$=this.store.select(nt),this.getPaymentValue$=this.store.select(qe),this.partialThankyouData$=this.store.select(oe),this.getThresholdAmount$=this.store.select(H),this.getLastDigitsCard$=this.store.select(Gt),this.getPaymentCardType$=this.store.select(V),this.encryptedJobNumber$=this.store.select(G),this.jobNumber$=this.store.select(dt),this.coveragesForSidebar$=this.store.select(Yt),this.paymentAmount$=this.store.select(Pe),this.vehicleModelDescription$=this.store.select(yt),this.getVehiclePlate$=this.store.select(Re),this.getPaymentTypeCode$=this.store.select(ge),this.getPaymentMethods$=this.store.select(se),this.getPaymentInfo$=this.store.select(He).pipe((0,m.T)(Ue=>{if(Ue.coverages){const ln=Ue.coverages.split(", ");return Ue.coverages=ln.map(fn=>this.translateService.instant(`${st.do}.${fn}.name`)).join(", "),Ue}return Ue})),this.getNotTransferableCoverages$=this.store.select(Ae),this.getPageViewTracking$=this.store.select(gn),this.policyEditThankYouPageData$=this.store.select(hn),this.get
1Status$=this.store.select(sn),this.getEditedPolicyData$=this.store.select(S??null)}loadPaymentStep(te,me,Se){this.store.dispatch(ft({result:te,preservePolicyChange:me,editedPolicyData:Se}))}resetState(){this.store.dispatch(jt())}static{this.\u0275fac=function(me){return new(me||J)(I.KVO(E.il),I.KVO(D.c$),I.KVO("environment"))}}static{this.\u0275prov=I.jDH({token:J,factory:J.\u0275fac})}}return J})(),Wn=(()=>{class J{static{this.\u0275fac=function(me){return new(me||J)}}static{this.\u0275mod=Bt.$C({type:J})}static{this.\u0275inj=I.G2t({providers:[l,rn],imports:[E.md.forFeature(Nt,fe),n.Vm.forFeature([v])]})}}return J})()},73268(ht,L,o){"use strict";o.d(L,{dK:()=>N,Kn:()=>vt,YB:()=>F});var t=o(35491);const e=(0,t.VP)("[Vehicles] Load Vehicles",(0,t.xk)()),n=(0,t.VP)("[Vehicles] Load Vehicles Success",(0,t.xk)()),c=(0,t.VP)("[Vehicles] Load Vehicles Failure",(0,t.xk)()),f=(0,t.VP)("[Vehicles] Reset Vehicles State");var M=o(80226),m=o(11509),r=o(37657),_=o(79711),g=o(2708),$=o(8659),T=o(37754),B=o(64415),A=o(76936),I=o(67793),C=o(31058),k=o(50741),s=o(45198),l=o(12378),E=o(90373);let p=(()=>{class G{constructor(){this.actions$=(0,M.WQX)(A.En),this.spinnerFacade=(0,M.WQX)(m.ec),this.routerFacade=(0,M.WQX)(g.IO),this.gwBaseService=(0,M.WQX)(B.D),this.featureFlagService=(0,M.WQX)(_.y9),this.loadVehicles$=(0,A.EH)(()=>this.actions$.pipe((0,A.gp)(e),(0,k.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,s.n)(ut=>this.gwBaseService.post({taxId:ut.userTaxID},$.W5.VehiclesByTaxID,$.eJ.VehiclesByTaxID).pipe((0,s.n)(yt=>(ut.skipRedirect||this.routerFacade.dispatchNavigation([r.EV.Home,(0,T.NW)(r.JB.rc,yt.landingTab)]),this.updateFlagContext(yt.policyVehicleList).pipe((0,l.T)(()=>n({vehicles:yt}))))),(0,E.W)(yt=>(this.routerFacade.dispatchNavigation([r.EV.Error]),(0,I.of)(c({error:yt})))),(0,k.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}updateFlagContext(ut){const yt=ut?.map(r.sF).filter(Boolean)??[];return yt.length?(0,C.H)(this.featureFlagService.updateContext({users:yt})).pipe((0,E.W)(()=>(0,I.of)(void 0))):(0,I.of)(void 0)}static{this.\u0275fac=function(yt){return new(yt||G)}}static{this.\u0275prov=M.jDH({token:G,factory:G.\u0275fac})}}return G})();var h=o(60401),w=o(67170),z=o(80452),v=o(50596),D=o(75089);const N="vehicles",W={loaded:!1},pt=(0,T._J)(W,(0,t.on)(e,G=>({...G,error:null})),(0,t.on)(n,(G,{vehicles:dt})=>({...G,loaded:!0,error:void 0,policyVehicleList:dt.policyVehicleList,submissionVehicleList:dt.submissionVehicleList})),(0,t.on)(c,(G,{error:dt})=>({...G,error:dt})),(0,t.on)(f,()=>W));function ot(G,dt){return pt(G,dt)}const gt=(G,dt)=>{G.status={...dt.status,color:D.M_Y[dt.status?.code]}},K=(G,dt)=>{G.vehicleInfo={...G.vehicleInfo,description:(0,T.$Z)(dt.vehicleInfo.brand,dt.vehicleInfo.model)}},at=(G,dt)=>{dt.policyInfo?.paymentDivision.code===D.szo.BIANNUAL&&(G.policyInfoDataMapBiannual=D.Z$W)},_t=(0,t.UX)(N),st=(0,t.Mz)(_t,G=>G.loaded),ft=((0,t.Mz)(_t,G=>G.error),(0,t.Mz)(_t,G=>G.policyVehicleList)),zt=(0,t.Mz)(_t,G=>G.submissionVehicleList),jt=(0,t.Mz)(ft,G=>{const dt=[];return G?.forEach(ut=>{const yt={...ut};gt(yt,ut),ut?.renewalInfo&&((G,dt)=>{G.renewalInfo={...G.renewalInfo,renewalStatus:{...dt.renewalInfo?.renewalStatus,color:D.M_Y[dt.renewalInfo?.renewalStatus.code]}}})(yt,ut),((G,dt)=>{dt.additionalStatusLabels&&(G.additionalStatusLabels=[],dt.additionalStatusLabels.forEac
1h(ut=>{G.additionalStatusLabels.push({...ut,color:D.M_Y[ut.code]})}))})(yt,ut),K(yt,ut),yt.policyInfoDataMap=D.MTl,at(yt,ut),((G,dt)=>{dt.renewalInfo&&(G.vehicleCoverages=[],G.policyInfoDataMapBiannual=null,G.policyInfoDataMap=D.kw7,G.renewalDataMap=D.$i_)})(yt,ut);const Re=Object.keys(yt.buttonVisibility.policyManagement);Re.length&&(yt.policyManagementActions=[],Re.map(Pe=>({key:Pe,index:D.$jj.get(Pe)})).sort((Pe,qe)=>Pe.index-qe.index).forEach(({key:Pe})=>{yt.buttonVisibility.policyManagement[Pe].visibility?yt.policyManagementActions.push("vehicleChange"===Pe&&yt.buttonVisibility.policyManagement[Pe].code===D.uke.RetrieveAndEdit?{...D.fJf,buttonVisibilityCode:yt.buttonVisibility.policyManagement[Pe].code,encryptedNumber:yt.encryptedPolicyNumber}:{...D.ZMW.get(Pe),buttonVisibilityCode:yt.buttonVisibility.policyManagement[Pe].code,encryptedNumber:yt.encryptedPolicyNumber}):"policyEdit"===Pe&&yt.policyManagementActions.push({...D.IqR,encryptedNumber:yt.encryptedPolicyNumber,buttonVisibilityCode:yt.buttonVisibility.policyManagement[Pe].code})})),dt.push(yt)}),dt}),Nt=(0,t.Mz)(zt,G=>{const dt=[];let ut;return G?.forEach(yt=>{if(ut={...yt},ut.multipleVersions){ut.vehicleInfo={...ut.vehicleInfo,versionsNumber:yt.buttonVisibility.multipleCounts};const Re=[...ut.multipleVersions];Re.forEach((Pe,qe,oe)=>{oe[qe]={...Pe,policyInfoDataMap:[{...D.HL4,label:(0,T.$Z)(Pe.vehicleInfo.brand,Pe.vehicleInfo.model)}]}}),ut.multipleVersions=Re}else gt(ut,yt),K(ut,yt),ut.policyInfoDataMap=D.hd8,at(ut,yt);dt.push(ut)}),dt}),Dt=(0,t.Mz)(ft,G=>`Ecco tutte le tue <b>Polizze (${G?.length||0})</b>`),pe=(0,t.Mz)(zt,G=>`Ecco tutti i tuoi <b>Preventivi (${G?.length||0})</b> validi e non ancora scaduti.`),Lt=G=>(0,t.Mz)(jt,dt=>dt.find(yt=>yt.encryptedPolicyNumber===G));let vt=(()=>{class G{constructor(){this.store=(0,M.WQX)(t.il),this.translateService=(0,M.WQX)(h.c$),this.loaded$=this.store.pipe((0,t.Lt)(st)),this.getPolicies$=this.store.pipe((0,t.Lt)(jt),(0,s.n)(ut=>(0,w.T)(()=>!ut||0===ut.length,(0,I.of)([]),(0,z.z)(ut.map(yt=>this.translateVehicleActions(yt))))),(0,l.T)(ut=>[...ut.map(yt=>({...yt,buttonVisibility:{...yt.buttonVisibility,showManage:this.checkAtLeastOneActionIsVisible(yt)}}))])),this.getSubmissions$=this.store.pipe((0,t.Lt)(Nt)),this.getHomePoliciesMessage$=this.store.pipe((0,t.Lt)(Dt)),this.getHomeSubmissionsMessage$=this.store.pipe((0,t.Lt)(pe))}loadVehicles(ut,yt){this.store.dispatch(e({userTaxID:ut,skipRedirect:yt}))}getFormattedInstallmentDueDateByPolicyNumber(ut){return this.store.pipe((0,t.Lt)((G=>(0,t.Mz)(Lt(G),dt=>{let ut;return dt?.policyInfo?.installmentDueDate&&(ut=new D.Qnl(dt.policyInfo.installmentDueDate).addDays(1)),ut?ut.getStandardFormat():""}))(ut)))}getVehicleTypeByPolicyNumber(ut){return this.store.pipe((0,t.Lt)((G=>(0,t.Mz)(jt,dt=>dt.find(yt=>yt.encryptedPolicyNumber===G)?.vehicleInfo.type.code))(ut)))}getVehicleInfoByPolicyNumber(ut){return this.store.pipe((0,t.Lt)((G=>(0,t.Mz)(Lt(G),dt=>dt?.vehicleInfo))(ut)))}getPolicyNumber(ut){return this.store.pipe((0,t.Lt)((G=>(0,t.Mz)(jt,dt=>dt.find(yt=>yt.encryptedPolicyNumber===G)?.policyNumber))(ut)))}getVehicleByPolicyNumber(ut){return this.store.pipe((0,t.Lt)(Lt(ut)))}getPaymentInfoByPolicyNumber(ut){return this.getVehicleByPolicyNumber(ut).pipe((0,v.p)(Boolean),(0,l.T)(yt=>{const Re=yt.policyInfo.installmentAmount??yt.policyInfo.totalCost,[Pe,qe="00"]=Re.toFixed(2).split(".");return{priceToPay:[Pe,qe]}}))}getAdditionalVehicleInfo(ut){return this.getVehicleInfoByPolicyNumber(ut).pipe((0,v.p)(Boolean),(0,l.T)(yt=>({model:yt?`${yt?.brand} ${yt?.model}`:"",plate:yt?.plate??""})))}resetVehiclesState(){this.store.dispatch(f())}checkAtLeastOneActionIsVisible(ut){return Object.values(ut.buttonVisibility.policyManagement??{}).some(yt=>yt?.visibility)}translateActions(ut){return ut&&0!==ut.length?(0,z.z)(ut.map(yt=>yt.name?this.translateService.stream(yt.name).pipe((0,l.T)(Re=>({...yt,name:Re}))):(0,I.of)(yt))):(0,I.of)([])}translateVehicleActions(ut){return this.translateActions(ut.policyManagementActions??[]).pipe((0,l.T)(yt=>({...ut,policyManagementActions:yt})))}static{this.\u0275fac=function(yt){return new(yt||G)}}static{this.\u0275prov=M.jDH({token:G,factory:G.\u0275fac})}}return G})();var y=o(44181),U=o(51203);let F=(()=>{class G{static{this.\u0275fac=function(yt){return new(yt||G)}}static{this.\u0275mod=U.$C({type:G})}static{this.\u0275inj=M.G2t({providers:[vt,g.IO,B.D],imports:[y.MD,T.lX,t.md.forFeature
1(N,ot),A.Vm.forFeature([p])]})}}return G})()},37657(ht,L,o){"use strict";o.d(L,{EV:()=>m,IS:()=>pa,JB:()=>t,GP:()=>Ta,iE:()=>ha,RP:()=>B,Zx:()=>g,Rv:()=>_,F9:()=>f,lI:()=>ua,Vu:()=>r,rP:()=>A,zl:()=>Fa,q0:()=>$,uP:()=>ti,x0:()=>yi,iC:()=>qo,WZ:()=>ke,F_:()=>Bi,tN:()=>Ie,F8:()=>_a,c7:()=>Rt,tn:()=>ue,V$:()=>Ao,uK:()=>Oo,DE:()=>an,b$:()=>Zo,Pu:()=>ga,Wx:()=>ca,HU:()=>Zi,GX:()=>Ne,C2:()=>Oa,Wn:()=>ma,p4:()=>rt,le:()=>M,x:()=>c,Hx:()=>n,sF:()=>ia});var t={};o.r(t),o.d(t,{f2:()=>jo,TJ:()=>tn,pF:()=>et,nB:()=>St,NT:()=>Nn,Bj:()=>Ko,n5:()=>pe,PE:()=>_t,q8:()=>ln,MI:()=>In,oD:()=>eo,T6:()=>Do,cZ:()=>ye,Mw:()=>v,IN:()=>wn,J0:()=>K,H1:()=>Jt,qN:()=>gt,qX:()=>Dt,Yn:()=>re,ff:()=>V,rc:()=>C,O6:()=>H,mw:()=>st,x3:()=>ot,f4:()=>Le,vo:()=>Ue,c5:()=>zt,U$:()=>jt,kM:()=>At,PA:()=>N,F_:()=>lo,Uz:()=>sn,wE:()=>co,V3:()=>to,Xf:()=>We,Xm:()=>Qe,EZ:()=>xe,Ft:()=>S,Xg:()=>ui,U3:()=>_i,xr:()=>xo,B5:()=>W,O1:()=>vt,wy:()=>y,HD:()=>dn,Fe:()=>$n,nM:()=>vn,rT:()=>Lt,LB:()=>Jo,uS:()=>X,p_:()=>we,db:()=>Et,u4:()=>vo,VX:()=>En,$w:()=>Je,RA:()=>pn,$j:()=>he,RN:()=>G,hs:()=>pt,QB:()=>Io,cl:()=>oi,F3:()=>Yo,g5:()=>Wo,RI:()=>rn,NN:()=>Mi,fl:()=>wo,H_:()=>Wt,RQ:()=>Wn,cx:()=>J,oc:()=>te,UK:()=>gn,AA:()=>hn,bR:()=>fi});var e=function(Vt){return Vt.Email="email",Vt.ActivateAccount="attiva-account",Vt.Password="password",Vt.ChosePassword="scegli-password",Vt.ResetPassword="reimposta-password",Vt.RetrievePassword="recupera-password",Vt.ActivationAccountComplete="attivazione-account-completata",Vt.RetrieveAccountComplete="recupero-account-completato",Vt.ExpireActivationLintError="link-attivazione-scaduto",Vt.ExpiredRetrieveLinkError="link-recupero-scaduto",Vt}(e||{}),n=function(Vt){return Vt.PolicyChangeStepData="policyChangeStepData",Vt.NewVehicleData="newVehicleData",Vt.QuoteData="quoteData",Vt.PaymentData="paymentData",Vt.Suspension="suspension",Vt}(n||{}),c=function(Vt){return Vt.VehicleData="dati-veicolo",Vt.NewVehicleData="dati-nuovo-veicolo",Vt.Quotation="quotazione",Vt.Payment="pagamento",Vt.Suspension="sospensione",Vt}(c||{});const f=new Map([[n.PolicyChangeStepData,c.VehicleData],[n.NewVehicleData,c.NewVehicleData],[n.QuoteData,c.Quotation],[n.PaymentData,c.Payment],[n.Suspension,c.Suspension]]);var M=function(Vt){return Vt.EncryptedPolicyNumber="encryptedPolicyNumber",Vt}(M||{}),m=function(Vt){return Vt.Home="home",Vt.Detail="dettaglio",Vt.Profile="profilo",Vt.Renewal="rinnovo",Vt.Edit="modifica",Vt.Error="error",Vt.MagicLink="fast",Vt.NewError="errore",Vt.GenericError="errore-tecnico",Vt.InfoRequest="info-request",Vt.MultipleVersions="multiple-versions",Vt.Auth="login",Vt.ThankYou="thank-you",Vt.NewInfoRequest="new-info-request",Vt.PolicyChange="policy-change",Vt.Claim="sinistro",Vt.Claims="sinistri",Vt.ClosureTelephone="chiusura-telefonica",Vt.EditPolicy="modifica-polizza",Vt.ExpiredSession="sessione-scaduta",Vt.ConsentManagement="gestione-consensi",Vt.DigitalCai="digital-cai",Vt.Withdrawal="recesso",Vt}(m||{}),r=function(Vt){return Vt.Suspension="sospensione",Vt.Reactivation="riattivazione",Vt.VehicleChange="cambio-veicolo",Vt.Payment="pagamento",Vt}(r||{}),_=function(Vt){return Vt.Claims="sinistri",Vt.Policies="polizze",Vt.Submissions="preventivi",Vt.Automatic="auto",Vt}(_||{}),g=function(Vt){return Vt.PoliciesSubmissions="submissionOrPolicy",Vt}(g||{}),$=function(Vt){return Vt.Start="inizio",Vt}($||{});const B=[`/${m.ThankYou}`,`/${m.GenericError}`,`/${m.NewError}`,`/${m.Error}`,`/${m.DigitalCai}`,`/${m.Auth}/${e.Email}`,`/${m.PolicyChange}/${r.VehicleChange}/${c.NewVehicleData}`],A=[`/${m.PolicyChange}/${r.Reactivation}/${c.Quotation}`,`/${m.PolicyChange}/${r.Reactivation}/${c.Payment}`,`/${m.PolicyChange}/${r.VehicleChange}/${c.Quotation}`,`/${m.PolicyChange}/${r.VehicleChange}/${c.Payment}`];var I=o(75089);const C=new Map([[I.o0Z.POLICY,_.Policies],[I.o0Z.SUBMISSION,_.Submissions]]),v="https://www.conte.it/",N="pa",W="portal",pt="self_provisioning",ot="none",gt="default",et="aniako",Et="renProposal",K="cta",_t="card",st=new Map([[I.dmC.PayPal,"paypal"],[I.dmC.Klarna,"klarna"],[I.dmC.TraditionalCard,_t]]),zt="oneclick",jt="oneclick|authenticator",Dt="default|authenticator",pe="button",Lt="radioButton",St="ap|rn",S="pa|payment|rn",vt="portal|payment|rn",y="portal|payment|int",G="RN",H="landing",V="error",sn="payment|bank",gn="thankyou",hn="thankyou|48h",rn="telephoneClosure",Wn="telephoneClosure|noDays",J="telephoneClosure|refund",Wt="telep
1honeClosure|af",te="telephoneClosure|termext",Ue="000",ln={event:{action:"pa|claim",label:{contractorButton:"CambiaContraente",showClaim:"Visualizza",homeTab:"Sinistri",claimNumber:"ClaimNumber: "}},pageView:{version:{noClaims:"empty"},businessType:"claim"}},In="conferma",Le="non salvare",tn="alreadyPurchased",dn="acquistaRinnovoSingolaVersione",$n="acquistaRinnovoSingolaVersione1Click",vn="acquistaRinnovoSingolaVersioneAltraCarta",to="payment|modal|gestpay",co="payment|modal|consent",We="payment|modal|rnexpired",xe="payment|uwko",Qe="payment|rnexpired",At="online",Jt="cta|chiamaci",he="modificaRinnovoModaleSingolaVersione",Je="modificaGaranzieRinnovoModaleSingolaVersione",pn="modificaInfoRinnovoModaleSingolaVersione",En="007|test",vo="007|notEligible",lo="payment",xo="phone",Ko="banktransfer",jo="IT46Q0326803204052869576843",Wo="techko",oi="suspension",Do="confirmation|motofree",ye="confirmation|notvol",eo="confirmation",wn="Prosegui",ui="pc|suspension|motofree",_i="pc|suspension|notvol",Mi="telephoneClosure|ania",wo="telephoneClosure|aniaKo",Io="currentFlow";var Yo=function(Vt){return Vt.VehicleChange="fromVehicleChange",Vt}(Yo||{});const Jo="pc|reactivation|other",X="pc|reactivation|other|refund",we="pc|reactivation|other|threshold";var re=function(Vt){return Vt.Atr="ATTESTATO_DI_RISCHIO",Vt.CertificatoDiAssicurazione="CERTIFICATO DI ASSICURAZIONE",Vt.ContrattoOcto="CERTIFICATO DI ASSICURAZIONE OCTO",Vt.CartaVerde="CARTA VERDE",Vt.Preventivo="PREVENTIVO",Vt.KitOffertaRinnovo="PREVENTIVO",Vt.ContrattoParteGenerale="CONTRATTO PARTE GENERALE",Vt.Contratto="CONTRATTO PARTE GENERALE",Vt}(re||{});const Nn="Bank",fi=new Map([[re.Atr,{action:"download|ATR",label:"ATR",errorLabel:"erroreATR"}],[re.CertificatoDiAssicurazione,{action:"download|Certificate",label:"Certificato",errorLabel:"erroreCertificato"}],[re.Contratto,{action:"download|Contract",label:"Contratto",errorLabel:"erroreContratto"}],[re.ContrattoParteGenerale,{action:"download|Contract",label:"Contratto",errorLabel:"erroreContratto"}],[re.ContrattoOcto,{action:"download|CertificateOCTO",label:"CertificatoOCTO",errorLabel:"erroreCertificatoOCTO"}],[re.CartaVerde,{action:"download|CartaVerde",label:"CartaVerde",errorLabel:"erroreCartaVerde"}],[re.Preventivo,{action:"download|Preventivo",label:"Preventivo",errorLabel:"errorePreventivo"}],[re.KitOffertaRinnovo,{action:"download|Preventivo",label:"Preventivo",errorLabel:"errorePreventivo"}]]);var Bn=o(79711);const ia=Vt=>function Ti(Vt){return Vt.policyNumber?{id:Vt.id,policy_number:Vt.policyNumber,license_plate:Vt.licensePlate,fractionation:Vt.fractionation,job_type:Vt.jobType,payment_method:Vt.accountPaymentMethod,kite:!Vt.isFraud,written_date:ra(Vt.creationDate)}:null}({policyNumber:Vt.policyNumber,licensePlate:Vt.vehicleInfo?.plate,fractionation:Vt.policyInfo?.paymentDivision?.code,jobType:Vt.renewalInfo?Bn.Yx.Renewal:Bn.Yx.Policy,accountPaymentMethod:Vt.accountPaymentMethod,isFraud:Vt.isFraud,creationDate:Vt.policyInfo?.creationDate,id:Vt.policyNumber});function ra(Vt){return Vt?new Date(Vt).toISOString().split("T")[0]:""}const pa=Symbol("consentConfigurationToken"),ua="policyChange",_a="vehicleChange",Lo="pc|vehicleChange",ao="vehicleChangeData",xa=ao+"|48h|modal",Ma=ao+"|modal|futureSuspension",Pi="quotation",Ji=Pi+"|modal|futureSuspension",O=Pi+"|modal|coverage";var rt=function(Vt){return Vt[Vt.ModalSuspension=0]="ModalSuspension",Vt[Vt.FutureSuspension=1]="FutureSuspension",Vt[Vt.QuotationModalFutureSuspension=2]="QuotationModalFutureSuspension",Vt[Vt.QuotationModalUpSelling=3]="QuotationModalUpSelling",Vt}(rt||{});const Rt=new Map([[n.PolicyChangeStepData,ao],[rt.ModalSuspension,xa],[rt.FutureSuspension,Ma],[n.NewVehicleData,"newVehicle"],[n.QuoteData,Pi],[rt.QuotationModalFutureSuspension,Ji],[rt.QuotationModalUpSelling,O],[n.PaymentData,"payment"]]),ue=new Map([[n.PolicyChangeStepData,"prosegui-step-1"],[n.NewVehicleData,"prosegui-step-2"],[n.QuoteData,"prosegui-step-3"]]),Ie=new Map([[n.PolicyChangeStepData,`${Lo}|${Rt.get(n.PolicyChangeStepData)}`],[rt.ModalSuspension,`${Lo}|${Rt.get(rt.ModalSuspension)}`],[rt.FutureSuspension,`${Lo}|${Rt.get(rt.FutureSuspension)}`],[rt.QuotationModalFutureSuspension,`${Lo}|${Rt.get(rt.QuotationModalFutureSuspension)}`],[n.NewVehicleData,`${Lo}|${Rt.get(n.NewVehicleData)}`],[n.QuoteData,`${Lo}|${Rt.get(n.QuoteData)}`],[rt.QuotationModalUpSelling,`${Lo}|${Rt.get(rt.QuotationModalUpSelling)}`],[n.PaymentData,`${Lo}|${Rt.get(n.PaymentData)}`]]),Ne=new Map([[I.D_l.Payment,`${Lo}|${I.D_l.Payment}`],[I.D_l.Refund,`${Lo}|${I.D_l.Refund}`],[I.D_l.Threshold,`${Lo}|${I.D_l.Threshold}`]]),an="Veicolo senza targa",Oo="Nuovo proprietario",Zo="Redirect nuovo proprietario",Bi="Redirect tipo di veicolo diverso",qo="Torna alle polizze",yi="Torna indietro",ke="Chiudi",ti="Aggiungi polizza",Ao="Rimuovi polizza",Oa="Aggiungi e prosegui",ma="Prosegui senza aggiungere",Zi="Termina cambio veicolo",ga="Conferma",ca="Procedi",ha=new Map([[I.XJp.VehicleChange,I.XJp.VehicleChange],[I.XJp.PolicyEdit,I.XJp.PolicyEdit],[I.XJp.Reactivation,Jo],[I.XJp.DriverTypeEdit,I.XJp.DriverTypeEdit],[I.XJp.ContactsEdit,I.XJp.ContactsEdit],[I.XJp.ResidenceEdit,I.XJp.ResidenceEdit]]),
1Ci="errorDEF",Oe=`${Ci}.genericError`,bi=`${Ci}.error4`,Fi=`${Ci}.errorTelephoneForBrokers`,Ei=`${Ci}.payment`,no=`${Ci}.profile`,qi=`${Ci}.aniaKo`,Ta={GENERIC_ERROR:{_PATH:Oe,TITLE:`${Oe}.title`,SUBTITLE:`${Oe}.subtitle`,CARD_LABEL:`${Oe}.cardLabel`,IMG_SRC:`${Oe}.imgSrc`,TELEPHONE_NUMBER:`${Oe}.telephoneNumber`},ERROR4:{_PATH:bi,TITLE:`${bi}.title`,TEXT:`${bi}.text`,SUBTITLE:`${bi}.subtitle`,BROKER_TELEPHONE_NUMBER:`${bi}.brokerTelephoneNumber`,TELEPHONE_NUMBER:`${bi}.telephoneNumber`},TELEPHONE_FOR_BROKERS_ERROR:{_PATH:Fi,TITLE:`${Fi}.title`,SUBTITLE:`${Fi}.subtitle`,TELEPHONE_NUMBER:`${Fi}.telephoneNumber`,WORKING_HOURS:`${Fi}.workingHours`},PAYMENT:{_PATH:Ei,ERROR_CREDIT_CARD:`${Ei}.errorCreditCard`,ERROR_CREDIT_CARD_MESSAGE:`${Ei}.errorCreditCardMessage`,ERROR_CREDIT_CARD_MESSAGE_TITLE:`${Ei}.errorCreditCardMessageTitle`,ERROR_5DAYS_BEFORE_EXP_TITLE:`${Ei}.error5DaysBeforeExpirationTitle`,ERROR_5DAYS_BEFORE_EXP_TEXT:`${Ei}.error5DaysBeforeExpirationText`},PROFILE:{_PATH:no,GENERIC:`${no}.generic`,PAYMENT_METHOD:`${no}.paymentMethod`,RETRY:`${no}.retry`},ANIA_KO:{_PATH:qi,SUBTITLE:`${qi}.subtitle`,DESCRIPTION:`${qi}.description`}},Mn="shared.step.address",Xo="shared.page.detail",wi=`${Xo}.fractionation`,$o=`${Xo}.buttonLabels`,vi=`${Xo}.privacyCheckbox`,Vi=`${Xo}.blockedRenewal`,Hi=`${Xo}.expiredRenewal`,uo=`${Xo}.descriptions`,qn=`${uo}.welcomeMessages`,Ui=`${uo}.policyInfo`,ri=`${uo}.expirationInfoMessage`,en=`${Ui}.labels`,Ho=`${uo}.certifiedQuality`,jn=`${uo}.bankTransfer`,ei=`${jn}.labels`,Ii=`${jn}.days`,Gi=`${uo}.coverages`,ci=`${uo}.paymentMethods`,zi=`${uo}.expiredPolicies`,Uo="shared.step.drivers",No=`${Uo}.driverOption`,xi=`${Uo}.policyEdit`,ni=`${Uo}.renewalEdit`,Ze="shared.step.payment",ro=`${Ze}.transactionType`,mt=`${Ze}.errorMessage`,qt=`${Ze}.policyChange`,ve=`${qt}.suspension`,Ke=`${qt}.vehicleChange`,Yn=`${qt}.reactivation`,fo=`${Yn}.errorMessage`,Co=`${ve}.errorMessage`,Xn=`${Ke}.errorMessage`,si=`${Ze}.policyEdit`,ji=`${si}.errorMessage`,Bo=`${Ze}.renewalEdit`,Pa=`${Bo}.error`,Kn="shared.page.purchaseConfirmation",Tn=`${Kn}.infoCardData`,ya=`${Kn}.successBanner`,Yi=`${Kn}.callToAction`,ea=`${Kn}.octoTelematicsData`,un="shared",To=`${un}.button`,Ca=`${un}.page`,Ai=`${un}.expiredSession`,u=`${un}.links`,Ft=`${un}.modal`,ct=`${Ft}.ania`,xt=`${Ft}.logout`,Me=`${Ft}.contact`,De=`${Me}.generic`,Po=`${Me}.error4`,Fn=`${Me}.managedByBroker`,yo=`${Me}.error4ManagedByBroker`,_o=`${Ft}.savePaymentMethodConsensus`,na=`${un}.emptyTabCourtesyMessage`,li=`${na}.policy`,So=`${na}.submission`,Ia=`${Ca}.multipleVersions`,Aa=`${Ia}.submissions`,Sa=`${Ia}.renewals`,Fa={_PATH:un,INFO_TOOLTIP_LABEL:`${un}.infoTooltipLabel`,POLICY:`${un}.policy`,POLICY_NUMBER:`${un}.policyNumber`,POLICY_DETAIL:`${un}.policyDetail`,POLICY_DATA:`${un}.policyData`,POLICY_DATA_SUMMARY:`${un}.policyDataSummary`,UPDATED_SUBMISSION_TEXT:`${un}.updatedSubmissionText`,CALL_US_NUMBER:`${un}.callUsNumber`,FOR_WHICH_REASON:`${un}.forWhichReason`,START_WRITING:`${un}.startWriting`,MANDATORY_FIELD:`${un}.mandatoryField`,KIND_MANDATORY_FIELD:`${un}.kindMandatoryField`,YES:`${un}.yes`,NO:`${un}.no`,OPTIONAL:`${un}.optional`,PRIVACY_CONSENT:`${un}.privacyConsent`,PRIVACY_CONSENT_TITLE:`${un}.privacyConsentTitle`,EMPTY_TAB_COURTESY_MESSAGE:{_PATH:na,POLICY:{_PATH:li,TITLE:`${li}.title`,SUBTITLE:`${li}.subtitle`,PRIMARY_BUTTON_TEXT:`${li}.primaryButtonText`,SECONDARY_BUTTON_TEXT:`${li}.secondaryButtonText`},SUBMISSION:{_PATH:So,TITLE:`${So}.title`,SUBTITLE:`${So}.subtitle`,PRIMARY_BUTTON_TEXT:`${So}.primaryButtonText`,SECONDARY_BUTTON_TEXT:`${So}.secondaryButtonText`,SUBMISSION_DETAIL_TITLE:`${So}.submissionDetailTitle`,SUBMISSION_DATA_TITLE:`${So}.submissionDataTitle`,SUBMISSION_NUMBER_LABEL:`${So}.submissionNumberLabel`}},MODAL:{_PATH:Ft,ANIA:{_PATH:ct,TEXT:`${ct}.text`},LOGOUT:{_PATH:xt,TITLE:`${xt}.title`,TEXT:`${xt}.text`,PRIMARY_BUTTON:`${xt}.primaryButtonText`,SECONDARY_BUTTON:`${xt}.secondaryButtonText`},CONTACT:{_PATH:Me,GENERIC:{_PATH:De,TITLE:`${De}.title`,DESCRIPTION:`${De}.description`,INSTRUCTIONS_TEXT:`${De}.instructionsText`,CALL_TO_ACTION_TEXT:`${De}.callToActionText`,CALL_TO_ACTION_HREF:`${De}.callToActionHref`},ERROR4:{_PATH:Po,TITLE:`${Po}.title`,DESCRIPTION:`${Po}.description`,INSTRUCTIONS_TEXT:`${Po}.instructionsText`},BROKER:{_PATH:Fn,TITLE:`${Fn}.title`,DESCRIPTION:`${Fn}.description`,INSTRUCTIONS_TEXT:`${Fn}.instructionsText`,CALL_TO_ACTION_TEXT:`${Fn}.callToActionText`,CALL_TO_ACTION_HREF:`${Fn}.callToActionHref`},ERROR4_BROKER:{_PATH:yo,TITLE:`${yo}.title`,DESCRIPTION:`${yo}.description`,INSTRUCTIONS_TEXT:`${yo}.instructionsText`}},SAVE_PAYMENT_METHOD_CONSENSUS:{_PATH:_o,TITLE:`${_o}.title`,STRIPE_TITLE:`${_o}.stripeTitle`,STRIPE_SUBTITLE:`${_o}.stripeSubtitle`,DESCRIPTION:`${_o}.description`,CONFIRM_BUTTON:`${_o}.confirmButton`,DECLINE_BUTTON:`${_o}.declineButton`}},LINKS:{_PATH:u,CLICK_FOR_MORE_INFO:`${u}.clickForMoreInfo`,CLICK_HERE:`${u}.clickHere`},BUTTON:{_PATH:To,GO_BACK:`${To}.goBack`,GO_NEXT:`${To}.goNext`,GO_BACK_TO_AREA_PERSONALE:`${To}.goBackToAreaPersonale`,GO_BACK_TO_RENEWALS:`${To}.goBackToRenewals`,GO_BACK_TO_POLICIES:`${To}.goBackToPolicies`,GO_BACK_TO_YOUR_POLICIES:`${To}.goBackToYourPolicies`,GO_BACK_TO_DETAIL:`${To}.goBackToDetail`,GO_TO_PREVIOUS_SUBMISSION:`${To}.goToPreviousSubmission`,GO_BACK_TO_SUBMISSIONS:`${To}.goBackToSubmissions`,GO_BACK_TO_ACCOUNT_MANAGEMENT:`${To}.goBackToAccountManagement`,PROCEED_BUTTON:`${To}.proceedButtonLabel`,SAVE:`${To}.saveButtonLabel`,PRESS_ENTER_LABEL:`${To}.pressEnterLabel`,TIME_CONFIRM:`${To}.timeConfirm`,AGREE_BUTTON:`${To}.agreeButton`},STEP:{_PATH:`${un}.step`,ADDRESS:{_PATH:Mn,TITLE:`${Mn}.title`,SUBTITLE:`${Mn}.subtitle`,RESIDENCE_TITLE:`${Mn}.residenceTitle`,RESIDENCE_PLACEHOLDER:`${Mn}.residencePlaceholder`,DOMICILE_TITLE:`${Mn}.domicileTitle`,DOMICILE_PLACEHOLDER:`${Mn}.domicilePlaceholder`,PROVINCE:`${Mn}.province`,TOWN_TITLE:`${Mn}.townTitle`,TOWN_PLACEHOLDER:`${Mn}.townPlaceholder`,TOPONYM_TITLE:`${Mn}.toponymTitle`,TOPONYM_PLACEHOLDER:`${Mn}.toponymPlaceholder`,ADDRESS_TITLE:`${Mn}.addressTitle`,ADDRESS_PLACEHOLDER:`${Mn}.addressPlaceholder`,CIVIC:`${Mn}.civic`,POSTAL:`${Mn}.postal`,SIDEBAR_TITLE:`${Mn}.sidebarTitle`,RENEWAL_SIDEBAR_TEXT:`${Mn}.renewalSidebarText`,SIDEBAR_TEXT:`${Mn}.sidebarText`,TOOLTIP:`${Mn}.tooltip`,TOOLTIP_TITLE:`${Mn}.tooltipTitle`,CHECKBOX_TITLE:`${Mn}.checkboxTitle`,CHECKBOX_DOMICILE:`${Mn}.checkboxDomicile`,CHECKBOX_SUBTITLE:`${Mn}.checkboxSubtitle`,IMAGE_TEXT_SUBTITLE:`${Mn}.imageTextSubtitle`,GUIDE_TEXT:`${Mn}.guideText`,TOAST_MESSAGE:`${Mn}.toastMessage`},DRIVERS:{_PATH:Uo,TITLE:`${Uo}.title`,SUBTITLE:`${Uo}.subtitle`,SIDEBAR_TITLE:`${Uo}.sidebarTitle`,DRIVER_OPTION:{_PATH:No,TITLE:`${No}.title`,ONLY_MAIN_DRIVER:`${No}.onlyMainDriver`,ONLY_MAIN_DRIVER_NAME:`${No}.onlyMainDriverName`,LIST_OF_PEOPLE:`${No}
1.listOfPeople`,ALL_DRIVERS:`${No}.allDrivers`,AGES:`${No}.ages`,ADULT:`${No}.adult`},POLICY_EDIT:{_PATH:xi,SIDEBAR_TEXT:`${xi}.sidebarText`,TOOLTIP_DESKTOP:`${xi}.tooltipDesktop`,TOOLTIP_MOBILE:`${xi}.tooltipMobile`},RENEWAL_EDIT:{_PATH:ni,SIDEBAR_TEXT:`${ni}.sidebarText`,TOOLTIP_DESKTOP:`${ni}.tooltipDesktop`,TOOLTIP_MOBILE:`${ni}.tooltipMobile`}},PAYMENT:{_PATH:Ze,HIGHLIGHTED_SUBTITLE:`${Ze}.highlightedSubtitle`,SUBTITLE:`${Ze}.subtitle`,STEP_LABEL:`${Ze}.stepLabel`,PROCEED_NOW:`${Ze}.proceedNow`,INTEGRATION_AMOUNT:`${Ze}.integrationAmount`,PAYMENT_METHOD_TITLE:`${Ze}.paymentMethodTitle`,PAYMENT_METHOD_SUBTITLE:`${Ze}.paymentMethodSubtitle`,REFUND_AUTH:`${Ze}.refundAuth`,REFUND_AMOUNT:`${Ze}.refundAmount`,REFUND_METHOD_TITLE:`${Ze}.refundMethodTitle`,REFUND_METHOD_SUBTITLE:`${Ze}.refundMethodSubtitle`,PRIVACY_CHECK_TITLE:`${Ze}.privacyCheckTitle`,ERROR_MSG_MODAL_INFO_LIST:`${Ze}.errorMessageModalInfoList`,TRANSACTION_TYPE:{_PATH:ro,REFUND:{_PATH:`${ro}.refund`,INFORMATION:`${ro}.information`,BUTTON:`${ro}.button`,IS_BENEFICIARY_OWNER:`${ro}.isBeneficiaryOwner`,IS_ITALIAN_BANK:`${ro}.isItalianBank`,USER_INFORMATION:{_PATH:`${ro}.userInformation`,NAME:`${ro}.name`,SURNAME:`${ro}.surname`,IBAN:`${ro}.iban`}},PAYMENT:{_PATH:`${ro}.payment`,INFORMATION:`${ro}.information`,BUTTON:`${ro}.button`},THRESHOLD:{_PATH:`${ro}.threshold`,INFORMATION:`${ro}.information`,BUTTON:`${ro}.button`}},ERROR_MESSAGE:{_PATH:mt,TITLE:`${mt}.title`,LINK:`${mt}.link`},POLICY_CHANGE:{_PATH:qt,REACTIVATION:{_PATH:Yn,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${fo}.errorMessageModalPhoneBoxText`,INTEGRATION:`${fo}.integration`,VEHICLE_CHANGE_RECAP:`${fo}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:fo,TEXT:`${fo}.text`}},SUSPENSION:{_PATH:ve,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${Co}.errorMessageModalPhoneBoxText`,INTEGRATION:`${Co}.integration`,VEHICLE_CHANGE_RECAP:`${Co}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:Co,TEXT:`${Co}.text`}},VEHICLE_CHANGE:{_PATH:Ke,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${Xn}.errorMessageModalPhoneBoxText`,INTEGRATION:`${Xn}.integration`,VEHICLE_CHANGE_RECAP:`${Xn}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:Xn,TEXT:`${Xn}.text`}}},POLICY_EDIT:{_PATH:si,ERROR_MSG_MODAL_PHONE_BOX_TEXT:`${si}.errorMessageModalPhoneBoxText`,INTEGRATION:`${si}.integration`,VEHICLE_CHANGE_RECAP:`${si}.vehicleChangeRecap`,ERROR_MESSAGE:{_PATH:ji,TEXT:`${ji}.text`}},RENEWAL_EDIT:{_PATH:Bo,TITLE:`${Bo}.title`,SUBTITLE:`${Bo}.subtitle`,SIDEBAR_TEXT:`${Bo}.sidebarText`,POLICY_SPLITTING:`${Bo}.policySplittingTitle`,PAYMENT_METHOD_TITLE:`${Bo}.paymentMethodTitle`,PAYMENT_METHOD_TEXT:`${Bo}.paymentMethodText`,TOOLTIP:`${Bo}.tooltip`,ERROR:{_PATH:Pa,TITLE:`${Pa}.title`,TEXT:`${Pa}.text`}}}},PAGE:{_PATH:Ca,MULTIPLE_VERSIONS:{_PATH:Ia,SUBMISSIONS:{_PATH:Aa,PRE_TITLE:`${Aa}.preTitle`,TITLE:`${Aa}.title`},RENEWALS:{_PATH:Sa,PRE_TITLE:`${Sa}.preTitle`,TITLE:`${Sa}.title`}},DETAIL:{_PATH:Xo,SUBMISSION_NUMBER:`${Xo}.submissionNumber`,VEHICLE_INFO:`${Xo}.vehicleInfo`,FRACTIONATION:{_PATH:wi,ANNUAL:`${wi}.annual`,BIANNUAL:`${wi}.biannual`},BUTTON_LABELS:{_PATH:$o,BUY:`${$o}.buy`,CREDIT_CARD:`${$o}.CreditCard`,RN_ONE_CLICK:`${$o}.RNOneClick`,BANK_TRANSFER:`${$o}.BankTransfer`,PHONE_CLOSURE:`${$o}.phoneClosure`,ERROR_4:`${$o}.error4`,EDIT_CARD:`${$o}.editCard`,RENEWAL_EDIT:`${$o}.renewalEdit`,PURCHASE_INSTRUCTIONS:`${$o}.purchaseInstructions`,INSTALLMENTS_PAYMENT:`${$o}.installmentsPayment`},PRIVACY_CHECKBOX:{_PATH:vi,STYLE:`${vi}.style`,INPUT_ID:`${vi}.inputId`,INPUT_NAME:`${vi}.inputName`,LABEL:`${vi}.label`,MESSAGE:`${vi}.message`},BLOCKED_RENEWAL:{_PATH:Vi,TITLE:`${Vi}.title`,DESCRIPTION:`${Vi}.description`,SUBTITLE:`${Vi}.subtitle`},EXPIRED_RENEWAL:{_PATH:Hi,TITLE:`${Hi}.title`,DESCRIPTION:`${Hi}.description`,SUBTITLE:`${Hi}.subtitle`},DESCRIPTIONS:{_PATH:uo,OR:`${uo}.or`,DISCOUNTED_PRICE:`${uo}.discountedPrice`,TOTAL_ANNUAL_PRICE:`${uo}.totalAnnualPrice`,SECOND_INSTALLMENT:`${uo}.secondInstallment`,DOCUMENTS_TITLE:`${uo}.documentsTitle`,WELCOME_MESSAGES:{_PATH:qn,RENEWAL:`${qn}.renewal`,EXPIRED:`${qn}.expired`,EXPIRED15:`${qn}.expired15`,SUMMARY:`${qn}.summary`,DESCRIPTION:`${qn}.description`,DESCRIPTION_SINGULAR:`${qn}.descriptionSingular`,DESCRIPTION_TODAY:`${qn}.descriptionToday`,DESCRIPTION_EXPIRED:`${qn}.descriptionExpired`,DESCRIPTION_EXPIRED_SINGULAR:`${qn}.descriptionExpiredSingular`,DESCRIPTION_SUMMARY:`${qn}.descriptionSummary`,CHEAPER_MOBILE:`${qn}.cheaperMobile`,HIGHER_EXPIRED_MOBILE:`${qn}.higherExpiredMobile`,HIGHER_UNEXPIRED_MOBILE:`${qn}.higherUnexpiredMobile`,HIGHER_CONTACT_MOBILE:`${qn}.higherContactMobile`},EXPIRATION_INFO_MESSAGE:{_PATH:ri,TITLE:`${ri}.title`,SINGULAR:`${ri}.singular`,TODAY:`${ri}.today`,EXPIRED:`${ri}.expired`,EXPIRED_SINGULAR:`${ri}.expiredSingular`},POLICY_INFO:{_PATH:Ui,TITLE:`${Ui}.title`,DESCRIPTION:`${Ui}.description`,EXPIRATION_DATE_MESSAGE:`${Ui}.expirationDateMessage`,LABELS:{_PATH:en,POLICY_HOLDER:`${en}.policyHolder`,VEHICLE_BRAND:`${en}.vehicleBrand`,PLATE_NUMBER:`${en}.plateNumber`,POLICY_NUMBER:`${en}.policyNumber`,EFFECTIVE_DATE:`${en}.effectiveDate`,EXPIRATION_DATE:`${en}.expirationDate`,FRACTIONATION:`${en}.fractionation`,PAYMENT_METHOD:`${en}.paymentMethod`,EMAIL:`${en}.email`,PHONE:`${en}.phone`}},CERTIFIED_QUALITY:{_PATH:Ho,MAIN_TITLE:`${Ho}.mainTitle`,MAIN_SUBTITLE:`${Ho}.mainSubtitle`,ASSISTANCE_TITLE:`${Ho}.assistanceTitle`,FIRST_CARD_TITLE:`${Ho}.firstCardTitle`,FIRST_CARD_SUBTITLE:`${Ho}.firstCardSubtitle`,SECOND_CARD_TITLE:`${Ho}.secondCardTitle`,SECOND_CARD_SUBTITLE:`${Ho}.secondCardSubtitle`},BANK_TRANSFER:{_PATH:jn,COPIED_LABEL:`${jn}.copiedLabel`,FEEDBACK_MESSAGE:`${jn}.feedbackMessage`,FEEDBACK_DESCRIPTION:`${jn}.feedbackDescription`,FEEDBACK_INSTRUCTIONS:`${jn}.feedbackInstructions`,BANK_TRANSFER_TITLE:`${jn}.bankTransferTitle`,BANK_TRANSFER_INSTRUCTIONS:`${jn}
1.bankTransferInstructions`,BANK_TRANSFER_TOAST_MESSAGE:`${jn}.bankTransferToastMessage`,POLICY_INFO_DESCRIPTION:`${jn}.policyInfoDescription`,COVERAGE_SECTION_DESCRIPTION:`${jn}.coverageSectionDescription`,COVERAGE_TOTAL_AMOUNT_TEXT:`${jn}.coverageTotalAmountText`,COVERAGE_TOTAL_AMOUNT_DESCRIPTION:`${jn}.coverageTotalAmountDescription`,DOCUMENTS_TITLE:`${jn}.documentsTitle`,VEHICLE_INFO:`${jn}.vehicleInfo`,VEHICLE_INFO_EXPIRED:`${jn}.vehicleInfoExpired`,LABELS:{_PATH:ei,IBAN:`${ei}.iban`,BENEFICIARY:`${ei}.beneficiary`,CAUSE_OF_PAYMENT:`${ei}.causeOfPayment`,AMOUNT_TO_PAY:`${ei}.amountToPay`},DAYS:{_PATH:Ii,TODAY:`${Ii}.today`,IN_DAY:`${Ii}.inDay`,IN_DAYS:`${Ii}.inDays`,BETWEEN_DAY:`${Ii}.betweenDay`,BETWEEN_DAYS:`${Ii}.betweenDays`}},COVERAGES:{_PATH:Gi,ONLY_COVERAGES:`${Gi}.onlyCoverages`,TITLE:`${Gi}.title`,COVERAGE_TOTAL_AMOUNT:`${Gi}.coverageTotalAmountText`,COVERAGE_INFO_MODAL:`${Gi}.coverageInfoModal`},PAYMENT_METHODS:{_PATH:ci,CREDIT_CARD:`${ci}.creditCard`,BANK_TRANSFER:`${ci}.bankTransfer`,PAYPAL:`${ci}.payPal`,KLARNA:`${ci}.klarna`,AMERICAN_EXPRESS:`${ci}.americanExpress`,PREPAID_CARD:`${ci}.prepaidCard`},EXPIRED_POLICIES:{_PATH:zi,POLICY_EXPIRED:`${zi}.policyExpired`,PURCHASE_INSTRUCTIONS:`${zi}.purchaseInstructions`}}},PURCHASE_CONFIRMATION:{_PATH:Kn,INFO_CARD_DATA:{_PATH:Tn,PRICE_TYPE:`${Tn}.priceType`,PAYMENT_SAVED_TEXT:`${Tn}.paymentSavedText`,PAYMENT_NOT_SAVED_TEXT:`${Tn}.paymentNotSavedText`,CAPTION:`${Tn}.caption`,DESCRIPTION_TEXT_ONE_CLICK:`${Tn}.descriptionTextOneClick`},SUCCESS_BANNER:{_PATH:ya,TITLE:`${ya}.title`},INSTRUCTION_TITLE:`${Kn}.instructionTitle`,INSTRUCTION_SUBTITLE:`${Kn}.instructionSubtitle`,ISSUED_RENEWAL_TITLE:`${Kn}.issuedRenewalTitle`,ISSUED_RENEWAL_SUBTITLE:`${Kn}.issuedRenewalSubtitle`,CALL_TO_ACTION:{_PATH:Yi,ADVERTISING_TITLE:`${Yi}.advertisingTitle`,ADVERTISING_SUBTITLE:`${Yi}.advertisingSubtitle`,ISSUED_ADVERTISING_TITLE:`${Yi}.issuedAdvertisingTitle`,ACTION_BUTTON_TEXT:`${Yi}.actionButtonText`,DESCRIPTION_TITLE:`${Yi}.descriptionTitle`,DESCRIPTION_TEXT:`${Yi}.descriptionText`},OCTO_TELEMATICS_DATA:{_PATH:ea,TELEMATICS_BODY:`${ea}.telematicsBody`}}},EXPIRED_SESSION:{_PATH:Ai,TITLE:`${Ai}.title`,TEXT:`${Ai}.text`,BUTTON:`${Ai}.button`},INSURANCE_COMPANIES:`${un}.insuranceCompanies`}},74683(ht,L,o){"use strict";o.d(L,{MU:()=>z,sK:()=>B,uR:()=>A,rD:()=>D,tH:()=>w,q$:()=>W,Ge:()=>v,pl:()=>Bt,OO:()=>gt,Bj:()=>st,GU:()=>ft,hT:()=>vt});var t=o(80226),e=o(53515),n=o(27159),c=o(75089),f=o(81477),M=o(21396),m=o(31058),r=o(50741),_=o(12378),g=o(50596),$=o(45198),T=function(y){return y.GetId="AWSCognitoIdentityService.GetId",y.GetOpenIdToken="AWSCognitoIdentityService.GetOpenIdToken",y}(T||{});const B=new t.nKC("auth.config");let A=(()=>{class y{get idToken(){return this._idToken$.getValue()}get idToken$(){return this._idToken$.asObservable()}get cognitoUser(){return this._cognitoUser}set cognitoUser(F){this._cognitoUser=F}get identityId(){return this._identityId}constructor(F){if(this.config=F,this._idToken$=new M.t(""),this._identityId="",!F)throw new Error("AuthService must be configured. Provide a configuration based on `AuthConfiguration`.")}configureNewIdentityPoolId(F){f.H.configure({aws_cognito_identity_pool_id:F})}getIdentityId(){return(0,m.H)(n.N.currentCredentials()).pipe((0,r.M)(({identityId:F})=>this._identityId=F))}getIdToken(){return(0,m.H)(e.n.post(c.L3L.CognitoApi,"",{body:{IdentityId:this._identityId},headers:{"x-amz-target":T.GetOpenIdToken,"content-type":"application/x-amz-json-1.1"}})).pipe((0,r.M)(({Token:F})=>this._idToken$.next(F)),(0,_.T)(({Token:F})=>F))}getPasswordRequirements(){return(0,m.H)(e.n.post(c.L3L.DigitalWorkspaceApiGateway,"/dw/idp/userPoolPasswordPolicies",{body:{userPoolId:this.config.aws_user_pools_id}}))}verifyUser(F){return(0,m.H)(e.n.post(c.L3L.DigitalWorkspaceApiGateway,"/dw/idp/userExists",{body:{username:F,userPoolId:this.config.aws_user_pools_id}}))}login(F,G){return n.N.signIn(F,G)}logout(){return(0,m.H)(n.N.signOut({global:!0}))}confirmPassword(F,G){return n.N.completeNewPassword(F,G)}getCurrentUser(){return n.N.currentAuthenticatedUser()}activateAccount(F){return(0,m.H)(e.n.post(c.L3L.DigitalWorkspaceApiGateway,"/dw/idp/resendActivationEmail",{body:{username:F,userPoolId:this.config.aws_user_pools_id}}))}forgotPassword(F){return(0,m.H)(e.n.post(c.L3L.DigitalWorkspaceApiGateway,"/dw/idp/updateUserEmailAttribute",{body:{username:F,userPoolId:this.config.aws_user_pools_id}})).pipe((0,g.p)(({status:G})=>"OK"===G),(0,$.n)(()=>(0,m.H)(n.N.forgotPassword(F))))}forgotPasswordSubmit(F,G,dt){return(0,m.H)(n.N.forgotPasswordSubmit(F,G,dt))}updateUserAttributes(F){return(0,m.H)(this.getCurrentUser()).pipe((0,r.M)(G=>{G.Session=G.signInUserSession,this.cognitoUser=G}),(0,$.n)(()=>(0,m.H)(n.N.updateUserAttributes(this.cognitoUser,F))))}static{this.\u0275fac=function(G){return new(G||y)(t.KVO(B))}}static{this.\u0275prov=t.jDH({token:y,factory:y.\u0275fac})}}return y})();var E=o(97253),p=o(51203);const h=Symbol("ON_DESTROY_OBSERVABLE_KEY");let w=(()=>{class y{constructor(){this[h]=new E.B}ngOnDestroy(){this[h].next(),this[h].complete()}componentIsDestroyed(){return this[h]}static{this.\u0275fac=function(G){return new(G||y)}}static{this.\u0275cmp=p.VBU({type:y,selectors:[["ng-component"]],decls:0,vars:0,template:function(G,dt){},encapsulation:2})}}return y})();
1const z={cardType:"AmericanExpress",cardTypeCode:"americanexpress",cardImage:"./assets/img/icon-cc-amex.svg",cardClasses:"icon-amex icon-cc-amex",id:1},v={cardType:"Visa",cardTypeCode:"visa",cardImage:"./assets/img/icon-cc-visa.svg",cardClasses:"icon-visa icon-cc-visa",id:2},D={cardType:"Mastercard",cardTypeCode:"master",cardImage:"./assets/img/icon-cc-mastercard.svg",cardClasses:"icon-mastercard icon-cc-mastercard",id:3},N={cardType:"Invalid",cardTypeCode:"invalid",cardImage:"./assets/img/icon-payment-generic-card.svg",cardClasses:"",id:null};let W=(()=>{class y{constructor(){}cardInfoByString(F){return this.cardInfoBy2Digits(Number(F?.replace(/\s+/g,"").slice(0,2)))}getFirst2Digits(F){return Number(F.replace(/\s+/g,"").slice(0,2))}cardInfoBy2Digits(F){return 34===F||37===F?z:22<=F&&F<=27||51<=F&&F<=55?D:40<=F&&F<=49?v:N}static{this.\u0275fac=function(G){return new(G||y)}}static{this.\u0275prov=t.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();var pt=o(73287);function gt(y,U){return F=>(0,pt.O)(U).pipe((0,_.T)(()=>function ot(y,U){if(!y)return null;if(Array.isArray(y)){const F=y.reduce((G,dt)=>({...G,...dt(U)}),{});return Object.keys(F).length?F:null}return y(U)}(y,F)))}function Bt(y){return U=>{const F=U.value,G=y.cardInfoByString(F),dt=U.value?.replace(/\s+/g,"");let ut=!1;F?.indexOf(" ")<0&&(ut=!0);let yt=!0;return(G?.id===z.id&&15===dt.length&&(17===F.length||ut)||(G?.id===v.id||G?.id===D.id)&&16===dt.length&&(19===F.length||ut))&&(yt=!1),yt?{creditCardNumber:{value:U.value}}:null}}function st(){return y=>{const F=y.value;return F?/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(F)?null:{emailInvalid:!0}:null}}function ft(y){return U=>{if(function jt(y){return Array.isArray(y)&&y.every(U=>"string"==typeof U)}(y)&&"string"==typeof U.value)return y.some(F=>F===U.value)?null:{notAllowedValue:!0};if(function Dt(y){return Array.isArray(y)&&y.every(U=>U&&"object"==typeof U&&"code"in U)}(y)&&"string"==typeof U.value)return y.some(F=>F.code===U.value)?null:{notAllowedValue:!0};if(function Nt(y){return Array.isArray(y)&&y.every(U=>zt(U))}(y)&&zt(U.value)){const F=U.value;return y.some(G=>G.value===F.value&&G.description===F.description)?null:{notAllowedValue:!0}}}}function zt(y){return y&&!!y.value&&!!y.description}const Lt=[/^((CH|AQ|PE|TE|MT|PZ|CZ|CS|KR|RC|VV|AV|BN|CE|NA|SA|BO|FE|FC|MO|PR|PC|RA|RE|RN|GO|PN|TS|UD|FR|LT|RI|RM|VT|GE|IM|SP|SV|BG|BS|CO|CR|LC|LO|MN|MI|MB|PV|SO|VA|AN|AP|FM|MC|PU|CB|IS|CA|CI|VS|NU|OG|OT|OR|SS|AG|CL|CT|EN|ME|PA|RG|SR|TP|AR|FI|GR|LI|LU|MS|PI|PT|PO|SI|BZ|TN|AO|BL|PD|RO|TV|VE|VR|VI)[A-Z0-9]{4})$/g,/^(((?:(?![IOQU])[A-Z]){2}[0-9]{3}(?:(?![IOQU])[A-Z]){2})|(CH|AQ|PE|TE|MT|PZ|CZ|CS|KR|RC|VV|AV|BN|CE|NA|SA|BO|FE|FC|MO|PR|PC|RA|RE|RN|GO|PN|TS|UD|FR|LT|RI|RM|VT|GE|IM|SP|SV|BG|BS|CO|CR|LC|LO|MN|MI|MB|PV|SO|VA|AN|AP|FM|MC|PU|CB|IS|CA|CI|VS|NU|OG|OT|OR|SS|AG|CL|CT|EN|ME|PA|RG|SR|TP|AR|FI|GR|LI|LU|MS|PI|PT|PO|SI|BZ|TN|AO|BL|PD|RO|TV|VE|VR|VI)[A-Z0-9]{5})$/g,/^((CH|AQ|PE|TE|MT|PZ|CZ|CS|KR|RC|VV|AV|BN|CE|NA|SA|BO|FE|FC|MO|PR|PC|RA|RE|RN|GO|PN|TS|UD|FR|LT|RI|RM|VT|GE|IM|SP|SV|BG|BS|CO|CR|LC|LO|MN|MI|MB|PV|SO|VA|AN|AP|FM|MC|PU|CB|IS|CA|CI|VS|NU|OG|OT|OR|SS|AG|CL|CT|EN|ME|PA|RG|SR|TP|AR|FI|GR|LI|LU|MS|PI|PT|PO|SI|BZ|TN|AO|BL|PD|RO|TV|VE|VR|VI)[A-Z0-9]{6})$/g],fe=[/^((?:(?![IOQU])[A-Z]){2}[0-9]{5})$/g],St=[/^((?:(?![IOQU])[A-Z0-9]){6})$/g],Xt=[...Lt,...fe,...St],S=new Map([[c.$OU.Car,Lt],[c.$OU.Moped,St],[c.$OU.Motorcycle,fe]]);function vt(y,U){return function pe(y,U){return F=>y.some(G=>!F.value||F.value.match(G))?null:{[U||"regexGroupValidator"]:{valid:!1}}}(y?S.get(y):Xt,U)}},79711(ht,L,o){"use strict";o.d(L,{y9:()=>s,zr:()=>D,Yx:()=>N,hR:()=>W,rU:()=>v,uW:()=>z,B7:()=>w,LQ:()=>pt});var t=o(80226);const e=new t.nKC("FEATURE_FLAGS_CONFIG");var f=o(75796),M=o(8672),m=o(85834),r=o(97253),_=o(55084),g=o(12378),$=o(59681),T=o(75089),B=o(8659),A=o(81383),I=o(28771);function C(et){return et instanceof $.yz?404===et.status?m.O4.FLAG_NOT_FOUND:et.status>=500||0===et.status?m.O4.PROVIDER_NOT_READY:et.error instanceof SyntaxError?m.O4.PARSE_ERROR:m.O4.GENERAL:m.O4.GENERAL}class k{constructor(){this.metadata={name:"LambdaApiGatewayProvider"},this.events=new m.by,this.apiBaseService=(0,t.WQX)(A.V),this.config=(0,t.WQX)(e),this.API_URL=B.lT.Evaluate,this.cache=new Map}initialize(Et){var K=this;return(0,f.A)(function*(){(K.config.prefetch??1)&&(yield K.fetchOnce(Et))})()}onContextChange(Et,K){var at=this;return(0,f.A)(function*(){at.cache.clear(),yield at.fetchOnce(K)})()}fetchOnce(Et){var K=this;return(0,f.A)(function*(){!K.config.testName||0===K.config.knownFlags.length||(yield K.fetchAndCache(K.config.testName,K.config.knownFlags,Et),K.events.emit(m.Nm.ConfigurationChanged))})()}resolveStringEvaluation(Et,K){const at=this.cache.get(Et);return at?at.error?{value:K,errorCode:at.error,reason:at.reason||m.$W.ERROR}:at.eligible&&null!==at.group?{value:at.group,reason:at.reason||m.$W.TARGETING_MATCH,flagMetadata:at.metadata}:{value:K,reason:at.reason||m.$W.DISABLED,flagMetadata:at.metadata}:{value:K,errorCode:m.O4.PROVIDER_NOT_READY,reason:m.$W.ERROR}}resolveBooleanEvaluation(Et,K){const at=this.cache.get(Et);return at?at.error?{value:K,errorCode:at.error,reason:m.$W.ERROR}:{value:at.eligible,reason:at.eligible?m.$W.TARGETING_MATCH:m.$W.DEFAULT,flagMetadata:at.metadata}:{value:K,errorCode:m.O4.PROVIDER_NOT_READY,reason:m.$W.ERROR}}resolveObjectEvaluation(Et,K){const at=this.cache.get(Et);return at?{value:at,reason:m.$W.TARGETING_MATCH,flagMetadata:at.metadata}:{value:K,errorCode:m.O4.PROVIDER_NOT_READY,reason:m.$W.ERROR}}resolveNumberEvaluation(Et,K){return{value:K,errorCode:m.O4.TYPE_MISMATCH,reason:m.$W.ERROR}}getCacheSnapshot(){return this.cache}fetchAndCache(Et,K,at){var Bt=this;return(0,f.A)(function*(){const _t={user_data:at};try{const st=yield(0,I._)(Bt.apiBaseService.post({apiName:T.L3L.ApiCenter,uri:Bt.API_URL.replace(B.Vo.FeatureFlagName,Et),body:_t})),Ut={eligible:st.eligible,group:st.group,reason:st.reason,metadata:{cache_hit:st.cache_hit,eligible:st.eligible,reason:st.reason??"",evaluation_timestamp:st.evaluation_timestamp??0}};
1K.forEach(ft=>{Bt.cache.set(ft,Ut)})}catch(st){const Ut=C(st);K.forEach(ft=>{Bt.cache.set(ft,{eligible:!1,group:null,reason:null,error:Ut,metadata:{}})})}})()}}let s=(()=>{class et{constructor(){this.injector=(0,t.WQX)(t.uvJ),this.destroyRef=(0,t.WQX)(t.abz),this.config=(0,t.WQX)(e),this._ready=(0,t.vPA)(!1),this.ready=this._ready.asReadonly(),this.ready$=(0,M.br)(this._ready),this.changes$=new r.B,this.onReady=()=>{this._ready.set(!0),this.changes$.next()},this.onChanged=()=>{this.changes$.next()},m.B0.addHandler(m.Nm.Ready,this.onReady),m.B0.addHandler(m.Nm.ContextChanged,this.onChanged),m.B0.addHandler(m.Nm.ConfigurationChanged,this.onChanged),this.destroyRef.onDestroy(()=>{m.B0.removeHandler(m.Nm.Ready,this.onReady),m.B0.removeHandler(m.Nm.ContextChanged,this.onChanged),m.B0.removeHandler(m.Nm.ConfigurationChanged,this.onChanged)})}initialize(){var K=this;return(0,f.A)(function*(){const Bt=(0,t.N4e)(K.injector,K.config.providerFactory??(()=>new k));K.config.defaultContext&&(yield m.B0.setContext(K.config.defaultContext)),yield m.B0.setProviderAndWait(Bt),K._ready.set(!0),K.changes$.next()})()}getFlag(K,at){const Bt=m.B0.getClient();return"boolean"==typeof at?Bt.getBooleanValue(K,at):"string"==typeof at?Bt.getStringValue(K,at):"number"==typeof at?Bt.getNumberValue(K,at):Bt.getObjectValue(K,at)}hasFlag(K){const at=m.B0.getClient().getStringDetails(K,"");return at.reason!==m.$W.ERROR&&at.reason!==m.$W.DEFAULT}getFlag$(K,at){return this.changes$.pipe((0,_.Z)(void 0),(0,g.T)(()=>this.getFlag(K,at)))}getFlagSignal(K,at){return(0,M.ot)(this.getFlag$(K,at),{initialValue:at,injector:this.injector})}updateContext(K){var at=this;return(0,f.A)(function*(){yield m.B0.setContext({...m.B0.getContext(),...K}),at.changes$.next()})()}getMetadata(K){return m.B0.getClient().getBooleanDetails(K,!1).flagMetadata}static{this.\u0275fac=function(at){return new(at||et)}}static{this.\u0275prov=t.jDH({token:et,factory:et.\u0275fac,providedIn:"root"})}}return et})();var w=function(et){return et.MonthlyPayment="monthlypayment",et}(w||{}),z=function(et){return et.Control="CONTROL",et.Paypal="PAYPAL",et.Klarna="KLARNA",et}(z||{});const v=new Map([[z.Control,void 0],[z.Paypal,T.dmC.PayPal],[z.Klarna,T.dmC.Klarna]]),D=new Map([[z.Control,void 0],[z.Paypal,T.ONZ],[z.Klarna,T.Alh]]);var N=function(et){return et.Renewal="renewal",et.Policy="policy",et}(N||{});let W=(()=>{class et{constructor(){this.metadata={name:"LambdaBatchProvider"},this.events=new m.by,this.apiBaseService=(0,t.WQX)(A.V),this.config=(0,t.WQX)(e),this.API_URL=B.lT.BatchEvaluate,this.cache=new Map,this.contextFingerprints=new Map}static{this.USERS_CONTEXT_KEY_DEFAULT="users"}static{this.USER_ID_FIELD_DEFAULT="id"}initialize(K){var at=this;return(0,f.A)(function*(){yield at.evaluateMissingFromContext(K)})()}onContextChange(K,at){var Bt=this;return(0,f.A)(function*(){yield Bt.evaluateMissingFromContext(at)})()}resolveBooleanEvaluation(K,at){const Bt=this.cache.get(K);return Bt?{value:Bt.eligible,reason:Bt.eligible?m.$W.TARGETING_MATCH:m.$W.DEFAULT}:{value:at,errorCode:m.O4.PROVIDER_NOT_READY,reason:m.$W.ERROR}}resolveStringEvaluation(K,at){const Bt=this.cache.get(K);return Bt?Bt.eligible&&null!==Bt.group?{value:Bt.group,reason:m.$W.TARGETING_MATCH}:{value:at,reason:Bt.reason||m.$W.DISABLED}:{value:at,errorCode:m.O4.PROVIDER_NOT_READY,reason:m.$W.ERROR}}resolveObjectEvaluation(K,at){const Bt=this.cache.get(K);return Bt?{value:Bt,reason:m.$W.TARGETING_MATCH}:{value:at,errorCode:m.O4.PROVIDER_NOT_READY,reason:m.$W.ERROR}}resolveNumberEvaluation(K,at){return{value:at,errorCode:m.O4.TYPE_MISMATCH,reason:m.$W.ERROR}}getCacheSnapshot(){return this.cache}evaluateMissingFromContext(K){var at=this;return(0,f.A)(function*(){const Bt=at.config.testName;if(!Bt)return;const _t=at.extractUsers(K);if(!_t||0===_t.length)return;const st=_t.filter(Ut=>{const ft=Ut[at.config.batchConfig?.idField||et.USER_ID_FIELD_DEFAULT];if("string"!=typeof ft)return!1;if(!at.cache.has(ft))return!0;
1const zt=JSON.stringify(Ut);return at.contextFingerprints.get(ft)!==zt&&(at.cache.delete(ft),!0)});0!==st.length&&(yield at.fetchAndCache(Bt,st))})()}extractUsers(K){const Bt=K[this.config.batchConfig?.contextKey||et.USERS_CONTEXT_KEY_DEFAULT];return Array.isArray(Bt)?Bt:void 0}fetchAndCache(K,at){var Bt=this;return(0,f.A)(function*(){const _t={users:at},st=Bt.config.batchConfig?.idField||et.USER_ID_FIELD_DEFAULT;try{(yield(0,I._)(Bt.apiBaseService.post({apiName:T.L3L.ApiCenter,uri:Bt.API_URL.replace(B.Vo.FeatureFlagName,K),body:_t}))).results.forEach((ft,zt)=>{const jt=at[zt],Nt=jt?.[st];"string"==typeof Nt&&jt&&(Bt.cache.set(Nt,ft),Bt.contextFingerprints.set(Nt,JSON.stringify(jt)))}),Bt.events.emit(m.Nm.ConfigurationChanged)}catch(Ut){const ft=C(Ut);throw at.forEach(zt=>{const jt=zt[st];"string"==typeof jt&&(Bt.cache.set(jt,{request:zt,eligible:!1,group:null,reason:ft}),Bt.contextFingerprints.set(jt,JSON.stringify(zt)))}),Bt.events.emit(m.Nm.ConfigurationChanged),Ut}})()}}return et})();function pt(et){return(0,t.EmA)([{provide:e,useValue:et}])}!function ot(et){const Et={knownFlags:Object.keys(et.flags),prefetch:!1,providerFactory:()=>new m.gS(et.flags),...et.config};(0,t.EmA)([{provide:e,useValue:Et}])}({flags:{}})},76463(ht,L,o){"use strict";o.d(L,{Xr:()=>g,FL:()=>Bt,gw:()=>K,$X:()=>at,YT:()=>_t,Bx:()=>Ut,do:()=>T,Il:()=>pt,y2:()=>gt,sC:()=>ot,fS:()=>n,i5:()=>Et,bm:()=>et,Al:()=>Tt,EY:()=>so,Pd:()=>$});class t{}const e="upDownSellingCoverages",n="translate/shared/data-access/up-down-selling-coverages/";var c=o(75089),M=function(q){return q.PeopleLimit="A001Lim1",q.BonusType="A001RCA3",q.WaiverRecourse="A001RCA1",q.CarBody="A001RCA2",q}(M||{}),r=function(q){return q.A001Lim1Op6="A001Lim1Op6",q.A001Lim1Op2="A001Lim1Op2",q.A001Lim1Op3="A001Lim1Op3",q.A001Lim1Op4="A001Lim1Op4",q.A001Lim1Op5="A001Lim1Op5",q}(r||{}),g=function(q){return q.Included="included",q.NotIncluded="not-included",q.Disabled="disabled",q.Editable="editable",q}(g||{}),$=function(q){return q.NotAvailableOnLine="notAvailableOnLine",q.NotTransferrable="notTransferrable",q}($||{});const T="upDownSellingCoverages";var B=function(q){return q.Injury4="injury40000",q.Injury7="injury70000",q.Injury10="injury100000",q.Normal="normal",q.Plus="plus",q}(B||{});const A=new Map([[B.Injury7,c.GH6.AC001Plus],[B.Injury10,c.GH6.AC001Top],[B.Plus,c.GH6.AC002Plus]]),I=new Map([[c.GH6.AC001,{starShow:!0,numberStars:["assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-outline.png","assets/img/coverage-ancillaries/star-outline.png"],orderPosition:1,terms:[{code:"AC001Typ1",value:"injury40000"}]}],[c.GH6.AC001Plus,{code:c.GH6.AC001Plus,status:g.NotIncluded,selectEnabled:!1,pathIcon:"assets/img/AC001.svg",price:20,starShow:!0,numberStars:["assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-outline.png"],orderPosition:1.2,exclusionRules:[c.GH6.AC001Top],saleableRules:[],terms:[{code:"AC001Typ1",value:"injury70000"}]}],[c.GH6.AC001Top,{code:c.GH6.AC001Top,status:g.NotIncluded,selectEnabled:!1,pathIcon:"assets/img/AC001.svg",price:40,starShow:!0,numberStars:["assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-filled.svg"],orderPosition:1.3,exclusionRules:[c.GH6.AC001Plus],saleableRules:[],terms:[{code:"AC001Typ1",value:"injury100000"}]}],[c.GH6.AC002,{starShow:!0,numberStars:["assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-outline.png"],orderPosition:2,terms:[{code:"AC002Typ1",value:"normal"}]}],[c.GH6.AC002Plus,{code:c.GH6.AC002Plus,status:g.NotIncluded,selectEnabled:!1,pathIcon:"assets/img/AC002.svg",price:10,starShow:!0,numberStars:["assets/img/coverage-ancillaries/star-filled.svg","assets/img/coverage-ancillaries/star-filled.svg"],orderPosition:2.1,exclusionRules:[],saleableRules:[],terms:[{code:"AC002Typ1",value:"plus"}]}],[c.GH6.A002,{selectEnabled:!0,terms:[{code:"A002Ded1",value:"10min250"}]}],[c.GH6.AC003,{orderPosition:3}],[c.GH6.A008,{orderPosition:4}
1],[c.GH6.A003,{selectEnabled:!0,terms:[{code:"A003Ded1",value:"10min500"}]}],[c.GH6.A004,{selectEnabled:!0,terms:[{code:"A004Ded1",value:"collision150"},{code:"A004Lim1",value:"limit1500"}]}]]),C=[c.GH6.A003,c.GH6.A004,c.GH6.A002],k={iconClose:"icon_close-outline",iconInfo:"icon_info-fill",selectedIndex:0,listModal:[]},s=[c.GH6.AC001,c.GH6.AC002,c.GH6.AC003,c.GH6.A008],l=[c.GH6.AC001Plus,c.GH6.AC001Top,c.GH6.AC002Plus],E=new Map([[c.GH6.AC001Plus,c.GH6.AC001],[c.GH6.AC001Top,c.GH6.AC001],[c.GH6.AC002Plus,c.GH6.AC002]]),p=new Map([[c.GH6.AC001,[c.GH6.AC001Plus,c.GH6.AC001Top]],[c.GH6.AC002,[c.GH6.AC002Plus]]]),h=new Map([[c.GH6.AC001Plus,B.Injury7],[c.GH6.AC001Top,B.Injury10]]),w=new Map([[c.V0m.Selected,g.Editable],[c.V0m.NotSelected,g.NotIncluded],[c.V0m.NotSaleable,g.Disabled],[c.V0m.Included,g.Included]]),z=new Map([[g.Editable,c.V0m.Selected],[g.NotIncluded,c.V0m.NotSelected],[g.Disabled,c.V0m.NotSaleable],[g.Included,c.V0m.Included]]),N=new Map([[r.A001Lim1Op6,"6,45"],[r.A001Lim1Op2,"10"],[r.A001Lim1Op3,"15"],[r.A001Lim1Op4,"25"],[r.A001Lim1Op5,"50"]]),pt="upSellingModal",ot=`${pt}.headTitle`,gt=`${pt}.footerText`,et="modalText",Et="coverageName";var K=function(q){return q.Normal="normal",q.Added="added",q.Included="included",q}(K||{}),at=function(q){return q.Description="description",q.Standalone="standalone",q}(at||{}),Bt=function(q){return q.Text="text",q.Dropdown="dropdown",q}(Bt||{}),_t=function(q){return q.Guarantee="guarantee",q.Integration="integration",q.Rca="rca",q}(_t||{}),st=function(q){return q.Classic="classic",q.Telematics="telematic",q}(st||{}),Ut=function(q){return q.Add="Add",q.Remove="Remove",q}(Ut||{}),St=o(37754),Xt=o(50596),S=o(12378),vt=o(50289),y=o(82305),U=o(45198),F=o(10634);const G={showStatusIcon:!0,statusIcon:"./assets/img/check-blue.svg"};var dt=o(35491);const ut="Up/Down Selling Coverage",yt=(0,dt.VP)(`[${ut}] Load Coverage Term Prices`,(0,dt.xk)()),Re=(0,dt.VP)(`[${ut}] Load Coverage Term Prices Success`,(0,dt.xk)()),Pe=(0,dt.VP)(`[${ut}] Load Coverage Term Prices Error`,(0,dt.xk)()),qe=(0,dt.VP)(`[${ut}] Set Coverages list`,(0,dt.xk)()),oe=(0,dt.VP)(`[${ut}] Add coverage`,(0,dt.xk)()),wt=(0,dt.VP)(`[${ut}] Remove coverage`,(0,dt.xk)()),tt=(0,dt.VP)(`[${ut}] Discount coverages updated`,(0,dt.xk)()),H=(0,dt.VP)(`[${ut}] Update ceiling coverage`,(0,dt.xk)()),nt=(0,dt.VP)(`[${ut}] Update ceiling coverage`,(0,dt.xk)()),V=(0,dt.VP)(`[${ut}] Update price coverage`,(0,dt.xk)()),Gt=(0,dt.VP)(`[${ut}] Update coverage commission amount`,(0,dt.xk)()),Yt=(0,dt.VP)(`[${ut}] Update status fake coverages`),ge=(0,dt.VP)(`[${ut}] Reset!`),se="upDownSellingCoverage",He={loaded:!1,coverageTermPricesLoaded:!1},sn=(0,dt.vy)(He,(0,dt.on)(Re,(q,{result:Kt})=>({...q,coverageTermPricesLoaded:!0,coverageTermPricesResult:Kt})),(0,dt.on)(qe,(q,{coveragesList:Kt})=>({...q,loaded:!0,coveragesList:Kt})),(0,dt.on)(oe,(q,{coverage:Kt})=>({...q,coveragesList:{...Ae(q.coveragesList.coveragesVehicle,Kt),...gn(q.coveragesList.coveragesAccessories,Kt)}})),(0,dt.on)(wt,(q,{code:Kt})=>({...q,coveragesList:{...J(q.coveragesList.coveragesVehicle,Kt),...Wt(q.coveragesList.coveragesAccessories,Kt)}})),(0,dt.on)(tt,(q,{coveragesDiscount:Kt,typeAction:it,keepPrice:It})=>({...q,coveragesList:{...q.coveragesList,coveragesVehicle:it===Ut.Add?Cn([...q.coveragesList.coveragesVehicle],Kt,It):Qn([...q.coveragesList.coveragesVehicle],Kt,It),coveragesAccessories:it===Ut.Add?Cn([...q.coveragesList.coveragesAccessories],Kt):Qn([...q.coveragesList.coveragesAccessories],Kt)}})),(0,dt.on)(H,(q,{selectedIndex:Kt,code:it,elementSelected:It})=>({...q,coveragesList:{...q.coveragesList,coveragesVehicle:[...q.coveragesList.coveragesVehicle.map(ae=>ae.code===it?{...ae,textOption:It.value,modalCeilingConf:{...ae.modalCeilingConf,selectedIndex:Kt},terms:[{...ae.terms?.[0],value:It.code}]}:ae)],coveragesAccessories:[...q.coveragesList.coveragesAccessories.map(ae=>ae.code===it?{...ae,textOption:It.value,modalCeilingConf:{...ae.modalCeilingConf,selectedIndex:Kt},terms:[{...ae.terms?.[0],value:It.code}]}:ae)]}})),(0,dt.on)(nt,(q,{selectedIndex:Kt,elementSelected:it})=>({...q,coveragesList:{...q.coveragesList,coveragesVehicle:[...q.coveragesList.coveragesVehicle.map(It=>It.code===c.GH6.A001?{...It,textOption:it.value,modalCeilingConf:{...It.modalCeilingConf,selectedIndex:Kt},terms:It.terms?.map(ae=>ae.code===it.code?{...ae,value:it.value}:ae)}:It)]}})),(0,dt.on)(V,(q,{code:Kt,price:it})=>({...q,coveragesList:{...q.coveragesList,coveragesVehicle:[...q.coveragesList.coveragesVehicle.map(It=>It.code===Kt?{...It,price:it}:It)],coveragesAccessories:[...q.coveragesList.coveragesAccessories.map(It=>It.code===Kt?{...It,price:it}:It)]}})),(0,dt.on)(Gt,(q,{code:Kt,commissionAmountValue:it})=>({...q,coveragesList:{...q.coveragesList,coveragesVehicle:[...q.coveragesList.coveragesVehicle.map(It=>It.code===Kt?{...It,commissionAmount:{...It.commissionAmount,amount:it}}:It)],coveragesAccessories:[...q.coveragesList.coveragesAccessories.map(It=>It.code===Kt?{...It,commissionAmount:{...It.commissionAmount,amount:it}}:It)]}})),(0,dt.on)(Yt,q=>({...q,coveragesList:{...q.coveragesList,coveragesAccessories:[...Rn(q.coveragesList.coveragesAccessories)]}})),(0,dt.on)(ge,()=>He));function Ae(q,Kt){let it;return it=function hn(q,Kt){return q.map(it=>(it?.commissionAmount&&it.code===Kt.code&&(it=io(it)),it.code===Kt.code?{...it,status:g.Editable}:it))}(q,Kt),it=rn(it),it=Wn(it,Kt),{coveragesVehicle:it}}function gn(q,Kt){let it;return it=function Hn(q,Kt){return q.map(function ln(q){return Kt=>Un("add",q,Kt)}(Kt.code))}(q,Kt),it=rn(it),it=Wn(it,Kt),{coveragesAccessories:it}}function rn(q){return q.map(Kt=>(Kt.saleableRules?.length??0)>0&&Kt.saleableRules?.every(it=>q.filter(It=>It.status===g.Editable).map(It=>It.code).includes(it))&&Kt.status!==g.Editable?nn(Kt):Kt)}function Wn(q,Kt){return q.map(it=>(it.exclusionRules?.length??0)>0&&it.exclusionRules?.every(It=>q.filter(ae=>ae.status===g.Editable).map(ae=>ae.code).includes(It))&&it.status===g.Editable&&Kt.code!==it.code?nn(it):it)}function J(q,Kt){let it;return it=function te(q,Kt){return q.map(it=>(it.code===Kt&&it?.commissionAmount&&(it=Pn(it)),it.code===Kt?{...it,status:g.NotIncluded}:it))}(q,Kt),it=Se(it,Kt),it=Ue(it,Kt),{coveragesVehicle:it}}function Wt(q,Kt){let it;return it=function me(q,Kt){return q.map(function fn(q){return Kt=>Un("remove",q,Kt)}(Kt))}(q,Kt),it=Se(it,Kt),it=Ue(it,Kt),{coveragesAccessories:it}}function Se(q,Kt){return q.map(it=>bn(it,Kt)?(it?.commissionAmount&&(it=Pn(it)),{...it,status:g.Disabled}):it)}function Ue(q,Kt){return q.map(it=>bn(it,Kt)&&it.status===g.Editable&&Kt!==it.code?nn(it):it)}function Un(q,Kt,it){const It=new Map([["addAC001Plus_applyToAC001",Le],["addAC001Top_applyToAC001",Le],["addAC002Plus_applyToAC002",Le],["addCoverage",In],["removeAC001_applyToAC001Plus",nn],["removeAC001_applyToAC001Top",nn],["removeAC002_applyToAC002Plus",nn],["removeAC001Plus_applyToAC001",Gn],["removeAC001Top_applyToAC001",Gn],["removeAC002Plus_applyToAC002",Gn],["removeCoverage",nn]]),ae=`${q}${Kt}_applyTo${it.code}`;let Zt;return It.has(ae)?(Zt=It.get(ae),Zt(it)):it.code===Kt?(Zt=It.get(`${q}Coverage`),Zt(it)):it}function nn(q){return q?.commissionAmount&&(q=Pn(q)),{...q,status:g.NotIncluded}}function In(q){return q?.commissionAmount&&(q=io(q)),{...q,status:g.Editable}}function Le(q){return q?.commissionAmount&&(q=Pn(q)),{...q,status:q.status===g.NotIncluded?g.Editable:q.status}}function Gn(q){q?.commissionAmount&&(q=io(q));
1const Kt=new Map([[c.GH6.AC001,B.Injury4],[c.GH6.AC002,B.Normal]]);return{...q,terms:q.terms?.map(it=>({...it,value:Kt.get(q.code)}))}}function Pn(q){return{...q,commissionAmount:{...q.commissionAmount,applied:!1}}}function io(q){return{...q,commissionAmount:{...q.commissionAmount,applied:!0}}}function Cn(q,Kt,it=!1){return q.map(It=>{const ae=Kt.find(({coverageCode:Zt})=>Zt===It.code);if(ae){const Zt=it?null:{price:ae.priceAfterDiscount};return{...It,...Zt,discount:ae.delta}}return It})}function Qn(q,Kt,it=!1){return q.map(It=>{const ae=Kt.find(({coverageCode:Zt})=>Zt===It.code);if(ae){const Zt=it?null:{price:ae.priceBeforeDiscount};return{...It,initPrice:null,...Zt,discount:null}}return It})}function Rn(q){const Kt=q.filter(It=>It.code===c.GH6.AC002)[0],it=q.find(It=>It.code===c.GH6.AC001);return q.map(It=>It.code===c.GH6.AC001Plus||It.code===c.GH6.AC001Top?{...It,saleableRules:[c.GH6.AC001],status:it.status!==g.Editable?g.Disabled:It.status}:It.code===c.GH6.AC002Plus&&Kt.status!==g.Included?{...It,saleableRules:[c.GH6.AC002],status:Kt.status!==g.Editable?g.Disabled:It.status}:It)}const bn=(q,Kt)=>(q.exclusionRules?.length??0)>0&&q.exclusionRules?.find(it=>it===Kt);function mn(q,Kt){return sn(q,Kt)}const cn=(0,dt.UX)(se),Ln=(0,dt.Mz)(cn,q=>q.coverageTermPricesLoaded),tn=(0,dt.Mz)(cn,q=>q.coverageTermPricesResult),je=(0,dt.Mz)(cn,q=>q.coverageTermPricesResult?.vehicleType),Jn=(0,dt.Mz)(cn,q=>q.coveragesList),An=(0,dt.Mz)(cn,q=>q.loaded),dn=(0,dt.Mz)(Jn,q=>q.coveragesVehicle),$n=(0,dt.Mz)(Jn,q=>q.coveragesAccessories),vn=(0,dt.Mz)(Jn,q=>q?[...q.coveragesVehicle,...q.coveragesAccessories]:[]),zn=(0,dt.Mz)(vn,q=>q.filter(({status:Kt})=>`${g.Editable},${g.Included}`.indexOf(Kt)>=0)),on=(0,dt.Mz)(vn,q=>q.filter(({status:Kt})=>Kt===g.Editable)),mo=(0,dt.Mz)(zn,q=>q.reduce((Kt,it)=>Kt+it.price,0)),to=q=>(0,dt.Mz)(vn,Kt=>Kt.filter(({code:it})=>it===q)[0]);var We=o(80226),xe=o(31628);let Tt=(()=>{class q{constructor(it,It,ae){this.translateService=it,this.store=It,this.config=ae,this.loaded$=this.store.select(An),this.translationsLoaded$=this.translateService.stream(`${e}.loaded`).pipe((0,Xt.p)(Zt=>typeof Zt!==c.UNT.String&&Zt)),this.coveragesVehicle$=this.store.select(dn).pipe((0,S.T)(Zt=>Zt.filter(he=>he.code!==c.GH6.A001).map(he=>this.mapAncillaries(he,Zt)))),this.coveragesVehicleIntegration$=this.coveragesVehicle$.pipe((0,vt.E)(this.store.select(on)),(0,S.T)(([Zt,he])=>Zt.map(be=>{const{priceLabelBadge:Je,annualPriceLabel:pn}=this.translate("coveragesCommonLabels");return this.checkAvailability(be,he),{...be,priceLabelBadge:Je,annualPriceLabel:pn,selectEnabled:!1}}))),this.coveragesAccessories$=this.store.select($n).pipe((0,S.T)(Zt=>Zt.map(he=>this.mapAncillaries(he,Zt)))),this.coveragesAccessoriesIntegration$=this.coveragesAccessories$.pipe((0,vt.E)(this.store.select(on)),(0,S.T)(([Zt,he])=>Zt.filter(({code:be})=>!l.includes(be)).map(be=>{const{priceLabelBadge:Je,annualPriceLabel:pn}=this.translate("coveragesCommonLabels"),{typeBadgeText:yn}=this.translate(be.code);return this.checkAvailability(be,he),{...be,priceLabelBadge:Je,annualPriceLabel:pn,typeBadgeText:yn,selectEnabled:!1}}))),this.completeCoveragesList$=this.store.select(vn).pipe((0,S.T)(Zt=>Zt.map(he=>this.mapAncillaries(he,Zt)))),this.selectedCoverages$=this.store.select(zn),this.selectedCoveragesForSidebar$=this.store.select(zn).pipe((0,S.T)(Zt=>Zt.map(he=>{const{name:be}=this.translate(he.code);return{dataMapList:[{...c.d0p,label:be}],inputData:{grossAmount:he.price}}}))),this.coverageTermPricesResponse$=this.store.select(tn),this.getVehicleType$=this.store.select(je),this.transactionType$=this.store.select(mo).pipe((0,S.T)(Zt=>0<=Zt&&Zt<5?c.D_l.Threshold:Zt<0?c.D_l.Refund:c.D_l.Payment)),this.RCAType$=this.store.select(to(c.GH6.A009)).pipe((0,S.T)(Zt=>`${g.Editable},${g.Included}`.indexOf(Zt?.status)>=0?st.Telematics:st.Classic)),this.totalAmount$=this.store.select(mo).pipe((0,vt.E)(this.transactionType$),(0,S.T)(([Zt,he])=>he===c.D_l.Threshold?0:Zt)),this.thresholdAmount$=this.store.select(mo).pipe((0,vt.E)(this.transactionType$),(0,S.T)(([Zt,he])=>he===c.D_l.Threshold?Zt:null)),this.RCACoverage$=this.store.select(to(c.GH6.A001)).pipe((0,vt.E)(this.transactionType$,this.RCAType$),(0,S.T)(([{price:Zt,terms:he},be,Je])=>{const{descriptionText:pn,descriptionTagText:yn,priceTopTagText:ho,priceSubtitle:En,modalInfoConf:bo,statusTextItem:{statusText:vo}}=this.translate(`${c.GH6.A001}.${Je}CoverageCard`),{headerToastLabel:zo}=this.translate(`${c.GH6.A001}.modalInfoConf`),Vo=be===c.D_l.Refund?En:null,Eo=he.find(xo=>xo.code===M.PeopleLimit).value;return{cardType:_t.Rca,iconSrc:`assets/img/rca-${Je}.svg`,priceText:`\u20ac ${(0,St.qu)(Zt)}`,descriptionText:pn,status:K.Included,descriptionTagText:yn,priceTopTagText:ho,priceSubtitle:Vo,statusTextItemPosition:at.Description,modalInfoConf:{...bo,price:Zt,notification:{text:zo,icon:"./assets/img/check.svg",type:c._nk.Positive}},statusTextItem:{statusText:vo,...G},optionsList:[{title:this.translate(`${c.GH6.A001}.terms.labels.${M.PeopleLimit}`),value:this.translate(`${c.GH6.A001}.terms.value`,{peopleLimit:N.get(Eo),thingsLimit:"1,30"})},{title:this.translate(`${c.GH6.A001}.terms.labels.${M.BonusType}`),value:he.find(xo=>xo.code===M.BonusType).value}]}})),this.RCACoverageListModel$=this.store.select(to(c.GH6.A001)).pipe((0,S.T)(Zt=>({label:this.translate(Zt.code).name,value:Zt.price}))),this.coveragesListModel$=this.store.select(zn).pipe((0,S.T)(Zt=>Zt.filter(he=>he.code!==c.GH6.A001).map(he=>({label:this.translate(he.code).name,value:he.price})))),this.getCoveragesListSelected$=this.store.select(vn).pipe((0,y.s)(1),(0,U.n)(Zt=>Zt),(0,Xt.p)(Zt=>Zt.status===g.Editable),(0,F.$)()),this.selectedCoveragesCodeTerms$=this.store.select(zn).pipe((0,S.T)(Zt=>Zt.map(({code:he,terms:be})=>({code:he,terms:be})))),this.allCoveragesComplete$=this.store.select(vn).pipe((0,S.T)(Zt=>Zt.filter(({code:he,status:be})=>!l.includes(he)||be===g.Editable).map(({code:he,terms:be,availableCoverage:Je,status:pn})=>({code:he,terms:be,status:z.get(pn),availableCoverage:Je})))),this.coveragesCompleteUpdateService$=this.allCoveragesComplete$.pipe((0,S.T)(Zt=>this.joinCoverages(Zt))),this.selectedCoveragesUpdateService$=this.selectedCoveragesCodeTerms$.pipe((0,S.T)(Zt=>this.joinCoverages(Zt))),this._config=ae,this.config?.enableA002Terms||I.delete(c.GH6.A002)}getCoverageByCode(it){return this.store.select(to(it))}getCoveragesByCodesArray(it){return this.store.select((q=>(0,dt.Mz)(vn,Kt=>Kt.filter(({code:it})=>q.includes(it))))(it))}setCoveragesLists(it,{fetchCoverages:It}={fetchCoverages:!1}){let ae;this.config?.callServiceForCoveragesTerms?this.store.select(Ln).pipe((0,Xt.p)(Boolean),(0,U.n)(()=>
1this.store.select(tn)),(0,y.s)(1)).subscribe(({covTermPrices:Zt})=>{ae=this.splitCoveragesList(it,Zt),this.store.dispatch(qe({coveragesList:ae})),It&&this.store.dispatch(oe({coverage:{}}))}):(ae=this.splitCoveragesList(it),this.store.dispatch(qe({coveragesList:ae})),It&&this.store.dispatch(oe({coverage:{}})))}loadCoverageTermPrices(it,It=!0){let ae;ae=It?{encryptedJobNumber:it}:{jobNumber:it},this.store.dispatch(yt({request:ae}))}addCoverage(it){this.store.dispatch(oe({coverage:it}))}addCoverages(it){it.forEach(It=>this.store.dispatch(oe({coverage:It})))}removeCoverage(it){this.store.dispatch(wt({code:it}))}updateDiscountPrice(it,It,ae=!1){this.store.dispatch(tt({coveragesDiscount:it,typeAction:It,keepPrice:ae}))}updateCeilingCoverage(it,It,ae){this.store.dispatch(H({selectedIndex:it,code:It,elementSelected:ae}))}updateRCACeilingCoverage(it,It){this.store.dispatch(nt({selectedIndex:it,elementSelected:It}))}updatePriceCoverage(it,It){this.store.dispatch(V({code:it,price:It}))}updateCommissionAmountCoverage(it,It){this.store.dispatch(Gt({code:it,commissionAmountValue:It}))}updateStatusFakeCoverages(){this.store.dispatch(Yt())}resetStore(){this.store.dispatch(ge())}splitCoveragesList(it,It=[]){let ae=[],Zt=[];this._config?.hideTelematics&&(it=it.filter(be=>!(be.code===c.GH6.A009&&be.status===c.V0m.NotSelected)));const he=it.some(be=>be?.commissionAmount);return it.forEach(be=>{const{code:Je}=be;if(s.includes(Je)){let yn;(Je!==c.GH6.A008||Je===c.GH6.A008&&this?._config?.enableA008)&&(yn=this.mapCoverage(be,It),ae.push(yn)),yn&&It.length&&this.hasCodeFakeCoverages(Je)&&ae.push(...this.generateFakeCoverages(yn,It))}else Zt.push(this.mapCoverage(be,It))}),he&&(ae=[...this.mapCommissionsAmount(ae)],Zt=[...this.mapCommissionsAmount(Zt)]),{coveragesAccessories:ae,coveragesVehicle:Zt}}setFakeCovPrice(it,It,ae,Zt){let he;return it===c.GH6.AC001?he=Zt.find(be=>be.code.includes(it)&&be.value===h.get(ae)):it===c.GH6.AC002&&(he=Zt.find(be=>be.code.includes(it))),he?.delta||0}mapCommissionsAmount(it){return it.map(It=>It?.commissionAmount?{...It,commissionAmount:this.applyAndGetCoverageCommissions(It)}:It)}hasCodeFakeCoverages(it){return p.has(it)}generateFakeCoverages(it,It){const{code:ae,terms:Zt,status:he,price:be}=it,Je=[];if(this.hasCodeFakeCoverages(ae))return p.get(ae).forEach(pn=>{const yn=this.setFakeCovPrice(ae,be,pn,It),ho=this.setFakeCovStatus(Zt,ae,pn,he);let En={...I.get(pn),terms:[{...I.get(pn).terms?.[0]}],status:ho,price:yn};it&&it?.commissionAmount&&(En={...En,...this.getFakeCoveragesCommissions(it,En,ho)});const bo=Zt[0].termOptions?.find(({value:vo})=>vo===En.terms[0].value);bo&&(En.terms[0].valuePublicID=bo.publicID),Je.push({...En,priceDescription:this.translate("coveragesCommonLabels.onTopOf")})}),Je}applyAndGetCoverageCommissions(it){return p.has(it.code)?{...it.commissionAmount,...this.getBaseAncillaryCommissions(it)}:{...it.commissionAmount,applied:it.status===g.Editable||it.status===g.Included}}getBaseAncillaryCommissions(it){const{code:It,status:ae,optionsCommissions:Zt,commissionAmount:he,terms:be}=it,Je={[c.GH6.AC001]:{baseValue:B.Injury4},[c.GH6.AC002]:{baseValue:B.Normal}},pn=this.getTypeOfCovSelected(be,It)===It;return{amount:Zt?.[Je[It]?.baseValue]||he.amount,currency:he.currency,applied:(ae===g.Editable||ae===g.Included)&&pn}}getFakeCoveragesCommissions(it,It,ae){return{commissionAmount:{amount:it.optionsCommissions[It.terms[0].value]||it.commissionAmount.amount,currency:it.commissionAmount.currency,applied:ae===g.Editable},commissionRate:it.commissionRate||0}}setFakeCovStatus(it,It,ae,Zt){return this.getTypeOfCovSelected(it,It)!==ae||Zt!==g.Editable&&Zt!==g.Included?g.NotIncluded:g.Editable}mapCoverage(it,It){let ae={};const{status:Zt,saleableRules:he,code:be,terms:Je,price:pn,commissionAmount:yn,commissionRate:ho}=it,En=this.getTypeOfCovSelected(Je,be);let bo=pn;return Je&&Je[0]&&(En!==be&&(bo=pn-(It.length?this.setFakeCovPrice(be,pn,En,It):0)),ae={modalCeilingConf:this.hasCeilingTerms(be)?this.setModalCeilingConf(Je[0].values):void 0}),{...it,...ae,...I.get(be),terms:it?.terms??I.get(be).terms,status:this.manageStatus(Zt,he),pathIcon:`assets/img/${be}.svg`,price:bo,commissionAmount:yn,commissionRate:ho}}getTypeOfCovSelected(it,It){return It!==c.GH6.AC001&&It!==c.GH6.AC002||""===it[0].value||!it[0].values[0]||it[0].value===it[0].values[0]?It:A.get(it[0].value)}manageStatus(it,It){return It.length>0&&it===c.V0m.NotSelected?g.Disabled:w.get(it)}descriptionCoveragesJustLast(it){let It="";if(it?.length>0){const ae=this.translate(it.slice(-1)[0]).name;It=this.translate("coveragesCommonLabels.justWith")+ae}return It}setModalCeilingConf(it){return{...k,listModal:it.map(It=>({code:It,value:this.translate("termsValues."+It.concat("Value")),label:this.translate("termsValues."+It)}))}}hasCeilingTerms(it){return!(it===c.GH6.A002&&(it!==c.GH6.A002||!this?._config?.enableA002Terms))&&C.includes(it)}mapAncillaries(it,It){const{code:ae,status:Zt,saleableRules:he,commissionAmount:be,commissionRate:Je}=it,{name:pn,textOption:yn,textSelect:ho,modalCeilingConf:En,coverageType:bo,modalInfoConf:vo,priceLabelBadge:zo}=this.translate(ae),Vo=it.terms?this.translate(`termsValues.${it?.terms[0]?.value}Value`):yn,Eo=this.translate(`modalInfoConf.${Zt}HeaderToastLabel`);let lo=null;Zt===g.Included&&(lo=this.translate("coveragesCommonLabels.priceLabel"));const xo=this.descriptionCoveragesJustLast(he);
1return{...it,name:pn,textSelect:ho,coverageType:bo,priceLabel:lo,priceLabelBadge:zo,textOption:Vo,labelRcaSelected:this.translate("coveragesCommonLabels.inRca")[Zt],label:this.translate(`buttonLabel.${Zt}`),description:this.setCoverageDescription(it,It),commissionAmount:be,commissionRate:Je,modalInfoConf:{...vo,...this.translate("modalInfoConf.commonLabels"),notification:{text:Eo,icon:"./assets/img/check.svg",type:c._nk.Positive},availabilityText:xo},modalCeilingConf:{...En,...it.modalCeilingConf}}}setCoverageDescription({code:it,saleableRules:It},ae){if((It?.length??0)>0&&It?.some(Zt=>ae.find(he=>he.code===Zt)?.status!==g.Editable)){const Zt=this.translate(It.slice(-1)[0]).name;return this.translate("coveragesCommonLabels.justWith")+Zt}return this.translate(`${it}.description`)}joinCoverages(it){const It=[],ae=[];return it.forEach(Zt=>{l.includes(Zt.code)?It.push(Zt):ae.push(Zt)}),It.forEach(({code:Zt,terms:he})=>ae.find(be=>be.code===E.get(Zt)).terms=he),ae}checkAvailability(it,It){const ae=it.saleableRules.every(he=>It.find(({code:be})=>be===he)),Zt=it.exclusionRules.every(he=>!It.find(({code:be})=>be===he));ae&&Zt&&!it.availableCoverage&&(it.warningMessage={link:this.translate("coveragesCommonLabels.why")},it.status=g.Disabled,it.warningMessage.text=this.translate("coveragesCommonLabels.notSaleableOnLine"),it.warningMessage.id=$.NotAvailableOnLine,it.description=void 0,it.modalInfoConf.availabilityText=""),it.coveredPreviously&&!it.availableCoverage&&(it.warningMessage={link:this.translate("coveragesCommonLabels.why")},it.status=g.Disabled,it.warningMessage.text=this.translate("coveragesCommonLabels.notTransferrable"),it.warningMessage.id=$.NotTransferrable,it.description=void 0,it.modalInfoConf.availabilityText="")}translate(it,It){return this.translateService.instant(`${e}.${it}`,It)}static{this.\u0275fac=function(It){return new(It||q)(We.KVO(xe.c$),We.KVO(dt.il),We.KVO(t,8))}}static{this.\u0275prov=We.jDH({token:q,factory:q.\u0275fac})}}return q})();var Qe=o(44181),At=o(60611),Jt=o(64415),de=o(51203);let $e=(()=>{class q{static forRoot(it){return{ngModule:q,providers:[Jt.D,{provide:At.k,useValue:it}]}}static{this.\u0275fac=function(It){return new(It||q)}}static{this.\u0275mod=de.$C({type:q})}static{this.\u0275inj=We.G2t({providers:[Jt.D]})}}return q})();var Fe=o(60401),bt=o(76936),le=o(67793),$t=o(90373);let On=(()=>{class q{constructor(it,It){this.actions$=it,this.service=It,this.loadCoverageTermPrices$=(0,bt.EH)(()=>this.actions$.pipe((0,bt.gp)(yt),(0,U.n)(({request:ae})=>this.service.post(ae,"getCoverageTermPrices","edge/coveragetermprice/api").pipe((0,S.T)(Zt=>Re({result:Zt})),(0,$t.W)(Zt=>(0,le.of)(Pe({error:Zt})))))))}static{this.\u0275fac=function(It){return new(It||q)(We.KVO(bt.En),We.KVO(Jt.D))}}static{this.\u0275prov=We.jDH({token:q,factory:q.\u0275fac})}}return q})();o(88768);let so=(()=>{class q{static forRoot(it){return{ngModule:q,providers:[Tt,{provide:t,useValue:it}]}}static{this.\u0275fac=function(It){return new(It||q)}}static{this.\u0275mod=de.$C({type:q})}static{this.\u0275inj=We.G2t({providers:[Tt],imports:[Qe.MD,$e,dt.md.forFeature(se,mn),bt.Vm.forFeature([On]),Fe.R2.forFeature(n)]})}}return q})()},83692(ht,L,o){"use strict";o.d(L,{JN:()=>h,vc:()=>z});var t=o(44181),e=o(76936),n=o(35491),c=o(37754),f=o(67793),M=o(45198);const m=(0,n.VP)("[Error Page] Go to Error Page",(0,n.xk)());var r=o(80226);let _=(()=>{class v{constructor(N,W){this.actions$=N,this.navigateService=W,this.init$=(0,e.EH)(()=>this.actions$.pipe((0,e.gp)(m),(0,M.n)(pt=>(0,f.of)(this.navigateService.navigateTo(pt.errorPageData.errorPageUrl)))),{dispatch:!1})}static{this.\u0275fac=function(W){return new(W||v)(r.KVO(e.En),r.KVO(c.TF))}}static{this.\u0275prov=r.jDH({token:v,factory:v.\u0275fac})}}return v})();var g=o(50596);const $="error",B=(0,c._J)({loaded:!1},(0,n.on)(m,(v,{errorPageData:D})=>({...v,loaded:!0,errorPageData:D})));function A(v,D){return B(v,D)}const I=(0,n.UX)($),C=(0,n.Mz)(I,v=>v.loaded),k=(0,n.Mz)(I,v=>v.errorPageData),s=(0,n.Mz)(k,v=>{const{title:D,description:N,telephoneNumber:W,upTelephoneNumber:pt,mainContentPosition:ot}=v;
1return{title:D,description:N,telephoneNumber:W,upTelephoneNumber:pt,mainContentPosition:ot}}),l=(0,n.Mz)(k,v=>v.goBackUrl),E=(0,n.Mz)(k,v=>v.trackingData||null),p=(0,n.Mz)(k,v=>v.applyCustomClass);let h=(()=>{class v{constructor(N){this.store=N,this.loaded$=this.store.pipe((0,n.Lt)(C)),this.getLabels$=this.loaded$.pipe((0,g.p)(Boolean),(0,M.n)(()=>this.store.pipe((0,n.Lt)(s)))),this.goBackUrl$=this.loaded$.pipe((0,g.p)(Boolean),(0,M.n)(()=>this.store.pipe((0,n.Lt)(l)))),this.getTrackPageView$=this.loaded$.pipe((0,g.p)(Boolean),(0,M.n)(()=>this.store.pipe((0,n.Lt)(E)))),this.getApplyCustomClass$=this.loaded$.pipe((0,g.p)(Boolean),(0,M.n)(()=>this.store.pipe((0,n.Lt)(p))))}navigateToErrorPage(N){this.store.dispatch(m({errorPageData:N}))}static{this.\u0275fac=function(W){return new(W||v)(r.KVO(n.il))}}static{this.\u0275prov=r.jDH({token:v,factory:v.\u0275fac})}}return v})();var w=o(51203);let z=(()=>{class v{static{this.\u0275fac=function(W){return new(W||v)}}static{this.\u0275mod=w.$C({type:v})}static{this.\u0275inj=r.G2t({providers:[h],imports:[t.MD,n.md.forFeature($,A),e.Vm.forFeature([_])]})}}return v})()},39379(ht,L,o){"use strict";o.d(L,{fs:()=>A,pu:()=>t,NT:()=>B,mY:()=>r});const t=k=>(s,l,E,p)=>!!k.includes(p.url)||!s.canDeactivate||s.canDeactivate();var e=o(80226),n=o(51364),c=o(2708),f=o(67793),M=o(82305),m=o(12378);const r=k=>(s,l)=>{const E=(0,e.WQX)(n.Ix),p=(0,e.WQX)(c.IO);if(E.navigated)return!0;const h=()=>(p.dispatchNavigation(k.redirectTo(s,l)),!1);return"onPageReload"===k.strategy?h():(k.loaded$?.()??(0,f.of)(!0)).pipe((0,M.s)(1),(0,m.T)(w=>!!w||h()))},_=new e.nKC("RefreshWarningConfig");var g=o(8672),$=o(50596),T=o(15510);function B(k){return[{provide:_,useValue:k},A,(0,e.BCV)(()=>(0,e.WQX)(A))]}let A=(()=>{class k{constructor(){this.router=(0,e.WQX)(n.Ix),this.config=(0,e.WQX)(_,{optional:!0}),this.destroyRef=(0,e.WQX)(e.abz),this.isWarningActive=!1,this.isDirty=!1,this.currentUrl="",this.boundBeforeUnloadHandler=this.handleBeforeUnload.bind(this),this.init()}init(){this.router.events.pipe((0,$.p)(l=>l instanceof n.wF),(0,T.F)(),(0,g.pQ)(this.destroyRef)).subscribe(l=>{this.currentUrl=l.urlAfterRedirects,this.recompute()})}setDirty(l){this.isDirty=l,this.recompute()}recompute(){this.setWarningActive(this.shouldActivateForUrl(this.currentUrl||this.router.url))}activate(){this.setWarningActive(!0)}deactivate(){this.setWarningActive(!1)}ngOnDestroy(){this.setWarningActive(!1)}shouldActivateForUrl(l){if(this.config?.ignoredPaths?.some(w=>l.includes(w)))return!1;const p=this.config?.activePaths?.some(w=>l.includes(w))??!1,h=this.isDirty&&(this.config?.dirtyGatedPaths?.some(w=>l.includes(w))??!1);return p||h}setWarningActive(l){l!==this.isWarningActive&&(l?window.addEventListener("beforeunload",this.boundBeforeUnloadHandler):window.removeEventListener("beforeunload",this.boundBeforeUnloadHandler),this.isWarningActive=l)}handleBeforeUnload(l){l.preventDefault(),l.returnValue=""}static{this.\u0275fac=function(E){return new(E||k)}}static{this.\u0275prov=e.jDH({token:k,factory:k.\u0275fac})}}return k})()},8659(ht,L,o){"use strict";o.d(L,{N3:()=>k,Rh:()=>l,ee:()=>t,g8:()=>e,C9:()=>n,Ik:()=>s,Vo:()=>E,lT:()=>p,eJ:()=>w,W5:()=>D,bq:()=>v,wO:()=>h,yp:()=>$});const t="06 45 23 45 23",e="06&nbsp;45&nbsp;23&nbsp;45&nbsp;23",n=`tel:${t.replace(/\s/g,"")}`;var g=o(75089);const $=N=>({...N,aws_cloud_logic_custom:N?.aws_cloud_logic_custom?.map(W=>W.endpoint?W:W.name===g.L3L.ApiCenter?{...W,endpoint:B}:W)}),B=`${window.location.origin}/api/`,k=(new g.Qnl).addDays(3).setHours(0,0,0,0),s="[email protected]";var l=function(N){return N.ApiRequests="/api/requests/",N.BcAPI="/bc/service/",N.GwAPI="/pc/service/",N.FamilyAndFriendsPage="https://www.conte.it/assicurazione-auto/regala-uno-sconto-sulla-polizza-auto-o-moto/",N.LoansPage="https://www.conteprestiti.it/motor?utm_campaign=AIS&utm_source=CT_Area%20Personale&utm_medium=CT_AP%20&utm_content=Area%20Personale",N.PetPage="https://canegatto.conte.it/offerta-motor-tv-ad?utm_source=conte_motor_site&utm_medium=thankyoupage_rn&utm_campaign=cross_selling&utm_content=lp",N.ConTeHomePage="https://www.conte.it",N.ConTeHomePageWithoutProtocol="www.conte.it",N.ConteHomePageShortLink="ConTe.it",N.CourtesyBoxLink="https://app.conte.it/preventivo/quotazione/auto/veicolo",N.SetInformativo="https://www.conte.it/documenti-polizza/condizioni-cga-auto-moto/",N.PortalDellaAutomobilista="https://www.ilportaledellautomobilista.it",N.Aci="https://www.aci.it",N.ANPRInterno="https://www.anpr.interno.it",N}(l||{}),E=function(N){return N.PolicyNumber="policyNumber",N.TransactionId="transactionId",N.FeatureFlagName="featureFlagName",N}(E||{}),p=function(N){return N.Evaluate="featureflag/tests/featureFlagName/evaluate",N.BatchEvaluate="featureflag/tests/featureFlagName/evaluate/batch",N}(p||{}),h=function(N){return N.Quotation="policycore-service/v1/policies/policyNumber/transactions/transactionId",N.Withdrawal="policycore-service/v1/policies/policyNumber/withdrawal",N.PurchaseNoTransaction="policycore-service/v1/transactions/transactionId/purchase",
1N}(h||{}),w=function(N){return N.Submission="edge/gateway/submission",N.SaveSubmissionAPI="edge/savesubmissionflow/api",N.NodeTracking="nodo",N.PolicyChange="edge/policychange/policychange",N.Renewal="edge/gatewayrenewal/renewal",N.VehiclesByTaxID="edge/personalarea/personalarea",N}(w||{}),v=function(N){return N.Purchase="purchase_AIT",N}(v||{}),D=function(N){return N.VehiclesByTaxID="vehiclesByTaxID_AIT",N}(D||{})},72471(ht,L,o){"use strict";o.d(L,{uZ_:()=>z.uZ,yPz:()=>oa.yP,h6p:()=>mt.h6,u$C:()=>f,w7h:()=>Bc,naB:()=>M,HWK:()=>oa.HW,o9p:()=>oa.o9,iJy:()=>oa.iJ,ScG:()=>oa.Sc,jIb:()=>Ur.jI,NiR:()=>Nc.Ni,neF:()=>g.ne,tmq:()=>g.tm,lzb:()=>g.lz,Vj5:()=>np,RWO:()=>Xs.R,rON:()=>h,JHr:()=>N,nX0:()=>r,LxT:()=>_,q4:()=>z.q4,zXe:()=>z.zX,vKq:()=>Da.vK,Taz:()=>Da.T,wp6:()=>Da.wp,w2r:()=>Da.w2,G12:()=>ot,HYn:()=>z.HY,tcL:()=>K,GE2:()=>mt.GE,Ab4:()=>Da.Ab,l4$:()=>oa.l4,$wQ:()=>mt.$w,Hxk:()=>mt.Hx,Ze:()=>mt.Ze,hN$:()=>mt.hN,UNT:()=>mt.UN,wtM:()=>w.w,hvI:()=>ja.h,wQV:()=>mt.wQ,vfj:()=>z.vf,WPA:()=>Uc,iJR:()=>Hr,kiz:()=>Zl,eAW:()=>z.eA,y6m:()=>ba,GCM:()=>kd,wLg:()=>rr,$fC:()=>oa.$f,yS:()=>oa.yS,hpf:()=>js,Hx6:()=>Vr,FB9:()=>Ml,Lkb:()=>z.Lk,r1v:()=>z.r1,zTv:()=>z.zT,urA:()=>z.ur,mIv:()=>z.mI,J1b:()=>mt.J1,PzX:()=>z.Pz,Yam:()=>Ea.Y,HGK:()=>Ld,HNk:()=>We,gjD:()=>ai,cMM:()=>Yo,Gfy:()=>Io,bHG:()=>Oi,MTi:()=>hi,awk:()=>Z,Tkn:()=>si.T,$uQ:()=>Po,Vgj:()=>Aa,Nfd:()=>Vt,Az8:()=>La,SFZ:()=>sr,Zr3:()=>pi,_qq:()=>Cr,tOC:()=>Oc,KzY:()=>Ua,VHf:()=>qa,ZAB:()=>tr.Z,h4E:()=>d,uKD:()=>Rs,yXc:()=>Ys,Hdg:()=>g.Hd,jpr:()=>Rc,uvW:()=>Lc.u,l8F:()=>Nc.l8,kg2:()=>hn,YcI:()=>Pt.Y,VES:()=>Br,jIz:()=>Gr,Qc$:()=>z.Qc,SHF:()=>oa.SH,$QG:()=>Fd,dDe:()=>zc,XCE:()=>Jd,a_S:()=>Zd,RNx:()=>ep,GA9:()=>Yd,K$F:()=>ip,Wmh:()=>rp,prm:()=>ap,BVU:()=>pp,uqN:()=>up,fk1:()=>_p,Q3E:()=>mp,hwN:()=>zr,j8e:()=>Qd,$7o:()=>z.$7,KoZ:()=>z.Ko,igK:()=>oa.ig,VoT:()=>Fc,Rkw:()=>z.Rk,w8l:()=>I,d1y:()=>Yc.d,mkl:()=>Hd,Bl5:()=>Dd.B,ssm:()=>$d,$:()=>jd,o8L:()=>Sd.o,arQ:()=>Fr,NDR:()=>z.ND,ANo:()=>z.AN,xlF:()=>Ur.xl,Ss0:()=>Ol.S,JaG:()=>m,wfl:()=>z.wf,uUX:()=>Kc,TeS:()=>$r,e7Y:()=>z.e7,SwH:()=>z.Sw,pLG:()=>z.pL});var t=o(44181),e=o(4130),n=o(51203),c=o(80226);let f=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})(),M=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({})}}return i})(),m=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),r=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,m,M]})}}return i})(),_=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();var g=o(86765);let I=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,g.ne]})}}return i})();o(77590);var k=o(73328),s=o(28),l=o(91048),E=o(8301);let p=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,k.UN,E.Q,s.l]})}}return i})(),h=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,k.UN,l.n,p,s.l]})}}return i})();var w=o(17822),z=o(97959),v=o(31628);let D=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,E.Q,v.h]})}}return i})(),N=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,l.n,D,z.mI]})}}return i})();o(1519);var pt=o(95819);let ot=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,pt.v,g.tm]})}}return i})();o(35471);let et=(()=>
1{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({})}}return i})(),Et=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t,E.Q]})}}return i})(),K=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t,et,Et]})}}return i})();o(76463),o(62013);var wt=o(69402),tt=o(46773),He=o(83070),Ae=(o(10358),o(48842)),gn=o(64011);let hn=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,gn.E]})}}return i})(),Hn=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,hn,Ae.z,e.t,l.n]})}}return i})();var nn=o(37158),tn=o(19699),je=o(23321);function Jn(i,R){if(1&i&&n.Hgh(0,"div",4),2&i){const a=n.XpG();n.Avn("innerHTML",a.titleWarn,n.npT)}}let An=(()=>{class i{constructor(){this.titleWarn="",this.textWarn="",this.nameImg="",this.smallBox=!1}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-warning"]],inputs:{titleWarn:"titleWarn",textWarn:"textWarn",nameImg:"nameImg",smallBox:"smallBox"},decls:6,vars:4,consts:[[1,"ui-bootstrap"],[1,"box-warning"],["alt","question_mark",1,"box-warning__icon",3,"src"],[1,"box-warning__container"],[1,"box-warning__container__title",3,"innerHTML"],[1,"box-warning__container__text",3,"innerHTML"]],template:function(x,P){1&x&&(n.rj2(0,"div",0)(1,"div",1),n.Hgh(2,"img",2),n.rj2(3,"div",3),n.nVh(4,Jn,1,1,"div",4),n.Hgh(5,"div",5),n.eux()()()),2&x&&(n.R7$(2),n.Avn("src",n.VkB("assets/img/",P.nameImg),n.B4B),n.R7$(2),n.vxM(P.titleWarn?4:-1),n.R7$(),n.Avn("innerHTML",P.textWarn,n.npT))},styles:[".box-warning[_ngcontent-%COMP%]{display:flex;border-radius:10px;background-color:#fff7ea;align-items:center}.box-warning__icon[_ngcontent-%COMP%]{width:var(--warning-icon-width, 24px);height:var(--warning-icon-height, 24px);margin:0 16px}.box-warning__container[_ngcontent-%COMP%]{margin:16px 16px 16px 0}.box-warning__container__title[_ngcontent-%COMP%]{font-size:16px;line-height:160%;font-weight:700;color:#ffaf2b}.box-warning__container__text[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:#484848}"]})}}return i})();const dn=(i,R)=>({"col-md-7 col-12":i,"col-12":R}),$n=(i,R)=>({"option--selected":i,"option--disabled":R}),vn=i=>({active:i});function zn(i,R){if(1&i&&n.nrm(0,"div",6),2&i){const a=n.XpG();n.Y8G("innerHTML",a.descriptionText,n.npT)}}function on(i,R){if(1&i&&(n.j41(0,"div",14),n.nrm(1,"input",15),n.j41(2,"label",16),n.nrm(3,"img",17),n.j41(4,"div",18)(5,"span",19),n.EFF(6),n.k0s(),n.nrm(7,"div",20),n.k0s()()()),2&i){const a=R.$implicit,x=R.$index,P=n.XpG(2);n.R7$(),n.Y8G("id",x)("value",a.id)("formControl",P.claimOptionsFormControl),n.BMQ("disabled",a.isDisabled||null),n.R7$(),n.Y8G("for",x)("ngClass",n.l_i(9,$n,(null==a?null:a.id)===P.claimOptionsFormControlValue,null==a?null:a.isDisabled)),n.R7$(),n.Y8G("src",null==a?null:a.iconSrc,n.B4B),n.R7$(3),n.SpI(" ",a.title," "),n.R7$(),n.Y8G("innerHtml",a.description,n.npT)}}function mo(i,R){if(1&i&&(n.j41(0,"div",7),n.Z7z(1,on,8,12,"div",14,n.fX1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Dyx(a.claimOptions)}}function to(i,R){if(1&i&&(n.j41(0,"div",28),n.nrm(1,"conte-dw-warning",29),n.k0s()),2&i){const a=n.XpG(2);n.R7$(),n.Y8G("textWarn",a.claimInfo.warningMessageText)}}function co(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",10)(1,"div",21)(2,"div",22),n.nrm(3,"img",23),n.j41(4,"div",24)(5,"span"),n.EFF(6),n.k0s()(),n.nrm(7,"div",25),n.j41(8,"img",26),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.toggle())}),n.k0s()(),n.nrm(9,"div",27),n.nVh(10,to,2,1,"div",28),n.k0s()()}if(2&i){const a=n.XpG();n.R7$(3),n.Y8G("src",null==a.claimInfo?null:a.claimInfo.iconSrc,n.B4B),n.R7$(3),n.JRh(null==a.claimInfo?null:a.claimInfo.title),n.R7$(),n.Y8G("innerHtml",null==a.claimInfo?null:a.claimInfo.shortDescription,n.npT),n.R7$(),n.Y8G("src",a.toggleDescription?"./assets/img/ic_24_minus_blue.svg":"./assets/img/ic_24_plus_blue.svg",n.B4B),n.R7$(),n.Y8G("ngClass",n.eq3(7,vn,a.toggleDescription))("innerHtml",null==a.claimInfo?null:a.claimInfo.description,n.npT),n.R7$(),n.vxM(null!=a.claimInfo&&a.claimInfo.warningMessageText?10:-1)}}let We=(()=>{class i{constructor(){this.hideRightColumn=!1,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$proceedButtonClickOutput=new n.bkB}get claimOptionsFormControlValue(){return this.claimOptionsFormControl.value}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onProceedButtonClick(){this.claimOptionsFormControl.valid&&this.$proceedButtonClickOutput.emit(this.claimOptionsFormControl.value)}toggle(){this.toggleDescription=!this.toggleDescription}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-claim-entry"]],inputs:{titleText:"titleText",subt
1itleText:"subtitleText",descriptionText:"descriptionText",proceedButtonText:"proceedButtonText",claimOptions:"claimOptions",claimInfo:"claimInfo",claimOptionsFormControl:"claimOptionsFormControl",warningMessageText:"warningMessageText",hideRightColumn:"hideRightColumn"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$proceedButtonClickOutput:"$proceedButtonClickOutput"},standalone:!1,decls:17,vars:14,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-manage-policy dw-modal-auto dw-modal-full-screen-mobile",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-claim-entry-container","row","m-0"],[1,"modal-claim-entry-container__options-container",3,"ngClass"],[1,"modal-claim-entry-container__title"],[1,"modal-claim-entry-container__description",3,"innerHTML"],[1,"modal-claim-entry-container__description","mt-4","mb-5",3,"innerHTML"],[1,"modal-claim-entry-container__options"],[1,"modal-claim-entry-container__button"],["imgRight","true","imgClass","img-right","id","primary-button",1,"button","form","button-primary",3,"$buttonClickOutput","imgSrc","disabled"],[1,"modal-claim-entry-container__info-container","col-md-5","col-12"],[1,"modal-claim-entry-container__bottom-bar"],["imgSrc","./assets/img/icon-back.svg","imgClass","img-top-big",1,"button","button-go-back",3,"$buttonClickOutput"],["imgRight","true","id","primary-button",1,"button","button-primary",3,"$buttonClickOutput","disabled"],[1,"option-container"],["type","radio","name","claimOptionsFormControl",3,"id","value","formControl"],[1,"option",3,"for","ngClass"],["alt","",3,"src"],[1,"option__text"],[1,"option__text__title"],[1,"option__text__description",3,"innerHtml"],[1,"modal-claim-entry-container__info"],[1,"modal-claim-entry-container__info--grid-container"],["alt","",1,"info-icon",3,"src"],[1,"title"],[1,"short-description",3,"innerHtml"],["alt","",1,"open-close",3,"click","src"],[1,"modal-claim-entry-container__info__description",3,"ngClass","innerHtml"],[1,"modal-claim-entry-container__info__warn"],["nameImg","icon-alert-octagon.svg",3,"textWarn"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"div",3)(4,"div",4),n.EFF(5),n.k0s(),n.nrm(6,"div",5),n.nVh(7,zn,1,1,"div",6),n.nVh(8,mo,3,0,"div",7),n.j41(9,"div",8)(10,"conte-dw-button",9),n.bIt("$buttonClickOutput",function(){return P.onProceedButtonClick()}),n.EFF(11),n.k0s()()(),n.nVh(12,co,11,9,"div",10),n.j41(13,"div",11)(14,"conte-dw-button",12),n.bIt("$buttonClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.k0s(),n.j41(15,"conte-dw-button",13),n.bIt("$buttonClickOutput",function(){return P.onProceedButtonClick()}),n.EFF(16),n.k0s()()()()()),2&x&&(n.R7$(3),n.Y8G("ngClass",n.l_i(11,dn,!P.hideRightColumn,P.hideRightColumn)),n.R7$(2),n.JRh(P.titleText),n.R7$(),n.Y8G("innerHTML",P.subtitleText,n.npT),n.R7$(),n.vxM(P.hideRightColumn?7:-1),n.R7$(),n.vxM(P.hideRightColumn?-1:8),n.R7$(2),n.Y8G("imgSrc",null!=P.claimOptionsFormControl&&P.claimOptionsFormControl.invalid?"assets/img/icon-arrow-right-gray.svg":"assets/img/icon-arrow-right-white.svg")("disabled",null==P.claimOptionsFormControl?null:P.claimOptionsFormControl.invalid),n.R7$(),n.SpI(" ",P.proceedButtonText," "),n.R7$(),n.vxM(P.hideRightColumn?-1:12),n.R7$(3),n.Y8G("disabled",null==P.claimOptionsFormControl?null:P.claimOptionsFormControl.invalid),n.R7$(),n.SpI(" ",P.proceedButtonText," "))},dependencies:[t.YU,wt.z,tn.Q,je.me,je.Fm,je.BC,je.l_,An],styles:[".modal-claim-entry-container[_ngcontent-%COMP%]{border-radius:10px}.modal-claim-entry-container__options-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:50px 41px 53px 40px}.modal-claim-entry-container__options[_ngcontent-%COMP%]{padding:28px 0}.modal-claim-entry-container__options[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{display:none}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option[_ngcontent-%COMP%]{padding:16px 0;border-radius:10px;border:1px solid #ccdde8;cursor:pointer;display:flex}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--selected[_ngcontent-%COMP%]{border:1px solid #4dabff;background-color:#f1f8ff}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--selected[_ngcontent-%COMP%]   .option__text__title[_ngcontent-%COMP%]{color:#4dabff}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--selected[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:invert(61%) sepia(45%) saturate(2518%) hue-rotate(183deg) brightness(100%) contrast(101%)}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--disabled[_ngcontent-%COMP%]{border:unset;background-color:#f6f6f6}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--disabled[_ngcontent-%COMP%]   .option__text__title[_ngcontent-%COMP%], .modal
1-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--disabled[_ngcontent-%COMP%]   .option__text__description[_ngcontent-%COMP%]{color:#8a8a8a}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option--disabled[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:invert(62%) sepia(0%) saturate(0%) hue-rotate(191deg) brightness(89%) contrast(81%)}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:64px;height:64px;margin:0 16px}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option__text[_ngcontent-%COMP%]{padding-right:16px}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option__text__title[_ngcontent-%COMP%]{font-size:18px;line-height:27px;color:#00558c;font-weight:700}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]   .option__text__description[_ngcontent-%COMP%]{font-size:14px;color:#646464}.modal-claim-entry-container__options[_ngcontent-%COMP%]   .option-container[_ngcontent-%COMP%]:not(:last-child){margin-bottom:16px}.modal-claim-entry-container__info-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#f7f9fb;padding:56px 40px 53px}.modal-claim-entry-container__info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start}.modal-claim-entry-container__info__description[_ngcontent-%COMP%]{font-size:14px;padding-top:24px;color:#646464}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr auto;grid-template-columns:auto 1fr;column-gap:8.5px;row-gap:4px;width:100%}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .info-icon[_ngcontent-%COMP%]{grid-column:1;grid-row:1;align-self:center;height:23px;width:23px}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#484848;font-weight:700;font-size:24px}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .short-description[_ngcontent-%COMP%]{grid-column:1/span 2;grid-row:2;padding-top:4px;font-size:16px;color:#484848}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .open-close[_ngcontent-%COMP%]{display:none}.modal-claim-entry-container__info__warn[_ngcontent-%COMP%]{margin-top:26px}.modal-claim-entry-container__button[_ngcontent-%COMP%]{margin-left:auto}.modal-claim-entry-container__title[_ngcontent-%COMP%]{font-size:28px;color:#00558c;font-weight:700}.modal-claim-entry-container__description[_ngcontent-%COMP%]{font-size:16px;padding-top:8px;color:#484848}.modal-claim-entry-container__bottom-bar[_ngcontent-%COMP%]{display:none}.dw-modal-full-screen-mobile[_ngcontent-%COMP%]{overflow-x:hidden}@media (max-width: 767px){.modal-claim-entry-container[_ngcontent-%COMP%]{overflow-y:auto}.modal-claim-entry-container__options-container[_ngcontent-%COMP%]{padding:24px 24px 0}.modal-claim-entry-container__info-container[_ngcontent-%COMP%]{background-color:unset;border-top:1px solid #b7b7b7;padding:18px 21px 18px 24px}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr auto;grid-template-columns:auto 1fr auto;column-gap:16.5px;row-gap:4px}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .info-icon[_ngcontent-%COMP%]{grid-column:1;grid-row:1/span 2}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .short-description[_ngcontent-%COMP%]{grid-column:2;grid-row:2;font-size:14px}.modal-claim-entry-container__info--grid-container[_ngcontent-%COMP%]   .open-close[_ngcontent-%COMP%]{display:block;grid-column:3;grid-row:1/span 2;align-self:center;width:24px;height:24px}.modal-claim-entry-container__info__description[_ngcontent-%COMP%]{max-height:0;transition:max-height .5s ease-out;overflow:hidden}.modal-claim-entry-container__info__description.active[_ngcontent-%COMP%]{max-height:1000px;transition:max-height .5s ease-in;margin-bottom:82px}.modal-claim-entry-container__info__warn[_ngcontent-%COMP%]{margin-top:unset;margin-bottom:114px}.modal-claim-entry-container__button[_ngcontent-%COMP%]{display:none}.modal-claim-entry-container__bottom-bar[_ngcontent-%COMP%]{display:flex;position:fixed;bottom:0;right:0;width:100%;padding:20px 16px;box-shadow:0 0 12px 2px #09458514;background-color:#fff}.modal-claim-entry-container__bottom-bar[_ngcontent-%COMP%]     .button-primary{width:100%;
1min-width:200px;padding-left:16px}.modal-claim-entry-container__bottom-bar[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]     .button-primary{background-image:linear-gradient(270deg,#104d87,#1e77b4)}}@media (min-width: 951px){.modal-claim-entry-container[_ngcontent-%COMP%]{width:900px}}a[_ngcontent-%COMP%]{color:#00558c}[_nghost-%COMP%]     conte-dw-modal .ui-bootstrap .dw-modal-manage-policy .dw-modal-body{padding:unset}[_nghost-%COMP%]     conte-dw-modal .ui-bootstrap .dw-modal-manage-policy .dw-modal-body .dw-modal-close{padding:unset}[_nghost-%COMP%]     conte-dw-modal .ui-bootstrap .dw-modal-manage-policy #modal-icon-close-img{z-index:1;padding-top:unset;position:relative;top:32px;right:29px}@media (max-width: 767px){[_nghost-%COMP%]     conte-dw-modal .ui-bootstrap .dw-modal-manage-policy #modal-icon-close-img{display:none}}"]})}}return i})();var On=o(75089),Zn=o(11425),En=o(69732),Ko=o(37754),jo=o(92859),Ri=o(81180);function Li(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-button",15),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onCloseClick(P))}),n.k0s()}if(2&i){const a=n.XpG();n.Y8G("text",!1)("imgAltText",a.closeButtonAltText)}}function Wo(i,R){if(1&i&&(n.j41(0,"div",4),n.nrm(1,"img",16),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Y8G("src",a.pathIcon,n.B4B)("alt",a.headerImageAltText)}}function oi(i,R){if(1&i&&(n.j41(0,"div",17),n.nrm(1,"h3",19),n.k0s()),2&i){const a=n.XpG(2);n.R7$(),n.Y8G("innerHTML",a.stripeTitleText,n.npT)}}function ii(i,R){if(1&i&&(n.j41(0,"div",18),n.nrm(1,"p",19),n.k0s()),2&i){const a=n.XpG(2);n.R7$(),n.Y8G("innerHTML",a.stripeSubtitleText,n.npT)}}function Mo(i,R){if(1&i&&(n.j41(0,"div",7),n.nVh(1,oi,2,1,"div",17),n.nVh(2,ii,2,1,"div",18),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.vxM(a.stripeTitleText?1:-1),n.R7$(),n.vxM(a.stripeSubtitleText?2:-1)}}function ko(i,R){if(1&i&&(n.j41(0,"div",8),n.nrm(1,"p",19),n.k0s()),2&i){const a=n.XpG();n.Y8G("ngClass",a.suspensionDescriptionText?"row justify-content-center modal-consensus__stripe-suspension":"row justify-content-center modal-consensus__stripe-vehicle"),n.R7$(),n.Y8G("innerHTML",a.subTitleVehicle,n.npT)}}function Qo(i,R){if(1&i&&(n.j41(0,"div",9),n.nrm(1,"p",20),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Y8G("innerHtml",a.descriptionText,n.npT)}}function Do(i,R){if(1&i&&(n.j41(0,"div",10),n.nrm(1,"p",19),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Y8G("innerHTML",a.suspensionDescriptionText,n.npT)}}function ye(i,R){if(1&i&&(n.j41(0,"p",21)(1,"span",22),n.EFF(2),n.k0s(),n.j41(3,"span",23),n.EFF(4),n.k0s(),n.j41(5,"span",24),n.EFF(6),n.k0s()(),n.j41(7,"p",25),n.nrm(8,"img",26),n.EFF(9),n.nI1(10,"translate"),n.k0s()),2&i){const a=n.XpG(2);n.R7$(2),n.JRh(a.priceParts.symbol),n.R7$(2),n.JRh(a.priceParts.integer),n.R7$(2),n.JRh(a.priceParts.decimal),n.R7$(3),n.SpI(" ",n.bMT(10,4,"paymentFeature.paymentPage.latestPurchasableVersionModal.latestPurchasableImmediateText")," ")}}function eo(i,R){if(1&i&&(n.j41(0,"div",11)(1,"p"),n.EFF(2),n.nI1(3,"translate"),n.k0s(),n.nVh(4,ye,11,6),n.k0s()),2&i){const a=n.XpG();n.R7$(2),n.SpI(" ",n.bMT(3,2,"paymentFeature.paymentPage.latestPurchasableVersionModal.latestPurchasableDescriptionText")," "),n.R7$(2),n.vxM(a.priceParts?4:-1)}}function wn(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",12)(1,"conte-dw-button-form",27),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onConfirmClick(P))}),n.EFF(2),n.k0s()()}if(2&i){const a=n.XpG();n.R7$(),n.HbH(a.confirmButtonClass),n.Y8G("id",a.confirmButtonId),n.R7$(),n.SpI(" ",a.confirmButtonText," ")}}function ui(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",13)(1,"conte-dw-button-form",28),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onDeclineClick(P))}),n.EFF(2),n.k0s()()}if(2&i){const a=n.XpG();n.R7$(),n.HbH(a.declineButtonClass),n.Y8G("id",a.declineButtonId),n.R7$(),n.SpI(" ",a.declineButtonText," ")}}function _i(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-toast-message",34),n.bIt("$closeButtonClickOutput",function(){c.eBV(a);const P=n.XpG(2);return c.Njj(P.toggleToastMessage())}),n.k0s()}if(2&i){const a=n.XpG(2);n.Y8G("text",a.tooltipConfig.tooltipTextMobile)}}function Mi(i,R){if(1&i){const a=n.RV6();n.qex(0),n.j41(1,"div",29),n.nrm(2,"conte-dw-tooltip",30),n.k0s(),n.j41(3,"div",31)(4,"conte-dw-button-form",32),n.bIt("$buttonClickOutput",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.toggleToastMessage())}),n.nrm(5,"span",19),n.k0s()(),n.nVh(6,_i,1,1,"conte-dw-toast-message",33),n.bVm()}if(2&i){const a=n.XpG();n.R7$(2),n.Y8G("text",a.tooltipConfig.tooltipText)("infoText",a.tooltipConfig.tooltipInfoText)("showInfo",!0)("useNgBootstrap",!1),n.R7$(2),n.Y8G("imgRight",!0),n.R7$(),n.Y8G("innerHTML",a.tooltipConfig.tooltipInfoText||"Info",n.npT),n.R7$(),n.vxM(a.isToastVisible?6:-1)}}function wo(i,R){1&i&&(n.j41(0,"p",14)(1,"span",35),n.EFF(2,"Acquisto protetto"),n.k0s(),n.nrm(3,"img",36),n.j41(4,"span",35),n.EFF(5,"SSL con crittografia"),n.k0s()())}var Io=function(i){return i.Main="Main",i.Secondary="Secondary",i.Primary="Primary",i}(Io||{}),Yo=function(i){return i.Standard="Standard",i.Medium="Medium",i}(Yo||{});let ai=(()=>{class i{constructor(){this.isToastVisible=!1,this.modalStyle=Io.Main,this.modalPadding=Yo.Standard,this.titleText="L\u2019acquisto \xe8 andato a buon fine!",this.showVehicleStripe=!0,this.showCloseButton=!1,this.closeButtonAltText="Chiudi",this.stripeTitleText="Vuoi velocizzare\ni prossimi pagamenti?",this.stripeSubtitleText="Il tuo tempo \xe8 prezioso,\nnon perderlo!",this.descriptionText="Salva le informazioni della tua carta di credito sui nostri sistemi per procedere ai prossimi acquisti con un click.",this.suspensionDescriptionText="",this.showLatestPurchasablePrice=!1,this.confirmButtonText="Conferma",this.declineButtonText="Non salvare",this.confirmButtonId="confirm-button",this.declineButtonId="decline-button",this.declineButtonClass="button",this.focusRestoreSelector="",this.pathIcon="./assets/img/illustration-total.svg",this.headerImageAltText="Immagine di intestazione",this.subTitleVehicle="",this.securePurchase=!1,this.$emitConfirmClick=new n.bkB,this.$emitDeclineClick=new n.bkB,this.$emitCloseClick=new n.bkB,this.$emitOutsideClick=new n.bkB,this.ModalConsensusStyle=Io,this.ModalConsensusPadding=Yo}get priceParts(){if(null==this.latestPurchasableTotalPrice)return null;const a=(0,Ko.qu)(this.latestPurchasableTotalPrice),[x,P]=a.split(",");return{symbol:"\u20ac",integer:x||"0",decimal:","+(P||"00")}}get confirmButtonClass(){return this.modalStyle===Io.Secondary?"button button-secondary":this.modalStyle===Io.Main?"button form button-main":this.modalStyle===Io.Primary?"button form button-primary":"button"}onConfirmClick(a){this.$emitConfirmClick.emit(a)}onDeclineClick(a){this.$emitDeclineClick.emit(a)}onCloseClick(a){this.$emitCloseClick.emit(a)}onOutsideClick(a){this.$emitOutsideClick.emit(a)}toggleToastMessage(){this.isToastVisible=!this.isToastVisible}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-consensus"]],inputs:{modalStyle:"modalStyle",modalPadding:"modalPadding",titleText:"titleText",showVehicleStripe:"showVehicleStripe",showCloseButton:"showCloseButton",closeButtonAltText:"closeButtonAltText",stripeTitleText:"stripeTitleText",stripeSubtitleText:"stripeSubtitleText",descriptionText:"descriptionText",suspensionDescriptionText:"suspensionDescriptionText",showLatestPurchasablePrice:"showLatestPurchasablePrice",latestPurchasableTotalPrice:"latestPurchasableTotalPrice",confirmButtonText:"confirmButtonText",declineButtonText:"declineButtonText",confirmButtonId:"confirmButtonId",declineButtonId:"declineButtonId",declineButtonClass:"declineButtonClass",focusRestoreSelector:"focusRestoreSelector",pathIcon:"pathIcon",headerImageAltText:"headerImageAltText",subTitleVehicle:"subTitleVehicle",tooltipConfig:"tooltipConfig",securePurchase:"securePurchase"},outputs:{$emitConfirmClick:"$emitConfirmClick",$emitDeclineClick:"$emitDeclineClick",$emitCloseClick:"$emitCloseClick",$emitOutsideClick:"$emitOutsideClick"},standalone:!1,decls:16,vars:17,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","showClose"],[1,"modal-consensus__container"],["imgSrc","./assets/img/icon-blueclose.svg","id","picker-icon-close",1,"button","d-flex","justify-content-end",3,"text","imgAltText"],[1,"modal-consensus__header-img","row","m-0","justify-content-center"],[1,"row","justify-content-center","modal
1-consensus__title-container","text-center"],["id","modal-consensus-title",3,"innerHTML"],[1,"row","justify-content-center","modal-consensus__stripe-container"],[3,"ngClass"],[1,"row","modal-consensus__description-container"],[1,"row","modal-consensus__suspensionDescriptionText-container","text-center"],[1,"row","modal-consensus__latestPurchasableDescriptionText-container","text-center"],[1,"row","justify-content-center","modal-consensus__confirm-button-container"],[1,"row","justify-content-center","modal-consensus__decline-button-container"],[1,"caption","d-flex","justify-content-center","align-items-center","py-2","text-uppercase"],["imgSrc","./assets/img/icon-blueclose.svg","id","picker-icon-close",1,"button","d-flex","justify-content-end",3,"$buttonClickOutput","text","imgAltText"],[3,"src","alt"],[1,"col-12","p-0","modal-consensus__stripe-title-container"],[1,"col-12","p-0","modal-consensus__stripe-subtitle-container"],[3,"innerHTML"],["id","modal-consensus-description",3,"innerHtml"],[1,"modal-consensus__latestPurchasableDescriptionText-price"],[1,"modal-consensus__price-symbol"],[1,"modal-consensus__price-integer"],[1,"modal-consensus__price-decimal"],[1,"modal-consensus__latestPurchasableDescriptionText-immediate"],["src","./assets/img/illustration-clock.svg","alt","",1,"modal-consensus__immediate-icon"],["type","submit",3,"$buttonClickOutput","id"],[3,"$buttonClickOutput","id"],[1,"d-none","d-md-1-flex","justify-content-center","mt-3","pt-2"],["tooltipStyle","dw-info-tooltip","placement","right-top bottom-right","src","./assets/img/icon-info-outline.svg",3,"text","infoText","showInfo","useNgBootstrap"],[1,"modal-consensus__info-button","d-flex","d-md-1-none","justify-content-center","mt-3","pt-2"],["id","info-button","imgClass","img-right medium","imgSrc","./assets/img/icon-info-outline.svg",1,"button","flex-center","button-info","normal",3,"$buttonClickOutput","imgRight"],["toastMessageStyle","blue","iconSrc","icon-info-fill","iconCloseSrc","icon-blue-close",3,"text"],["toastMessageStyle","blue","iconSrc","icon-info-fill","iconCloseSrc","icon-blue-close",3,"$closeButtonClickOutput","text"],[1,"neutral-black-92"],["height","18","src","./assets/img/icon-lock-closed-green.svg","alt","",1,"px-2"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)}),n.j41(2,"div",2),n.nVh(3,Li,1,2,"conte-dw-button",3),n.nVh(4,Wo,2,2,"div",4),n.j41(5,"div",5),n.nrm(6,"h2",6),n.k0s(),n.nVh(7,Mo,3,2,"div",7),n.nVh(8,ko,2,2,"div",8),n.nVh(9,Qo,2,1,"div",9),n.nVh(10,Do,2,1,"div",10),n.nVh(11,eo,5,4,"div",11),n.nVh(12,wn,3,4,"div",12),n.nVh(13,ui,3,4,"div",13),n.nVh(14,Mi,7,7,"ng-container"),n.nVh(15,wo,6,0,"p",14),n.k0s()()()),2&x&&(n.R7$(),n.Y8G("showClose",!1),n.R7$(),n.AVh("--medium-padding",P.modalPadding===P.ModalConsensusPadding.Medium)("axerve-modal",P.securePurchase),n.R7$(),n.vxM(P.showCloseButton?3:-1),n.R7$(),n.vxM(P.pathIcon?4:-1),n.R7$(2),n.Y8G("innerHTML",P.titleText,n.npT),n.R7$(),n.vxM(!P.subTitleVehicle&&P.showVehicleStripe?7:-1),n.R7$(),n.vxM(P.subTitleVehicle?8:-1),n.R7$(),n.vxM(P.descriptionText?9:-1),n.R7$(),n.vxM(P.suspensionDescriptionText?10:-1),n.R7$(),n.vxM(P.showLatestPurchasablePrice?11:-1),n.R7$(),n.vxM(P.confirmButtonText?12:-1),n.R7$(),n.vxM(P.declineButtonText?13:-1),n.R7$(),n.vxM(P.tooltipConfig?14:-1),n.R7$(),n.vxM(P.securePurchase?15:-1))},dependencies:[wt.z,tn.Q,tt.G,t.YU,jo.Y,Ri.b,v.D9],styles:[".axerve-modal[_ngcontent-%COMP%]{--modal-consensus-max-width: 768px;--modal-consensus-padding: 48px 0 32px;--modal-consensus-header-img-height: 80px;--modal-consensus-stripe-min-height: 106px;--modal-consensus-stripe-background-color: #e6eef4;--modal-consensus-stripe-background-image: none;--modal-consensus-stripe-subtitle-container-margin: 0;--modal-consensus-stripe-subtitle-container-text-align: center;--modal-consensus-stripe-subtitle-container-font-weight: 400;--modal-consensus-stripe-subtitle-container-p-font-size: 18px;--modal-consensus-stripe-subtitle-container-p-color: #00558c}.modal-consensus__container[_ngcontent-%COMP%]{max-width:var(--modal-consensus-max-width, 490px);padding:var(--modal-consensus-padding, 30px 0 24px)}.modal-consensus__container[_ngcontent-%COMP%]   #picker-icon-close[_ngcontent-%COMP%]{--button-padding: 0}.modal-consensus__container.--medium-padding[_ngcontent-%COMP%]{max-width:560px;padding:51px 0 64px}.modal-consensus__container[_ngcontent-%COMP%]   conte-dw-toast-message[_ngcontent-%COMP%]{--toast-message-align-items: flex-start;transition:all .3s ease-in-out}.modal-consensus__container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 24px}.modal-consensus__container[_ngcontent-%COMP%] > .modal-consensus__confirm-button-container[_ngcontent-%COMP%] >
1 *[_ngcontent-%COMP%], .modal-consensus__container[_ngcontent-%COMP%] > .modal-consensus__decline-button[_ngcontent-%COMP%]{padding:0}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__header-img[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:var(--modal-consensus-header-img-height, auto)}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__title-container[_ngcontent-%COMP%]{margin:11px 0 0}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__title-container[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{color:#00558c;font-family:Lato,sans-serif;font-weight:700;font-size:24px;line-height:140%}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-container[_ngcontent-%COMP%]{min-height:var(--modal-consensus-stripe-min-height, 146px);margin:30px 0 0;background-color:var(--modal-consensus-stripe-background-color, transparent);background-image:var(--modal-consensus-stripe-background-image, url(assets/img/background-credit-card-stripe.svg));background-size:cover;background-position:80%;flex-direction:column}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-vehicle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-left:24px;margin-right:24px;margin-top:30px;text-align:center}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-vehicle[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:700;font-size:16px}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-suspension[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-left:23px;margin-right:23px;margin-top:30px;text-align:center}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-suspension[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;color:#484848}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-title-container[_ngcontent-%COMP%]{color:#00558c;font-family:Lato,sans-serif;font-weight:700;word-break:break-word;white-space:pre-wrap}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-title-container[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{font-size:24px;line-height:140%}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-subtitle-container[_ngcontent-%COMP%]{margin:var(--modal-consensus-stripe-subtitle-container-margin, 4px 0 0);text-align:var(--modal-consensus-stripe-subtitle-container-text-align, start);font-size:16px;font-family:Lato,sans-serif;font-weight:var(--modal-consensus-stripe-subtitle-container-font-weight, 700);line-height:160%;word-break:break-word;white-space:pre-wrap}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__stripe-subtitle-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:var(--modal-consensus-stripe-subtitle-container-p-font-size, initial);color:var(--modal-consensus-stripe-subtitle-container-p-color, #0075dd)}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__description-container[_ngcontent-%COMP%]{text-align:center;margin:30px 0 0;color:#484848;font-size:16px;font-family:Lato,sans-serif;line-height:160%;word-break:keep-all}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__description-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:inline-block;text-align:left;list-style-position:inside}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__suspensionDescriptionText-container[_ngcontent-%COMP%]{margin:32px 0 3px;padding:23px;background-color:#e6eef4;color:#00558c;line-height:160%;word-break:keep-all}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__suspensionDescriptionText-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%]{margin:8px 0 3px;padding:11px 23px 23px;color:#00558c;justify-content:center;line-height:160%;word-break:keep-all}
1.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p.modal-consensus__latestPurchasableDescriptionText-price[_ngcontent-%COMP%]{width:100%;font-weight:700;margin:4px 0 0}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p.modal-consensus__latestPurchasableDescriptionText-price[_ngcontent-%COMP%]   .modal-consensus__price-integer[_ngcontent-%COMP%]{font-size:24.8px}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p.modal-consensus__latestPurchasableDescriptionText-price[_ngcontent-%COMP%]   .modal-consensus__price-symbol[_ngcontent-%COMP%]{font-size:24.8px;margin-right:4px}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p.modal-consensus__latestPurchasableDescriptionText-price[_ngcontent-%COMP%]   .modal-consensus__price-decimal[_ngcontent-%COMP%]{font-size:17.6px}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p.modal-consensus__latestPurchasableDescriptionText-immediate[_ngcontent-%COMP%]{width:100%;margin:32px 0 0;color:#000;font-weight:700;display:flex;align-items:center;justify-content:center}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__latestPurchasableDescriptionText-container[_ngcontent-%COMP%] > p.modal-consensus__latestPurchasableDescriptionText-immediate[_ngcontent-%COMP%]   .modal-consensus__immediate-icon[_ngcontent-%COMP%]{margin-right:8px}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__confirm-button-container[_ngcontent-%COMP%]{margin:21px 0 0}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__confirm-button-container[_ngcontent-%COMP%] > conte-dw-button-form[_ngcontent-%COMP%]{max-width:350px;display:flex;align-items:center;justify-content:center;flex:1}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__decline-button-container[_ngcontent-%COMP%]{margin:15px 0 0}.modal-consensus__container[_ngcontent-%COMP%]   .modal-consensus__decline-button-container[_ngcontent-%COMP%] > conte-dw-button-form[_ngcontent-%COMP%]{max-width:350px;display:flex;align-items:center;justify-content:center;flex:1}.modal-consensus__info-button[_ngcontent-%COMP%]   conte-dw-button-form[_ngcontent-%COMP%]{--button-form-font-size: 14px}conte-dw-modal[_ngcontent-%COMP%]{--modal-overflow-y: visible}  .modal-consensus__confirm-button-container>conte-dw-button-form>.ui-bootstrap,   .modal-consensus__confirm-button-container>conte-dw-button-form>.ui-bootstrap>button,   .modal-consensus__decline-button-container>conte-dw-button-form>.ui-bootstrap,   .modal-consensus__decline-button-container>conte-dw-button-form>.ui-bootstrap>button{display:flex;align-items:center;justify-content:center;flex:1}@media (max-width: 481px){.modal-consensus__title-container[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%]{font-size:20px;line-height:150%}.modal-consensus__stripe-container[_ngcontent-%COMP%]{margin:34px 0 0}.modal-consensus__stripe-title-container[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.modal-consensus__description-container[_ngcontent-%COMP%]{margin:20px 0 0;font-size:14px;line-height:160%}.modal-consensus__confirm-button-container[_ngcontent-%COMP%]{margin:10px 0 0}}"]})}}return i})();function Nn(i,R){if(1&i&&(n.j41(0,"label",4),n.EFF(1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.headTitle," ")}}function po(i,R){if(1&i&&n.nrm(0,"label",7),2&i){const a=n.XpG();n.Y8G("innerHTML",a.descriptionText,n.npT)}}function Ro(i,R){if(1&i&&n.nrm(0,"label",7),2&i){const a=n.XpG();n.Y8G("innerHTML",a.instructionsText,n.npT)}}function xn(i,R){if(1&i){const a=n.RV6();n.j41(0,"a",9),n.bIt("click",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onCallToActionClick(P))}),n.EFF(1),n.k0s()}if(2&i){const a=n.XpG();
1n.Y8G("href",a.callToActionHref,n.B4B),n.R7$(),n.SpI(" ",a.callToActionText," ")}}let Oi=(()=>{class i{constructor(){this.$outsideClick=new n.bkB,this.$closeClick=new n.bkB,this.$callToActionClick=new n.bkB}onOutsideClick(){this.$outsideClick.emit()}onCloseClick(){this.$closeClick.emit()}onCallToActionClick(a){this.$callToActionClick.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-contact"]],inputs:{headTitle:"headTitle",descriptionText:"descriptionText",instructionsText:"instructionsText",callToActionText:"callToActionText",callToActionHref:"callToActionHref"},outputs:{$outsideClick:"$outsideClick",$closeClick:"$closeClick",$callToActionClick:"$callToActionClick"},standalone:!1,decls:10,vars:5,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","showClose"],[1,"modal_contact__main-container"],[1,"modal_contact__head-container"],[1,"w-100","text-center","modal_contact__head-title"],["id","modal-contact-close","src","./assets/img/icon-blueclose.svg","tabindex","0","role","button",1,"dw-clickable","modal_contact__close-button",3,"click"],[1,"modal_contact__body-container"],[1,"w-100","text-center","modal_contact__body-text",3,"innerHTML"],["tabindex","1",1,"d-block","w-100","text-center","modal_contact__cta-text",3,"href"],["tabindex","1",1,"d-block","w-100","text-center","modal_contact__cta-text",3,"click","href"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(){return P.onOutsideClick()}),n.j41(2,"div",2)(3,"div",3),n.nVh(4,Nn,2,1,"label",4),n.j41(5,"img",5),n.bIt("click",function(){return P.onCloseClick()}),n.k0s()(),n.j41(6,"div",6),n.nVh(7,po,1,1,"label",7),n.nVh(8,Ro,1,1,"label",7),n.nVh(9,xn,2,2,"a",8),n.k0s()()()()),2&x&&(n.R7$(),n.Y8G("showClose",!1),n.R7$(3),n.vxM(P.headTitle?4:-1),n.R7$(3),n.vxM(P.descriptionText?7:-1),n.R7$(),n.vxM(P.instructionsText?8:-1),n.R7$(),n.vxM(P.callToActionText?9:-1))},dependencies:[wt.z],styles:[".modal_contact__main-container[_ngcontent-%COMP%]{width:328px;font-family:Lato,sans-serif;font-weight:400}.modal_contact__head-container[_ngcontent-%COMP%]{position:relative;padding:20px 40px 12px;border-bottom:1px solid #e6eef3}.modal_contact__head-title[_ngcontent-%COMP%]{color:#00558c;font-weight:700;font-size:20px;line-height:150%}.modal_contact__close-button[_ngcontent-%COMP%]{position:absolute;width:24px;height:24px;top:20px;right:16px}.modal_contact__close-button[_ngcontent-%COMP%]:focus-visible{outline:none;filter:brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(2168%) hue-rotate(184deg) brightness(101%) contrast(101%)}.modal_contact__body-container[_ngcontent-%COMP%]{padding:24px}.modal_contact__body-container[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:last-child){margin-bottom:28px}.modal_contact__body-text[_ngcontent-%COMP%]{color:#646464;font-size:14px;line-height:160%;text-wrap:balance}.modal_contact__cta-text[_ngcontent-%COMP%]{color:#00558c;font-weight:700;font-size:24px;line-height:140%}.modal_contact__cta-text[_ngcontent-%COMP%]:focus-visible{outline:none;color:#4dabff}"]})}}return i})();const Ki=(i,R)=>R.inputId;function Wi(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",9),n.bIt("dblclick",function(P){const Mt=c.eBV(a).$implicit,Ce=n.XpG();return c.Njj(Ce.onContractorDblClick(Mt,P))}),n.nrm(1,"conte-dw-radio-button",10),n.k0s()}if(2&i){const a=R.$implicit,x=n.XpG();n.R7$(),n.Y8G("inputId",a.inputId)("inputName",a.inputName)("label",a.label)("value",a.value)("formControl",x.contractorFormControl)("showCheckMark",!1)}}let hi=(()=>{class i{constructor(){this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$selectContractorClickOutput=new n.bkB}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onSelectContractorClick(a){this.$selectContractorClickOutput.emit(a)}onContractorDblClick(a,x){this.contractorFormControl.setValue(a.value),this.$selectContractorClickOutput.emit(x)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-contractor"]],inputs:{contractorFormControl:"contractorFormControl",contractor:"contractor"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$selectContractorClickOutput:"$selectContractorClickOutput"},decls:12,vars:0,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-big-padding",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-contractor"],[1,"text-center"],[1,"small-subtitle","font-weight-bold"],[1,"modal-contractor-options","row","align-items-center"],[1,"col-12","text-center"],[1,"modal-contractor-footer","text-center"],["id","view-contractor-button",1,"button","button-primary",3,"$buttonClickOutput"],[1,"col-12","text-center",3,"dblclick"],["radioButtonStyle","radio-button-box",3,"inputId","inputName","label","value","formControl","showCheckMark"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"div",3)(4,"p",4),n.EFF(5,"Quale contraente vuoi visualizzare?"),n.k0s()(),n.j41(6,"div",5),n.Z7z(7,Wi,2,6,"div",6,Ki),n.k0s(),n.j41(9,"div",7)(10,"conte-dw-button",8),n.bIt("$buttonClickOutput",function(Ce){return P.onSelectContractorClick(Ce)}),n.EFF(11,"Visualizza per contraente"),n.k0s()()()()()),2&x&&(n.R7$(7),n.Dyx(P.contractor))},dependencies:[E.Q,wt.z,e.t,tn.Q,En.K,Zn.dx,je.X1,je.BC,je.l_],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}
1to{opacity:1}}.modal-contractor[_ngcontent-%COMP%]{--button-width: auto;display:flex;flex-direction:column;max-height:70vh}.modal-contractor[_ngcontent-%COMP%]   .modal-contractor-options[_ngcontent-%COMP%]{padding:30px 0 10px;overflow-y:auto;flex:1}.modal-contractor[_ngcontent-%COMP%]   .modal-contractor-options[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:8px}.modal-contractor[_ngcontent-%COMP%]   .modal-contractor-options[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#ccdde8;box-shadow:0 0 1px #ffffff80}@supports (-moz-appearance: none){.modal-contractor[_ngcontent-%COMP%]   .modal-contractor-options[_ngcontent-%COMP%]{scrollbar-color:#ccdde8 #ffffff;--input-text-field-dw-input-autocomplete-scrollbar-width: thin}}.modal-contractor[_ngcontent-%COMP%]   .modal-contractor-footer[_ngcontent-%COMP%]{padding-top:16px;flex-shrink:0}"]})}}return i})();o(99296);var Pt=o(53581),fa=o(52483),Uo=o(32807);const No=()=>({default:12,md:6,lg:4});function xi(i,R){if(1&i&&n.nrm(0,"h3",6),2&i){const a=n.XpG(2);n.Y8G("innerHtml",a.telephoneTitle,n.npT)}}function ni(i,R){if(1&i&&n.nrm(0,"p",7),2&i){const a=n.XpG(2);n.Y8G("innerHtml",a.telephoneDescription,n.npT)}}function ta(i,R){if(1&i&&(n.j41(0,"conte-dw-button",8),n.EFF(1),n.k0s()),2&i){const a=n.XpG(2);n.Y8G("imgSrc","./assets/img/icon-phone.svg")("href","tel:"+a.telephoneNumber),n.R7$(),n.SpI(" ",a.telephoneNumber," ")}}function Ze(i,R){if(1&i&&(n.j41(0,"div",3),n.nVh(1,xi,1,1,"h3",6),n.nVh(2,ni,1,1,"p",7),n.nVh(3,ta,2,3,"conte-dw-button",8),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.vxM(a.telephoneTitle?1:-1),n.R7$(),n.vxM(a.telephoneDescription?2:-1),n.R7$(),n.vxM(a.telephoneNumber?3:-1)}}function ro(i,R){if(1&i&&n.nrm(0,"p",9),2&i){const a=n.XpG(2);n.Y8G("innerHtml",a.recapTitle,n.npT)}}function sa(i,R){if(1&i&&(n.j41(0,"div",4),n.nVh(1,ro,1,1,"p",9),n.nrm(2,"conte-dw-data-table",10),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.vxM(a.recapTitle?1:-1),n.R7$(),n.Y8G("breakpointsConfig",n.lJ4(3,No))("elementList",a.contractorData)}}function b(i,R){1&i&&(n.nrm(0,"conte-dw-labels",11),n.nI1(1,"uppercase")),2&i&&n.Y8G("text",n.bMT(1,1,R.$implicit))}function kt(i,R){if(1&i&&(n.j41(0,"div",5),n.Z7z(1,b,2,3,"conte-dw-labels",11,n.fX1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Dyx(a.coverages)}}let Z=(()=>{class i{constructor(){this.telephoneTitle="Hai bisogno di aiuto?",this.telephoneDescription="Lun-Ven <b>8-20</b> e il Sab <b>9-13</b>",this.telephoneNumber="06 45 23 45 23",this.recapTitle="ALCUNI DATI UTILI",this.$closeModal=new n.bkB}closeModal(){this.$closeModal.emit()}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-help"]],inputs:{telephoneTitle:"telephoneTitle",telephoneDescription:"telephoneDescription",telephoneNumber:"telephoneNumber",recapTitle:"recapTitle",contractorData:"contractorData",coverages:"coverages"},outputs:{$closeModal:"$closeModal"},standalone:!1,decls:6,vars:4,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-no-padding",3,"$closeClickOutput","$outsideClickOutput","showClose"],[1,"modal-help__main-container"],[1,"modal-help__telephone-container"],[1,"modal-help__recap-container"],[1,"d-flex","row","justify-content-center","modal-help__coverages-container"],[1,"text-center","text-balance","modal-help__telephone-title",3,"innerHtml"],[1,"text-center","text-balance","modal-help__telephone-description",3,"innerHtml"],["id","telephone-number-button","imgClass","img-left-big",1,"d-table","mx-auto","button","flex-center","inline","button-fourth",3,"imgSrc","href"],[1,"modal-help__recap-title",3,"innerHtml"],[1,"d-block","modal-help__recap-table",3,"breakpointsConfig","elementList"],["componentClasses","custom-properties rounded-border",1,"col-auto","modal-help__coverage-label",3,"text"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$closeClickOutput",function(){return P.closeModal()})("$outsideClickOutput",function(){return P.closeModal()}),n.j41(2,"div",2),n.nVh(3,Ze,4,3,"div",3),n.nVh(4,sa,3,4,"div",4),n.nVh(5,kt,3,0,"div",5),n.k0s()()()),2&x&&(n.R7$(),n.Y8G("showClose",!0),n.R7$(2),n.vxM(P.telephoneTitle||P.telephoneDescription||P.telephoneNumber?3:-1),n.R7$(),n.vxM(null!=P.contractorData&&P.contractorData.length?4:-1),n.R7$(),n.vxM(null!=P.coverages&&P.coverages.length?5:-1))},dependencies:[wt.z,tn.Q,fa.u,Uo.H,t.Pc],styles:[".modal-help__main-container[_ngcontent-%COMP%]{padding:0 40px 40px}
1.modal-help__telephone-container[_ngcontent-%COMP%]:not(:last-child){padding-bottom:36px;border-bottom:1px solid #e6eef3}.modal-help__telephone-title[_ngcontent-%COMP%]{color:#005388;font-size:24px;font-weight:700;line-height:140%;letter-spacing:-.5px}.modal-help__telephone-title[_ngcontent-%COMP%]:not(:last-child){margin-bottom:12px}.modal-help__telephone-description[_ngcontent-%COMP%]{color:#005388;font-size:14px;line-height:160%}.modal-help__telephone-description[_ngcontent-%COMP%]:not(:last-child){margin-bottom:28px}.modal-help__recap-container[_ngcontent-%COMP%]{padding-top:20px}.modal-help__recap-title[_ngcontent-%COMP%]{padding-left:16px;color:#005388;font-size:18px;line-height:150%;font-style:italic}.modal-help__recap-table[_ngcontent-%COMP%]{padding:16px;background-color:#f1f8ff40}.modal-help__recap-table[_ngcontent-%COMP%]:not(:only-child){margin-top:12px}.modal-help__coverages-container[_ngcontent-%COMP%]{margin:28px 0 0}.modal-help__coverage-label[_ngcontent-%COMP%]{padding:4px}@media (max-width: 767px){.modal-help__coverages-container[_ngcontent-%COMP%]{margin:20px 0 0}.modal-help__coverage-label[_ngcontent-%COMP%]{--label-text-font-size: 10px;--label-text-line-height: 140%}}"]})}}return i})();var mt=o(98456),si=o(53162),ji=o(86839),Bo=o(80135);function Ca(i,R){if(1&i&&(n.j41(0,"div",2),n.EFF(1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.JRh(a.simpleText)}}function Ai(i,R){1&i&&n.nrm(0,"li",6),2&i&&n.Y8G("innerHTML",R.$implicit,n.npT)}function u(i,R){if(1&i&&(n.j41(0,"ul"),n.Z7z(1,Ai,1,1,"li",6,n.fX1),n.k0s()),2&i){const a=n.XpG().$implicit;n.R7$(),n.Dyx(a.lines)}}function Ft(i,R){if(1&i&&(n.nrm(0,"p",5),n.nVh(1,u,3,0,"ul")),2&i){const a=R.$implicit;n.Y8G("innerHTML",a.title+((null==a.lines?null:a.lines.size)??""),n.npT),n.R7$(),n.vxM(a.lines?1:-1)}}function ct(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-button-form",7),n.bIt("$buttonClickOutput",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onClickButton())}),n.EFF(1),n.k0s()}if(2&i){const a=n.XpG();n.HbH("button form "+a.buttonClass),n.R7$(),n.SpI(" ",a.buttonLabel," ")}}function xt(i,R){if(1&i&&(n.j41(0,"div",9),n.nrm(1,"img",11),n.j41(2,"h6",12),n.EFF(3),n.k0s()()),2&i){const a=n.XpG(2);n.R7$(3),n.SpI(" ",a.phoneNumber," ")}}function Me(i,R){if(1&i&&(n.j41(0,"p",10),n.EFF(1),n.k0s()),2&i){const a=n.XpG(2);n.R7$(),n.JRh(a.phoneBoxFooter)}}function De(i,R){if(1&i&&(n.j41(0,"div",4),n.nrm(1,"p",8),n.nVh(2,xt,4,1,"div",9),n.nVh(3,Me,2,1,"p",10),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Y8G("innerHTML",a.phoneBoxText,n.npT),n.R7$(),n.vxM(a.phoneNumber?2:-1),n.R7$(),n.vxM(a.phoneBoxFooter?3:-1)}}let Po=(()=>{class i{constructor(){this.modalInfoTitle="",this.buttonClass="button-primary",this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$clickButtonOutput=new n.bkB}onCloseClick(){this.$closeClickOutput.emit()}onOutsideClick(){this.$outsideClickOutput.emit()}onClickButton(){this.$clickButtonOutput.emit()}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-information"]],inputs:{modalStyle:"modalStyle",modalInfoTitle:"modalInfoTitle",simpleText:"simpleText",lists:"lists",buttonVisible:"buttonVisible",buttonLabel:"buttonLabel",buttonClass:"buttonClass",phoneBoxVisible:"phoneBoxVisible",phoneNumber:"phoneNumber",phoneBoxText:"phoneBoxText",phoneBoxFooter:"phoneBoxFooter"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$clickButtonOutput:"$clickButtonOutput"},standalone:!1,decls:7,vars:5,consts:[[1,"ui-bootstrap","modal-info"],["modalTextStyle","modal-text-info",3,"$closeClickOutput","$outsideClickOutput","modalStyle","title"],[1,"modal-info-simple-text"],["type","submit","name","submit","value","Submit",3,"class"],[1,"modal-info-phone-box"],[1,"modal-info-subtitle",3,"innerHTML"],[3,"innerHTML"],["type","submit","name","submit","value","Submit",3,"$buttonClickOutput"],[1,"modal-info-phone-text",3,"innerHTML"],[1,"modal-info-phone"],[1,"modal-info-phone-footer"],["src","./assets/img/icon-outline-phone.svg"],[1,"modal-info-phone-number"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal-text",1),n.bIt("$closeClickOutput",function(){return P.onCloseClick()})("$outsideClickOutput",function(){return P.onOutsideClick()}),n.nVh(2,Ca,2,1,"div",2),n.Z7z(3,Ft,2,2,null,null,n.fX1),n.nVh(5,ct,2,3,"conte-dw-button-form",3),n.nVh(6,De,4,3,"div",4),n.k0s()()),2&x&&(n.R7$(),n.Y8G("modalStyle",P.modalStyle)("title",P.modalInfoTitle),n.R7$(),n.vxM(P.simpleText?2:-1),n.R7$(),n.Dyx(P.lists),n.R7$(2),n.vxM(P.buttonVisible?5:-1),n.R7$(),n.vxM(P.phoneBoxVisible?6:-1))},dependencies:[nn.A,tt.G],styles:['.modal-info[_ngcontent-%COMP%]     .button{min-width:100%;margin-bottom:10px}
1conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:160%;font-weight:700;color:#00558c}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-simple-text[_ngcontent-%COMP%]{margin-bottom:20px;font-size:14px;line-height:160%}conte-dw-modal-text[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{counter-reset:li;margin-bottom:20px}conte-dw-modal-text[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:14px;line-height:160%;padding-left:18px;counter-increment:li}conte-dw-modal-text[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:counter(li) ".";display:flex;justify-content:center;align-items:center;position:absolute;left:28px}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-phone-box[_ngcontent-%COMP%]{background:#f2f6f9;border-radius:10px;padding:17px 14px;text-align:center}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-phone-box[_ngcontent-%COMP%]   .modal-info-phone-text[_ngcontent-%COMP%]{font-size:14px;line-height:160%;font-weight:700;color:#00558c;word-break:break-word;white-space:pre-wrap}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-phone-box[_ngcontent-%COMP%]   .modal-info-phone-text[_ngcontent-%COMP%]     .modal-info-phone-text-highlight{color:#4dabff}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-phone-box[_ngcontent-%COMP%]   .modal-info-phone[_ngcontent-%COMP%]{align-items:center;display:inline-flex;margin:20px}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-phone-box[_ngcontent-%COMP%]   .modal-info-phone[_ngcontent-%COMP%]   .modal-info-phone-number[_ngcontent-%COMP%]{font-weight:700;color:#4dabff;margin-left:14px}conte-dw-modal-text[_ngcontent-%COMP%]   .modal-info-phone-box[_ngcontent-%COMP%]   .modal-info-phone-footer[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:#484848}']})}}return i})();var So=o(81087);function Ia(i,R){1&i&&(n.j41(0,"div",11),n.nrm(1,"conte-dw-trustpilot-widget"),n.k0s())}let Aa=(()=>{class i{constructor(){this.spinnerHeader="Attendi qualche istante",this.text="",this.showTrustPilot=!1,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-loading"]],inputs:{spinnerHeader:"spinnerHeader",text:"text",showTrustPilot:"showTrustPilot"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,decls:13,vars:4,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","$closeClickOutput","showClose"],[1,"modal-loading","text-center","d-flex","flex-column","align-items-center"],[1,"modal-loading-main"],[1,"modal-loading-image"],["src","./assets/img/conte-logo.svg"],[1,"modal-loading-content"],[1,"small-subtitle","blue","font-weight-bold"],[1,"modal-loading-text",3,"innerHTML"],[1,"modal-loading-loader"],[1,"dw-loader"],[1,"modal-loading__trustpilot-section"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"div",3)(4,"div",4),n.nrm(5,"img",5),n.k0s(),n.j41(6,"div",6)(7,"p",7),n.EFF(8),n.k0s(),n.nrm(9,"p",8),n.k0s(),n.j41(10,"div",9),n.nrm(11,"div",10),n.k0s()(),n.nVh(12,Ia,2,0,"div",11),n.k0s()()()),2&x&&(n.R7$(),n.Y8G("showClose",!1),n.R7$(7),n.JRh(P.spinnerHeader),n.R7$(),n.Y8G("innerHTML",P.text,n.npT),n.R7$(3),n.vxM(P.showTrustPilot?12:-1))},dependencies:[wt.z,So.E],styles:[".modal-loading[_ngcontent-%COMP%]{overflow:hidden;max-width:var(--modal-loading-max-width, 100%)}.modal-loading[_ngcontent-%COMP%]   .modal-loading-main[_ngcontent-%COMP%]{padding:20px;min-width:350px}.modal-loading[_ngcontent-%COMP%]   .modal-loading-image[_ngcontent-%COMP%]{margin-bottom:30px}.modal-loading[_ngcontent-%COMP%]   .modal-loading-image[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{max-width:110px}
1.modal-loading[_ngcontent-%COMP%]   .modal-loading-text[_ngcontent-%COMP%]{color:#646464;padding-top:5px;font-size:18px}.modal-loading[_ngcontent-%COMP%]   .modal-loading-loader[_ngcontent-%COMP%]{margin-top:40px}.modal-loading__trustpilot-section[_ngcontent-%COMP%]{padding:16px 0;background-color:#f2f6f9;width:100%}@media (min-width: 767px){.modal-loading__trustpilot-section[_ngcontent-%COMP%]{width:700px;padding:26px 46px;margin:10px auto 0}}@media (max-width: 767px){.modal-loading[_ngcontent-%COMP%]   .dw-loader[_ngcontent-%COMP%]{width:32px;height:32px}}"]})}}return i})();function Sa(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-button",12),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onPrimaryButtonClick(P))}),n.EFF(1),n.k0s()}if(2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.primaryButtonText," ")}}function Fa(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-button",13),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onSecondaryButtonClick(P))}),n.EFF(1),n.k0s()}if(2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.secondaryButtonText," ")}}let Vt=(()=>{class i{constructor(){this.icon="illustration-error",this.hideSecondaryButton=!1,this.hidePrimaryButton=!1,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$primaryButtonClickOutput=new n.bkB,this.$secondaryButtonClickOutput=new n.bkB}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onPrimaryButtonClick(a){this.$primaryButtonClickOutput.emit(a)}onSecondaryButtonClick(a){this.$secondaryButtonClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-logout"]],inputs:{modalLogoutStyle:"modalLogoutStyle",icon:"icon",title:"title",text:"text",smallNote:"smallNote",primaryButtonText:"primaryButtonText",secondaryButtonText:"secondaryButtonText",hideSecondaryButton:"hideSecondaryButton",hidePrimaryButton:"hidePrimaryButton"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$primaryButtonClickOutput:"$primaryButtonClickOutput",$secondaryButtonClickOutput:"$secondaryButtonClickOutput"},standalone:!1,decls:14,vars:7,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-big-padding",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-logout","text-center",3,"ngClass"],[1,"modal-logout-icon"],[3,"src"],[1,"modal-logout-title-text"],[1,"modal-logout-title","big-body","font-weight-bold",3,"innerHTML"],[1,"modal-logout-text",3,"innerHTML"],[1,"modal-logout-smaller-text",3,"innerHTML"],[1,"modal-logout-buttons"],["id","primary-button",1,"button","button-primary"],["id","secondary-button",1,"button","button-secondary"],["id","primary-button",1,"button","button-primary",3,"$buttonClickOutput"],["id","secondary-button",1,"button","button-secondary",3,"$buttonClickOutput"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"div",3),n.nrm(4,"img",4),n.k0s(),n.j41(5,"div",5),n.nrm(6,"p",6)(7,"p",7)(8,"p",8),n.k0s(),n.j41(9,"div",9)(10,"div"),n.nVh(11,Sa,2,1,"conte-dw-button",10),n.k0s(),n.j41(12,"div"),n.nVh(13,Fa,2,1,"conte-dw-button",11),n.k0s()()()()()),2&x&&(n.R7$(2),n.Y8G("ngClass",P.modalLogoutStyle),n.R7$(2),n.Y8G("src","./assets/img/"+P.icon+".svg",n.B4B),n.R7$(2),n.Y8G("innerHTML",P.title,n.npT),n.R7$(),n.Y8G("innerHTML",P.text,n.npT),n.R7$(),n.Y8G("innerHTML",P.smallNote,n.npT),n.R7$(3),n.vxM(P.hidePrimaryButton?-1:11),n.R7$(2),n.vxM(P.hideSecondaryButton?-1:13))},dependencies:[t.YU,wt.z,tn.Q],styles:[".modal-logout[_ngcontent-%COMP%]   .modal-logout-title-text[_ngcontent-%COMP%]{padding:10px 0 30px}.modal-logout[_ngcontent-%COMP%]   .modal-logout-title[_ngcontent-%COMP%]{padding-bottom:20px}.modal-logout[_ngcontent-%COMP%]   .modal-logout-smaller-text[_ngcontent-%COMP%]{font-size:14px}.modal-logout[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:10px}
1.modal-logout[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]     .button{display:block}.half-width-buttons[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.half-width-buttons[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:50%;max-width:50%;padding:0 5px}.half-width-buttons[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:0;order:1}@media (max-width: 767px){.half-width-buttons[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]{display:block}.half-width-buttons[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:100%;max-width:100%;padding:0}.half-width-buttons[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:10px;order:2}}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-title[_ngcontent-%COMP%]{color:#00558c;padding-bottom:20px;font-size:24px}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-text[_ngcontent-%COMP%]{color:#484848}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:50%;max-width:50%;padding:0 5px}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:0;order:1}@media (max-width: 767px){.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]{display:block}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:100%;max-width:100%;padding:0}.modal-thankyou[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:10px;order:2}}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-title[_ngcontent-%COMP%]{color:#00558c;padding-bottom:20px;font-size:24px}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-text[_ngcontent-%COMP%]{color:#00558c}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:50%;max-width:50%;padding:0 5px}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:0;order:1}@media (max-width: 767px){.modal-suspension[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%]{display:block}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:100%;max-width:100%;padding:0}.modal-suspension[_ngcontent-%COMP%]   .modal-logout-buttons[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:last-child){padding-bottom:10px;order:2}}"]})}}return i})(),La=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,E.Q,e.t]})}}return i})();function Ya(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",7)(1,"a",10),n.bIt("click",function(){const P=c.eBV(a).$implicit,Mt=n.XpG();return c.Njj(Mt.onActionClick({encryptedNumber:P.encryptedNumber,buttonVisibilityCode:P.buttonVisibilityCode,actionId:P.id}))}),n.nrm(2,"img",11),n.j41(3,"p",12),n.EFF(4),n.k0s()()()}if(2&i){const a=R.$implicit;n.R7$(),n.Y8G("id",a.id+"Button"),n.R7$(),n.Y8G("src","./assets/img/"+a.image+".svg",n.B4B),n.R7$(2),n.SpI(" ",a.name," ")}}let sr=(()=>{class i{constructor(){this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$actionClickOutput=new n.bkB}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onActionClick(a){this.$actionClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-manage-policy"]],inputs:{modalManagePolicyStyle:"modalManagePolicyStyle",actionsListMap:"actionsListMap"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$actionClickOutput:"$actionClickOutput"},standalone:!1,decls:20,vars:1,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-manage-policy dw-modal-auto dw-modal-full-screen-mobile",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-manage-policy",3,"ngClass"],[1,"modal-manage-policy-header","text-center"],[1,"font-weight-bold"],[1,"small-body"],[1,"modal-manage-policy-content","m-0","row","
1justify-content-center"],[1,"col-6","col-md-1-auto","d-flex","justify-content-center"],[1,"modal-manage-policy-footer","text-center"],["href","tel:0645234523","alt","Contattaci","tabindex","-1",1,"d-inline-flex","dw-link"],[1,"text-center",3,"click","id"],[3,"src"],[1,"caption","font-weight-bold","text-uppercase","text-center"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"div",3)(4,"h6",4),n.EFF(5,"Gestisci polizza"),n.k0s(),n.j41(6,"p",5),n.EFF(7,"Scegli quali azioni compiere sulla tua polizza."),n.k0s()(),n.j41(8,"div",6),n.Z7z(9,Ya,5,3,"div",7,n.fX1),n.k0s(),n.j41(11,"div",8)(12,"p",5),n.EFF(13,"Non trovi quello di cui hai bisogno?"),n.k0s(),n.j41(14,"a",9),n.EFF(15," Contattaci "),n.k0s(),n.j41(16,"p",5),n.EFF(17,"al numero "),n.j41(18,"span",4),n.EFF(19,"06-45234523"),n.k0s()()()()()()),2&x&&(n.R7$(2),n.Y8G("ngClass",P.modalManagePolicyStyle),n.R7$(7),n.Dyx(P.actionsListMap))},dependencies:[t.YU,wt.z],styles:[".modal-manage-policy[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#484848}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-header[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding:0 30px 20px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%]{padding-bottom:40px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0 30px;margin-top:45px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:130px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#00558c80;letter-spacing:1px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{padding-bottom:10px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{padding-top:10px}@media (max-width: 767px){.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-header[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding:0 0 20px}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0}.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}}@media (max-width: 370px){.modal-manage-policy[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{letter-spacing:0px;font-size:11px}}.policyBiannualPaid[_ngcontent-%COMP%]   .modal-manage-policy-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{opacity:.5;pointer-events:none}  conte-dw-modal .ui-bootstrap .dw-modal-manage-policy{--modal-dw-header-margin-top: 15px}@media (min-width: 768px){  conte-dw-modal .ui-bootstrap .dw-modal-manage-policy .dw-modal-body{padding:27.5px 40px}}@media (min-width: 768px){  conte-dw-modal .ui-bootstrap .dw-modal-manage-policy #modal-icon-close-img{position:relative}}"]})}}return i})();function ec(i,R){if(1&i&&(n.j41(0,"p",3),n.EFF(1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.modalTitle," ")}}function Xa(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",7),n.bIt("click",function(){const P=c.eBV(a).$implicit,Mt=n.XpG(2);return c.Njj(Mt.onActionClick(P.inputId))}),n.j41(1,"a"),n.nrm(2,"img",8),n.j41(3,"p",9),n.EFF(4),n.k0s()()()}if(2&i){const a=R.$implicit;n.R7$(2),n.Y8G("src",a.image,n.B4B)("alt",a.value),n.R7$(2),n.JRh(a.value)}}function Ka(i,R){if(1&i&&(n.j41(0,"div",4),n.Z7z(1,Xa,5,3,"div",6,n.fX1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Dyx(a.optionList)}}function Va(i,R){if(1&i&&(n.j41(0,"p",5),n.EFF(1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.modalSubtitle," ")}}o(51653),o(87835);let pi=(()=>{class i{constructor(){this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$actionClickOutput=new n.bkB}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onActionClick(a){this.$actionClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-policy-edit"]],inputs:{modalTitle:"modalTitle",modalSubtitle:"modalSubtitle",optionList:"optionList"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$actionClickOutput:"$actionClickOutput"},standalone:!1,decls:6,vars:3,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-no-padding",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-policy-edit__container","text-center"],[1,"modal-policy-edit__title","small-subtitle","font-weight-bold"],[1,"modal-policy-edit__icon-container","d-flex","align-items-center","justify-content-center"],[1,"modal-policy-edit__subtitle"],[1,"d-flex","flex-column","justify-content-center","align-items-center"],[1,"d-flex","flex-column","justify-content-center","align-items-center",3,"click"],[3,"src","alt"],[1,"modal-policy-edit__icon-text","small-body","font-weight-bold"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2),n.nVh(3,ec,2,1,"p",3),n.nVh(4,Ka,3,0,"div",4),n.nVh(5,Va,2,1,"p",5),n.k0s()()()),2&x&&(n.R7$(3),n.vxM(P.modalTitle?3:-1),n.R7$(),n.vxM(P.optionList?4:-1),n.R7$(),n.vxM(P.modalSubtitle?5:-1))},dependencies:[wt.z],styles:[".dw-modal-close.d-flex.justify-content-end{padding:25px 25px 0}.modal-policy-edit__container[_ngcontent-%COMP%]{padding:0 25px 25px}.modal-policy-edit__icon-container[_ngcontent-%COMP%]{padding:20px 0 15px}.modal-policy-edit__icon-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:105px;width:120px;margin:0 10px;background:#fff;box-shadow:0 0 8px 2px #0000001a;border-radius:10px;cursor:pointer}.modal-policy-edit__icon-text[_ngcontent-%COMP%]{text-decoration:underline}.modal-policy-edit__subtitle[_ngcontent-%COMP%]{color:#646464}@media (max-width: 767px){.modal-policy-edit__title[_ngcontent-%COMP%]{font-size:18px}.modal-policy-edit__icon-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0 6px}
1.modal-policy-edit__icon-text[_ngcontent-%COMP%], .modal-policy-edit__subtitle[_ngcontent-%COMP%]{font-size:12px}}"]})}}return i})(),Cr=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,E.Q]})}}return i})();function Na(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",3)(1,"p",6),n.EFF(2,"Modifica proposta"),n.k0s(),n.j41(3,"div",7)(4,"div")(5,"a",8),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onActionClickOutput(P.renewalEditModalActionIds.IdModifyInformation))}),n.nrm(6,"img",9),n.j41(7,"p",10),n.EFF(8,"Residenza"),n.k0s()()(),n.j41(9,"div")(10,"a",8),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onActionClickOutput(P.renewalEditModalActionIds.IdModifyInformation))}),n.nrm(11,"img",11),n.j41(12,"p",10),n.EFF(13,"Conducenti"),n.k0s()()(),n.j41(14,"div")(15,"a",8),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onActionClickOutput(P.renewalEditModalActionIds.IdModifyInformation))}),n.nrm(16,"img",12),n.j41(17,"p",10),n.EFF(18,"Pagamento"),n.k0s()()()(),n.j41(19,"p",13),n.EFF(20," Rivedi e modifica le informazioni della tua polizza. Il premio della proposta potrebbe variare in relazione alle nuove informazioni da te inserite. "),n.k0s(),n.j41(21,"div",14)(22,"conte-dw-button",15),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onActionClickOutput(P.renewalEditModalActionIds.IdModifyInformation))}),n.EFF(23,"Modifica informazioni"),n.k0s()()()}}function xc(i,R){1&i&&(n.j41(0,"div",3)(1,"p",6),n.EFF(2,"Modifica proposta"),n.k0s(),n.j41(3,"div",7)(4,"div")(5,"a",16),n.nrm(6,"img",9),n.j41(7,"p",10),n.EFF(8,"Residenza"),n.k0s()()(),n.j41(9,"div")(10,"a",16),n.nrm(11,"img",11),n.j41(12,"p",10),n.EFF(13,"Tipologia guida"),n.k0s()()(),n.j41(14,"div")(15,"a",16),n.nrm(16,"img",17),n.j41(17,"p",10),n.EFF(18,"Contatti"),n.k0s()()()(),n.j41(19,"p",13),n.EFF(20," Rivedi e modifica le informazioni della tua polizza. Il premio della polizza potrebbe variare in relazione alle nuove informazioni da te inserite. "),n.k0s(),n.j41(21,"div",14)(22,"conte-dw-button",18),n.EFF(23,"Modifica polizza"),n.k0s()()())}function Ha(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",4)(1,"div",19)(2,"div")(3,"a",8),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onActionClickOutput(P.renewalEditModalActionIds.IdModifyAssurance))}),n.nrm(4,"img",20),n.j41(5,"p",10),n.EFF(6,"Garanzie"),n.k0s()()()(),n.j41(7,"p",13),n.EFF(8," Personalizza e rivedi le garanzie presenti nella tua polizza "),n.k0s(),n.j41(9,"div",14)(10,"conte-dw-button",21),n.bIt("click",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onActionClickOutput(P.renewalEditModalActionIds.IdModifyAssurance))}),n.EFF(11,"Modifica garanzie"),n.k0s()()()}}function Mc(i,R){1&i&&(n.j41(0,"div",5)(1,"div",22)(2,"div")(3,"a",16),n.nrm(4,"img",23),n.j41(5,"p",10),n.EFF(6,"Altri dati"),n.k0s()()()(),n.j41(7,"p",13),n.EFF(8," Personalizza e rivedi altri dati presenti nella tua polizza. "),n.k0s(),n.j41(9,"div",14)(10,"conte-dw-button",24),n.EFF(11,"Modifica altri dati"),n.k0s()()())}o(89944),o(71598),o(7553);let Oc=(()=>{class i{constructor(){this.editPolicyData=!1,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$actionClickOutput=new n.bkB,this.renewalEditModalActionIds=On.Jl}onActionClickOutput(a){this.$actionClickOutput.emit(a)}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-renewal-edit"]],inputs:{editPolicyData:"editPolicyData"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$actionClickOutput:"$actionClickOutput"},standalone:!1,decls:7,vars:4,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-no-padding",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-renewal-edit","text-center"],[1,"modal-renewal-edit-proposal"],[1,"modal-renewal-edit-coverages"],[1,"modal-renewal-edit-data"],[1,"modal-renewal-edit-title","small-subtitle","font-weight-bold"],[1,"modal-renewal-edit-icon","d-flex","align-items-center","justify-content-center"],[3,"click"],["src","./assets/img/icon-residenza.svg"],[1,"modal-renewal-edit-subtitle","small-body","font-weight-bold"],["src","./assets/img/icon-conducenti.svg"],["src","./assets/img/icon-pagamento.svg"],[1,"modal-renewal-edit-text"],[1,"modal-renewal-edit-button"],["
1id","edit-info-button",1,"button","button-secondary",3,"click"],["href","#"],["src","./assets/img/icon-contatti.svg"],["id","edit-policy-button",1,"button","button-primary"],[1,"modal-renewal-edit-icon","coverage"],["src","./assets/img/icon-garanzie.svg"],["id","edit-coverages-button",1,"button","button-primary",3,"click"],[1,"modal-renewal-edit-icon","data"],["src","./assets/img/icon-modifica-dati.svg"],["id","edit-data-button",1,"button","button-secondary"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2),n.nVh(3,Na,24,0,"div",3),n.nVh(4,xc,24,0,"div",3),n.nVh(5,Ha,12,0,"div",4),n.nVh(6,Mc,12,0,"div",5),n.k0s()()()),2&x&&(n.R7$(3),n.vxM(P.editPolicyData?-1:3),n.R7$(),n.vxM(P.editPolicyData?4:-1),n.R7$(),n.vxM(P.editPolicyData?-1:5),n.R7$(),n.vxM(P.editPolicyData?6:-1))},dependencies:[wt.z,tn.Q],styles:[".dw-modal-close.d-flex.justify-content-end{padding:25px 25px 0}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-proposal[_ngcontent-%COMP%]{padding:0 25px 25px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-icon[_ngcontent-%COMP%]{padding:20px 0 15px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-icon[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0 10px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-subtitle[_ngcontent-%COMP%]{text-decoration:underline}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-text[_ngcontent-%COMP%]{color:#646464;padding-bottom:15px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-coverages[_ngcontent-%COMP%], .modal
1-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-data[_ngcontent-%COMP%]{padding:25px;background-color:#f1f8ff;border-radius:0 0 10px 10px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-icon.coverage[_ngcontent-%COMP%], .modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-icon.data[_ngcontent-%COMP%]{padding:0 0 15px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-icon.data[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px}@media (max-width: 767px){.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-title[_ngcontent-%COMP%]{font-size:18px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-text[_ngcontent-%COMP%]{font-size:12px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-icon[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0 6px}.modal-renewal-edit[_ngcontent-%COMP%]   .modal-renewal-edit-subtitle[_ngcontent-%COMP%]{font-size:12px}}"]})}}return i})(),Ua=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,E.Q,e.t]})}}return i})();function za(i,R){if(1&i&&(n.j41(0,"div",10),n.nrm(1,"conte-dw-radio-button",13),n.k0s()),2&i){const a=R.$implicit;n.R7$(),n.Y8G("inputId",a.inputId)("inputName",a.inputName)("label",a.label)("value",a.value)("showCheckMark",!1)("formControlName",a.inputName)}}function Wa(i,R){if(1&i&&(n.j41(0,"div",10),n.nrm(1,"conte-dw-radio-button",13),n.k0s()),2&i){const a=R.$implicit;n.R7$(),n.Y8G("inputId",a.inputId)("inputName",a.inputName)("label",a.label)("value",a.value)("showCheckMark",!1)("formControlName",a.inputName)}}function Qa(i,R){if(1&i&&(n.j41(0,"div",10),n.nrm(1,"conte-dw-radio-button",13),n.k0s()),2&i){const a=R.$implicit;n.R7$(),n.Y8G("inputId",a.inputId)("inputName",a.inputName)("label",a.label)("value",a.value)("showCheckMark",!1)("formControlName",a.inputName)}}function Ja(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",11)(1,"conte-dw-button",14),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG();return c.Njj(Mt.onStartButtonClick(P))}),n.EFF(2,"Inizia"),n.k0s()()}}function Za(i,R){1&i&&(n.j41(0,"div",12)(1,"p"),n.EFF(2," In questo caso ti supporteremo telefonicamente per garantirti di mantenere la classe di merito "),n.k0s(),n.j41(3,"h6",15),n.EFF(4," Contattaci allo "),n.j41(5,"a",16),n.EFF(6,"06-45234523"),n.k0s()()())}let qa=(()=>{class i{constructor(){this.$startButtonOutput=new n.bkB,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onStartButtonClick(a){this.$startButtonOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-selection"]],inputs:{newVehicle:"newVehicle",vehicleOwnerType:"vehicleOwnerType",vehicleOwner:"vehicleOwner",selectionFormGroup:"selectionFormGroup",showButton:"showButton"},outputs:{$startButtonOutput:"$startButtonOutput",$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,decls:32,vars:5,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-no-padding ",3,"$outsideClickOutput","$closeClickOutput","showClose"],[1,"modal-selection"],[3,"formGroup"],[1,"modal-selection-close","d-flex","justify-content-between",3,"click"],[1,"font-weight-bold"],["imgSrc","./assets/img/icon-blueclose.svg","id","modal-icon-close",3,"$buttonClickOutput","text"],[1,"modal-selection-body","text-start"],[1,"modal-selection-text","font-weight-bold"],[1,"modal-selection-options","row","align-items-center"],[1,"col-xss-6","col-12"],[1,"modal-selection-footer-button","text-center"],[1,"modal-selection-footer-text","text-center"],["radioButtonStyle","radio-button-box",3,"inputId","inputName","label","value","showCheckMark","formControlName"],["id","view-selection-button",1,"button","button-primary",3,"$buttonClickOutput"],[1,"modal-selection-footer-text-contact"],["href","tel:0645234523"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"form",3)(4,"div",4),n.bIt("click",function(){return P.$closeClickOutput.emit()}),n.j41(5,"div")(6,"p",5),n.EFF(7,"Iniziamo con qualche semplice domanda..."),n.k0s()(),n.j41(8,"div")(9,"conte-dw-button",6),n.bIt("$buttonClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.k0s()()(),n.j41(10,"div",7)(11,"div")(12,"div")(13,"p",8),n.EFF(14,"Il nuovo veicolo da assicurare \xe8:"),n.k0s()(),n.j41(15,"div",9),n.Z7z(16,za,2,6,"div",10,n.fX1),n.k0s(),n.j41(18,"div")(19,"p",8),n.EFF(20,"Il nuovo veicolo da assicurare \xe8:"),n.k0s()(),n.j41(21,"div",9),n.Z7z(22,Wa,2,6,"div",10,n.fX1),n.k0s(),n.j41(24,"div")(25,"p",8),n.EFF(26,"Il proprietario \xe8:"),n.k0s()(),n.j41(27,"div",9),n.Z7z(28,Qa,2,6,"div",10,n.fX1),n.k0s()()(),n.nVh(30,Ja,3,0,"div",11),n.nVh(31,Za,7,0,"div",12),n.k0s()()()()),2&x&&(n.R7$(),n.Y8G("showClose",!1),n.R7$(2),n.Y8G("formGroup",P.selectionFormGroup),n.R7$(6),n.Y8G("text",!1),n.R7$(7),n.Dyx(P.newVehicle),n.R7$(6),n.Dyx(P.vehicleOwnerType),n.R7$(6),n.Dyx(P.vehicleOwner),n.R7$(2),n.vxM(P.selectionFormGroup.valid?30:-1),n.R7$(),n.vxM(P.selectionFormGroup.valid?-1:31))},dependencies:[wt.z,tn.Q,Zn.dx,je.qT,je.BC,je.cb,je.j4,je.JD],styles:[".modal-selection[_ngcontent-%COMP%]   .modal
1-selection-body[_ngcontent-%COMP%]{padding:25px}.modal-selection[_ngcontent-%COMP%]   .modal-selection-close[_ngcontent-%COMP%]{border-radius:10px 10px 0 0;background-color:#f1f8ff;padding:25px}.modal-selection[_ngcontent-%COMP%]   .modal-selection-text[_ngcontent-%COMP%]{color:#646464}.modal-selection[_ngcontent-%COMP%]   .modal-selection-options[_ngcontent-%COMP%]{padding:30px 0 10px}.modal-selection[_ngcontent-%COMP%]   .modal-selection-footer-button[_ngcontent-%COMP%]{padding:25px}.modal-selection[_ngcontent-%COMP%]   .modal-selection-footer-text[_ngcontent-%COMP%]{background-color:#fff2ce;border-radius:0 0 10px 10px;padding:25px;color:#484848}.modal-selection[_ngcontent-%COMP%]   .modal-selection-footer-text[_ngcontent-%COMP%]   .modal-selection-footer-text-contact[_ngcontent-%COMP%]{color:#484848;font-weight:700}@media (max-width: 768px) and (max-height: 900px){.modal-selection[_ngcontent-%COMP%]   .modal-selection-body[_ngcontent-%COMP%]{overflow-y:scroll;max-height:400px}}"]})}}return i})();o(28202);var tr=o(42825),ka=o(87584),Ir=o(45319);function Ar(i,R){if(1&i&&n.nrm(0,"div",9),2&i){const a=n.XpG();n.Y8G("innerHTML",a.text,n.npT)}}function er(i,R){if(1&i&&(n.j41(0,"div",14),n.nrm(1,"conte-dw-radio-button",15),n.k0s()),2&i){const a=R.$implicit,x=n.XpG(2);n.R7$(),n.Y8G("inputId",a.inputId)("inputName",a.inputName)("label",a.label)("value",a.value)("formControl",x.optionFormControl)}}function nr(i,R){if(1&i&&(n.j41(0,"div",10),n.Z7z(1,er,2,5,"div",14,n.fX1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Dyx(a.options)}}function Sr(i,R){if(1&i&&(n.j41(0,"div",14),n.nrm(1,"conte-dw-labels",16),n.k0s()),2&i){const a=R.$implicit;n.R7$(),n.Y8G("showIcon",!0)("text",a.text)}}function kr(i,R){if(1&i&&(n.j41(0,"div",11),n.Z7z(1,Sr,2,2,"div",14,n.fX1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.Dyx(a.labels)}}function or(i,R){if(1&i&&n.nrm(0,"p",17),2&i){const a=n.XpG(2);n.Y8G("innerHTML",a.info,n.npT)}}function ir(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",18)(1,"conte-dw-button",19),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG(2);return c.Njj(Mt.onPrimaryButtonClick(P))}),n.EFF(2),n.k0s()()}if(2&i){const a=n.XpG(2);n.R7$(),n.HbH(a.PRIMARY),n.Y8G("href",a.primaryButtonHref),n.R7$(),n.JRh(a.primaryButtonText)}}function ar(i,R){if(1&i&&(n.j41(0,"div",13),n.nVh(1,or,1,1,"p",17),n.nVh(2,ir,3,4,"div",18),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.vxM(a.info?1:-1),n.R7$(),n.vxM(a.primaryButtonText?2:-1)}}function Dr(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",20)(1,"conte-dw-button",21),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG(2);return c.Njj(Mt.onSecondaryButtonClick(P))}),n.EFF(2),n.k0s()()}if(2&i){const a=n.XpG(2);n.R7$(),n.HbH(a.SECONDARY),n.R7$(),n.JRh(a.secondaryButtonText)}}function Rr(i,R){if(1&i){const a=n.RV6();n.j41(0,"div",20)(1,"conte-dw-button",19),n.bIt("$buttonClickOutput",function(P){c.eBV(a);const Mt=n.XpG(2);return c.Njj(Mt.onPrimaryButtonClick(P))}),n.EFF(2),n.k0s()()}if(2&i){const a=n.XpG(2);n.R7$(),n.HbH(a.PRIMARY),n.Y8G("href",a.primaryButtonHref),n.R7$(),n.JRh(a.primaryButtonText)}}function Lr(i,R){if(1&i&&(n.j41(0,"div",13),n.nVh(1,Dr,3,3,"div",20),n.nVh(2,Rr,3,4,"div",20),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.vxM(a.secondaryButtonText?1:-1),n.R7$(),n.vxM(a.primaryButtonText?2:-1)}}let d=(()=>{class i{constructor(){this.showInfoAndButton=!1,this.showButtonRow=!1,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB,this.$primaryButtonClickOutput=new n.bkB,this.$secondaryButtonClickOutput=new n.bkB,this.PRIMARY=ka.jd,this.SECONDARY=ka.lS}onCloseClick(a){this.$closeClickOutput.emit(a)}onOutsideClick(a){this.$outsideClickOutput.emit(a)}onPrimaryButtonClick(a){this.$primaryButtonClickOutput.emit(a)}onSecondaryButtonClick(a){this.$secondaryButtonClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-touchpoint-sp"]],inputs:{action:"action",title:"title",text:"text",options:"options",labels:"labels",info:"info",buttonText:"buttonText",secondaryButtonText:"secondaryButtonText",showInfoAndButton:"showInfoAndButton",showButtonRow:"showButtonRow",primaryButtonText:"primaryButtonText",primaryButtonHref:"primaryButtonHref",optionFormControl:"optionFormControl"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$primaryButtonClickOutput:"$primaryButtonClickOutput",$secondaryButtonClickOutput:"$secondaryButtonClickOutput"},standalone:!1,decls:15,vars:7,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-big dw-modal-big-padding dw-modal-full-screen-mobile dw-modal-light-blue-bg",3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-touchpoint-sp"],[1,"dw-modal-go-back","d-md-1-none","d-block"],["buttonLabel","Indietro","goBackClasses","transparent-bg",3,"$clickEvent"],[1,"modal-touchpoint-sp-header","text-center","text-md-1-left"],[3,"src"],[1,"modal-touchpoint-sp-content"],[1,"modal-touchpoint-sp-title","small-subtitle","font-weight-bold","text-center","text-md-1-left",3,"innerHTML"],[1,"modal-touchpoint-sp-text","small-body","text-center","text-md-1-left",3,"innerHTML"],[1,"modal-touchpoint-sp-options","row","align-items-center"],[1,"modal-touchpoint-sp-labels","row"],[1,"modal-touchpoint-sp-footer"],[1,"row","align-items-center"],[1,"col-md-1-4","col-12"],[3,"inputId","inputName","label","value","formControl"],["icon","icon-ok",1,"label","label-icon-text",3,"showIcon","text"],[1,"col","modal
1-touchpoint-sp-info","caption","text-center","text-md-1-left",3,"innerHTML"],[1,"col-md-1-auto","modal-touchpoint-sp-button","text-center","text-md-1-left"],["id","primary-button",3,"$buttonClickOutput","href"],[1,"col-xs-auto","col-6","modal-touchpoint-sp-button","text-center","text-md-1-left"],["id","secondary-button",3,"$buttonClickOutput"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(Ce){return P.onOutsideClick(Ce)})("$closeClickOutput",function(Ce){return P.onCloseClick(Ce)}),n.j41(2,"div",2)(3,"div",3)(4,"conte-dw-go-back",4),n.bIt("$clickEvent",function(Ce){return P.onCloseClick(Ce)}),n.k0s()(),n.j41(5,"div",5),n.nrm(6,"img",6),n.k0s(),n.j41(7,"div",7),n.nrm(8,"p",8),n.nVh(9,Ar,1,1,"div",9),n.nVh(10,nr,3,0,"div",10),n.nVh(11,kr,3,0,"div",11),n.k0s(),n.j41(12,"div",12),n.nVh(13,ar,3,2,"div",13),n.nVh(14,Lr,3,2,"div",13),n.k0s()()()()),2&x&&(n.R7$(6),n.Y8G("src","./assets/img/icon-"+P.action+".svg",n.B4B),n.R7$(2),n.Y8G("innerHTML",P.title,n.npT),n.R7$(),n.vxM(P.text?9:-1),n.R7$(),n.vxM(P.options?10:-1),n.R7$(),n.vxM(P.labels?11:-1),n.R7$(2),n.vxM(P.showInfoAndButton?13:-1),n.R7$(),n.vxM(P.showButtonRow?14:-1))},dependencies:[je.BC,je.l_,wt.z,Ir.j,tn.Q,Zn.dx,Uo.H],styles:[".modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-header[_ngcontent-%COMP%]{margin-top:-15px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-title[_ngcontent-%COMP%]{padding:20px 0 30px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-text[_ngcontent-%COMP%]{padding-bottom:30px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-text[_ngcontent-%COMP%], .modal
1-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-info[_ngcontent-%COMP%]{color:#484848}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-options[_ngcontent-%COMP%]{padding-bottom:10px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-labels[_ngcontent-%COMP%]{padding-bottom:30px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-button[_ngcontent-%COMP%]     .button{min-width:150px}@media (max-width: 767px){.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-header[_ngcontent-%COMP%]{margin-top:-5px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-title[_ngcontent-%COMP%]{font-size:18px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-text[_ngcontent-%COMP%]{font-size:12px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-labels[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){padding-top:15px}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-info[_ngcontent-%COMP%]{padding-bottom:30px}}@media (max-width: 480px){.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-button[_ngcontent-%COMP%]     .button{padding:10px;min-width:100%}.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-button[_ngcontent-%COMP%]     .button-secondary{padding:8px 10px}}@media (max-width: 370px){.modal-touchpoint-sp[_ngcontent-%COMP%]   .modal-touchpoint-sp-button[_ngcontent-%COMP%]     .button{font-size:14px}}@media (max-width: 767px){  .dw-modal-close.d-flex.justify-content-end{display:none!important}}"]})}}return i})();function ys(i,R){if(1&i&&n.nrm(0,"p",4),2&i){const a=n.XpG();n.Y8G("innerHTML",a.headTitle,n.npT)}}function Es(i,R){if(1&i&&n.nrm(0,"p",7),2&i){const a=n.XpG();n.Y8G("innerHTML",a.bodyText,n.npT)}}function ws(i,R){if(1&i&&n.nrm(0,"p",9),2&i){const a=n.XpG();n.Y8G("innerHTML",a.listTitle,n.npT)}}function Is(i,R){if(1&i&&(n.j41(0,"div",11),n.nrm(1,"img",23)(2,"p",24),n.k0s()),2&i){const a=R.$implicit,x=n.XpG();n.R7$(),n.Y8G("src",x.listElementsBulletImagePath,n.B4B),n.R7$(),n.Y8G("innerHTML",a,n.npT)}}function As(i,R){if(1&i&&n.nrm(0,"img",16),2&i){const a=n.XpG();n.Y8G("src",a.imagePath,n.B4B)("alt",a.imageAltText)}}function Ss(i,R){if(1&i&&n.nrm(0,"p",17),2&i){const a=n.XpG();n.Y8G("innerHTML",a.footerText,n.npT)}}function ks(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-button-form",25),n.bIt("$buttonClickOutput",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onSecondaryButtonClick())}),n.EFF(1),n.k0s()}if(2&i){const a=n.XpG();n.Y8G("id",a.secondaryButtonId),n.R7$(),n.SpI(" ",a.secondaryButtonLabel," ")}}function Ds(i,R){if(1&i){const a=n.RV6();n.j41(0,"conte-dw-button-form",26),n.bIt("$buttonClickOutput",function(){c.eBV(a);const P=n.XpG();return c.Njj(P.onPrimaryButtonClick())}),n.EFF(1),n.k0s()}if(2&i){const a=n.XpG();n.Y8G("id",a.primaryButtonId),n.R7$(),n.SpI(" ",a.primaryButtonLabel," ")}}let Rs=(()=>{class i{constructor(){this.ModalSizes=He.I,this.listElementsBulletImagePath="./assets/img/icon-tick.svg",this.primaryButtonId="modal-primary-button",this.secondaryButtonId="modal-secondary-button",this.$primaryButtonClickOutput=new n.bkB,this.$secondaryButtonClickOutput=new n.bkB,this.$closeClickOutput=new n.bkB,this.$outsideClickOutput=new n.bkB}onPrimaryButtonClick(){this.$primaryButtonClickOutput.emit()}onSecondaryButtonClick(){this.$secondaryButtonClickOutput.emit()}onCloseClick(){this.$closeClickOutput.emit()}onOutsideClick(){this.$outsideClickOutput.emit()}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-modal-up-selling"]],inputs:{headTitle:"headTitle",bodyText:"bodyText",listTitle:"listTitle",listElements:"listElements",footerText:"footerText",listElementsBulletImagePath:"listElementsBulletImagePath",imagePath:"imagePath",imageAltText:"imageAltText",closeButtonAltText:"closeButtonAltText",primaryButtonLabel:"primaryButtonLabel",secondaryButtonLabel:"secondaryButtonLabel",primaryButtonId:"primaryButtonId",secondaryButtonId:"secondaryButtonId"},outputs:{$primaryButtonClickOutput:"$primaryButtonClickOutput",$secondaryButtonClickOutput:"$secondaryButtonClickOutput",$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},decls:25,vars:15,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","modalSize","showClose"],[1,"modal__main-container","overflow-hidden"],[1,"modal__head-container","px-4","pt-4","big-body","row","
1justify-content-center"],[1,"w-100","text-center","big-body","col-10",3,"innerHTML"],[2,"--button-width","auto","--button-padding","0",3,"$buttonClickOutput","id","text","imgSrc","imgAltText"],[1,"modal__body-container","position-relative","my-3","overflow-hidden","text-xs-center","text-sm-left"],[3,"innerHTML"],[1,"mt-2","small-body"],[1,"small-body",3,"innerHTML"],[1,"row","m-0","flex-column","justify-content-xs-start","align-content-xs-center","align-content-sm-start"],[1,"mt-2","d-flex","align-items-start","align-items-xs-center"],[1,"modal__image-container","position-absolute","d-none","d-sm-block"],[1,"modal__image-container--first-layer"],[1,"modal__image-container--second-layer"],[1,"modal__image-container--third-layer"],[3,"src","alt"],[1,"modal__footer-container","py-3","small-body","d-flex","align-items-center","justify-content-center","flex-column","flex-sm-row",3,"innerHTML"],[1,"modal__action-buttons","row","m-0","px-3","mx-2"],[1,"col-sm-6","px-0","px-sm-2"],[1,"button","form","full","button-secondary",3,"id"],[1,"col-sm-6","mt-3","mt-sm-0","px-0","px-sm-2"],[1,"button","form","full","button-primary",3,"id"],["alt","",1,"pr-2","pt-2","pt-xs-0",3,"src"],[1,"font-weight-bold","small-body",3,"innerHTML"],[1,"button","form","full","button-secondary",3,"$buttonClickOutput","id"],[1,"button","form","full","button-primary",3,"$buttonClickOutput","id"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"conte-dw-modal",1),n.bIt("$outsideClickOutput",function(){return P.onOutsideClick()}),n.j41(2,"div",2)(3,"div",3),n.nVh(4,ys,1,1,"p",4),n.j41(5,"conte-dw-button",5),n.bIt("$buttonClickOutput",function(){return P.onCloseClick()}),n.k0s()(),n.j41(6,"div",6)(7,"div"),n.nVh(8,Es,1,1,"p",7),n.j41(9,"div",8),n.nVh(10,ws,1,1,"p",9),n.j41(11,"div",10),n.Z7z(12,Is,3,2,"div",11,n.fX1),n.k0s()()(),n.j41(14,"div",12),n.nrm(15,"div",13)(16,"div",14)(17,"div",15),n.nVh(18,As,1,2,"img",16),n.k0s()(),n.nVh(19,Ss,1,1,"p",17),n.j41(20,"div",18)(21,"div",19),n.nVh(22,ks,2,2,"conte-dw-button-form",20),n.k0s(),n.j41(23,"div",21),n.nVh(24,Ds,2,2,"conte-dw-button-form",22),n.k0s()()()()()),2&x&&(n.R7$(),n.Y8G("modalSize",P.ModalSizes.Medium)("showClose",!1),n.R7$(3),n.vxM(P.headTitle?4:-1),n.R7$(),n.HbH("button dw-clickable modal__close-button position-absolute p-0 border-0 bg-transparent"),n.Y8G("id","modal-close")("text",!1)("imgSrc","./assets/img/icon-blue-close.svg")("imgAltText",P.closeButtonAltText),n.R7$(3),n.vxM(P.bodyText?8:-1),n.R7$(2),n.vxM(P.listTitle?10:-1),n.R7$(2),n.Dyx(P.listElements),n.R7$(6),n.vxM(P.imagePath?18:-1),n.R7$(),n.vxM(P.footerText?19:-1),n.R7$(3),n.vxM(P.secondaryButtonLabel?22:-1),n.R7$(2),n.vxM(P.primaryButtonLabel?24:-1))},dependencies:[E.Q,wt.z,g.ne,tt.G,g.tm,tn.Q],styles:[".modal__main-container[_ngcontent-%COMP%]{border-radius:10px;border-top:8px solid #00558c;padding-bottom:24px}.modal__close-button[_ngcontent-%COMP%]{width:24px;top:24px;right:24px}.modal__body-container[_ngcontent-%COMP%]{padding:24px;background:#edf7ff;box-shadow:0 0 20px 4px #0945851a}.modal__image-container[_ngcontent-%COMP%], .modal__image-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{aspect-ratio:1/1}.modal__image-container[_ngcontent-%COMP%]{right:-50px;bottom:-25px;width:258px;opacity:.8}.modal__image-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.modal__image-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:50%;background:linear-gradient(270deg,#198df5,#4dabff)}.modal__image-container--first-layer[_ngcontent-%COMP%]{opacity:.15;width:258px}.modal__image-container--second-layer[_ngcontent-%COMP%]{opacity:.25;width:210px}.modal__image-container--third-layer[_ngcontent-%COMP%]{opacity:.5;width:161px}.modal__image-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:88.511px;filter:brightness(0) invert(1) opacity(1)}.modal__footer-container[_ngcontent-%COMP%]{border-top:1px solid #e6eef4}"]})}}return i})();var Ls=o(74683),Ea=o(92278);function $s(i,R){if(1&i&&(n.j41(0,"div",6),n.nrm(1,"img",7),n.k0s()),2&i){const a=n.XpG();
1n.R7$(),n.Y8G("src","./assets/img/icon-"+a.icon+".svg",n.B4B)}}function Ns(i,R){if(1&i&&(n.j41(0,"p",8),n.EFF(1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.title," ")}}function Bs(i,R){if(1&i&&(n.j41(0,"p",9),n.EFF(1),n.k0s()),2&i){const a=n.XpG();n.R7$(),n.SpI(" ",a.subtitle," ")}}let Fs=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-card-info"]],inputs:{icon:"icon",title:"title",subtitle:"subtitle"},decls:6,vars:3,consts:[[1,"ui-bootstrap"],[1,"card-info"],["class","card-info-image text-center",4,"ngIf"],[1,"card-info-text"],["class","card-info-title big-body font-weight-bold text-center",4,"ngIf"],["class","card-info-subtitle small-body text-center",4,"ngIf"],[1,"card-info-image","text-center"],[3,"src"],[1,"card-info-title","big-body","font-weight-bold","text-center"],[1,"card-info-subtitle","small-body","text-center"]],template:function(x,P){1&x&&(n.j41(0,"div",0)(1,"div",1),n.DNE(2,$s,2,1,"div",2),n.j41(3,"div",3),n.DNE(4,Ns,2,1,"p",4)(5,Bs,2,1,"p",5),n.k0s()()()),2&x&&(n.R7$(2),n.Y8G("ngIf",P.icon),n.R7$(2),n.Y8G("ngIf",P.title),n.R7$(),n.Y8G("ngIf",P.subtitle))},dependencies:[t.MD,t.bT,Ea.Y],styles:[".card-info[_ngcontent-%COMP%]{text-align:center}.card-info[_ngcontent-%COMP%]   .card-info-image[_ngcontent-%COMP%]{position:relative;display:inline-block;padding-bottom:3px}.card-info[_ngcontent-%COMP%]   .card-info-subtitle[_ngcontent-%COMP%]{color:#3377a3}"]})}}return i})();var Vs=o(19272),Hs=o(81128);const Us=i=>({"no-status":i});function Gs(i,R){if(1&i&&(n.j41(0,"div",13)(1,"div",14)(2,"div",15),n.nrm(3,"conte-dw-labels",16),n.k0s()()()),2&i){const a=n.XpG();n.R7$(3),n.HbH("label label-status "+a.data.headerInfo.label.color),n.Y8G("text",a.data.headerInfo.label.description)}}function zs(i,R){if(1&i&&n.nrm(0,"conte-dw-data-element",17),2&i){const a=R.$implicit;n.Y8G("inputValue",R.inputValue)("dataMapElement",a)}}let js=(()=>{class i extends Ls.tH{constructor(){super(...arguments),this.$manageClickOutput=new n.bkB,this.MANAGE=ka.aB,this.SECONDARY=ka.lS}set buttonId(a){this._buttonIdBase=a}get buttonId(){return`manage-button-${this._buttonIdBase}`}onManageClick(a){this.$manageClickOutput.emit(a)}static{this.\u0275fac=(()=>{let a;return function(P){return(a||(a=n.xGo(i)))(P||i)}})()}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-home-card"]],inputs:{buttonId:"buttonId",data:"data"},outputs:{$manageClickOutput:"$manageClickOutput"},features:[n.Vt3],decls:16,vars:14,consts:[["DataElement",""],[1,"ui-bootstrap"],[1,"home-card","dw-card","dw-card-home-card"],["class","home-card-header d-flex justify-content-between",4,"ngIf"],[1,"home-card-content"],[1,"home-info"],[3,"icon","title","subtitle"],[1,"dw-line"],["dataListClass","home-card",3,"dataList","inputData"],[1,"home-card-footer","container"],[1,"row","dw-col-no-padding"],[1,"col-12"],[3,"$buttonClickOutput","id"],[1,"home-card-header","d-flex","justify-content-between"],[1,"row"],[1,"col","col-auto"],[3,"text"],["elementClass","data-element-list",3,"inputValue","dataMapElement"]],template:function(x,P){if(1&x){const Mt=n.RV6();n.j41(0,"div",1)(1,"div",2),n.DNE(2,Gs,4,3,"div",3),n.j41(3,"div",4)(4,"div",5),n.nrm(5,"conte-dw-card-info",6),n.k0s(),n.nrm(6,"div",7),n.j41(7,"div",5)(8,"conte-dw-data-list",8),n.DNE(9,zs,1,2,"ng-template",null,0,n.C5r),n.k0s()()(),n.j41(11,"div",9)(12,"div",10)(13,"div",11)(14,"conte-dw-button",12),n.bIt("$buttonClickOutput",function(cr){return c.eBV(Mt),c.Njj(P.onManageClick(cr))}),n.EFF(15),n.k0s()()()()()()}2&x&&(n.R7$(2),n.Y8G("ngIf",null==P.data.headerInfo.label?null:P.data.headerInfo.label.description),n.R7$(2),n.HbH(n.eq3(12,Us,!(null!=P.data.headerInfo.label&&P.data.headerInfo.label.description))),n.R7$(),n.Y8G("icon",P.data.headerInfo.icon)("title",P.data.headerInfo.title)("subtitle",P.data.headerInfo.subtitle),n.R7$(3),n.Y8G("dataList",P.data.bodyInfoDataMap)("inputData",P.data.bodyInfo),n.R7$(6),n.HbH((null==P.data.footerInfo?null:P.data.footerInfo.manageButtonClass)||P.SECONDARY),n.Y8G("id",P.buttonId),n.R7$(),n.SpI("",(null==P.data.footerInfo?null:P.data.footerInfo.manageButtonLabel)||P.MANAGE," "))},dependencies:[t.MD,t.bT,Ea.Y,Uo.H,Fs,mt.Ze,Vs.q,g.tm,tn.Q,mt.$w,Hs.M],styles:[".home-card[_ngcontent-%COMP%]{width:301px;min-width:254px;position:relative}.home-card[_ngcontent-%COMP%]   .home-card-header[_ngcontent-%COMP%]{margin-bottom:5px}.home-card[_ngcontent-%COMP%]   .no-status[_ngcontent-%COMP%]{margin-top:32px}.home-card[_ngcontent-%COMP%]   .home-card-footer[_ngcontent-%COMP%]{margin:40px 0 20px}.home-card[_ngcontent-%COMP%]   .home-card-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%] > .col-12[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:10px}.home-card[_ngcontent-%COMP%]   .home-card-footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]     .button{display:block}"]})}}return i})(),Ys=(()=>
1{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})(),Rc=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();var Lc=o(99744),Xs=o(4281),ja=o(37345),$c=o(99608);let $r=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Ea.Y]})}}return i})();var Nr=o(103);let Br=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Ea.Y,$c.u,$r,Nr.Z,ji.H,e.t,Bo.$,ja.h]})}}return i})();var Da=o(91360),Nc=o(52271);o(28955),o(61115);let Bc=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),Ml=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,g.tm]})}}return i})();var Ol=o(59755);o(83452);let Fc=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),Fr=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})(),Zl=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();var Hc=function(i){return i.JPG=".jpg",i.JPEG=".jpeg",i.PDF=".pdf",i.IJPEG="image/jpeg",i.IJPG="image/jpg",i.APDF="application/pdf",i}(Hc||{});Object.values(Hc),o(11509);let Uc=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})(),ba=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();var Sd=o(62177);let kd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})();var Dd=o(56068);let Vr=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),Ld=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Vr,e.t,ja.h]})}}return i})(),Gc=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),Hr=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t,Gc]})}}return i})(),zc=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();o(94343);let $d=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();var Ur=o(66104);o(13811);const Bd=[t.MD,pt.v,Da.st,Da._m,Ur.xl,l.n];let Fd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[Bd]})}}return i})();var jc=o(18610),Vd=o(71438);let Gr=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Ea.Y,Nr.Z,e.t,l.n,Bo.$,Vd.q,je.X1,jc.$,s.l]})}}return i})();var Yc=o(52302);let Hd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})();var Ud=o(60401);const Gd=(i,R)=>({"mobile-overflow-x":i,"d-none d-md-1-block":R});function zd(i,R){if(1&i){const a=n.RV6();n.j41(0,"li",1)(1,"conte-dw-button",2),n.bIt("$buttonClickOutput",function(){const P=c.eBV(a).$implicit,Mt=n.XpG();return c.Njj(Mt.onTabClick(P.id))}),n.EFF(2),n.nI1(3,"translate"),n.k0s()()}if(2&i){const a=R.$implicit;n.R7$(),n.HbH("button button-menu"+(a.selected?" selected":"")),n.Y8G("id","tabs-header-"+a.id),n.BMQ("aria-selected",a.selected),n.R7$(),n.Sp
1I(" ",n.bMT(3,5,a.label)," ")}}var rr=function(i){return i.MobileOverflowX="mobileOverflowX",i.HideOnMobile="hideOnMobile",i}(rr||{});let jd=(()=>{class i{constructor(){this.hostClass="tabs-header-host",this.tabs=[],this.visibility=rr.HideOnMobile,this.VISIBILITY=rr,this.$tabClickOutput=new n.bkB}onTabClick(a){this.$tabClickOutput.emit(a)}static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["conte-dw-tabs-header"]],hostVars:2,hostBindings:function(x,P){2&x&&n.HbH(P.hostClass)},inputs:{tabs:"tabs",visibility:"visibility"},outputs:{$tabClickOutput:"$tabClickOutput"},decls:3,vars:5,consts:[["role","tablist",1,"tabs-header-list"],["role","presentation"],["role","tab",3,"$buttonClickOutput","id"]],template:function(x,P){1&x&&(n.j41(0,"ul",0),n.Z7z(1,zd,4,7,"li",1,n.Vm6),n.k0s()),2&x&&(n.HbH(n.l_i(2,Gd,P.visibility===P.VISIBILITY.MobileOverflowX,P.visibility===P.VISIBILITY.HideOnMobile)),n.R7$(),n.Dyx(P.tabs))},dependencies:[t.MD,g.tm,tn.Q,Ud.h,v.D9],styles:[".tabs-header-host{display:block}.tabs-header-list{display:flex;align-items:center;width:100%;margin:0;padding:0;list-style:none}.tabs-header-list>li{flex:1 1 auto}.tabs-header-host conte-dw-button .button.button-menu{text-transform:var(--tabs-header-label-text-transform, none);font-size:var(--tabs-header-label-font-size, 18px)}@media (max-width: 768px){.tabs-header-host conte-dw-button .button.button-menu{color:#00558c;text-transform:uppercase;font-size:12px;padding:10px 8px}.tabs-header-host .mobile-overflow-x>li:first-child conte-dw-button .button.button-menu{padding-left:0}.tabs-header-host .mobile-overflow-x>li:last-child conte-dw-button .button.button-menu{padding-right:0}.mobile-overflow-x{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.mobile-overflow-x::-webkit-scrollbar{display:none;width:0;height:0}.mobile-overflow-x>li{flex:1 0 auto}}\n"],encapsulation:2})}}return i})();o(44052);var oa=o(97620);let zr=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),Yd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,Fr,zr]})}}return i})();var Xd=o(21099),jr=o(39737),Kd=o(1422);let Wd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[Kd.v]})}}return i})();var Yr=o(29082);let Qd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,jr.l,Hr,ji.H,Bo.$,e.t,Yr.x,Rc,Xd.$,Wd,f]})}}return i})();var Xc=o(19200);let Jd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Br,Vr,Xc.l,e.t,Yc.d,Uc]})}}return i})(),Zd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,$r,Br,Xc.l,ja.h]})}}return i})(),qd=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})(),tp=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD]})}}return i})(),ep=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t,tp,qd]})}}return i})();o(95652);var Kc=function(i){return i.NewVehicle="newVehicle",i.OldVehicle="oldVehicle",i}(Kc||{});const np=[{label:"Non perdere tempo! Controlliamo insieme i dati pi\xf9 importanti!"},{label:"La chiamata \xe8 veloce, rispondiamo quasi sempre in meno di un minuto!"},{label:"Contatta i nostri consulenti esperti e acquista subito in totale sicurezza"}];let op=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Ae.z,e.t,je.X1]})}}return i})(),ip=(()=>
1{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,hn,Fr,Ea.Y,mt.Hx,mt.$w,g.tm,op,g.ne]})}}return i})();var Wc=o(20335);let ap=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Hr,Wc.h,Gc,ja.h]})}}return i})(),rp=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,Hn,e.t,Ea.Y,Ae.z,$c.u,je.X1]})}}return i})();var cp=o(6502),sp=o(94927);let lp=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.t]})}}return i})();var Qc=o(90223),dp=o(92212);let pp=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,Gr,sp.E,Wc.h,ji.H,lp,Bo.$,e.t,Nr.Z,jr.l,cp.z,Qc.N,s.l,Yr.x,jc.$,dp.y,oa.yS]})}}return i})(),up=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,Yr.x,jr.l,Qc.N,En.K,ji.H,Bo.$,e.t,je.X1,s.l,Gr]})}}return i})(),_p=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,ba,zc,Bc,hn,En.K,e.t,tr.Z,je.X1,z.vf]})}}return i})();o(15634);let mp=(()=>{class i{static{this.\u0275fac=function(x){return new(x||i)}}static{this.\u0275mod=n.$C({type:i})}static{this.\u0275inj=c.G2t({imports:[t.MD,zr,ba,Lc.u,mt._u,g.ne,Fc,mt.hN,r]})}}return i})()},58111(ht,L,o){"use strict";o.d(L,{M:()=>c});var t=o(51203),e=o(81087);let n=(()=>{class f{constructor(){this.firstCardImage="h24_support.svg",this.secondCardImage="auto2.svg"}static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275cmp=t.VBU({type:f,selectors:[["conte-dw-assistance-banner"]],inputs:{mainTitle:"mainTitle",firstCardTitle:"firstCardTitle",firstCardImage:"firstCardImage",firstCardSubtitle:"firstCardSubtitle",secondCardTitle:"secondCardTitle",secondCardImage:"secondCardImage",secondCardSubtitle:"secondCardSubtitle"},standalone:!1,decls:20,vars:7,consts:[[1,"ui-bootstrap"],[1,"assistance-banner","d-flex","align-items-center","position-relative","justify-content-end"],[1,"assistance-banner__header","d-flex","align-items-center","font-weight-bold"],["src","./assets/img/assistance-banner.png","srcset","\n              ./assets/img/[email protected] 2x,\n              ./assets/img/[email protected] 3x\n            ","alt",""],[3,"innerHTML"],[1,"assistance-banner__card-list","d-flex","justify-content-md-end","flex-wrap","ml-sm-5"],[1,"assistance-banner-img","d-flex","align-items-center"],["alt","",1,"d-block",3,"src"],[1,"font-weight-bold"]],template:function(r,_){1&r&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.nrm(3,"img",3)(4,"h3",4),t.k0s(),t.j41(5,"div",5)(6,"div",6),t.nrm(7,"img",7),t.j41(8,"p")(9,"span",8),t.EFF(10),t.k0s(),t.nrm(11,"br"),t.EFF(12),t.k0s()(),t.j41(13,"div",6),t.nrm(14,"img",7),t.j41(15,"p")(16,"span",8),t.EFF(17),t.k0s(),t.nrm(18,"br"),t.EFF(19),t.k0s()()()()()),2&r&&(t.R7$(4),t.Y8G("innerHTML",_.mainTitle,t.npT),t.R7$(3),t.Y8G("src","./assets/img/"+_.firstCardImage,t.B4B),t.R7$(3),t.JRh(_.firstCardTitle),t.R7$(2),t.SpI(" ",_.firstCardSubtitle," "),t.R7$(2),t.Y8G("src","./assets/img/"+_.secondCardImage,t.B4B),t.R7$(3),t.JRh(_.secondCardTitle),t.R7$(2),t.SpI(" ",_.secondCardSubtitle," "))},styles:[".assistance-banner[_ngcontent-%COMP%]{min-height:144px;height:auto;background-color:var(--assistance-banner-background-color, #ffffff);padding-left:20px}.assistance-banner__header[_ngcontent-%COMP%]{gap:16px;margin-bottom:0;position:absolute;bottom:0;left:-10px;max-width:33.3%}.assistance-banner__header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px;color:#00558c}.assistance-banner__card-list[_ngcontent-%COMP%]{gap:24px;padding:20px 0}.assistance-banner__card-list[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:35%;max-width:35%}.assistance-banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#484848;font-size:14px;line-height:160%}.assistance-banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#00558c;font-size:16px;line-height:160%}.assistance-banner[_ngcontent-%COMP%]   .assistance-banner-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:16px;min-width:60px!important;max-width:60px!important}@media (max-width: 1024px){.assistance-banner[_ngcontent-%COMP%]{height:auto;flex-direction:column;padding:24px 0}.assistance-banner__header[_ngcontent-%COMP%]{position:static;margin-bottom:24px;max-width:100%}.assistance-banner__header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:24px}.assistance-banner__card-list[_ngcontent-%COMP%]{padding:0}.assistance-banner__card-list[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:100%;max-width:100%}.assistance-banner[_ngcontent-%COMP%]   .assistance-banner-img[_ngcontent-%COMP%]{gap:16px}.assistance-banner[_ngcontent-%COMP%]   .assistance-banner-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding:0 0 10px}}"]})}}return f})(),c=(()=>{class f{constructor(){this.firstCardImage="h24_support.svg",this.secondCardImage="auto2.svg"}static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275cmp=t.VBU({type:f,selectors:[["conte-dw-certified-quality-banner"]],inputs:{mainTitle:"mainTitle",mainSubtitle:"mainSubtitle",assistanceTitle:"assistanceTitle",firstCardTitle:"firstCardTitle",firstCardImage:"firstCardImage",f
1irstCardSubtitle:"firstCardSubtitle",secondCardTitle:"secondCardTitle",secondCardImage:"secondCardImage",secondCardSubtitle:"secondCardSubtitle"},standalone:!1,decls:11,vars:9,consts:[[1,"ui-bootstrap","certified-quality"],[1,"certified-quality__social-proof","d-flex","align-items-md-center","justify-content-center","flex-wrap","position-relative"],[1,"certified-quality__header","mb-3","text-center","text-lg-left","col-lg-4"],[1,"certified-quality__header__title","font-weight-bold","mb-2"],[1,"certified-quality__header__subtitle","font-weight-normal","mt-0"],[1,"certified-quality__trustpilot"],[1,"certified-quality__assistance"],[3,"mainTitle","firstCardImage","firstCardTitle","firstCardSubtitle","secondCardImage","secondCardTitle","secondCardSubtitle"]],template:function(r,_){1&r&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),t.EFF(4),t.k0s(),t.j41(5,"h4",4),t.EFF(6),t.k0s()(),t.j41(7,"div",5),t.nrm(8,"conte-dw-trustpilot-widget"),t.k0s()(),t.j41(9,"div",6),t.nrm(10,"conte-dw-assistance-banner",7),t.k0s()()),2&r&&(t.R7$(4),t.SpI(" ",_.mainTitle," "),t.R7$(2),t.SpI(" ",_.mainSubtitle," "),t.R7$(4),t.Y8G("mainTitle",_.assistanceTitle)("firstCardImage",_.firstCardImage)("firstCardTitle",_.firstCardTitle)("firstCardSubtitle",_.firstCardSubtitle)("secondCardImage",_.secondCardImage)("secondCardTitle",_.secondCardTitle)("secondCardSubtitle",_.secondCardSubtitle))},dependencies:[e.E,n],styles:['.certified-quality[_ngcontent-%COMP%]{--background-color: var(--certified-quality-banner-background-color, #ffffff);background-color:var(--background-color);--assistance-banner-background-color: var(--background-color);padding:32px 39px;border:var(--certified-quality-banner-border, solid 2px #e6eef3);border-radius:var(--certified-quality-banner-border-radius, 10px);margin:var(--certified-quality-banner-margin, 21px 0 0 0)}@media (min-width: 1024px){.certified-quality[_ngcontent-%COMP%]{margin:var(--certified-quality-banner-margin, 32px 0 0 0);padding-bottom:0}}.certified-quality__social-proof[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:-30px -39px -27px -40px;border-bottom:2px solid #e6eef3}.certified-quality__trustpilot[_ngcontent-%COMP%]{z-index:1}@media (min-width: 1024px){.certified-quality__trustpilot[_ngcontent-%COMP%]{width:66%}}.certified-quality__assistance[_ngcontent-%COMP%]{margin-top:30px}.certified-quality__header__title[_ngcontent-%COMP%]{color:#00558c;font-size:24px}.certified-quality__header__subtitle[_ngcontent-%COMP%]{color:#484848;font-size:14px;line-height:160%}']})}}return f})()},46773(ht,L,o){"use strict";o.d(L,{G:()=>T});var t=o(51203),e=o(80226),n=o(44181),c=o(5547);const f=["*"],M=B=>({"background-image":B});function m(B,A){1&B&&t.nrm(0,"div",2)}function r(B,A){if(1&B&&t.nrm(0,"div",6),2&B){const I=t.XpG();t.HbH(I.icon),t.Y8G("id",I.id+"-icon")("ngStyle",t.eq3(4,M,"url(./assets/img/"+I.iconSrc+")"))}}function _(B,A){if(1&B){const I=t.RV6();t.j41(0,"img",7),t.bIt("click",function(k){e.eBV(I);const s=t.XpG();return e.Njj(s.onImgClick(k))}),t.k0s()}if(2&B){const I=t.XpG();t.HbH(I.imgClass),t.Y8G("src",I.imgSrc,t.B4B)("id",I.id+"-img")("alt",I.text?"":I.ariaLabel)}}function g(B,A){if(1&B&&(t.j41(0,"span",5),t.SdG(1),t.k0s()),2&B){const I=t.XpG();t.Y8G("id",I.id+"-text")}}function $(B,A){if(1&B){const I=t.RV6();t.j41(0,"img",7),t.bIt("click",function(k){e.eBV(I);const s=t.XpG();return e.Njj(s.onImgClick(k))}),t.k0s()}if(2&B){const I=t.XpG();t.HbH(I.imgClass),t.Y8G("src",I.imgSrc,t.B4B)("id",I.id+"-img")("alt",I.text?"":I.ariaLabel)}}let T=(()=>{class B{constructor(){this.type="Text",this.disabled=!1,this.imgRight=!1,this.imgAction=!1,this.text=!0,this.selected=!1,this.isLoading=!1,this.$buttonClickOutput=new t.bkB,this.$imgClickOutput=new t.bkB}onButtonClick(I){this.$buttonClickOutput.emit(I)}onImgClick(I){this.imgAction&&(I.stopPropagation(),this.$imgClickOutput.emit())}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275cmp=t.VBU({type:B,selectors:[["conte-dw-button-form"]],inputs:{type:"type",name:"name",value:"value",class:"class",disabled:"disabled",id:"id",icon:"icon",iconSrc:"iconSrc",
1imgSrc:"imgSrc",ariaLabel:"ariaLabel",imgClass:"imgClass",imgRight:"imgRight",imgAction:"imgAction",text:"text",selected:"selected",isLoading:"isLoading"},outputs:{$buttonClickOutput:"$buttonClickOutput",$imgClickOutput:"$imgClickOutput"},standalone:!1,ngContentSelectors:f,decls:7,vars:15,consts:[[1,"ui-bootstrap"],["conteDwDataCy","",3,"click","type","name","value","disabled","id"],[1,"dw-loader"],[3,"class","id","ngStyle"],[3,"class","src","id","alt"],[1,"text",3,"id"],[3,"id","ngStyle"],[3,"click","src","id","alt"]],template:function(C,k){1&C&&(t.NAR(),t.j41(0,"div",0)(1,"button",1),t.bIt("click",function(l){return k.onButtonClick(l)}),t.nVh(2,m,1,0,"div",2),t.nVh(3,r,1,6,"div",3),t.nVh(4,_,1,5,"img",4),t.nVh(5,g,2,1,"span",5),t.nVh(6,$,1,5,"img",4),t.k0s()()),2&C&&(t.R7$(),t.HbH(k.class),t.AVh("selected",k.selected),t.Y8G("type",k.type)("name",k.name)("value",k.value)("disabled",k.disabled||null)("id",k.id),t.BMQ("aria-label",k.ariaLabel||(k.text?null:k.value||null)),t.R7$(),t.vxM(k.isLoading?2:-1),t.R7$(),t.vxM(k.icon?3:-1),t.R7$(),t.vxM(k.imgSrc&&!k.imgRight?4:-1),t.R7$(),t.vxM(k.text?5:-1),t.R7$(),t.vxM(k.imgSrc&&k.imgRight?6:-1))},dependencies:[n.B3,c.W],styles:['.icon[_ngcontent-%COMP%], .img-bigger[_ngcontent-%COMP%], .img-left-big[_ngcontent-%COMP%], .img-right[_ngcontent-%COMP%], .img-left[_ngcontent-%COMP%]{display:block;max-width:100%;height:auto}.link-error[_ngcontent-%COMP%], .link[_ngcontent-%COMP%], .button[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;color:inherit;display:inline-block;position:relative;text-align:center;text-decoration:none;font-size:16px;font-weight:700;line-height:160%}.link-error[_ngcontent-%COMP%]:focus-visible, .link[_ngcontent-%COMP%]:focus-visible, .button[_ngcontent-%COMP%]:focus-visible{outline:none}.link-error[_ngcontent-%COMP%]:focus-visible:after, .link[_ngcontent-%COMP%]:focus-visible:after, .button[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}.icon[_ngcontent-%COMP%], .img-bigger[_ngcontent-%COMP%], .img-left-big[_ngcontent-%COMP%], .img-right[_ngcontent-%COMP%], .img-left[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:24px;height:auto!important;aspect-ratio:1/1;object-fit:contain}.button[_ngcontent-%COMP%]{border-radius:50px;text-transform:var(--button-text-transform, none);padding:var(--button-padding, 10px 30px);color:#00558c;width:var(--button-width, 100%);height:var(--button-height, inherit);min-width:var(--button-min-width)}.button.flex[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.button.flex.inline[_ngcontent-%COMP%]{display:inline-flex}.button.flex-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.button.flex-center.inline[_ngcontent-%COMP%]{display:inline-flex}.button.flex-center.column[_ngcontent-%COMP%]{flex-direction:column}.button.width-100[_ngcontent-%COMP%]{max-width:100%}.button.full-width[_ngcontent-%COMP%]{width:100%}.button.font-16[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px}.button.font-18[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px}.button.disabled[_ngcontent-%COMP%]{color:#b7b7b7!important;background-color:#f4f4f4!important;background-image:none!important;border:none!important;pointer-events:none}.button.disabled[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:contrast(0);opacity:.6}.button.button-main[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#40c248,#239329);color:#fff}.button.button-main[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#40c248,#136e17)}.button.button-main-light[_ngcontent-%COMP%]{background-image:linear-gradient(90deg,#37bc33 2.75%,#6ddb6a 98.01%);color:#fff}.button.button-main-light[_ngcontent-%COMP%]:hover{background-image:linear-gradient(119.74deg,#40c248 19.34%,#239329 124.28%)}.button.button-main-lighter[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#37bc33 3%,#6ddb6a 98%);color:#fff;padding:10px 15px 11px}.button.button-main-lighter[_ngcontent-%COMP%]:hover{background-image:linear-gradient(119.74deg,#40c248 19.34%,#239329 124.28%)}.button.button-primary[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;display:var(--button-primary-display);min-width:var(--button-primary-min-width)}.button.button-primary[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary__multi-product-card[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;width:376px}.button.button-primary__multi-product-card[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}@media (max-width: 767px){.button.button-primary__multi-product-card[_ngcontent-%COMP%]{width:310px}}.button.button-primary__smart[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;min-width:300px;padding:15px 0;font-size:22px;font-weight:400}.button.button-primary__smart[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary__smart-questions[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;min-width:194px;padding:5px 0;font-size:22px;height:47px;background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;font-weight:400}.button.button-primary__smart-questions[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary.small-radius[_ngcontent-%COMP%]{border-radius:.625rem;padding-inline:1rem;background-color:#fff}.button.button-primary-smart[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff}.button.button-primary-smart[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary-smart__multi-product-card[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;width:376px}.button.button-primary-smart__multi-product-card[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}@media (max-width: 767px){.button.button-primary-smart__multi-product-card[_ngcontent-%COMP%]{width:310px}}.button.button-secondary[_ngcontent-%COMP%]{border:2px solid #b0cadb;background-color:transparent;padding:8px 30px}.button.button-secondary[_ngcontent-%COMP%]:hover{background-color:#e6eef3}.button.button-secondary.little[_ngcontent-%COMP%]{padding:5px 20px;font-size:14px}.button.button-secondary.light[_ngcontent-%COMP%]{border:1px solid #ccdde8;height:48px}.button.button-secondary.big-labels[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.button.button-secondary.small-radius[_ngcontent-%COMP%]{border-radius:.625rem;padding-inline:1rem;background-color:#fff}.button.button-secondary--error[_ngcontent-%COMP%]{border-color:#c8102e;color:#c8102e}.button.button-tertiary[_ngcontent-%COMP%]{background-color:#f1f8ff}.button.button-tertiary.small-radius[_ngcontent-%COMP%]{border-radius:.625rem}.button.button-tertiary[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.button.button-tertiary.disabled[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:contrast(0);opacity:.6}.button.button-tertiary-light[_ngcontent-%COMP%]{background-color:#f7f9fb}.button.button-tertiary-light[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.button.button-tertiary-green[_ngcontent-%COMP%]{background-color:transparent;color:#006900;font-size:14px;font-weight:700;padding:10px;width:128px;height:48px;border-radius:10px;border:2px solid #006900}.button.button-red[_ngcontent-%COMP%]{background-color:#f9e7ea;color:#c8102e}.button.button-alert[_ngcontent-%COMP%]{background-color:#c8102e;color:#fff}.button.button-tertiary-green-noselected[_ngcontent-%COMP%]{color:#8a8a8a;font-weight:400;font-size:14px;font-weight:700;padding:10px;width:128px;height:48px;border-radius:10px;border:2px solid #8a8a8a}.button.button-tertiary-green-selected[_ngcontent-%COMP%]{background-color:#006900;color:#fff;font-weight:400;border-radius:10px;border:2px solid #006900;font-size:14px;font-weight:700;padding:10px;width:128px;height:48px}.button.button-ghost[_ngcontent-%COMP%]:hover{color:#0075dd}.button.button-ghost.disabled[_ngcontent-%COMP%]{background-color:transparent!important}.button.button-fourth[_ngcontent-%COMP%]{box-shadow:0 2px 6px #00000026;font-size:26px;line-height:140%;color:#0075dd;background-color:#fff}.button.button-fourth[_ngcontent-%COMP%]:hover{background-color:#e6eef3}@media (max-width: 1140px){.button.button-fourth[_ngcontent-%COMP%]{font-size:22px;line-height:140%;padding:10px 20px}}@media (max-width: 370px){.button.button-fourth[_ngcontent-%COMP%]{font-size:16px;line-height:160%}}.button.button-label[_ngcontent-%COMP%]{padding:10px 20px}.button.button-vertical[_ngcontent-%COMP%]{font-size:14px;line-height:160%;padding:5px 10px;display:block;min-height:inherit}.button.button-vertical[_ngcontent-%COMP%]:hover{text-decoration:underline!important}.button.button-go-back[_ngcontent-%COMP%]{color:#6699ba;font-size:14px;line-height:160%;padding:0;display:block}.button.button-go-back[_ngcontent-%COMP%]:hover{color:#00558c}.button.button-menu[_ngcontent-%COMP%]{border-radius:0;font-size:14px;line-height:160%;text-transform:uppercase;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:10px 20px;border-bottom:3px solid transparent}.button.button-menu[_ngcontent-%COMP%]:hover, .button.button-menu[_ngcontent-%COMP%]:active, .button.button-menu.selected[_ngcontent-%COMP%]{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab[_ngcontent-%COMP%]{border-radius:0;font-size:18px;line-height:150%;padding:10px 40px;border-bottom:3px solid transparent}.button.button-tab[_ngcontent-%COMP%]:hover{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab[_ngcontent-%COMP%]:hover   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab.selected[_ngcontent-%COMP%]{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab.selected[_ngcontent-%COMP%]   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab[_ngcontent-%COMP%]:active{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab[_ngcontent-%COMP%]:active   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab--with-transition[_ngcontent-%COMP%]{border-radius:0;font-size:18px;line-height:150%;padding:10px 40px;border-bottom:3px solid transparent}.button.button-tab--with-transition[_ngcontent-%COMP%]:hover{color:#0075dd}.button.button-tab--with-transition[_ngcontent-%COMP%]:hover   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab--with-transition.selected[_ngcontent-%COMP%]{color:#0075dd;border-bottom:3px solid #0075dd;transition:border-bottom .4s ease-in-out}.button.button-tab--with-transition.selected[_ngcontent-%COMP%]   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab--with-transition[_ngcontent-%COMP%]:active{color:#0075dd;border-bottom:3px solid #0075dd;transition:border-bottom .4s ease-in-out}.button.button-tab--with-transition[_ngcontent-%COMP%]:active   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-number[_ngcontent-%COMP%]{font-size:10px;line-height:160%;font-style:italic;padding:3px 10px;color:#0075dd;background-color:#f1f8ff;text-transform:uppercase}.button.button-notification[_ngcontent-%COMP%]{position:relative;padding:0;color:#6699ba;font-size:12px;line-height:160%;text-transform:uppercase}.button.button-notification[_ngcontent-%COMP%]:hover{color:#00558c}.button.button-navigation[_ngcontent-%COMP%]{font-size:10px;line-height:140%;text-transform:uppercase;background-color:#fff;box-shadow:0 0 8px #0f468326;padding:6px 12px}.button.button-navigation[_ngcontent-%COMP%]:hover{background-color:#e6eef3}.button.button-select[_ngcontent-%COMP%]{min-width:100px;background-color:#fff;color:#646464;border:1px solid #ccdde8;border-radius:var(--button-button-select-border-radius, 4px);padding:10px 15px}.button.button-select[_ngcontent-%COMP%]:hover{background-color:#e6eef3}.button.button-options[_ngcontent-%COMP%]{max-width:100%;width:100%;background-color:var(--button-button-options-background-color, #ffffff);color:var(--button-button-options-color, #8a8a8a);border:1px solid;border-color:var(--button-button-options-border-color, #ccdde8);border-radius:var(--button-button-options-border-radius, 10px);padding:var(--button-button-options-padding, 12px);text-align:left}.button.button-options[_ngcontent-%COMP%]:focus, .button.button-options[_ngcontent-%COMP%]:hover, .button.button-options[_ngcontent-%COMP%]:active, .button.button-options.selected[_ngcontent-%COMP%]{border-color:#0075dd;background-color:#f1f8ff;color:#484848}.button.button-options.fixed-width[_ngcontent-%COMP%]{width:54px;height:54px}.button.button-error[_ngcontent-%COMP%]{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.button.button-error[_ngcontent-%COMP%]:hover{border-color:#c8102e;background-color:#fcf3f5}.button.button-no-wrap[_ngcontent-%COMP%]{padding:8.5px 20px;color:#0075dd;background-color:#f1f8ff;font-size:14px}.button.button-no-wrap[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.button.button-no-wrap[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.button.button-info[_ngcontent-%COMP%]{padding:0;border-radius:0;font-size:12px;font-weight:400;font-style:italic}.button.button-info.normal[_ngcontent-%COMP%]{font-weight:700;font-style:normal}.button.button-highlight[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#37bc33 3%,#6ddb6a 98%);color:#fff}.icon-notification[_ngcontent-%COMP%]{position:absolute;top:-2px;right:-2px;width:24px;height:24px;border-radius:50px;box-shadow:0 0 8px #0f46831a;background-color:#fff;color:#00558c}.icon-notification[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{line-height:24px}.img-top[_ngcontent-%COMP%]{display:block;height:22px;margin:0 auto 2px}.img-top-big[_ngcontent-%COMP%]{display:block;height:45px;margin:var(--button-img-top-big-margin, 0 auto 5px);padding:var(--button-img-top-big-padding)}.img-left[_ngcontent-%COMP%]{margin-right:10px}.img-left.little[_ngcontent-%COMP%]{width:18px;height:18px}.img-right[_ngcontent-%COMP%]{margin-left:10px;max-width:none}
1.img-right.medium[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:5px}.img-right.little[_ngcontent-%COMP%]{width:18px;height:18px}.img-right.xs[_ngcontent-%COMP%]{width:16px;height:16px}.img-right.margin[_ngcontent-%COMP%]{margin-left:auto}.img-left-big[_ngcontent-%COMP%]{width:40px;height:40px;margin-right:5px}@media (max-width: 1140px){.img-left-big[_ngcontent-%COMP%]{width:30px;height:30px}}@media (max-width: 480px){.img-left-big[_ngcontent-%COMP%]{width:25px;height:25px}}.img-bigger[_ngcontent-%COMP%]{width:50px;height:50px}.link[_ngcontent-%COMP%]{text-transform:var(--button-text-transform, none);padding:0;font-size:14px;line-height:160%;text-decoration:underline!important;color:#00558c;font-weight:700}.link.soft-blue-link[_ngcontent-%COMP%]{color:#0075dd;text-decoration:none!important;border-bottom:1px solid #0075dd;font-style:italic}.link.soft-blue-link[_ngcontent-%COMP%]:hover{color:#00558c;border-bottom:1px solid #00558c}.link.big-link[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.link.little-link[_ngcontent-%COMP%]{font-size:12px;line-height:160%}.link.opacity[_ngcontent-%COMP%]{opacity:.4;text-decoration:none!important}.link-error[_ngcontent-%COMP%]{font-size:14px;line-height:160%;text-decoration:underline!important;color:#c8102e;font-weight:700}.link-error[_ngcontent-%COMP%]:hover{color:var(--button-link-error-hover-color)}.link-error.soft-blue-link[_ngcontent-%COMP%]{color:#c8102e;text-decoration:none!important;border-bottom:1px solid #c8102e;font-style:italic}.link-error.soft-blue-link[_ngcontent-%COMP%]:hover{color:#c8102e;border-bottom:1px solid #c8102e}.link-error.big-link[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.link-error.opacity[_ngcontent-%COMP%]{opacity:.4;text-decoration:none!important}.big-hyperlink[_ngcontent-%COMP%], .big-hyperlink--start[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;color:#6699ba;padding:18px 0}.big-hyperlink--start[_ngcontent-%COMP%]{justify-content:start;align-items:flex-start}.label[_ngcontent-%COMP%]{display:inline-block;border-radius:50px;padding:2px 8px;color:#00558c;background-color:#e6eef3;margin-left:5px;vertical-align:2px}.label[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:10px;line-height:140%}.icon[_ngcontent-%COMP%]{border-radius:50px;padding:var(--button-icon-padding, 16px);box-shadow:0 0 8px #0f46831a;box-shadow:var(--button-icon-box-shadow);border:var(--button-icon-border);background-repeat:no-repeat;background-position:center;background-color:var(--button-icon-background-color, #ffffff);background-size:var(--button-icon-background-size)}.icon[_ngcontent-%COMP%]:hover{background-color:#f1f8ff}.icon.icon-light-blue[_ngcontent-%COMP%]{padding:18px;background-size:18px;background-color:#f1f8ff}.icon.icon-light-blue[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.icon.icon-upload[_ngcontent-%COMP%]{padding:0;width:28px;height:28px;margin-right:10px;background-size:cover}@media (max-width: 1140px){.button.button-menu[_ngcontent-%COMP%]{padding:10px 15px}}@media (max-width: 1024px){.button.button-no-wrap[_ngcontent-%COMP%]{padding:8.5px 15px}.button.button-label[_ngcontent-%COMP%]{padding:10px 15px}.button.button-menu[_ngcontent-%COMP%]{font-size:10px;line-height:140%;padding:10px}.button.button-tab[_ngcontent-%COMP%]{font-size:15px;line-height:160%;padding:10px}}@media (max-width: 767px){.button.width-md-1-100[_ngcontent-%COMP%]{width:100%}.button.button-label[_ngcontent-%COMP%]{padding:10px 20px}.button.button-menu[_ngcontent-%COMP%]{color:#99bbd1;font-size:10px;line-height:140%}.button.button-menu.sticky[_ngcontent-%COMP%]{flex-direction:column;flex-wrap:wrap;border-bottom:none}.button.button-menu.sticky[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{order:2}.button.button-menu.sticky[_ngcontent-%COMP%]   .img-right[_ngcontent-%COMP%]{order:1;margin:0 0 5px}.button.button-menu.sticky[_ngcontent-%COMP%]:hover, .button.button-menu.sticky[_ngcontent-%COMP%]:active{border-bottom:none}.button.button-tab[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;padding:10px 8px}.button.button-select[_ngcontent-%COMP%]{padding:10px}.link.big-link[_ngcontent-%COMP%]{font-size:14px;line-height:160%}.big-hyperlink[_ngcontent-%COMP%], .big-hyperlink--start[_ngcontent-%COMP%]{padding:13px 0}.label[_ngcontent-%COMP%]{padding:0;height:24px;width:24px;vertical-align:0}.label[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:14px;line-height:24px}.icon[_ngcontent-%COMP%]{width:auto;height:auto}}@media (max-width: 480px){.button[_ngcontent-%COMP%]{display:block;padding:var(--button-xs-padding, 8px 15px)}.button.flex.inline[_ngcontent-%COMP%], .button.flex-center.inline[_ngcontent-%COMP%]{display:flex}.button.button-no-wrap[_ngcontent-%COMP%]{padding:6.5px 15px}.button.button-secondary[_ngcontent-%COMP%]{padding:6px 15px}.button.button-vertical[_ngcontent-%COMP%]{font-size:11px;line-height:160%}.button.button-number[_ngcontent-%COMP%], .button.button-notification[_ngcontent-%COMP%]{display:inline-block}.button.button-fixed-padding[_ngcontent-%COMP%]{padding:10px 30px}.img-top[_ngcontent-%COMP%]{height:17px}}[_nghost-%COMP%]:focus-visible   .button[_ngcontent-%COMP%]{box-shadow:0 0 5px 3pt #0075dd}@keyframes _ngcontent-%COMP%_show{0%{opacity:0}
1to{opacity:1}}.cursor-pointer[_nghost-%COMP%]{cursor:default!important}button[_ngcontent-%COMP%]{font-family:inherit;font:unset;background-color:transparent;margin:0;padding:0;border:none;outline:none;overflow:visible;text-transform:none;color:none;-webkit-appearance:none;width:var(--button-form-width, auto);position:relative}button[_ngcontent-%COMP%]:focus-visible{outline:none}button[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}button[_ngcontent-%COMP%]:focus{outline:none}button[type=button][_ngcontent-%COMP%], button[type=reset][_ngcontent-%COMP%], button[type=submit][_ngcontent-%COMP%]{-webkit-appearance:none}button[_ngcontent-%COMP%]::-moz-focus-inner{border-style:none;padding:0}.button.form[_ngcontent-%COMP%]{-webkit-appearance:none}.button.form[_ngcontent-%COMP%]:focus{outline:none}.button.form[_ngcontent-%COMP%]:disabled{color:#8c8c8c;background-color:#e8e8e8;background-image:none;border:none;pointer-events:none}.button.form.full[_ngcontent-%COMP%]{width:100%}.button.form.big-body[_ngcontent-%COMP%]{font-size:18px}.button.form.dark-blue[_ngcontent-%COMP%]{background-color:#e6eef3;color:#00558c;border:none}.button.form.dark-blue[_ngcontent-%COMP%]:disabled{color:#8c8c8c;background-color:#e8e8e8}.link.form[_ngcontent-%COMP%], .big-hyperlink.form[_ngcontent-%COMP%], .form.big-hyperlink--start[_ngcontent-%COMP%]{-webkit-appearance:none}.link.form[_ngcontent-%COMP%]:focus, .big-hyperlink.form[_ngcontent-%COMP%]:focus, .form.big-hyperlink--start[_ngcontent-%COMP%]:focus{outline:none}.link.form[_ngcontent-%COMP%]:disabled, .big-hyperlink.form[_ngcontent-%COMP%]:disabled, .form.big-hyperlink--start[_ngcontent-%COMP%]:disabled{color:#b7b7b7;border:none;pointer-events:none}.big-hyperlink.form[_ngcontent-%COMP%]:hover, .form.big-hyperlink--start[_ngcontent-%COMP%]:hover{color:#00558c}.icon.form[_ngcontent-%COMP%]{-webkit-appearance:none}.icon.form[_ngcontent-%COMP%]:focus{outline:none}.text[_ngcontent-%COMP%]{flex-grow:var(--button-form-text-grow);text-align:var(--button-form-text-align);font-size:var(--button-form-font-size)}button[_ngcontent-%COMP%]:disabled > .icon.form[_ngcontent-%COMP%]{background-color:#f4f4f4;border:none;pointer-events:none}.dw-loader[_ngcontent-%COMP%]{margin-right:8px;width:24px;height:24px}img[_ngcontent-%COMP%]{width:var(--button-form-img-width);height:var(--button-form-img-height)}']})}}return B})()},91048(ht,L,o){"use strict";o.d(L,{n:()=>f});var t=o(44181),e=o(97620),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({imports:[t.MD,e.l4]})}}return M})()},19200(ht,L,o){"use strict";o.d(L,{l:()=>f});var t=o(44181),e=o(4130),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({imports:[t.MD,e.t]})}}return M})()},87584(ht,L,o){"use strict";o.d(L,{$B:()=>s,Bv:()=>ot,IU:()=>t,Ib:()=>w,In:()=>r,Jn:()=>p,QT:()=>z,Qe:()=>T,RC:()=>c,Wm:()=>E,Wx:()=>M,XU:()=>n,YF:()=>D,YJ:()=>A,_A:()=>k,_P:()=>h,aB:()=>C,af:()=>I,b6:()=>W,bR:()=>f,fF:()=>m,jd:()=>v,jp:()=>l,lS:()=>pt,pS:()=>B,qe:()=>N,rB:()=>$,sv:()=>g,uk:()=>gt,zZ:()=>e,zx:()=>_});const t="Acquista subito",e="Carica documenti",n="Vedi rinnovo",c="Scopri rinnovo",f="Riattiva",M="Paga rata",m="Rinnova subito",r="Mostra {quotesNumber} preventivi",_="Modifica",g="Modifica proposta",$="Modifica",T="Modifica preventivo",B="Prosegui",A="Conferma sospensione",I="Riattiva",C="Gestisci",k="Dettagli e documenti",s="Rinnova subito a {price}\u20ac",l="Vedi le altre {renewalsCount} offerte",E="Vedi {renewalsCount} altra offerta",p="Acquista al telefono",h="Istruzioni per l'acquisto",w="Torna alle tue Polizze",z="button button-main",v="button button-primary",D="button form button-primary",N="button button-primary button-label",W="button flex-center button-primary",pt="button button-secondary",ot="button flex-center button-tertiary",gt="button button-number"},19699(ht,L,o){"use strict";o.d(L,{Q:()=>$});var t=o(51203),e=o(44181);const n=["*"],c=T=>({"background-image":T});function f(T,B){if(1&T&&(t.j41(0,"div")(1,"p",7),t.EFF(2),t.k0s()()),2&T){const A=t.XpG();t.HbH(A.notificationClass),t.R7$(2),t.JRh(A.notificationsNumber)}}function M(T,B){if(1&T&&t.nrm(0,"div",8),2&T){const A=t.XpG();t.HbH(A.icon),t.Y8G("id",A.id+"-icon")("ngStyle",t.eq3(4,c,"url(./assets/img/"+A.iconSrc+")"))}}function m(T,B){if(1&T&&t.nrm(0,"img",9),2&T){const A=t.XpG();t.HbH(A.imgClass),t.Y8G("src",A.imgSrc,t.B4B)("id",A.id+"-img")("alt",A.imgAltText)}}function r(T,B){if(1&T&&(t.j41(0,"span",5),t.SdG(1),t.k0s()),2&T){const A=t.XpG();t.Y8G("id",A.id+"-text")}}function _(T,B){if(1&T&&t.nrm(0,"img",9),2&T){const A=t.XpG();t.HbH(A.imgClass),t.Y8G("src",A.imgSrc,t.B4B)("id",A.id+"-img")("alt",A.imgAltText)}}function g(T,B){if(1&T&&(t.j41(0,"div",6)(1,"p",10),t.EFF(2),t.k0s()()),2&T){const A=t.XpG();t.R7$(2),t.SpI(" ",A.labelText," ")}}let $=(()=>{class T{constructor(){this.type="button",this.class="button",this.disabled=!1,this.imgAltText="",this.imgRight=!1,this.text=!0,this.$buttonClickOutput=new t.bkB}onButtonClick(A){this.$buttonClickOutput.emit(A)}static{this.\u0275fac=function(I){return new(I||T)}}static{this.\u0275cmp=t.VBU({type:T,selectors:[["conte-dw-button"]],inputs:{type:"type",id:"id",class:"class",disabled:"disabled",notificationsNumber:"notificationsNumber",notificationClass:"notificationClass",icon:"icon",iconSrc:"iconSrc",
1imgSrc:"imgSrc",imgClass:"imgClass",imgAltText:"imgAltText",imgRight:"imgRight",text:"text",labelText:"labelText"},outputs:{$buttonClickOutput:"$buttonClickOutput"},standalone:!1,ngContentSelectors:n,decls:8,vars:11,consts:[[1,"ui-bootstrap"],[3,"click","type","id","disabled"],[3,"class"],[3,"class","id","ngStyle"],[3,"class","src","id","alt"],[1,"text",3,"id"],[1,"label"],[1,"caption","font-weight-bold"],[3,"id","ngStyle"],[3,"src","id","alt"],[1,"font-weight-bold","text-uppercase"]],template:function(I,C){1&I&&(t.NAR(),t.j41(0,"div",0)(1,"button",1),t.bIt("click",function(s){return C.onButtonClick(s)}),t.nVh(2,f,3,3,"div",2),t.nVh(3,M,1,6,"div",3),t.nVh(4,m,1,5,"img",4),t.nVh(5,r,2,1,"span",5),t.nVh(6,_,1,5,"img",4),t.nVh(7,g,3,1,"div",6),t.k0s()()),2&I&&(t.R7$(),t.HbH(C.class+(C.disabled?" disabled":"")+(C.imgSrc&&!C.text?" p-0":"")),t.Y8G("type",C.type)("id",C.id)("disabled",C.disabled),t.R7$(),t.vxM(C.notificationsNumber>0?2:-1),t.R7$(),t.vxM(C.icon?3:-1),t.R7$(),t.vxM(C.imgSrc&&!C.imgRight?4:-1),t.R7$(),t.vxM(C.text?5:-1),t.R7$(),t.vxM(C.imgSrc&&C.imgRight?6:-1),t.R7$(),t.vxM(C.labelText?7:-1))},dependencies:[e.B3],styles:['.icon[_ngcontent-%COMP%], .img-bigger[_ngcontent-%COMP%], .img-left-big[_ngcontent-%COMP%], .img-right[_ngcontent-%COMP%], .img-left[_ngcontent-%COMP%]{display:block;max-width:100%;height:auto}.link-error[_ngcontent-%COMP%], .link[_ngcontent-%COMP%], .button[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;color:inherit;display:inline-block;position:relative;text-align:center;text-decoration:none;font-size:16px;font-weight:700;line-height:160%}.link-error[_ngcontent-%COMP%]:focus-visible, .link[_ngcontent-%COMP%]:focus-visible, .button[_ngcontent-%COMP%]:focus-visible{outline:none}.link-error[_ngcontent-%COMP%]:focus-visible:after, .link[_ngcontent-%COMP%]:focus-visible:after, .button[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}.icon[_ngcontent-%COMP%], .img-bigger[_ngcontent-%COMP%], .img-left-big[_ngcontent-%COMP%], .img-right[_ngcontent-%COMP%], .img-left[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:24px;height:auto!important;aspect-ratio:1/1;object-fit:contain}@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.button[_ngcontent-%COMP%]{border-radius:50px;text-transform:var(--button-text-transform, none);padding:var(--button-padding, 10px 30px);color:#00558c;width:var(--button-width, 100%);height:var(--button-height, inherit);min-width:var(--button-min-width)}.button.flex[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.button.flex.inline[_ngcontent-%COMP%]{display:inline-flex}.button.flex-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.button.flex-center.inline[_ngcontent-%COMP%]{display:inline-flex}.button.flex-center.column[_ngcontent-%COMP%]{flex-direction:column}.button.width-100[_ngcontent-%COMP%]{max-width:100%}.button.full-width[_ngcontent-%COMP%]{width:100%}.button.font-16[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px}.button.font-18[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px}.button.disabled[_ngcontent-%COMP%]{color:#b7b7b7!important;background-color:#f4f4f4!important;background-image:none!important;border:none!important;pointer-events:none}.button.disabled[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:contrast(0);opacity:.6}.button.button-main[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#40c248,#239329);color:#fff}.button.button-main[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#40c248,#136e17)}.button.button-main-light[_ngcontent-%COMP%]{background-image:linear-gradient(90deg,#37bc33 2.75%,#6ddb6a 98.01%);color:#fff}.button.button-main-light[_ngcontent-%COMP%]:hover{background-image:linear-gradient(119.74deg,#40c248 19.34%,#239329 124.28%)}.button.button-main-lighter[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#37bc33 3%,#6ddb6a 98%);color:#fff;padding:10px 15px 11px}.button.button-main-lighter[_ngcontent-%COMP%]:hover{background-image:linear-gradient(119.74deg,#40c248 19.34%,#239329 124.28%)}.button.button-primary[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;display:var(--button-primary-display);min-width:var(--button-primary-min-width)}.button.button-primary[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary__multi-product-card[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;width:376px}.button.button-primary__multi-product-card[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}@media (max-width: 767px){.button.button-primary__multi-product-card[_ngcontent-%COMP%]{width:310px}}.button.button-primary__smart[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;min-width:300px;padding:15px 0;font-size:22px;font-weight:400}.button.button-primary__smart[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary__smart-questions[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;min-width:194px;padding:5px 0;font-size:22px;height:47px;background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;font-weight:400}.button.button-primary__smart-questions[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary.small-radius[_ngcontent-%COMP%]{border-radius:.625rem;padding-inline:1rem;background-color:#fff}.button.button-primary-smart[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff}.button.button-primary-smart[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}.button.button-primary-smart__multi-product-card[_ngcontent-%COMP%]{background-image:linear-gradient(60deg,#00305e,#0b73ba);color:#fff;width:376px}.button.button-primary-smart__multi-product-card[_ngcontent-%COMP%]:hover{background-image:linear-gradient(60deg,#104d87,#1e77b4)}@media (max-width: 767px){.button.button-primary-smart__multi-product-card[_ngcontent-%COMP%]{width:310px}}.button.button-secondary[_ngcontent-%COMP%]{border:2px solid #b0cadb;background-color:transparent;padding:8px 30px}.button.button-secondary[_ngcontent-%COMP%]:hover{background-color:#e6eef3}.button.button-secondary.little[_ngcontent-%COMP%]{padding:5px 20px;font-size:14px}.button.button-secondary.light[_ngcontent-%COMP%]{border:1px solid #ccdde8;height:48px}.button.button-secondary.big-labels[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.button.button-secondary.small-radius[_ngcontent-%COMP%]{border-radius:.625rem;padding-inline:1rem;background-color:#fff}.button.button-secondary--error[_ngcontent-%COMP%]{border-color:#c8102e;color:#c8102e}.button.button-tertiary[_ngcontent-%COMP%]{background-color:#f1f8ff}.button.button-tertiary.small-radius[_ngcontent-%COMP%]{border-radius:.625rem}.button.button-tertiary[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.button.button-tertiary.disabled[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:contrast(0);opacity:.6}.button.button-tertiary-light[_ngcontent-%COMP%]{background-color:#f7f9fb}.button.button-tertiary-light[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.button.button-tertiary-green[_ngcontent-%COMP%]{background-color:transparent;color:#006900;font-size:14px;font-weight:700;padding:10px;width:128px;height:48px;border-radius:10px;border:2px solid #006900}.button.button-red[_ngcontent-%COMP%]{background-color:#f9e7ea;color:#c8102e}.button.button-alert[_ngcontent-%COMP%]{background-color:#c8102e;color:#fff}.button.button-tertiary-green-noselected[_ngcontent-%COMP%]{color:#8a8a8a;font-weight:400;font-size:14px;font-weight:700;padding:10px;width:128px;height:48px;border-radius:10px;border:2px solid #8a8a8a}.button.button-tertiary-green-selected[_ngcontent-%COMP%]{background-color:#006900;color:#fff;font-weight:400;border-radius:10px;border:2px solid #006900;font-size:14px;font-weight:700;padding:10px;width:128px;height:48px}.button.button-ghost[_ngcontent-%COMP%]:hover{color:#0075dd}.button.button-ghost.disabled[_ngcontent-%COMP%]{background-color:transparent!important}.button.button-fourth[_ngcontent-%COMP%]{box-shadow:0 2px 6px #00000026;font-size:26px;line-height:140%;color:#0075dd;background-color:#fff}.button.button-fourth[_ngcontent-%COMP%]:hover{background-color:#e6eef3}@media (max-width: 1140px){.button.button-fourth[_ngcontent-%COMP%]{font-size:22px;line-height:140%;padding:10px 20px}}@media (max-width: 370px){.button.button-fourth[_ngcontent-%COMP%]{font-size:16px;line-height:160%}}.button.button-label[_ngcontent-%COMP%]{padding:10px 20px}.button.button-vertical[_ngcontent-%COMP%]{font-size:14px;line-height:160%;padding:5px 10px;display:block;min-height:inherit}.button.button-vertical[_ngcontent-%COMP%]:hover{text-decoration:underline!important}.button.button-go-back[_ngcontent-%COMP%]{color:#6699ba;font-size:14px;line-height:160%;padding:0;display:block}.button.button-go-back[_ngcontent-%COMP%]:hover{color:#00558c}.button.button-menu[_ngcontent-%COMP%]{border-radius:0;font-size:14px;line-height:160%;text-transform:uppercase;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:10px 20px;border-bottom:3px solid transparent}.button.button-menu[_ngcontent-%COMP%]:hover, .button.button-menu[_ngcontent-%COMP%]:active, .button.button-menu.selected[_ngcontent-%COMP%]{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab[_ngcontent-%COMP%]{border-radius:0;font-size:18px;line-height:150%;padding:10px 40px;border-bottom:3px solid transparent}.button.button-tab[_ngcontent-%COMP%]:hover{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab[_ngcontent-%COMP%]:hover   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab.selected[_ngcontent-%COMP%]{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab.selected[_ngcontent-%COMP%]   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab[_ngcontent-%COMP%]:active{color:#0075dd;border-bottom:3px solid #0075dd}.button.button-tab[_ngcontent-%COMP%]:active   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab--with-transition[_ngcontent-%COMP%]{border-radius:0;font-size:18px;line-height:150%;padding:10px 40px;border-bottom:3px solid transparent}.button.button-tab--with-transition[_ngcontent-%COMP%]:hover{color:#0075dd}.button.button-tab--with-transition[_ngcontent-%COMP%]:hover   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab--with-transition.selected[_ngcontent-%COMP%]{color:#0075dd;border-bottom:3px solid #0075dd;transition:border-bottom .4s ease-in-out}.button.button-tab--with-transition.selected[_ngcontent-%COMP%]   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-tab--with-transition[_ngcontent-%COMP%]:active{color:#0075dd;border-bottom:3px solid #0075dd;transition:border-bottom .4s ease-in-out}.button.button-tab--with-transition[_ngcontent-%COMP%]:active   .tab-img[_ngcontent-%COMP%]{filter:brightness(2.5) saturate(.7) hue-rotate(35deg)}.button.button-number[_ngcontent-%COMP%]{font-size:10px;line-height:160%;font-style:italic;padding:3px 10px;color:#0075dd;background-color:#f1f8ff;text-transform:uppercase}.button.button-notification[_ngcontent-%COMP%]{position:relative;padding:0;color:#6699ba;font-size:12px;line-height:160%;text-transform:uppercase}.button.button-notification[_ngcontent-%COMP%]:hover{color:#00558c}.button.button-navigation[_ngcontent-%COMP%]{font-size:10px;line-height:140%;text-transform:uppercase;background-color:#fff;box-shadow:0 0 8px #0f468326;padding:6px 12px}.button.button-navigation[_ngcontent-%COMP%]:hover{background-color:#e6eef3}.button.button-select[_ngcontent-%COMP%]{min-width:100px;background-color:#fff;color:#646464;border:1px solid #ccdde8;border-radius:var(--button-button-select-border-radius, 4px);padding:10px 15px}.button.button-select[_ngcontent-%COMP%]:hover{background-color:#e6eef3}.button.button-options[_ngcontent-%COMP%]{max-width:100%;width:100%;background-color:var(--button-button-options-background-color, #ffffff);color:var(--button-button-options-color, #8a8a8a);border:1px solid;border-color:var(--button-button-options-border-color, #ccdde8);border-radius:var(--button-button-options-border-radius, 10px);padding:var(--button-button-options-padding, 12px);text-align:left}.button.button-options[_ngcontent-%COMP%]:focus, .button.button-options[_ngcontent-%COMP%]:hover, .button.button-options[_ngcontent-%COMP%]:active, .button.button-options.selected[_ngcontent-%COMP%]{border-color:#0075dd;background-color:#f1f8ff;color:#484848}.button.button-options.fixed-width[_ngcontent-%COMP%]{width:54px;height:54px}.button.button-error[_ngcontent-%COMP%]{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.button.button-error[_ngcontent-%COMP%]:hover{border-color:#c8102e;background-color:#fcf3f5}.button.button-no-wrap[_ngcontent-%COMP%]{padding:8.5px 20px;color:#0075dd;background-color:#f1f8ff;font-size:14px}.button.button-no-wrap[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.button.button-no-wrap[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.button.button-info[_ngcontent-%COMP%]{padding:0;border-radius:0;font-size:12px;font-weight:400;font-style:italic}.button.button-info.normal[_ngcontent-%COMP%]{font-weight:700;font-style:normal}.button.button-highlight[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#37bc33 3%,#6ddb6a 98%);color:#fff}.icon-notification[_ngcontent-%COMP%]{position:absolute;top:-2px;right:-2px;width:24px;height:24px;border-radius:50px;box-shadow:0 0 8px #0f46831a;background-color:#fff;color:#00558c}.icon-notification[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{line-height:24px}.img-top[_ngcontent-%COMP%]{display:block;height:22px;margin:0 auto 2px}.img-top-big[_ngcontent-%COMP%]{display:block;height:45px;margin:var(--button-img-top-big-margin, 0 auto 5px);padding:var(--button-img-top-big-padding)}.img-left[_ngcontent-%COMP%]{margin-right:10px}.img-left.little[_ngcontent-%COMP%]{width:18px;height:18px}.img-right[_ngcontent-%COMP%]{margin-left:10px;max-width:none}
1.img-right.medium[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:5px}.img-right.little[_ngcontent-%COMP%]{width:18px;height:18px}.img-right.xs[_ngcontent-%COMP%]{width:16px;height:16px}.img-right.margin[_ngcontent-%COMP%]{margin-left:auto}.img-left-big[_ngcontent-%COMP%]{width:40px;height:40px;margin-right:5px}@media (max-width: 1140px){.img-left-big[_ngcontent-%COMP%]{width:30px;height:30px}}@media (max-width: 480px){.img-left-big[_ngcontent-%COMP%]{width:25px;height:25px}}.img-bigger[_ngcontent-%COMP%]{width:50px;height:50px}.link[_ngcontent-%COMP%]{text-transform:var(--button-text-transform, none);padding:0;font-size:14px;line-height:160%;text-decoration:underline!important;color:#00558c;font-weight:700}.link.soft-blue-link[_ngcontent-%COMP%]{color:#0075dd;text-decoration:none!important;border-bottom:1px solid #0075dd;font-style:italic}.link.soft-blue-link[_ngcontent-%COMP%]:hover{color:#00558c;border-bottom:1px solid #00558c}.link.big-link[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.link.little-link[_ngcontent-%COMP%]{font-size:12px;line-height:160%}.link.opacity[_ngcontent-%COMP%]{opacity:.4;text-decoration:none!important}.link-error[_ngcontent-%COMP%]{font-size:14px;line-height:160%;text-decoration:underline!important;color:#c8102e;font-weight:700}.link-error[_ngcontent-%COMP%]:hover{color:var(--button-link-error-hover-color)}.link-error.soft-blue-link[_ngcontent-%COMP%]{color:#c8102e;text-decoration:none!important;border-bottom:1px solid #c8102e;font-style:italic}.link-error.soft-blue-link[_ngcontent-%COMP%]:hover{color:#c8102e;border-bottom:1px solid #c8102e}.link-error.big-link[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.link-error.opacity[_ngcontent-%COMP%]{opacity:.4;text-decoration:none!important}.big-hyperlink[_ngcontent-%COMP%], .big-hyperlink--start[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;color:#6699ba;padding:18px 0}.big-hyperlink--start[_ngcontent-%COMP%]{justify-content:start;align-items:flex-start}.label[_ngcontent-%COMP%]{display:inline-block;border-radius:50px;padding:2px 8px;color:#00558c;background-color:#e6eef3;margin-left:5px;vertical-align:2px}.label[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:10px;line-height:140%}.icon[_ngcontent-%COMP%]{border-radius:50px;padding:var(--button-icon-padding, 16px);box-shadow:0 0 8px #0f46831a;box-shadow:var(--button-icon-box-shadow);border:var(--button-icon-border);background-repeat:no-repeat;background-position:center;background-color:var(--button-icon-background-color, #ffffff);background-size:var(--button-icon-background-size)}.icon[_ngcontent-%COMP%]:hover{background-color:#f1f8ff}.icon.icon-light-blue[_ngcontent-%COMP%]{padding:18px;background-size:18px;background-color:#f1f8ff}.icon.icon-light-blue[_ngcontent-%COMP%]:hover{background-color:#b8ddff}.icon.icon-upload[_ngcontent-%COMP%]{padding:0;width:28px;height:28px;margin-right:10px;background-size:cover}@media (max-width: 1140px){.button.button-menu[_ngcontent-%COMP%]{padding:10px 15px}}@media (max-width: 1024px){.button.button-no-wrap[_ngcontent-%COMP%]{padding:8.5px 15px}.button.button-label[_ngcontent-%COMP%]{padding:10px 15px}.button.button-menu[_ngcontent-%COMP%]{font-size:10px;line-height:140%;padding:10px}.button.button-tab[_ngcontent-%COMP%]{font-size:15px;line-height:160%;padding:10px}}@media (max-width: 767px){.button.width-md-1-100[_ngcontent-%COMP%]{width:100%}.button.button-label[_ngcontent-%COMP%]{padding:10px 20px}.button.button-menu[_ngcontent-%COMP%]{color:#99bbd1;font-size:10px;line-height:140%}.button.button-menu.sticky[_ngcontent-%COMP%]{flex-direction:column;flex-wrap:wrap;border-bottom:none}.button.button-menu.sticky[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{order:2}.button.button-menu.sticky[_ngcontent-%COMP%]   .img-right[_ngcontent-%COMP%]{order:1;margin:0 0 5px}.button.button-menu.sticky[_ngcontent-%COMP%]:hover, .button.button-menu.sticky[_ngcontent-%COMP%]:active{border-bottom:none}.button.button-tab[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;padding:10px 8px}.button.button-select[_ngcontent-%COMP%]{padding:10px}.link.big-link[_ngcontent-%COMP%]{font-size:14px;line-height:160%}.big-hyperlink[_ngcontent-%COMP%], .big-hyperlink--start[_ngcontent-%COMP%]{padding:13px 0}.label[_ngcontent-%COMP%]{padding:0;height:24px;width:24px;vertical-align:0}.label[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:14px;line-height:24px}.icon[_ngcontent-%COMP%]{width:auto;height:auto}}@media (max-width: 480px){.button[_ngcontent-%COMP%]{display:block;padding:var(--button-xs-padding, 8px 15px)}.button.flex.inline[_ngcontent-%COMP%], .button.flex-center.inline[_ngcontent-%COMP%]{display:flex}.button.button-no-wrap[_ngcontent-%COMP%]{padding:6.5px 15px}.button.button-secondary[_ngcontent-%COMP%]{padding:6px 15px}.button.button-vertical[_ngcontent-%COMP%]{font-size:11px;line-height:160%}.button.button-number[_ngcontent-%COMP%], .button.button-notification[_ngcontent-%COMP%]{display:inline-block}.button.button-fixed-padding[_ngcontent-%COMP%]{padding:10px 30px}.img-top[_ngcontent-%COMP%]{height:17px}}[_nghost-%COMP%]:focus-visible   .button[_ngcontent-%COMP%]{box-shadow:0 0 5px 3pt #0075dd}']})}}return T})()},4130(ht,L,o){"use strict";o.d(L,{t:()=>c});var t=o(44181),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return f})()},86765(ht,L,o){"use strict";o.d(L,{ne:()=>t.n,tm:()=>n.t,lz:()=>e.l,Hd:()=>_});var t=o(91048),e=o(19200),n=o(4130),f=(o(77149),o(44181)),M=o(97620),m=o(51203),r=o(80226);let _=(()=>{class g{static{this.\u0275fac=function(B){return new(B||g)}}static{this.\u0275mod=m.$C({type:g})}
1static{this.\u0275inj=r.G2t({imports:[f.MD,M.l4]})}}return g})()},77149(ht,L,o){"use strict";o.d(L,{Y:()=>N});var t=o(80226),e=o(51203),n=o(23321),c=o(75089),f=o(97253),M=o(36081),m=o(43732),r=o(48857),_=o(96774),g=o(73328),$=o(44181),T=o(5547);function B(W,pt){if(1&W){const ot=e.RV6();e.j41(0,"button",7),e.bIt("blur",function(){t.eBV(ot);const et=e.XpG();return t.Njj(et.blur())})("click",function(){t.eBV(ot);const et=e.XpG();return t.Njj(et.clear())}),e.j41(1,"label",8),e.EFF(2),e.k0s()()}if(2&W){const ot=e.XpG();e.AVh("selected",ot.formControlValue&&0===ot.formControlValue.length),e.Y8G("id",e.VkB("",ot.inputName,"-clear"))("disabled",ot.disabled),e.R7$(2),e.SpI(" ",ot.firstButtonText," ")}}function A(W,pt){if(1&W&&e.nrm(0,"img",12),2&W){const ot=e.XpG().$implicit;e.Y8G("src",ot.icon,e.B4B)}}function I(W,pt){if(1&W&&(e.j41(0,"label",8),e.EFF(1),e.k0s()),2&W){const ot=e.XpG().$implicit;e.AVh("img",!!ot.icon),e.R7$(),e.JRh(ot.description)}}function C(W,pt){1&W&&e.nrm(0,"img",18)}function k(W,pt){if(1&W&&(e.j41(0,"span",16),e.DNE(1,C,1,0,"img",17),e.k0s()),2&W){const ot=e.XpG(2).$implicit,gt=e.XpG();e.AVh("selected",ot.isSelected)("disabled",gt.disabled&&ot.isSelected),e.R7$(),e.Y8G("ngIf",ot.isSelected)}}function s(W,pt){if(1&W&&(e.j41(0,"label",13),e.nrm(1,"input",14),e.DNE(2,k,2,5,"span",15),e.EFF(3),e.k0s()),2&W){const ot=e.XpG().$implicit,gt=e.XpG();e.AVh("img",!!ot.icon),e.Y8G("for",e.VkB("checkbox-",ot.code)),e.R7$(),e.Y8G("id",e.VkB("checkbox-",ot.code))("disabled",gt.disabled)("checked",ot.isSelected),e.R7$(),e.Y8G("ngIf",gt.showCheckboxes),e.R7$(),e.SpI(" ",ot.description," ")}}function l(W,pt){if(1&W){const ot=e.RV6();e.j41(0,"button",9),e.bIt("blur",function(){t.eBV(ot);const et=e.XpG();return t.Njj(et.blur())})("click",function(et){const Et=t.eBV(ot),K=Et.$implicit,at=Et.index,Bt=e.XpG();return t.Njj(Bt.selectItem(et,K.code,at))}),e.DNE(1,A,1,1,"img",10)(2,I,2,3,"label",11)(3,s,4,10,"ng-template",null,0,e.C5r),e.k0s()}if(2&W){const ot=pt.$implicit,gt=e.sdS(4),et=e.XpG();e.AVh("selected",ot.isSelected),e.Y8G("id",e.ai1("",et.inputName,"-",ot.code))("conteDwDataCy",e.ai1("set-",et.inputName,"-",ot.code))("disabled",et.disabled),e.BMQ("aria-label",ot.isSelected?"selected":"not selected"),e.R7$(),e.Y8G("ngIf",!!ot.icon),e.R7$(),e.Y8G("ngIf",!et.showCheckboxes)("ngIfElse",gt)}}function E(W,pt){if(1&W&&e.nrm(0,"img",12),2&W){const ot=e.XpG().$implicit;e.Y8G("src",ot.icon,e.B4B)}}function p(W,pt){if(1&W&&(e.j41(0,"label",8),e.EFF(1),e.k0s()),2&W){const ot=e.XpG().$implicit;e.AVh("img",!!ot.icon),e.R7$(),e.JRh(ot.description)}}function h(W,pt){if(1&W&&(e.j41(0,"label",19),e.nrm(1,"input",20),e.EFF(2),e.k0s()),2&W){const ot=e.XpG().$implicit;e.AVh("img",!!ot.icon),e.Y8G("for",e.VkB("radio-",ot.code)),e.R7$(),e.Y8G("id",e.VkB("radio-",ot.code)),e.R7$(),e.SpI(" ",ot.description," ")}}function w(W,pt){if(1&W){const ot=e.RV6();e.j41(0,"button",9),e.bIt("blur",function(){t.eBV(ot);const et=e.XpG();return t.Njj(et.blur())})("click",function(et){const Et=t.eBV(ot),K=Et.$implicit,at=Et.index,Bt=e.XpG();return t.Njj(Bt.selectRadioItem(et,K.code,at))}),e.DNE(1,E,1,1,"img",10)(2,p,2,3,"label",11)(3,h,3,7,"ng-template",null,0,e.C5r),e.k0s()}if(2&W){const ot=pt.$implicit,gt=e.sdS(4),et=e.XpG();e.AVh("selected",ot.isSelected),e.Y8G("conteDwDataCy",e.VkB("set-",ot.code))("disabled",et.disabled)("id",ot.description),e.BMQ("aria-label",ot.isSelected?"selected":"not selected"),e.R7$(),e.Y8G("ngIf",!!ot.icon),e.R7$(),e.Y8G("ngIf",!et.showCheckboxes)("ngIfElse",gt)}}function z(W,pt){if(1&W){const ot=e.RV6();e.j41(0,"button",21),e.bIt("click",function(){t.eBV(ot);const et=e.XpG();return t.Njj(et.specialButtonClick())}),e.j41(1,"label",22),e.EFF(2),e.k0s(),e.nrm(3,"img",23),e.k0s()}if(2&W){const ot=e.XpG();e.Y8G("conteDwDataCy",e.VkB("set-",ot.specialButton.description))("disabled",ot.disabled)("id",ot.specialButton.description),e.R7$(2),e.SpI(" ",ot.specialButton.description," "),e.R7$(),e.Y8G("src",ot.disabled&&null!=ot.specialButton&&ot.specialButton.disabledIcon?ot.specialButton.disabledIcon:ot.specialButton.icon,e.B4B)}}function v(W,pt){if(1&W){const ot=e.RV6();e.j41(0,"div",26)(1,"label",27),e.EFF(2),e.k0s(),e.j41(3,"div",28),e.bIt("click",function(){const et=t.eBV(ot).index,Et=e.XpG(2);return t.Njj(Et.removeSelectedItem(et))}),e.nrm(4,"img",29),e.k0s()()}if(2&W){const ot=pt.$implicit;e.BMQ("aria-label",ot.isSelected?"selected":"not selected"),e.R7$(2),e.JRh(ot.description)}}function D(W,pt){if(1&W&&(e.j41(0,"div",24),e.DNE(1,v,5,2,"div",25),e.k0s()),2&W){const ot=e.XpG();e.AVh("disabled",ot.disabled),e.R7$(),e.Y8G("ngForOf",ot.selectedItems)}}let N=(()=>{class W{set items(ot){this._items=ot,this.slicedItems=[...this._items],this.showCheckboxes&&(this.slicedItems=this._items.slice(0,this.slicedItemsLength))}constructor(ot){this.modalService=ot,this.firstButtonText="Nessuna modifica",this._items=[],this.radioItems=[],this.slicedItemsLength=2,this.showCheckboxes=!1,this.show
1FirstButton=!0,this.modalTitle="",this.inputName="",this.modalItems=[],this.disabled=!1,this.$selectedItemOutput=new e.bkB,this.$selectedItemsOutput=new e.bkB,this.selectedItems=[],this.slicedItems=[],this.onDestroy$=new f.B,this.isTouched=!1,this.onChange=()=>{},this.onTouch=()=>{}}ngOnInit(){this.showCheckboxes&&(this.slicedItems=this._items.slice(0,this.slicedItemsLength))}selectItem(ot,gt,et){if(ot.preventDefault(),this.showCheckboxes){if(this.radioItems.length>0){const Et=this.radioItems.findIndex(({isSelected:K})=>K);Et>=0&&(this.radioItems[Et].isSelected=!1,this.formControlValue.splice(this.radioItems.findIndex(({isSelected:K})=>K),1))}if(this._items[et].isSelected){const Et=[...this.formControlValue];Et.splice(this.formControlValue.findIndex(K=>K===gt),1),this.formControlValue=Et}else this.formControlValue=this.formControlValue?[...this.formControlValue,gt]:[gt];this._items[et].isSelected=!this._items[et].isSelected,this.$selectedItemsOutput.emit(this._items),this.onChange(this.formControlValue)}else this._items=this._items.map(Et=>({...Et,isSelected:Et.code===gt})),this.slicedItems=this._items,this.$selectedItemOutput.emit(this._items[et]),this.onChange(this._items[et].code)}selectRadioItem(ot,gt,et){ot.preventDefault(),this._items.forEach(Et=>Et.isSelected=!1),this.radioItems.forEach(Et=>Et.isSelected=!1),this.radioItems[et].isSelected=!0,this.formControlValue=[gt],this.onChange(this.formControlValue)}blur(){this.isTouched||(this.isTouched=!0,this.onTouch())}clear(){this._items.forEach(ot=>ot.isSelected=!1),this.selectedItems=[],this.formControlValue=[],this.onChange([])}removeSelectedItem(ot){const gt=this.selectedItems.splice(ot,1)[0];this._items.find(et=>et.code===gt.code).isSelected=!1,this.formControlValue=this.formControlValue.filter(et=>et!==gt.code),this.onChange(this.formControlValue)}specialButtonClick(){this.specialButton?.action?this.specialButton.action():this.openPicker()}openPicker(){if(this.pickerReference)return;this.pickerReference=this.modalService.open(_.H);const ot=this.pickerReference.componentInstance;ot.headTitle=this.modalTitle,ot.itemsList=[...this._items.slice(this.slicedItemsLength).map(gt=>({...gt}))],this._items.slice(this.slicedItemsLength),ot.showSearchBar=!0,ot.deleteText=this.modalDeleteText,ot.searchBarPlaceholder=this.modalSearchBarPlaceholder,ot.showBackButton=!1,ot.configuration=c.jYi.Checkbox,ot.noResultsSuggestions=this.noResultsSuggestions,(0,M.O)(ot.$rightIconOutput,ot.$outsideClickOutput).pipe((0,r.Q)(this.onDestroy$)).subscribe(()=>{this.closePicker()}),ot.$selectedItemsOutput.pipe((0,m.c)(300),(0,r.Q)(this.onDestroy$)).subscribe(gt=>{gt.forEach(K=>this.selectItem(new Event(""),K.code,this._items.findIndex(at=>at.code===K.code))),this.selectedItems=gt;const et=this.slicedItems.filter(K=>K.isSelected),Et=gt.map(K=>K.code).concat(et.map(K=>K.code));this.formControlValue=Et,this.onChange(this.formControlValue),this.closePicker()})}closePicker(){this.pickerReference&&(this.pickerReference.close(),this.pickerReference=null,this.onDestroy$.next(),this.onTouch())}writeValue(ot){const gt="number"==typeof ot||"string"==typeof ot;if(this.showCheckboxes){if(!gt){const et=ot||[];if(this.formControlValue=ot,et?.length>0){this._items.forEach(K=>K.isSelected=et.includes(K.code));const Et=this.slicedItems.map(K=>K.code);this.selectedItems=this._items.filter(K=>et.includes(K.code)&&!Et.includes(K.code))}else this.clear()}}else{if(this._items=this._items.map(et=>({...et,isSelected:!1})),gt){const et=this._items.findIndex(Et=>Et.code===`${ot}`);this._items[et]={...this._items[et],isSelected:!0}}this.slicedItems=this._items}}registerOnChange(ot){this.onChange=ot}registerOnTouched(ot){this.onTouch=ot}setDisabledState(ot){this.disabled=ot}static{this.\u0275fac=function(gt){return new(gt||W)(e.rXU(g.Bq))}}static{this.\u0275cmp=e.VBU({type:W,selectors:[["conte-dw-multiple-selection"]],inputs:{firstButtonText:"firstButtonText",items:"items",radioItems:"radioItems",slicedItemsLength:"slicedItemsLength",specialButton:"specialButton",showCheckboxes:"showCheckboxes",showFirstButton:"showFirstButton",modalTitle:"modalTitle",inputName:"inputName",modalSearchBarPlaceholder:"modalSearchBarPlaceholder",modalDeleteText:"modalDeleteText",modalItems:"modalItems",noResultsSuggestions:"noResultsSuggestions",disabled:"disabled"},outputs:{$selectedItemOutput:"$selectedItemOutput",$selectedItemsOutput:"$selectedItemsOutput"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>W),multi:!0}])],decls:7,vars:5,consts:[["checkbox",""],[1,"ui-bootstrap","multiple-selection__container"],[1,"multiple-selection__items"],["class","multiple-selection__items-item","conteDwDataCy","",3,"disabled","selected","id","blur","click",4,"ngIf"],["class","multiple-selection__items-item",3,"disabled","selected","id","conteDwDataCy","blur","click",4,"ngFor","ngForOf"],["class","multiple-selection__items-special",3,"disabled","id","conteDwDataCy","click",4,"ngIf"],["class","multiple-selection__selections",3,"disabled",4,"ngIf"],["conteDwDataCy","",1,"multiple-selection__items-item",3,"blur","click","disabled","id"],[1,"multiple-selection__items-item-label"],[1,"multiple-selection__items-item",3,"blur","click","disabled","id","conteDwDataCy"],["class","multiple-selection__items-item-img","alt","item-icon",3,"src",4,"ngIf"],["class","multiple-selection__items-item-label",3,"img",4,"ngIf","ngIfElse"],["alt","item-icon",1,"multiple-selection__items-item-img",3,"src"],[1,"multiple-selection__items-item-label","multiple-selection__checkbox","checkbox",3,"for"],["type","checkbox",3,"disabled","id","checked"],["class","multiple-selection__checkbox-checkmark",3,"selected","disabled",4,"ngIf"],[1,"multiple-selection__checkbox-checkmark"],["src","./assets/img/check-white.svg","alt","check-icon",4,"ngIf"],["src","./assets/img/check-white.svg","alt","check-icon"],[1,"multiple-selection__items-item-label","multiple-selection__checkbox",3,"for"],["type","radio","name","multiple-selection-radio",3,"id"],[1,"multiple-selection__items-special",3,"click","disabled","id","conteDwDataCy"],[1,"multiple-selection__items-item-label","special"],["alt","special-button-icon",3,"src"],[1,"multiple-selection__selections"],["class","multiple-selection__selections-selection",4,"ngFor","ngForOf"],[1,"multiple-selection__selections-selection"],[1,"multiple-selection__selections-selection-label"],[1,"multiple-selection__selections-selection-delete",3,"click"],["src","./assets/img/icon-close-white.svg"]],template:function(gt,et){1&gt&&(e.j41(0,"div",1)(1,"div",2),e.DNE(2,B,3,6,"button",3)(3,l,5,13,"button",4)(4,w,5,10,"button",4)(5,z,4,6,"button",5),e.k0s(),e.DNE(6,D,2,3,"div",6),e.k0s()),2&gt&&(e.R7$(2),e.Y8G("ngIf",et.showCheckboxes&&et.showFirstButton),e.R7$(),e.Y8G("ngForOf",et.slicedItems),e.R7$(),e.Y8G("ngForOf",et.radioItems),e.R7$(),e.Y8G("ngIf",et.specialButton),e.R7$(),e.Y8G("ngIf",et.selectedItems.length>0))},dependencies:[$.Sq,$.bT,T.W],styles:[".multiple-selection__container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.multiple-selection__items[_ngcontent-%COMP%]{display:grid;grid-auto-flow:row;grid-template-columns:var(--multiple-selection-grid-template-columns, repeat(2, auto));grid-gap:16px}.multiple-selection__items-item[_ngcontent-%COMP%], .multiple-selection__items-special[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:var(--multiple-selection-item-justify-content, flex-start);align-items:center;text-align:var(--multiple-selection-item-text-align, left);height:52px;background:#fff;outline:none;border:none;box-shadow:0 0 0 1px #ccdde8;box-sizing:border-box;border-radius:10px;cursor:pointer;padding:0}.multiple-selection__items-item[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled, .multiple-selection__items-item[disabled][_ngcontent-%COMP%], .multiple-selection__items-special[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled, .multiple-selection__items-special[disabled][_ngcontent-%COMP%]{background-color:#e8e8e8;pointer-events:none;box-shadow:none}.multiple-selection__items-item[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled   label[_ngcontent-%COMP%], .multiple-selection__items-item[disabled][_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .multiple-selection__items-special[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled   label[_ngcontent-%COMP%], .multiple-selection__items-special[disabled][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#8c8c8c}.multiple-selection__items-item.selected[_ngcontent-%COMP%], .multiple-selection__items-special.selected[_ngcontent-%COMP%]{background:#f1f8ff;box-shadow:0 0 0 1px #0075dd}.multiple-selection__items-item.selected[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled, .multiple-selection__items-item.selected[disabled][_ngcontent-%COMP%], .multiple-selection__items-special.selected[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled, .multiple-selection__items-special.selected[disabled][_ngcontent-%COMP%]{background-color:#b5b5b5;box-shadow:none}.multiple-selection__items-item.selected[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled   label[_ngcontent-%COMP%], .multiple-selection__items-item.selected[disabled][_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .multiple-selection__items-special.selected[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled   label[_ngcontent-%COMP%], .multiple-selection__items-special.selected[disabled][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#fff}.multiple-selection__items-item-img[_ngcontent-%COMP%], .multiple-selection__items-special-img[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;margin:0 8px 0 12px}.multiple-selection__items-item-label[_ngcontent-%COMP%], .multiple-selection__items-special-label[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:16px;line-height:160%;color:#484848;margin-left:16px}.multiple-selection__items-item-label.special[_ngcontent-%COMP%], .multiple-selection__items-special-label.special[_ngcontent-%COMP%]{color:#00558c}.multiple-selection__items-item-label.img[_ngcontent-%COMP%], .multiple-selection__items-item-label.checkbox[_ngcontent-%COMP%], .multiple-selection__items-special-label.img[_ngcontent-%COMP%], .multiple-selection__items-special-label.checkbox[_ngcontent-%COMP%]{margin-left:0}.multiple-selection__items-item[_ngcontent-%COMP%]:last-child:nth-child(odd){grid-column:var(--multiple-selection-last-child-odd-gri
1d-column, 1/-1);justify-content:var(--multiple-selection-last-child-odd-justify-content, center)}.multiple-selection__items-special[_ngcontent-%COMP%]{justify-content:space-between}.multiple-selection__items-special[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:14px}.multiple-selection__checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:absolute;opacity:0;z-index:-1}.multiple-selection__checkbox-checkmark[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:20px;width:20px;margin:0 10px 0 14px;border:2px solid #8a8a8a;box-sizing:border-box;border-radius:4px}.multiple-selection__checkbox-checkmark[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:14px;width:20px;-webkit-user-select:none;user-select:none}.multiple-selection__checkbox-checkmark.selected[_ngcontent-%COMP%]{background-color:#0075dd;border-color:#0075dd}.multiple-selection__checkbox-checkmark.disabled[_ngcontent-%COMP%]{background-color:#b5b5b5;border:2px solid #b5b5b5}.multiple-selection__selections[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;gap:15px;margin-top:36px}.multiple-selection__selections-selection[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;max-width:200px;height:32px;border-radius:16px;background:#f1f8ff;border:1px solid #0075dd;box-sizing:border-box;overflow:hidden}.multiple-selection__selections-selection-label[_ngcontent-%COMP%]{margin:3px 11px 3px 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:160%}.multiple-selection__selections-selection-delete[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;cursor:pointer;height:100%;min-width:32px;background:#0075dd}.multiple-selection__selections-selection-delete[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:10px;height:10px}.multiple-selection__selections.disabled[_ngcontent-%COMP%] > .multiple-selection__selections-selection[_ngcontent-%COMP%]{background:#e8e8e8;border:1px solid #b5b5b5}.multiple-selection__selections.disabled[_ngcontent-%COMP%] > .multiple-selection__selections-selection[_ngcontent-%COMP%] > .multiple-selection__selections-selection-delete[_ngcontent-%COMP%]{pointer-events:none;background:#b5b5b5}@media screen and (max-width: 370px){.multiple-selection__checkbox-checkmark[_ngcontent-%COMP%]{margin:0 5px 0 7px}.multiple-selection__items-special[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:7px}}@media screen and (max-width: 767px){.multiple-selection__items-item-label[_ngcontent-%COMP%]{font-size:14px}}"]})}}return W})()},1218(ht,L,o){"use strict";o.d(L,{is:()=>c,jw:()=>t,w8:()=>n,zW:()=>e});const t="icon-favorites-on",e="icon-favorites",n="icon-eye-on",c="icon-eye-off"},99608(ht,L,o){"use strict";o.d(L,{u:()=>f});var t=o(44181),e=o(4130),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({imports:[t.MD,e.t]})}}return M})()},17822(ht,L,o){"use strict";o.d(L,{c:()=>Xt,w:()=>St});var t=o(51203),e=o(80226),n=o(23321),c=o(75089),f=o(37754),M=o(28955),m=function(S){return S.Years="years",S.Months="months",S.Days="days",S}(m||{});function g(S,vt,y,U,F){return S===U?.year?Math.max(vt,U.month):S===F?.year?F.month:vt}function k(S,vt){return Array.from({length:new Date(Date.UTC(vt,S+1,0)).getUTCDate()},(y,U)=>new Date(Date.UTC(vt,S,U+1)))}function s(S,vt,y){const U=S.timestamp,F=vt?.timestamp,G=y?.timestamp;return"number"==typeof U&&"number"==typeof F&&U<F||"number"==typeof U&&"number"==typeof G&&U>G}function h(S){return{day:S.getDate(),month:S.getMonth(),year:S.getFullYear(),timestamp:S.setHours(0,0,0,0)}}var w=o(49582),z=o(61098),v=o(69402),D=o(31628);const N=(S,vt)=>vt.timestamp??S,W=(S,vt)=>vt.index,pt=(S,vt)=>vt.value;function ot(S,vt){if(1&S&&t.nrm(0,"label",4),2&S){t.XpG();const y=t.r8f(1);t.Y8G("innerHtml",y,t.npT)}}function gt(S,vt){if(1&S){const y=t.RV6();t.j41(0,"div",7)(1,"div",9)(2,"img",10),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.navigate(-1,"M"))}),t.k0s(),t.j41(3,"span",11),t.nI1(4,"translate"),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.changeView(F.calendarViewEnum.Months))}),t.k0s(),t.j41(5,"img",12),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.navigate(1,"M"))}),t.k0s()(),t.j41(6,"div",9)(7,"img",13),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.navigate(-1,"Y"))}),t.k0s(),t.j41(8,"span",11),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.changeView(F.calendarViewEnum.Years))}),t.k0s(),t.j41(9,"img",14),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.navigate(1,"Y"))}),t.k0s()()()}if(2&S){const y=t.XpG(),U=t.r8f(8),F=t.r8f(9);t.R7$(2),t.AVh("--disabled",y.isMonthBackDisabled()),t.R7$(),t.Y8G("innerHtml",t.bMT(4,10,U),t.npT),t.R7$(2),t.AVh("--disabled",y.isMonthForwardDisabled()),t.R7$(2),t.AVh("--disabled",y.isYearBackDisabled()),t.R7$(),t.Y8G("innerHtml",F,t.npT),t.R7$(),t.AVh("--disabled",y.isYearForwardDisabled())}}function et(S,vt){if(1&S){const y=t.RV6();t.j41(0,"div",8)(1,"img",10),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.navigate(-1))}),t.k0s(),t.j41(2,"span",11),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.changeView(F.calendarViewEnum.Years))}),t.k0s(),t.j41(3,"img",12),t.bIt("click",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.navigate(1))}),t.k0s()()}if(2&S){const y=t.XpG(),U=t.r8f(9);t.R7$(),t.AVh("--disabled",y.isYearBackDisabled()),t.R7$(),t.Y8G("innerHtml",U,t.npT),t.R7$(),t.AVh("--disabled",y.isYearForwardDisabled())}}
1function Et(S,vt){1&S&&(t.nrm(0,"div",4),t.nI1(1,"translate")),2&S&&t.Y8G("innerHtml",t.bMT(1,1,vt.$implicit.short),t.npT)}function K(S,vt){if(1&S){const y=t.RV6();t.j41(0,"div",18),t.bIt("click",function(){const F=e.eBV(y).$implicit,G=t.XpG(2),dt=t.r8f(3),ut=t.r8f(4);return e.Njj(G.emitSelectedDateEvent(ut,dt,F))}),t.k0s()}if(2&S){const y=vt.$implicit;t.AVh("calendar-picker__body__day-col--selected",y.isSelected)("calendar-picker__body__day-col--notCurrentMonth",y.isOutsideCurrentMonth)("calendar-picker__body__day-col--currentDay",y.isToday)("calendar-picker__body__day-col--disabled",y.isDisabled),t.Y8G("innerHtml",y.day,t.npT)}}function at(S,vt){if(1&S&&(t.j41(0,"div",15),t.Z7z(1,Et,2,3,"div",4,t.fX1),t.k0s(),t.j41(3,"div",16),t.Z7z(4,K,1,9,"div",17,N),t.k0s()),2&S){const y=t.XpG(),U=t.r8f(5);t.R7$(),t.Dyx(y.weekDays),t.R7$(3),t.Dyx(U)}}function Bt(S,vt){if(1&S){const y=t.RV6();t.j41(0,"div",21),t.nI1(1,"translate"),t.bIt("click",function(){const F=e.eBV(y).$implicit,G=t.XpG(3),dt=t.r8f(0),ut=t.r8f(3);return e.Njj(dt?G.changeView(G.calendarViewEnum.Days,ut,F.index):G.emitSelectedDateEvent(F.index,ut))}),t.k0s()}if(2&S){const y=vt.$implicit;t.AVh("calendar-picker__body--selected",y.isSelected)("calendar-picker__body--disabled",y.isDisabled),t.Y8G("innerHtml",t.bMT(1,5,y.label.short),t.npT)}}function _t(S,vt){if(1&S&&(t.j41(0,"div",19),t.Z7z(1,Bt,2,7,"div",20,W),t.k0s()),2&S){t.XpG(2);const y=t.r8f(6);t.R7$(),t.Dyx(y)}}function st(S,vt){if(1&S){const y=t.RV6();t.j41(0,"div",21),t.bIt("click",function(){const F=e.eBV(y).$implicit,G=t.XpG(3),dt=t.r8f(0);return e.Njj(G.changeView(dt?G.calendarViewEnum.Days:G.calendarViewEnum.Months,F.value))}),t.k0s()}if(2&S){const y=vt.$implicit;t.AVh("calendar-picker__body--selected",y.isSelected)("calendar-picker__body--disabled",y.isDisabled),t.Y8G("innerHtml",y.value,t.npT)}}function Ut(S,vt){if(1&S&&(t.j41(0,"div",19),t.Z7z(1,st,1,5,"div",20,pt),t.k0s()),2&S){t.XpG(2);const y=t.r8f(7);t.R7$(),t.Dyx(y)}}function ft(S,vt){if(1&S&&t.nVh(0,_t,3,0,"div",19)(1,Ut,3,0,"div",19),2&S){const y=t.XpG(),U=t.r8f(2);t.vxM(U===y.calendarViewEnum.Months?0:1)}}let zt=(()=>{class S{constructor(){this.showDays=(0,w.hFB)(!1),this.minDate=(0,w.hFB)(),this.maxDate=(0,w.hFB)(),this.cellsNumber=(0,w.hFB)(12),this.selectedDate=(0,w.hFB)(),this.headTitle=(0,w.hFB)(),this.minDateObj=(0,z.EW)(()=>{const y=this.minDate();return y?h(new Date(y)):void 0}),this.maxDateObj=(0,z.EW)(()=>{const y=this.maxDate();return y?h(new Date(y)):void 0}),this.selectedDateObj=(0,z.EW)(()=>{const y=this.selectedDate();return y?h(new c.Qnl(y)):void 0}),this.$selectedDateEvent=(0,w.CGW)(),this.$closeEvent=(0,w.CGW)(),this.monthNames=c.Qnl.monthsList,this.weekDays=c.Qnl.weekDaysList,this.calendarViewEnum=m,this.todayObj=h(new c.Qnl),this.currentView=(0,e.vPA)(m.Months),this.currentYear=(0,e.vPA)(this.todayObj.year),this.currentMonth=(0,e.vPA)(this.todayObj.month),this.completeDaysList=(0,z.EW)(()=>function A(S,vt,y){const F=function I(S,vt,y){if(1===S[0].getDay())return S;const U=0===vt?k(11,y-1):k(vt-1,y);let F=0;for(let G=U.length-1;G>=0;G--)if(1===U[G].getDay()){F=G;break}return U.slice(F).concat(S)}(k(S,vt),S,vt);return function C(S,vt,y){const U=S.length<=35,F=0===S[S.length-1].getDay();if(F&&!U)return S;let G=U&&!F?8:1;S.length<=28&&(G+=7);const dt=11===vt?k(0,y+1):k(vt+1,y),ut=dt.findIndex(yt=>0===yt.getDay())+G;return S.concat(dt.slice(0,ut))}(F,S,vt).map(y)}(this.currentMonth(),this.currentYear(),y=>h(y))),this.resolvedCellsNumber=(0,z.EW)(()=>function _(S){return"number"==typeof S&&Number.isInteger(S)&&S>0?S:12}(this.cellsNumber())),this.currentMonthLabel=(0,z.EW)(()=>this.monthNames[this.currentMonth()].full),this.firstVisibleYear=(0,z.EW)(()=>this.currentYear()-this.resolvedCellsNumber()+1),this.yearNavigatorLabel=(0,z.EW)(()=>this.currentView()===m.Years?`${this.firstVisibleYear()} - ${this.currentYear()}`:`${this.currentYear()}`),this.isDaysView=(0,z.EW)(()=>this.currentView()===m.Days),this.isMonthsView=(0,z.EW)(()=>this.currentView()===m.Months),this.isYearsView=(0,z.EW)(()=>this.currentView()===m.Years),this.dayCells=(0,z.EW)(()=>function l(S,vt,y,U,F,G){return S.map(dt=>({...dt,isSelected:dt.timestamp===U?.timestamp,isOutsideCurrentMonth:dt.month!==vt,isToday:dt.day===y.day&&dt.month===y.month&&dt.year===y.year,isDisabled:s(dt,F,G)}))}(this.completeDaysList(),this.currentMonth(),this.todayObj,this.selectedDateObj(),this.minDateObj(),this.maxDateObj())),this.monthOptions=(0,z.EW)(()=>function E(S,vt,y,U,F){return S.map((G,dt)=>
1({index:dt,label:G,isSelected:dt===y?.month&&vt===y?.year,isDisabled:dt<(U?.month??-1)&&vt===U?.year||dt>(F?.month??12)&&vt===F?.year}))}(this.monthNames,this.currentYear(),this.selectedDateObj(),this.minDateObj(),this.maxDateObj())),this.yearOptions=(0,z.EW)(()=>function p(S,vt,y,U,F){return Array.from({length:vt},(G,dt)=>{const ut=S+dt;return{value:ut,isSelected:y?.year===ut,isDisabled:!!(U&&ut<U.year||F&&ut>F.year)}})}(this.firstVisibleYear(),this.resolvedCellsNumber(),this.selectedDateObj(),this.minDateObj(),this.maxDateObj())),this.isMonthBackDisabled=(0,z.EW)(()=>{const y=this.minDateObj();return this.currentYear()===y?.year&&this.currentMonth()===y?.month}),this.isMonthForwardDisabled=(0,z.EW)(()=>{const y=this.maxDateObj();return this.currentYear()===y?.year&&this.currentMonth()===y?.month}),this.isYearBackDisabled=(0,z.EW)(()=>{const y=this.minDateObj();return!!y&&(this.currentView()!==m.Years?this.currentYear()<=y.year:this.firstVisibleYear()<=y.year)}),this.isYearForwardDisabled=(0,z.EW)(()=>{const y=this.maxDateObj();return!!y&&this.currentYear()>=y.year}),(0,z.QZ)(()=>{const y=this.selectedDateObj(),U=y?{year:y.year,month:y.month}:function $(S,vt){const y=S.timestamp??0,U=vt?.timestamp;return vt&&"number"==typeof U&&U>y?{year:vt.year,month:vt.month}:{year:S.year,month:S.month}}(this.todayObj,this.minDateObj());this.currentYear.set(U.year),this.currentMonth.set(U.month),this.showDays()&&this.currentView.set(m.Days)})}changeView(y,U,F){const G=this.minDateObj(),dt=this.maxDateObj(),ut={year:this.currentYear(),month:this.currentMonth()};let yt=ut;"number"==typeof U&&(yt={year:U,month:g(U,ut.month,0,G,dt)}),"number"==typeof F&&(yt={...yt,month:F}),this.currentYear.set(yt.year),this.currentMonth.set(yt.month),this.currentView.set(y)}navigate(y,U){const F={year:this.currentYear(),month:this.currentMonth()},G="M"===U?function T(S,vt){const y=S.month+vt;return y<0?{year:S.year-1,month:11}:y>11?{year:S.year+1,month:0}:{year:S.year,month:y}}(F,y):function B(S,vt,y,U,F,G){if("years"===y)return 1===vt||-1===vt&&(!F||S.year-U+1>F.year)?{year:S.year+(U-1)*vt,month:S.month}:S;const dt=S.year+vt;return-1===vt&&dt===F?.year?{year:dt,month:F.month}:1===vt&&dt===G?.year?{year:dt,month:G.month}:{year:dt,month:S.month}}(F,y,this.currentView(),this.resolvedCellsNumber(),this.minDateObj(),this.maxDateObj());this.currentYear.set(G.year),this.currentMonth.set(G.month)}emitSelectedDateEvent(y,U,F){this.$selectedDateEvent.emit(F||h(new c.Qnl({year:U,month:y})))}emitCloseEvent(){this.$closeEvent.emit()}static{this.\u0275fac=function(U){return new(U||S)}}static{this.\u0275cmp=t.VBU({type:S,selectors:[["conte-dw-calendar-no-days-picker"]],inputs:{showDays:[1,"showDays"],minDate:[1,"minDate"],maxDate:[1,"maxDate"],cellsNumber:[1,"cellsNumber"],selectedDate:[1,"selectedDate"],headTitle:[1,"headTitle"]},outputs:{$selectedDateEvent:"$selectedDateEvent",$closeEvent:"$closeEvent"},standalone:!1,decls:21,vars:14,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-no-padding dw-modal-little",3,"$outsideClickOutput","showClose"],[1,"calendar-picker","overflow-hidden","text-center"],[1,"calendar-picker__header","d-flex","justify-content-between","align-items-center","font-weight-bold","blue","text-left"],[3,"innerHtml"],[1,"calendar-picker__header-close"],["id","picker-icon-close","src","./assets/img/icon-blueclose.svg","alt","close","aria-label","close",1,"dw-clickable","ml-1",3,"click"],[1,"d-flex","calendar-picker__navigator-wrapper"],[1,"calendar-picker__navigator","d-flex","col-12","align-items-center","justify-content-between"],[1,"calendar-picker__navigator","d-flex","col-6","align-items-center"],["id","calendar-picker-arrow-left-img","src","./assets/img/icon-arrow-right-black.svg","alt","calendar-arrow-left","aria-label","go-left",1,"dw-clickable","col-1","pl-0",3,"click"],[1,"col-10","font-weight-bold","light-blue","p-0","dw-clickable",3,"click","innerHtml"],["id","calendar-picker-arrow-right-img","src","./assets/img/icon-arrow-right-black.svg","alt","calendar-arrow-right","aria-label","go-right",1,"dw-clickable","col-1","pl-0",3,"click"],["id","calendar-picker-arrow-left-img","src","./assets/img/icon-arrow-right-black.svg","alt","calendar-arrow-right","aria-label","go-right",1,"dw-clickable","col-1","pl-0",3,"click"],["id","calendar-picker-arrow-right-img","src","./assets/img/icon-arrow-right-black.svg","alt","calendar-arrow-left","aria-label","go-left",1,"dw-clickable","col-1","pl-0",3,"click"],[1,"calendar-picker__dayGrid","calendar-picker__weekDays","d-flex"],[1,"calendar-picker__dayGrid","d-flex","flex-wrap"],[1,"calendar-picker__body__day-col","dw-clickable",3,"innerHtml","calendar-picker__body__day-col--selected","calendar-picker__body__day-col--notCurrentMonth","calendar-picker__body__day-col--currentDay","calendar-picker__body__day-col--disabled"],[1,"calendar-picker__body__day-col","dw-clickable",3,"click","innerHtml"],[1,"calendar-picker__body","row"],[1,"col-4","py-3","px-4","dw-clickable",3,"innerHtml","calendar-picker__body--selected","calendar-picker__body--disabled"],[1,"col-4","py-3","px-4","dw-clickable",3,"click","innerHtml"]],template:function(U,F){if(1&U){const G=t.RV6();
1t.SS7(0)(1)(2)(3)(4)(5)(6)(7)(8)(9),t.j41(10,"div",0)(11,"conte-dw-modal",1),t.bIt("$outsideClickOutput",function(){return e.eBV(G),e.Njj(F.emitCloseEvent())}),t.j41(12,"div",2)(13,"div",3),t.nVh(14,ot,1,1,"label",4),t.j41(15,"div",5)(16,"img",6),t.bIt("click",function(){return e.eBV(G),e.Njj(F.emitCloseEvent())}),t.k0s()()(),t.nVh(17,gt,10,12,"div",7)(18,et,4,5,"div",8),t.nVh(19,at,6,0)(20,ft,2,1),t.k0s()()()}if(2&U){const G=t.bH3(F.showDays());t.R7$();const dt=t.bH3(F.headTitle());t.R7$();const ut=t.bH3(F.currentView());t.R7$(),t.bH3(F.currentYear()),t.R7$(),t.bH3(F.currentMonth()),t.R7$(),t.bH3(F.dayCells()),t.R7$(),t.bH3(F.monthOptions()),t.R7$(),t.bH3(F.yearOptions()),t.R7$(),t.bH3(F.currentMonthLabel()),t.R7$(),t.bH3(F.yearNavigatorLabel()),t.R7$(2),t.Y8G("showClose",!1),t.R7$(3),t.vxM(dt?14:-1),t.R7$(3),t.vxM(G?17:18),t.R7$(2),t.vxM(ut===F.calendarViewEnum.Days?19:20)}},dependencies:[v.z,D.D9],styles:[".calendar-picker[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;font-family:Lato,sans-serif}.calendar-picker__header[_ngcontent-%COMP%]{box-shadow:inset 0 -1px #ebebeb;padding:19px 24px}.calendar-picker__navigator[_ngcontent-%COMP%]{padding:18.5px 0;border:1px solid #ebebeb;margin-top:-1px;margin-left:-1px}.calendar-picker__navigator-wrapper[_ngcontent-%COMP%]{margin-right:-2px}.calendar-picker__navigator[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{max-width:70%}.calendar-picker__navigator[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:15px;width:auto;aspect-ratio:1/1;object-fit:contain;min-width:15%;min-height:15%}.calendar-picker__navigator[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:first-of-type{transform:rotate(180deg)}.calendar-picker__navigator[_ngcontent-%COMP%]   img.--disabled[_ngcontent-%COMP%]{filter:opacity(.5);pointer-events:none}.calendar-picker__dayGrid[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:14.2857142857%;padding:12px}.calendar-picker__weekDays[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#8a8a8a;font-weight:400}.calendar-picker__body__day-col[_ngcontent-%COMP%]{border:.5px solid #f6f6f6;color:#484848;transition:all .1s}.calendar-picker__body__day-col--notCurrentMonth[_ngcontent-%COMP%]{color:#8a8a8a}.calendar-picker__body__day-col--currentDay[_ngcontent-%COMP%]{font-weight:700}.calendar-picker__body__day-col[_ngcontent-%COMP%]:hover, .calendar-picker__body__day-col--selected[_ngcontent-%COMP%]{background-color:#f1f8ff}.calendar-picker__body__day-col--selected[_ngcontent-%COMP%]{border:1px solid #4dabff;color:#484848}.calendar-picker__body__day-col--disabled[_ngcontent-%COMP%]{color:#e0e0e0;background-color:#f8f8f8;pointer-events:none}.calendar-picker__body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border:.5px solid #f6f6f6;color:#8a8a8a;transition:all .1s}.calendar-picker__body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:hover, .calendar-picker__body[_ngcontent-%COMP%] > .calendar-picker__body--selected[_ngcontent-%COMP%]{background-color:#f1f8ff}.calendar-picker__body[_ngcontent-%COMP%] > .calendar-picker__body--selected[_ngcontent-%COMP%]{border:1px solid #4dabff;color:#484848}.calendar-picker__body[_ngcontent-%COMP%] > .calendar-picker__body--disabled[_ngcontent-%COMP%]{color:#e0e0e0;background-color:#f8f8f8;pointer-events:none}"]})}}return S})();var jt=o(44181),Nt=o(46773),Dt=o(87835);const pe=S=>({" disabled ":S});function Lt(S,vt){if(1&S){const y=t.RV6();t.j41(0,"conte-dw-button-form",2),t.bIt("$buttonClickOutput",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.openPicker())})("$imgClickOutput",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.onImgClick())}),t.j41(1,"span",3),t.EFF(2),t.k0s()()}if(2&S){const y=t.XpG();t.Y8G("id","calendar-"+y.inputId)("imgRight",!0)("imgSrc",y.buttonIcon)("imgAction",y.buttonIconAction)("selected",!!y.selectedDate||0===y.selectedDate)("disabled",y.disabled),t.BMQ("type",null),t.R7$(2),t.JRh(y.selectedDate||0===y.selectedDate?y.formattedSelectedDate:y.buttonPlaceholder)}}function fe(S,vt){if(1&S){const y=t.RV6();t.j41(0,"conte-dw-input-text-field",4),t.bIt("$iconClick",function(){e.eBV(y);const F=t.XpG();return e.Njj(F.onImgClick())})("$inputValue",function(F){e.eBV(y);
1const G=t.XpG();return e.Njj(G.onValueChange(F,!0))})("$blurEvent",function(F){e.eBV(y);const G=t.XpG();return e.Njj(G.onBlur(F))}),t.k0s()}if(2&S){const y=t.XpG();t.Y8G("inputId","calendar-"+y.inputId)("placeholder",y.buttonPlaceholder)("inputFieldValue",y.formattedSelectedDate)("rightIcon",y.disabled?"":y.buttonIcon)("rightIconCompletePath",!0)("maskConfig",y.formFieldMaskConfig)("disabled",y.disabled)("ngClass",t.eq3(8,pe,y.disabled))}}var St=function(S){return S.Button="button",S.InputText="input-text",S}(St||{});let Xt=(()=>{class S{set showDays(y){this._showDays=y,this.formFieldMaskConfig={...this.formFieldMaskConfig,mask:y?"00/00/0000":"00/0000"}}get showDays(){return this._showDays}set selectedDate(y){this._selectedDate=y,this.formattedSelectedDate=this.getFormattedSelectedDate()}get selectedDate(){return this._selectedDate}constructor(y){this.modalService=y,this.disabled=!1,this.dateInputStrategy=St.InputText,this._showDays=!1,this.inputId="calendar",this.buttonPlaceholder="MM/AAAA",this.buttonIcon="./assets/img/icon-calendar.svg",this.buttonIconAction=!1,this.openPickerOnIconClick=!0,this.$selectedDateEvent=new t.bkB,this.$clickedImgEvent=new t.bkB,this.dateInputModeEnum=St,this.formFieldMaskConfig={mask:"00/0000"},this.onChange=()=>{},this.onTouch=()=>{},this.getDeFormattedSelectedDate=U=>(0,f.Ks)(U,"/")}ngOnDestroy(){this.modalService.close()}getFormattedSelectedDate(){return this.selectedDate&&typeof this.selectedDate!==c.UNT.String?new c.Qnl(this.selectedDate).format(this.showDays?"DD/MM/YYYY":"MM/YYYY"):this.selectedDate||null}onBlur(y){y!==this.formattedSelectedDate&&this.onValueChange(y)}onValueChange(y,U=!1){U&&(y=this.getDeFormattedSelectedDate(y.toString())||y),this.selectedDate=y,this.onChange(y),this.onTouch(),this.$selectedDateEvent.emit(+y),this.modalService.close()}openPicker(){const y=typeof this.selectedDate===c.UNT.String?this.getDeFormattedSelectedDate(this.selectedDate):this.selectedDate;this.modalService.openComponent(zt,{inputs:{minDate:this.minDate,maxDate:this.maxDate,cellsNumber:this.cellsNumber,selectedDate:y,headTitle:this.headTitle,showDays:this.showDays},outputs:{$closeEvent:()=>{this.modalService.close(),this.onTouch()},$selectedDateEvent:({timestamp:U})=>this.onValueChange(U)}})}onImgClick(){this.openPickerOnIconClick&&this.openPicker(),this.$clickedImgEvent.emit()}writeValue(y){this.selectedDate=y}registerOnChange(y){this.onChange=y}registerOnTouched(y){this.onTouch=y}setDisabledState(y){this.disabled=y}static{this.\u0275fac=function(U){return new(U||S)(t.rXU(M.Bg))}}static{this.\u0275cmp=t.VBU({type:S,selectors:[["conte-dw-calendar-no-days"]],inputs:{disabled:"disabled",dateInputStrategy:"dateInputStrategy",showDays:"showDays",inputId:"inputId",buttonPlaceholder:"buttonPlaceholder",buttonIcon:"buttonIcon",buttonIconAction:"buttonIconAction",selectedDate:"selectedDate",headTitle:"headTitle",minDate:"minDate",maxDate:"maxDate",cellsNumber:"cellsNumber",openPickerOnIconClick:"openPickerOnIconClick"},outputs:{$selectedDateEvent:"$selectedDateEvent",$clickedImgEvent:"$clickedImgEvent"},standalone:!1,features:[t.Jv_([{provide:n.kq,useExisting:(0,e.Rfq)(()=>S),multi:!0}])],decls:2,vars:1,consts:[["conteDwDataCy","calendar","type","button","name","button","value","button","imgClass","img-right medium",1,"button","form","flex","button-options","text-center",3,"id","imgRight","imgSrc","imgAction","selected","disabled"],["conteDwDataCy","calendar","inputType","text",3,"inputId","placeholder","inputFieldValue","rightIcon","rightIconCompletePath","maskConfig","disabled","ngClass"],["conteDwDataCy","calendar","type","button","name","button","value","button","imgClass","img-right medium",1,"button","form","flex","button-options","text-center",3,"$buttonClickOutput","$imgClickOutput","id","imgRight","imgSrc","imgAction","selected","disabled"],[1,"date-label"],["conteDwDataCy","calendar","inputType","text",3,"$iconClick","$inputValue","$blurEvent","inputId","placeholder","inputFieldValue","rightIcon","rightIconCompletePath","maskConfig","disabled","ngClass"]],template:function(U,F){if(1&U&&t.nVh(0,Lt,3,8,"conte-dw-button-form",0)(1,fe,1,10,"conte-dw-input-text-field",1),2&U){let G;t.vxM((G=F.dateInputStrategy)===F.dateInputModeEnum.Button?0:G===F.dateInputModeEnum.InputText?1:-1)}},dependencies:[jt.YU,Nt.G,Dt.b],styles:["[_nghost-%COMP%] > *[_ngcontent-%COMP%]{width:100%;max-width:100%}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-input-text-field .dw-in
1put{border-color:#c8102e;background-color:#fcf3f5}.ng-touched.ng-valid[_nghost-%COMP%]     conte-dw-input-text-field .dw-input, .ng-valid[_nghost-%COMP%]     conte-dw-input-text-field .dw-input{border-color:#0075dd;background-color:#f1f8ff}conte-dw-button-form[_ngcontent-%COMP%]{--button-form-text-grow: 1}conte-dw-button-form[_ngcontent-%COMP%]   .date-label[_ngcontent-%COMP%]{padding-top:6px;font-size:var(--calendar-no-days-placeholder-font-size, 20px);line-height:150%;text-align:center}conte-dw-input-text-field[_ngcontent-%COMP%]{--input-text-field-icon-cursor: pointer}conte-dw-input-text-field.disabled[_ngcontent-%COMP%]{--input-text-field-icon-cursor: auto}"]})}}return S})()},77590(ht,L,o){"use strict";o.d(L,{S:()=>w});var t=o(51203),e=o(80226),n=o(23321),c=o(97253),f=o(48857),M=o(43732),m=o(37754),r=o(73328),_=o(44181),g=o(69402),$=o(5547);const T=(z,v,D,N)=>({"dw-datepicker__day-cell--selected":z,"dw-datepicker__day-cell--today":v,"dw-datepicker__day-cell--different-month":D,"dw-datepicker__day-cell--disabled":N});function B(z,v){if(1&z&&(t.j41(0,"div",24),t.EFF(1),t.k0s()),2&z){const D=v.$implicit;t.R7$(),t.SpI(" ",D," ")}}function A(z,v){if(1&z){const D=t.RV6();t.j41(0,"div",6)(1,"label",7),t.EFF(2),t.k0s(),t.j41(3,"div",8)(4,"img",9),t.bIt("click",function(){e.eBV(D);const W=t.XpG();return e.Njj(W.emitCloseEvent())}),t.k0s()()(),t.j41(5,"div",10)(6,"div",11)(7,"div",12)(8,"img",13),t.bIt("click",function(){e.eBV(D);const W=t.XpG();return e.Njj(W.navigateToRelativeMonth(-1))}),t.k0s()(),t.j41(9,"div",14),t.EFF(10),t.k0s(),t.j41(11,"div",15)(12,"img",16),t.bIt("click",function(){e.eBV(D);const W=t.XpG();return e.Njj(W.navigateToRelativeMonth(1))}),t.k0s()()(),t.j41(13,"div",17)(14,"div",18)(15,"img",19),t.bIt("click",function(){e.eBV(D);const W=t.XpG();return e.Njj(W.navigateToRelativeMonth(-12))}),t.k0s()(),t.j41(16,"div",20),t.EFF(17),t.k0s(),t.j41(18,"div",21)(19,"img",22),t.bIt("click",function(){e.eBV(D);const W=t.XpG();return e.Njj(W.navigateToRelativeMonth(12))}),t.k0s()()()(),t.j41(20,"div",23),t.Z7z(21,B,2,1,"div",24,t.fX1),t.k0s(),t.nrm(23,"ngb-datepicker-month",25)}if(2&z){const D=t.XpG(),N=t.sdS(3);t.R7$(2),t.SpI(" ",D.headTitle," "),t.R7$(8),t.SpI(" ",D.getMonthName(N.state.months[0].month)," "),t.R7$(7),t.SpI(" ",N.state.months[0].year," "),t.R7$(4),t.Dyx(D.weekdayNames),t.R7$(2),t.Y8G("month",N.state.months[0])}}function I(z,v){if(1&z){const D=t.RV6();t.j41(0,"div",26),t.bIt("click",function(){const W=e.eBV(D).$implicit,pt=t.XpG();return e.Njj(pt.emitSelectedDateEvent(W,!0))}),t.EFF(1),t.k0s()}if(2&z){const D=v.$implicit,N=v.today,W=v.selected,pt=v.disabled;t.XpG();const ot=t.sdS(3);t.Y8G("ngClass",t.ziG(2,T,W,N,D.month!==ot.state.months[0].month,pt)),t.R7$(),t.SpI(" ",D.day," ")}}const C=["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],k=["L","Ma","Me","G","V","S","D"];let s=(()=>{class z{set selectedDate(D){this._selectedDate=D,this.selectDay(D)}get selectedDate(){return this._selectedDate}constructor(){this.headTitle="Data inizio sospensione",this.monthNames=C,this.weekdayNames=k,this.closeOnSameValue=!1,this.$selectedDateEvent=new t.bkB,this.$closeEvent=new t.bkB}ngAfterViewInit(){Promise.resolve(null).then(()=>this.selectDay(this.selectedDate))}getMonthName(D){return this.monthNames[D-1]}getNgbDateStructFromTimestamp(D){const N=new Date(D);return{year:N.getFullYear(),month:N.getMonth()+1,day:N.getDate()}}emitSelectedDateEvent(D,N=!1){const W=new Date(D.year,D.month-1,D.day),pt=W.getTime()+6e4*-W.getTimezoneOffset();(0,m.Dl)(this.selectedDate,pt)?(this._selectedDate=pt,this.$selectedDateEvent.emit(pt)):this.closeOnSameValue&&N&&this.$closeEvent.emit()}emitCloseEvent(){this.$closeEvent.emit()}navigateToRelativeMonth(D){const{state:N,calendar:W}=this.datepicker;this.datepicker.navigateTo(W.getNext(N.firstDate,"m",D))}selectDay(D){!D&&0!==D||(this.datepicker.focusDate(this.getNgbDateStructFromTimestamp(D)),this.datepicker.focusSelect())}navigateToDay(D){this.datepicker.focusDate(this.getNgbDateStructFromTimestamp(D))}static{this.\u0275fac=function(N){return new(N||z)}}static{this.\u0275cmp=t.VBU({type:z,selectors:[["conte-dw-calendar-picker"]],viewQuery:function(N,W){if(1&N&&t.GBs(r.yB,7),2&N){let pt;t.mGM(pt=t.lsd())&&(W.datepicker=pt.first)}},inputs:{headTitle:"headTitle",monthNames:"monthNames",weekdayNames:"weekdayNames",minDate:"minDate",maxDate:"maxDate",closeOnSameValue:"closeOnSameValue",selectedDate:"selectedDate"},outputs:{$selectedDateEvent:"$selectedDateEvent",$closeEvent:"$closeEvent"},standalone:!1,decls:7,vars:5,consts:[["datepicker",""],["todayTemplate",""],[1,"ui-bootstrap"],["modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","showClose"],["navigation","none",1,"dw-datepicker","p-0",3,"dateSelect","minDate","maxDate","weekdays","dayTemplate"],["ngbDatepickerContent",""],[1,"d-flex","dw-datepicker__head"],[1,"d-flex","justify-content-start","flex-1","dw-datepicker__head-title"],[1,"dw-datepicker__head-close"],["id","picker-icon-close","src","./assets/img/icon-blueclose.svg",1,"dw-clickable",3,"click"],[1,"d-flex","dw-datepicker__navigator"],[1,"d-flex","justify-content-center","col-8","p-0","dw-datepicker__navigator-month"],[1,"d-flex","align-items-center","dw-datepicker__navigator-month-prev-arrow"],["
1id","picker-month-arrow-left-img","src","./assets/img/icon-arrow-right-black.svg",1,"dw-clickable",3,"click"],["conteDwDataCy","calendarMonth",1,"d-flex","justify-content-center","flex-1","dw-datepicker__navigator-month-label"],[1,"d-flex","align-items-center","dw-datepicker__navigator-month-next-arrow"],["id","picker-month-arrow-right-img","src","./assets/img/icon-arrow-right-black.svg",1,"dw-clickable",3,"click"],[1,"d-flex","justify-content-center","col-4","p-0"],[1,"d-flex","align-items-center","dw-datepicker__navigator-year-prev-arrow"],["id","picker-year-arrow-left-img","src","./assets/img/icon-arrow-right-black.svg",1,"dw-clickable",3,"click"],["conteDwDataCy","calendarYear",1,"d-flex","justify-content-center","flex-1","dw-datepicker__navigator-year-label"],[1,"d-flex","align-items-center","dw-datepicker__navigator-year-next-arrow"],["id","picker-year-arrow-right-img","src","./assets/img/icon-arrow-right-black.svg",1,"dw-clickable",3,"click"],[1,"d-flex","dw-datepicker__weekdays"],[1,"d-flex","justify-content-center","align-items-center","p-0","dw-datepicker__weekdays-day"],[3,"month"],[1,"d-flex","justify-content-center","align-items-center","dw-clickable","dw-datepicker__day-cell",3,"click","ngClass"]],template:function(N,W){if(1&N){const pt=t.RV6();t.j41(0,"div",2)(1,"conte-dw-modal",3),t.bIt("$outsideClickOutput",function(){return e.eBV(pt),e.Njj(W.emitCloseEvent())}),t.j41(2,"ngb-datepicker",4,0),t.bIt("dateSelect",function(gt){return e.eBV(pt),e.Njj(W.emitSelectedDateEvent(gt))}),t.DNE(4,A,24,4,"ng-template",5)(5,I,2,7,"ng-template",null,1,t.C5r),t.k0s()()()}if(2&N){const pt=t.sdS(6);t.R7$(),t.Y8G("showClose",!1),t.R7$(),t.Y8G("minDate",W.getNgbDateStructFromTimestamp(W.minDate))("maxDate",W.getNgbDateStructFromTimestamp(W.maxDate))("weekdays",!1)("dayTemplate",pt)}},dependencies:[_.YU,r.yB,r.PE,r.IH,g.z,$.W],styles:[".flex-1[_ngcontent-%COMP%]{flex:1}.dw-datepicker[_ngcontent-%COMP%]{width:516px;border:none;border-radius:10px;overflow:hidden;box-shadow:0 0 8px 2px #0000001a;background-color:#fff}@media (max-width: 546px){.dw-datepicker[_ngcontent-%COMP%]{max-width:100%}}.dw-datepicker__head[_ngcontent-%COMP%]{box-shadow:inset 0 -1px #e6eef3}.dw-datepicker__head-title[_ngcontent-%COMP%]{padding:19px 24px;color:#00558c;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%}.dw-datepicker__head-close[_ngcontent-%COMP%]{padding:19px 20px}.dw-datepicker__navigator[_ngcontent-%COMP%]{box-shadow:inset 0 -1px #ebebeb}.dw-datepicker__navigator-month[_ngcontent-%COMP%]{box-shadow:inset -1px 0 #ebebeb}.dw-datepicker__navigator-month-prev-arrow[_ngcontent-%COMP%]{padding:13px 16px 13px 0;transform:rotate(180deg)}.dw-datepicker__navigator-month-label[_ngcontent-%COMP%]{padding:13px 11px;color:#4dabff;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%}.dw-datepicker__navigator-month-next-arrow[_ngcontent-%COMP%]{padding:13px 16px 13px 0}.dw-datepicker__navigator-year-prev-arrow[_ngcontent-%COMP%]{padding:13px 18px 13px 0;transform:rotate(180deg)}.dw-datepicker__navigator-year-label[_ngcontent-%COMP%]{padding:13px 11px;color:#4dabff;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%}.dw-datepicker__navigator-year-next-arrow[_ngcontent-%COMP%]{padding:13px 18px 13px 0}.dw-datepicker__weekdays-day[_ngcontent-%COMP%]{height:50px;flex:14.2857142857%;color:#8a8a8a;font-family:Lato,sans-serif;font-size:16px;line-height:160%}[_nghost-%COMP%]     .dw-modal-body{line-height:0!important}[_nghost-%COMP%]     .ngb-dp-week{border:.5px solid #ebebeb!important;border-width:.5px .5px 0 0!important;border-radius:0}[_nghost-%COMP%]     .ngb-dp-week:first-child{border-width:0 .5px 0 0!important}[_nghost-%COMP%]     .ngb-dp-week:last-child{border-width:.5px .5px .5px 0!important;border-radius:0 0 10px 10px}[_nghost-%COMP%]     .ngb-dp-week .ngb-dp-day{border-right:.5px solid #ebebeb!important}[_nghost-%COMP%]     .ngb-dp-week .ngb-dp-day:last-child{border-right:none!important}[_nghost-%COMP%]     .ngb-dp-day{height:50px!important;flex:14.2857142857%;display:flex;justify-content:center;align-items:center;outline:none}[_nghost-%COMP%]     .ngb-dp-day:focus-visible{border:solid 1px #4dabff!important}[_nghost-%COMP%]     .ngb-dp-day .dw-datepicker__day-cell{width:100%;height:100%;color:#484848!important;font-family:Lato,sans-serif!important;font-size:16px!important;line-height:160%!important;box-shadow:inset 0 .5px #f6f6f6,inset .5px 0 #f6f6f6}[_nghost-%COMP%]     .ngb-dp-day .dw-datepicker__day-cell--selected{font-weight:700;border:solid 1px #4dabff!important;background-color:#f1f8ff}[_nghost-%COMP%]     .ngb-dp-day .dw-datepicker__day-cell--today{font-weight:900}[_nghost-%COMP%]     .ngb-dp-day .dw-datepicker__day-cell--different-month{color:#8a8a8a!important}[_nghost-%COMP%]     .ngb-dp-day .dw-datepicker__day-cell--disabled{color:#e0e0e0!important;background-color:#f8f8f8}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){[_nghost-%COMP%]     .ngb-dp-day:focus{border:solid 1px #4dabff!important}}}"]})}}return z})();var l=o(46773);function E(z,v){if(1&z&&(t.j41(0,"span",2),t.EFF(1),t.k0s()),2&z){const D=t.XpG();t.R7$(),t.SpI(" ",D.buttonPlaceholderAfterSelection||D.buttonPlaceholder," ")}}const p=["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],h=["L","Ma","Me","G","V","S","D"];let w=(()=>{class z{set pickerHeadTitle(D){this._pickerHeadTitle=D,this.updatePickerField("headTitle",D)}get pickerHeadTitle(){return this._pickerHeadTitle}set monthNames(D){this._monthNames=D,this.updatePickerField("monthNames",{...D})}get monthNames(){return this._monthNames}set weekdayNames(D){this._weekdayNames=D,this.updatePickerField("weekdayNames",{...D})}get weekdayNames(){return this._weekdayNames}set selectedDate(D){this._selectedDate=D,this.updatePickerField("selectedDate",D)}
1get selectedDate(){return this._selectedDate}set minDate(D){this._minDate=D,this.updatePickerField("minDate",D)}get minDate(){return this._minDate}set maxDate(D){this._maxDate=D,this.updatePickerField("maxDate",D)}get maxDate(){return this._maxDate}constructor(D,N){this.modalService=D,this.ngZone=N,this.id="calendar-button",this.buttonPlaceholder="",this.buttonPlaceholderAfterSelection="",this.buttonIcon="./assets/img/icon-calendar.svg",this.closeOnSameValue=!1,this.withoutPlaceholder=!1,this.$selectedDateEvent=new t.bkB,this._pickerHeadTitle="Data inizio sospensione",this._monthNames=p,this._weekdayNames=h,this.onDestroy$=new c.B,this.onChange=()=>{},this.onTouch=()=>{}}ngOnDestroy(){this.closePicker(),this.onDestroy$.complete()}getFormattedSelectedDate(){const D=new Date(this.selectedDate);return`${D.getDate()}-${D.getMonth()+1}-${D.getFullYear()}`.split("-").map((W,pt)=>`000${W}`.substring(W.length-(pt<2?-1:1))).join("-")}openPicker(){if(this.pickerReference)return;this.pickerReference=this.modalService.open(s);const D=this.pickerReference.componentInstance;D.headTitle=this.pickerHeadTitle,D.selectedDate=this.selectedDate,D.minDate=this.minDate,D.maxDate=this.maxDate,D.closeOnSameValue=this.closeOnSameValue,D.monthNames=this.monthNames,D.weekdayNames=this.weekdayNames,D.$closeEvent.pipe((0,f.Q)(this.onDestroy$)).subscribe(()=>this.closePicker()),D.$selectedDateEvent.pipe((0,M.c)(300),(0,f.Q)(this.onDestroy$)).subscribe(N=>{this._selectedDate=N,this.onChange(N),this.$selectedDateEvent.emit(N),this.closePicker()})}closePicker(){this.pickerReference&&(this.pickerReference.close(),this.pickerReference=null,this.onDestroy$.next(),this.onTouch())}updatePickerField(D,N){this.pickerReference&&this.ngZone.run(()=>this.pickerReference.componentInstance[D]=N)}writeValue(D){this.selectedDate=D}registerOnChange(D){this.onChange=D}registerOnTouched(D){this.onTouch=D}static{this.\u0275fac=function(N){return new(N||z)(t.rXU(r.Bq),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:z,selectors:[["conte-dw-calendar"]],inputs:{id:"id",buttonPlaceholder:"buttonPlaceholder",buttonPlaceholderAfterSelection:"buttonPlaceholderAfterSelection",buttonIcon:"buttonIcon",closeOnSameValue:"closeOnSameValue",pickerHeadTitle:"pickerHeadTitle",monthNames:"monthNames",weekdayNames:"weekdayNames",selectedDate:"selectedDate",minDate:"minDate",maxDate:"maxDate",withoutPlaceholder:"withoutPlaceholder"},outputs:{$selectedDateEvent:"$selectedDateEvent"},standalone:!1,features:[t.Jv_([{provide:n.kq,useExisting:(0,e.Rfq)(()=>z),multi:!0}])],decls:5,vars:13,consts:[["type","button","imgClass","img-right medium",1,"button","form","flex","button-options","py-0",3,"$buttonClickOutput","conteDwDataCy","name","value","id","imgRight","imgSrc","selected"],[1,"date-and-placeholder-container",3,"ngClass"],[1,"date-and-placeholder-container__placeholder-label"],[1,"date-and-placeholder-container__date-label"]],template:function(N,W){1&N&&(t.j41(0,"conte-dw-button-form",0),t.bIt("$buttonClickOutput",function(){return W.openPicker()}),t.j41(1,"div",1),t.nVh(2,E,2,1,"span",2),t.j41(3,"span",3),t.EFF(4),t.k0s()()()),2&N&&(t.Y8G("conteDwDataCy",t.mNQ(W.id))("name",t.VkB("",W.id,"-name"))("value",t.VkB("",W.id,"-value"))("id",W.id)("imgRight",!0)("imgSrc",W.buttonIcon)("selected",!!W.selectedDate||0===W.selectedDate),t.R7$(),t.Y8G("ngClass",W.selectedDate&&!W.withoutPlaceholder?"active":"disabled"),t.R7$(),t.vxM(W.selectedDate&&!W.withoutPlaceholder?2:-1),t.R7$(2),t.SpI(" ",W.selectedDate||0===W.selectedDate?W.getFormattedSelectedDate():W.buttonPlaceholder," "))},dependencies:[_.YU,l.G,$.W],styles:["[_nghost-%COMP%] > *[_ngcontent-%COMP%]{width:100%;max-width:100%}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}.date-and-placeholder-container__placeholder-label[_ngcontent-%COMP%]{padding-top:6px;line-height:80%;display:block;font-size:14px;font-weight:400;color:#8a8a8a}.date-and-placeholder-container__date-label[_ngcontent-%COMP%]{line-height:80%}.active[_ngcontent-%COMP%]{padding:6px 0}.disabled[_ngcontent-%COMP%]{padding:12px 0}"]})}}return z})()},1519(ht,L,o){"use strict";o.d(L,{J:()=>Xt});var t=o(80226),e=o(51203),n=o(75089),c=o(76463),f=o(28955),M=o(99296),m=o(89944);const r={imgAltText:"",infoImgAltText:"",starImgAltBaseText:"",dropdownImgAltText:"Espandi"};var _=o(44181),g=o(19699),$=o(5787);const T=(S,vt,y,U)=>({"pr-xl-4":!0,"coverage-ancillaries-card":!0,"coverage-ancillaries-card--included":S,"coverage-ancillaries-card--not-included":vt,"coverage-ancillaries-card--disabled":y,"coverage-ancillaries-card--editable":U}),B=(S,vt)=>({"coverage-ancillaries-card__coverage-logo--editable":S,"coverage-ancillaries-card__coverage-logo--included":vt}),A=S=>({"coverage-ancillaries-card__coverage-logo__img":!0,"coverage-ancillaries-card__coverage-logo__img--disabled":S}),I=S=>({"coverage-ancillaries-card__container-body":!0,"coverage-ancillaries-card__container-body--with-button":S}),C=(S,vt)=>({"coverage-ancillaries-card__container-body__cov-info__name":!0,"coverage-ancillaries-card__container-body__cov-info__name--default":S,"coverage-ancillaries-card__container-body__cov-info__name--disabled":vt}),k=S=>({"coverage-ancillaries-card__container-body__price__value":!0,"coverage-ancillaries-card__container-body__price__value--included":S}),s=(S,vt,y,U)=>({"coverage-ancillaries-card__container-body__price__value":!0,"coverage-ancillaries-card__container-body__price__value--included":S,"coverage-ancillaries-card__container-body__price__value--editable":vt,"coverage-ancillaries-card__container-body__price__value--not-included":y,"coverage-ancillaries-card__container-body__price__value--disabled":U}),l=S=>({$implicit:S}),E=S=>({"coverage-ancillaries-card__container-body__select":!0,"coverage-ancillaries-card__container-body__select--init-price":S}),p=S=>({"coverage-ancillaries-card__container-body__annual-cost__annual-price-title":!0,"coverage-ancillaries-card__container-body__annual-cost__annual-price-title--disabled":S}),h=S=>({"coverage-ancillaries-card__container-body__annual-cost__price":!0,"coverage-ancillaries-card__container-body__annual-cost__price--disabled":S}),w=S=>({"coverage-ancillaries-card__container-body__price__badge":!0,"coverage-ancillaries-card__container-body__price__badge--disabled":S}),z=S=>({"coverage-ancillaries-card__container-body__commission":!0,"coverage-ancillaries-card__container-body__commission--applied":S}),v=(S,vt,y)=>({"mx-3":!0,"coverage-ancillaries-card__container-body__button":!0,"coverage-ancillaries-card__container-body__button--editable":S,"coverage-ancillaries-card__container-body__button--not-included":vt,"coverage-ancillaries-card__container-body__button--disabled":y});function D(S,vt){if(1&S&&e.nrm(0,"img",5),2&S){const y=vt.$implicit,U=vt.$index,F=e.XpG();e.Y8G("src",y,e.B4B)("alt",F.getStarImgAltText(U,y))}}function N(S,vt){1&S&&e.eu8(0)}function W(S,vt){if(1&S&&e.DNE(0,N,1,0,"ng-container",21),2&S){const y=e.XpG(),U=e.sdS(39);e.Y8G("ngTemplateOutlet",U)("ngTemplateOutletContext",e.eq3(2,l,(null==y.accessibilityLabels?null:y.accessibilityLabels.infoImgAltText)||"Info"))}}function pt(S,vt){if(1&S&&(e.j41(0,"div",22)(1,"strong"),e.EFF(2),e.k0s()()),2&S){const y=e.XpG(2);e.R7$(2),e.JRh(null==y.coverage?null:y.coverage.typeBadgeText)}}
1function ot(S,vt){if(1&S&&(e.j41(0,"strong",23),e.EFF(1),e.k0s()),2&S){const y=e.XpG(2);e.R7$(),e.SpI(" ",null==y.coverage?null:y.coverage.description," ")}}function gt(S,vt){if(1&S){const y=e.RV6();e.j41(0,"div",24)(1,"div",25),e.EFF(2),e.k0s(),e.j41(3,"conte-dw-button",26),e.bIt("$buttonClickOutput",function(){t.eBV(y);const F=e.XpG(2);return t.Njj(F.onWarningLabelLinkClick(F.coverage.warningMessage.id))}),e.EFF(4),e.k0s()()}if(2&S){const y=e.XpG(2);e.R7$(2),e.SpI(" ",y.coverage.warningMessage.text," "),e.R7$(2),e.JRh(y.coverage.warningMessage.link)}}function et(S,vt){if(1&S&&(e.j41(0,"div",8),e.nVh(1,pt,3,1,"div",22),e.nVh(2,ot,2,1,"strong",23),e.nVh(3,gt,5,2,"div",24),e.k0s()),2&S){const y=e.XpG();e.R7$(),e.vxM(null!=y.coverage&&y.coverage.typeBadgeText?1:-1),e.R7$(),e.vxM(null!=y.coverage&&y.coverage.description?2:-1),e.R7$(),e.vxM(null!=y.coverage&&y.coverage.warningMessage?3:-1)}}function Et(S,vt){if(1&S){const y=e.RV6();e.j41(0,"div",27),e.bIt("click",function(){t.eBV(y);const F=e.XpG();return t.Njj(F.openModalCeiling())}),e.j41(1,"strong",28),e.EFF(2),e.k0s(),e.j41(3,"button",29)(4,"strong",30),e.EFF(5),e.k0s(),e.nrm(6,"img",31),e.k0s()()}if(2&S){const y=e.XpG();e.HbH(e.eq3(5,E,y.coverage.initPrice)),e.R7$(2),e.SpI(" ",null==y.coverage?null:y.coverage.textSelect," "),e.R7$(3),e.SpI(" ",null==y.coverage?null:y.coverage.textOption," "),e.R7$(),e.Y8G("alt",null==y.accessibilityLabels?null:y.accessibilityLabels.dropdownImgAltText)}}function K(S,vt){if(1&S&&(e.j41(0,"div",32)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"conTeCurrency"),e.k0s()()),2&S){const y=e.XpG(2);e.R7$(),e.HbH(e.eq3(8,p,(null==y.coverage?null:y.coverage.status)===y.statusCoverage.Disabled)),e.R7$(),e.SpI(" ",y.coverage.annualPriceLabel," "),e.R7$(),e.HbH(e.eq3(10,h,(null==y.coverage?null:y.coverage.status)===y.statusCoverage.Disabled)),e.R7$(),e.SpI(" ",e.bMT(5,6,null==y.coverage?null:y.coverage.annualCostAmount)," ")}}function at(S,vt){if(1&S&&e.nVh(0,K,6,12,"div",32),2&S){const y=e.XpG();e.vxM(null!=y.coverage&&y.coverage.annualCostAmount&&null!=y.coverage&&y.coverage.annualPriceLabel?0:-1)}}function Bt(S,vt){if(1&S&&(e.j41(0,"div",11)(1,"p"),e.EFF(2),e.k0s()()),2&S){const y=e.XpG();e.R7$(2),e.JRh(y.coverage.coverageType)}}function _t(S,vt){if(1&S&&(e.j41(0,"div")(1,"strong",33),e.EFF(2),e.k0s()()),2&S){const y=e.XpG();e.HbH(e.eq3(3,w,(null==y.coverage?null:y.coverage.status)===y.statusCoverage.Disabled)),e.R7$(2),e.SpI(" ",y.coverage.priceLabelBadge," ")}}function st(S,vt){if(1&S&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&S){const y=e.XpG();e.R7$(),e.SpI(" ",y.coverage.priceLabel," ")}}function Ut(S,vt){if(1&S&&(e.j41(0,"div",14)(1,"strong"),e.EFF(2),e.nI1(3,"conTeCurrency"),e.k0s()()),2&S){const y=e.XpG();e.R7$(2),e.SpI(" Risparmi ",e.bMT(3,1,null==y.coverage?null:y.coverage.discount)," ")}}function ft(S,vt){if(1&S&&(e.j41(0,"strong",16),e.EFF(1),e.nI1(2,"conTeCurrency"),e.k0s()),2&S){const y=e.XpG();e.R7$(),e.JRh(e.bMT(2,1,null==y.coverage?null:y.coverage.initPrice))}}function zt(S,vt){if(1&S&&(e.j41(0,"span",18),e.EFF(1),e.k0s()),2&S){const y=e.XpG();e.R7$(),e.SpI("",y.coverage.priceDescription," ")}}function jt(S,vt){if(1&S&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"conTeCurrency"),e.k0s()),2&S){const y=e.XpG();e.HbH(e.eq3(6,z,y.coverage.commissionAmount.applied)),e.R7$(),e.Lme(" ",e.bMT(2,4,y.coverage.commissionAmount.amount)," (",y.coverage.commissionRate,"%) ")}}function Nt(S,vt){if(1&S&&(e.j41(0,"div")(1,"p",34),e.EFF(2),e.k0s()()),2&S){const y=e.XpG();e.R7$(2),e.SpI(" ",y.coverage.label," ")}}function Dt(S,vt){if(1&S&&(e.j41(0,"div",19)(1,"span",35),e.EFF(2),e.k0s()()),2&S){const y=e.XpG();e.R7$(2),e.SpI(" ",null==y.coverage?null:y.coverage.labelRcaSelected," ")}}function pe(S,vt){if(1&S){const y=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){t.eBV(y);const F=e.XpG();return t.Njj(F.emitButtonClick(F.coverage))}),e.j41(1,"span",37),e.EFF(2),e.k0s()()}if(2&S){const y=e.XpG();e.HbH(e.sMw(5,v,(null==y.coverage?null:y.coverage.status)===y.statusCoverage.Editable,(null==y.coverage?null:y.coverage.status)===y.statusCoverage.NotIncluded,(null==y.coverage?null:y.coverage.status)===y.statusCoverage.Disabled)),e.Y8G("disabled",(null==y.coverage?null:y.coverage.status)===y.statusCoverage.Disabled)("id",y.buttonId),e.R7$(2),e.SpI(" ",y.coverage.label," ")}}function Lt(S,vt){1&S&&e.eu8(0)}function fe(S,vt){if(1&S&&e.DNE(0,Lt,1,0,"ng-container",21),2&S){const y=e.XpG(),U=e.sdS(39);e.Y8G("ngTemplateOutlet",U)("ngTemplateOutletContext",e.eq3(2,l,null==y.accessibilityLabels?null:y.accessibilityLabels.infoImgAltText))}}function St(S,vt){if(1&S){const y=e.RV6();e.j41(0,"div"),e.nI1(1,"async"),e.j41(2,"conte-dw-button",38),e.bIt("$buttonClickOutput",function(){t.eBV(y);const F=e.XpG();return t.Njj(F.openModalInfo(F.coverage))}),e.j41(3,"span",39),e.EFF(4,"Info"),e.k0s()()()}if(2&S){const y=vt.$implicit,U=e.XpG();e.HbH(e.bMT(1,4,U.screenXl$)?"m-auto":"ml-2"),e.R7$(2),e.Y8G("id","button_more_info_"+U.coverage.code)("imgAltText",y)}}let Xt=(()=>{class S{constructor(){this.modalService=(0,t.WQX)(f.Bg),this.screenSizeFacade=(0,t.WQX)(f.oG),this.accessibilityLabels=r,this.buttonId="coverage-card-button",this.$buttonClick=new e.bkB,this.$modalCeilingOutput=new e.bkB,this.$warningLabelLinkOutput=new e.bkB,this.statusCoverage=n.Xrh,this.screenXl$=this.screenSizeFacade.matchXLarge}
1ngOnInit(){this.screenSizeFacade.dispatchLoadScreenSize()}ngOnChanges(){this.accessibilityLabels={...r,...this.accessibilityLabels??{}}}ngOnDestroy(){this.modalService.isModalOpen()&&this.modalService.close()}emitButtonClick(y){const U={event:null,coverage:y,code:y.code};y.status===this.statusCoverage.NotIncluded?U.event=c.Bx.Add:y.status===this.statusCoverage.Editable&&(U.event=c.Bx.Remove),this.$buttonClick.emit(U)}openModalInfo(y){this.modalService.openComponent(M.O,{inputs:{...this.modalInfoConf,price:+this.coverage.price,status:this.coverage.status,isAncillary:!0,pathFullCoverage:this.coverage.pathIcon,totalStars:this.coverage?.numberStars,priceDescription:this.coverage?.priceDescription,priceDiscount:this.coverage?.discount},outputs:{$closeClickOutput:()=>this.modalService.close(),$actionBtn:()=>{this.emitButtonClick(y),this.modalService.close()}}})}openModalCeiling(){this.modalService.openComponent(m._,{inputs:{...this.modalCeilingConf,selectedIndex:this.coverage.terms[0].values.indexOf(this.coverage.terms[0].value)??0},outputs:{$closeClickOutput:()=>this.modalService.close(),$buttonClickOutput:({selectedIndex:y,initIndex:U,elementSelected:F})=>{y!==U&&this.$modalCeilingOutput.emit({selectedIndex:y,code:this.coverage.code,elementSelected:F}),this.modalService.close()}}})}onWarningLabelLinkClick(y){this.$warningLabelLinkOutput.emit(y)}getStarImgAltText(y,U){return`${this.accessibilityLabels?.starImgAltBaseText||"Stella"} ${y+1} ${U.includes("filled")?"piena":"vuota"}`}static{this.\u0275fac=function(U){return new(U||S)}}static{this.\u0275cmp=e.VBU({type:S,selectors:[["conte-dw-coverage-ancillaries"]],inputs:{coverage:"coverage",accessibilityLabels:"accessibilityLabels",modalCeilingConf:"modalCeilingConf",modalInfoConf:"modalInfoConf",buttonId:"buttonId",hideCeiling:"hideCeiling"},outputs:{$buttonClick:"$buttonClick",$modalCeilingOutput:"$modalCeilingOutput",$warningLabelLinkOutput:"$warningLabelLinkOutput"},standalone:!1,features:[e.OA$],decls:40,vars:63,consts:[["coverageInfoButton",""],[1,"ui-bootstrap"],[1,"coverage-ancillaries-card__coverage-logo"],[3,"src","alt"],[1,"coverage-ancillaries-card__coverage-logo__box-star"],[1,"coverage-ancillaries-card__coverage-logo__box-star__star",3,"src","alt"],[1,"coverage-ancillaries-card__container-body__cov-info"],[1,"d-flex","flex-direction-row"],[1,"coverage-ancillaries-card__container-body__description"],[3,"class"],[1,"coverage-ancillaries-card__container-body__price"],[1,"coverage-ancillaries-card__container-body__price__coverage-type"],[1,"coverage-ancillaries-card__container-body__price__priceLabel"],[1,"d-lg-none","d-xl-none"],[1,"coverage-ancillaries-card__container-body__price__discount","small-body"],[1,"coverage-ancillaries-card__container-body__price__baseline"],[1,"coverage-ancillaries-card__container-body__price__init-price","coverage-ancillaries-card__container-body__price__init-price--line-through"],[1,"d-none","d-xl-block","d-lg-block"],[1,"coverage-ancillaries-card__container-body__price__description"],[1,"coverage-ancillaries-card__container-body__rca-included","coverage-ancillaries-card__container-body__rca-included--included","d-none","d-lg-1-flex","d-xl-flex","mx-3"],["conteDwDataCy","",3,"disabled","id","class"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"coverage-ancillaries-card__container-body__description__type-badge"],[1,"coverage-ancillaries-card__container-body__description__text"],[1,"coverage-ancillaries-card__container-body__description-warning"],[1,"coverage-ancillaries-card__container-body__description-warning__label"],["id","warning-label-link",1,"link",3,"$buttonClickOutput"],[3,"click"],[1,"coverage-ancillaries-card__container-body__select__title"],[1,"coverage-ancillaries-card__container-body__select__btn"],[1,"coverage-ancillaries-card__container-body__select__btn__label"],["src","assets/img/chevron-down.png",3,"alt"],[1,"coverage-ancillaries-card__container-body__annual-cost"],[1,"coverage-ancillaries-card__container-body__price__badge__text"],[1,"coverage-ancillaries-card__container-body__price__included-label"],[1,"coverage-ancillaries-card__container-body__rca-included__label"],["conteDwDataCy","",3,"click","disabled","id"],[1,"coverage-ancillaries-card__container-body__button__label"],["imgSrc","./assets/img/icon-info-outline.svg",1,"button","flex-center","column","button-info","normal",3,"$buttonClickOutput","id","imgAltText"],[1,"d-none","d-xl-block"]],template:function(U,F){1&U&&(e.j41(0,"div",1)(1,"div")(2,"div",2),e.nrm(3,"img",3),e.j41(4,"div",4),e.Z7z(5,D,1,2,"img",5,e.fX1),e.k0s()(),e.j41(7,"div")(8,"div",6)(9,"div",7)(10,"span"),e.EFF(11),e.k0s(),e.nVh(12,W,1,4,"ng-container"),e.nI1(13,"async"),e.k0s(),e.nVh(14,et,4,3,"div",8),e.k0s(),e.nVh(15,Et,7,7,"div",9)(16,at,1,1),e.j41(17,"div",10),e.nVh(18,Bt,3,1,"div",11),e.nVh(19,_t,3,5,"div",9),e.j41(20,"div",12),e.nVh(21,st,2,1,"span"),e.j41(22,"strong",13),e.EFF(23),e.nI1(24,"conTeCurrency"),e.k0s()(),e.nVh(25,Ut,4,3,"div",14),e.j41(26,"div",15),e.nVh(27,ft,3,3,"strong",16),e.j41(28,"strong",17),e.EFF(29),e.nI1(30,"conTeCurrency"),e.k0s(),e.nVh(31,zt,2,1,"span",18),e.nV
1h(32,jt,3,8,"p",9),e.k0s(),e.nVh(33,Nt,3,1,"div"),e.k0s(),e.nVh(34,Dt,3,1,"div",19),e.nVh(35,pe,3,9,"button",20),e.nVh(36,fe,1,4,"ng-container"),e.nI1(37,"async"),e.k0s()()(),e.DNE(38,St,5,6,"ng-template",null,0,e.C5r)),2&U&&(e.R7$(),e.HbH(e.ziG(41,T,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.NotIncluded,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Disabled,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Editable)),e.R7$(),e.HbH(e.l_i(46,B,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Editable,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included)),e.R7$(),e.HbH(e.eq3(49,A,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Disabled)),e.Y8G("src",null==F.coverage?null:F.coverage.pathIcon,e.B4B)("alt",null==F.accessibilityLabels?null:F.accessibilityLabels.imgAltText),e.R7$(2),e.Dyx(null==F.coverage?null:F.coverage.numberStars),e.R7$(2),e.HbH(e.eq3(51,I,(null==F.coverage?null:F.coverage.rcaAdded)&&(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included||!(null!=F.coverage&&F.coverage.rcaAdded)&&(null==F.coverage?null:F.coverage.status)!==F.statusCoverage.Included)),e.R7$(3),e.HbH(e.l_i(53,C,(null==F.coverage?null:F.coverage.status)!==F.statusCoverage.Disabled,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Disabled)),e.R7$(),e.SpI(" ",null==F.coverage?null:F.coverage.name," "),e.R7$(),e.vxM(e.bMT(13,33,F.screenXl$)?-1:12),e.R7$(2),e.vxM(null!=F.coverage&&F.coverage.typeBadgeText||null!=F.coverage&&F.coverage.description||null!=F.coverage&&F.coverage.warningMessage?14:-1),e.R7$(),e.vxM(null!=F.coverage&&F.coverage.selectEnabled&&!F.hideCeiling?15:16),e.R7$(3),e.vxM(null!=F.coverage&&F.coverage.coverageType?18:-1),e.R7$(),e.vxM(null==F.coverage||!F.coverage.priceLabelBadge||null!=F.coverage&&F.coverage.priceLabel?-1:19),e.R7$(2),e.vxM(null==F.coverage||!F.coverage.priceLabel||null!=F.coverage&&F.coverage.priceLabelBadge||(null==F.coverage?null:F.coverage.status)!==F.statusCoverage.Included?-1:21),e.R7$(),e.HbH(e.eq3(56,k,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included)),e.R7$(),e.SpI(" ",e.bMT(24,35,null==F.coverage?null:F.coverage.price)," "),e.R7$(2),e.vxM(null!=F.coverage&&F.coverage.discount?25:-1),e.R7$(2),e.vxM(null!=F.coverage&&F.coverage.initPrice?27:-1),e.R7$(),e.HbH(e.ziG(58,s,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Editable,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.NotIncluded,(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Disabled)),e.R7$(),e.SpI(" ",e.bMT(30,37,null==F.coverage?null:F.coverage.price)," "),e.R7$(2),e.vxM(F.coverage.priceDescription?31:-1),e.R7$(),e.vxM(null!=F.coverage.commissionAmount&&F.coverage.commissionAmount.amount?32:-1),e.R7$(),e.vxM(F.coverage.status===F.statusCoverage.Included&&F.coverage.label?33:-1),e.R7$(),e.vxM((null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included&&null!=F.coverage&&F.coverage.labelRcaSelected?34:-1),e.R7$(),e.vxM(null!=F.coverage&&F.coverage.rcaAdded||(null==F.coverage?null:F.coverage.status)===F.statusCoverage.Included?-1:35),e.R7$(),e.vxM(e.bMT(37,39,F.screenXl$)?36:-1))},dependencies:[_.T3,g.Q,_.Jj,$.T],styles:['@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.coverage-ancillaries-card__container-body__button[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;color:inherit;display:inline-block;position:relative;text-align:center;text-decoration:none;font-size:16px;font-weight:700;line-height:160%}.coverage-ancillaries-card__container-body__button[_ngcontent-%COMP%]:focus-visible{outline:none}.coverage-ancillaries-card__container-body__button[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}.coverage-ancillaries-card[_ngcontent-%COMP%]{width:100%;min-height:92px;border-radius:var(--coverage-ancillaries-border-radius, 10px);border:solid 1px;display:flex}.coverage-ancillaries-card--included[_ngcontent-%COMP%], .coverage-ancillaries-card--editable[_ngcontent-%COMP%]{border-top:var(--coverage-ancillaries-border-top-editable, solid 1px #50bf4d);border-bottom:var(--coverage-ancillaries-border-bottom-editable, solid 1px #50bf4d);border-left:var(--coverage-ancillaries-border-left-editable, solid 1px #50bf4d);border-right:var(--coverage-ancillaries-border-right-editable, solid 1px #50bf4d);background-color:#f5fbf4}.coverage-ancillaries-card--not-included[_ngcontent-%COMP%]{box-shadow:0 0 12px 2px #09458514;background-color:#fff;border-color:transparent}.coverage-ancillaries-card--disabled[_ngcontent-%COMP%]{border-top:var(--coverage-ancillaries-border-top-disabled, solid 1px #e0e0e0);border-bottom:var(--coverage-ancillaries-border-bottom-disabled, solid 1px #e0e0e0);border-left:var(--coverage-ancillaries-border-left-disabled, solid 1px #e0e0e0);border-right:var(--coverage-ancillaries-border-right-disabled, solid 1px #e0e0e0);background-color:#fff}.coverage-ancillaries-card__coverage-logo[_ngcontent-%COMP%]{min-width:92px;display:flex;justify-content:center;align-items:center;border-radius:10px;border:solid 4px transparent;background-color:#f7f9fb;flex-direction:column}.coverage-ancillaries-card__coverage-logo--editable[_ngcontent-%COMP%], .coverage-ancillaries-card__coverage-logo--included[_ngcontent-%COMP%]{background:#eef9ed}.coverage-ancillaries-card__coverage-logo__img[_ngcontent-%COMP%]{width:48px;height:48px}.coverage-ancillaries-card__coverage-logo__img--disabled[_ngcontent-%COMP%]{opacity:.2;filter:grayscale(100%)}
1.coverage-ancillaries-card__coverage-logo__box-star[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-top:5px}.coverage-ancillaries-card__coverage-logo__box-star__star[_ngcontent-%COMP%]{width:16px;height:16px}.coverage-ancillaries-card__container-body[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;flex-direction:row;margin-left:20px;width:100%}.coverage-ancillaries-card__container-body__cov-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;flex:1}.coverage-ancillaries-card__container-body__cov-info__name[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.coverage-ancillaries-card__container-body__cov-info__name--default[_ngcontent-%COMP%]{color:#484848}.coverage-ancillaries-card__container-body__cov-info__name--disabled[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-disabled-color, #b7b7b7)}.coverage-ancillaries-card__container-body__cov-info__icon[_ngcontent-%COMP%]{display:none}.coverage-ancillaries-card__container-body__description[_ngcontent-%COMP%]{display:flex;align-items:center}.coverage-ancillaries-card__container-body__description__text[_ngcontent-%COMP%]{font-size:16px;line-height:160%;margin-top:4px;color:var(--coverage-ancillaries-text-color, #4dabff)}.coverage-ancillaries-card__container-body__description__type-badge[_ngcontent-%COMP%]{background-color:#4dabff;border-radius:4px;margin-right:4px!important;padding:0 8px 2px!important}.coverage-ancillaries-card__container-body__description__type-badge[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-size:12px;color:#fff}.coverage-ancillaries-card__container-body__description__added[_ngcontent-%COMP%]{display:flex;margin-top:4px}.coverage-ancillaries-card__container-body__description__added[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:24px;width:24px}.coverage-ancillaries-card__container-body__description__added[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{margin-left:4px;font-size:16px;line-height:160%;color:var(--coverage-ancillaries-added-description-color, #50bf4d)}.coverage-ancillaries-card__container-body__description-warning[_ngcontent-%COMP%]     .link{color:#c8102e}.coverage-ancillaries-card__container-body__description-warning__label[_ngcontent-%COMP%]{font-size:14px!important;color:#c8102e!important}.coverage-ancillaries-card__container-body__select[_ngcontent-%COMP%]{width:215px;display:flex;flex-direction:column;top:0;bottom:0;padding:10px 14px;box-shadow:inset 1px 0 #e6eef3,1px 0 #e6eef3;right:350px}.coverage-ancillaries-card__container-body__select__title[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:#484848;margin:0 0 4px 12px}.coverage-ancillaries-card__container-body__select__btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:40px;gap:8px;padding:0 12px;border-radius:10px;border:solid 1px #ccdde8;background-color:transparent}.coverage-ancillaries-card__container-body__select__btn[_ngcontent-%COMP%]:hover{background-color:#f2f6f9}.coverage-ancillaries-card__container-body__select__btn__label[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:var(--coverage-ancillaries-button-label-color, #8a8a8a)}.coverage-ancillaries-card__container-body__select--init-price[_ngcontent-%COMP%]{right:415px}.coverage-ancillaries-card__container-body__annual-cost[_ngcontent-%COMP%]{width:215px;display:flex;flex-direction:column;padding:18px 14px 10px;box-shadow:inset 1px 0 #e6eef3,1px 0 #e6eef3;align-items:flex-start;justify-content:center}.coverage-ancillaries-card__container-body__annual-cost__annual-price-title[_ngcontent-%COMP%]{font-size:14px;color:#6699ba;line-height:160%}.coverage-ancillaries-card__container-body__annual-cost__annual-price-title--disabled[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-annual-price-title-disabled-color, #b7b7b7)}.coverage-ancillaries-card__container-body__annual-cost__price[_ngcontent-%COMP%]{font-size:16px;color:#484848;line-height:160%}.coverage-ancillaries-card__container-body__annual-cost__price--disabled[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-price-disabled-color, #8a8a8a)}.coverage-ancillaries-card__container-body__price[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:end;align-items:flex-end;justify-content:center;width:20%;max-width:30%}.coverage-ancillaries-card__container-body__price__coverage-type[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:0 6px;border-radius:2px;background-color:#dcf2db;color:var(--coverage-ancillaries-price-coverage-type-color, #50bf4d);font-weight:700;font-size:14px}.coverage-ancillaries-card__container-body__price__included-label[_ngcontent-%COMP%]{display:none}.coverage-ancillaries-card__container-body__price[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;line-height:200%;color:#484848}.coverage-ancillaries-card__container-body__price__baseline[_ngcontent-%COMP%]{display:flex;align-items:baseline;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.coverage-ancillaries-card__container-body__price__value[_ngcontent-%COMP%]{font-size:24px;line-height:140%}.coverage-ancillaries-card__container-body__price__value--included[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-value-included-color, #50bf4d)}.coverage-ancillaries-card__container-body__price__value--editable[_ngcontent-%COMP%], .coverage-ancillaries-card__container-body__price__value--not-included[_ngcontent-%COMP%]{color:#00558c}.coverage-ancillaries-card__container-body__price__value--disabled[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-value-disabled-color, #b7b7b7)}.coverage-ancillaries-card__container-body__price__description[_ngcontent-%COMP%]{font-size:16px;font-family:Lato,sans-serif;color:var(--coverage-ancillaries-description-color, #8a8a8a);margin-left:4px}.coverage-ancillaries-card__container-body__price__discount[_ngcontent-%COMP%]{gap:10px;padding:0 6px;border-radius:2px;background-color:#dcf2db;color:var(--coverage-ancillaries-discount-color, #50bf4d)}.coverage-ancillaries-card__container-body__price__init-price[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;font-size:16px;line-height:160%;color:var(--coverage-ancillaries-init-price-color, #8a8a8a);margin-right:8px}.coverage-ancillaries-card__container-body__price__init-price--l
1ine-through[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-init-price-line-through-color, #8a8a8a);text-decoration:line-through;text-decoration-color:#4dabff}.coverage-ancillaries-card__container-body__price__badge[_ngcontent-%COMP%]{background-color:#e6eef3;padding:0 6.5px 2px;border-radius:4px}.coverage-ancillaries-card__container-body__price__badge__text[_ngcontent-%COMP%]{font-size:12px;color:#00558c}.coverage-ancillaries-card__container-body__price__badge--disabled[_ngcontent-%COMP%]{background-color:#e0e0e0}.coverage-ancillaries-card__container-body__price__badge--disabled[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--coverage-ancillaries-badge-text-disabled-color, #8a8a8a)}.coverage-ancillaries-card__container-body__price__priceLabel[_ngcontent-%COMP%]{display:flex;align-items:start;flex-direction:column}.coverage-ancillaries-card__container-body__price__priceLabel[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:unset}.coverage-ancillaries-card__container-body__commission[_ngcontent-%COMP%]{color:#b7b7b7;font-weight:700;font-size:14px;line-height:normal}.coverage-ancillaries-card__container-body__commission--applied[_ngcontent-%COMP%]{color:#4ab047}.coverage-ancillaries-card__container-body__rca-included[_ngcontent-%COMP%]{top:calc(50% - 24px);width:150px;display:flex;justify-content:center;align-items:center;gap:8px;border-radius:24px;border:none;font-size:18px;font-weight:700;line-height:150%}.coverage-ancillaries-card__container-body__rca-included--included[_ngcontent-%COMP%]{background-color:transparent;color:var(--coverage-ancillaries-rca-included-color, #50bf4d);text-align:center}.coverage-ancillaries-card__container-body__button[_ngcontent-%COMP%]{top:calc(50% - 24px);width:150px;height:48px;display:flex;justify-content:center;align-items:center;gap:8px;padding:12px 24px 13px;border-radius:24px;border:none;font-size:18px;font-weight:700;line-height:150%}.coverage-ancillaries-card__container-body__button--included[_ngcontent-%COMP%]{background-color:transparent;color:var(--coverage-ancillaries-button-included-color, #50bf4d);padding:12px 15px 13px}.coverage-ancillaries-card__container-body__button--not-included[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#104d87,#1e77b4);color:#fff}.coverage-ancillaries-card__container-body__button--disabled[_ngcontent-%COMP%]{background-color:#f6f6f6;color:var(--coverage-ancillaries-button-disabled-color, #b7b7b7)}.coverage-ancillaries-card__container-body__button--editable[_ngcontent-%COMP%]{background-color:transparent;color:#00558c;border:solid 1px #ccdde8}.coverage-ancillaries-card__container-body__added[_ngcontent-%COMP%]{position:absolute;right:64px;width:134px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:8px 0}.coverage-ancillaries-card__container-body__added[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:24px;width:24px}.coverage-ancillaries-card__container-body__added[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{margin-left:4px;font-size:16px;line-height:160%;color:var(--coverage-ancillaries-added-color, #50bf4d)}@media (min-width: 1140px) and (max-width: 1216px){.coverage-ancillaries-card__container-body__select[_ngcontent-%COMP%], .coverage-ancillaries-card__container-body__annual-cost[_ngcontent-%COMP%]{width:125px}}@media (max-width: 1140px){.coverage-ancillaries-card[_ngcontent-%COMP%]{min-height:110px}.coverage-ancillaries-card__coverage-logo[_ngcontent-%COMP%]{min-width:64px}.coverage-ancillaries-card__coverage-logo__img[_ngcontent-%COMP%]{height:40px;width:40px}.coverage-ancillaries-card__coverage-logo__box-star__star[_ngcontent-%COMP%]{width:16px!important;height:16px!important}.coverage-ancillaries-card__container-body[_ngcontent-%COMP%]{flex-direction:column;margin-left:8px;padding:16px 0}.coverage-ancillaries-card__container-body--with-button[_ngcontent-%COMP%]{margin-right:70px}.coverage-ancillaries-card__container-body__cov-info__name[_ngcontent-%COMP%]{font-size:16px!important;line-height:160%!important}.coverage-ancillaries-card__container-body__cov-info__icon[_ngcontent-%COMP%]{margin-left:8px!important;display:flex!important}.coverage-ancillaries-card__container-body__cov-info__icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-width:20px;min-height:20px}.coverage-ancillaries-card__container-body__description[_ngcontent-%COMP%]{font-size:14px!important;margin-top:2px!important;width:100%}.coverage-ancillaries-card__container-body__description__text[_ngcontent-%COMP%]{font-size:14px!important;margin-top:2px!important}.coverage-ancillaries-card__container-body__description__added[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:20px!important;width:20px!important}.coverage-ancillaries-card__container-body__description__added[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-size:14px!important}.coverage-ancillaries-card__container-body__select[_ngcontent-%COMP%]{position:relative;width:unset;right:0;box-shadow:none;padding:0;max-width:195px;margin:8px 0}.coverage-ancillaries-card__container-body__select__title[_ngcontent-%COMP%]{font-size:12px!important;margin:4px 0!important}.coverage-ancillaries-card__container-body__annual-cost[_ngcontent-%COMP%]{width:auto;position:relative!important;right:0!important;box-shadow:none!important;padding:0!important;max-width:195px!important;margin:8px 0!important;align-items:start}.coverage-ancillaries-card__container-body__price[_ngcontent-%COMP%]{position:relative!important;right:0!important;width:unset;margin-top:2px;display:flex;align-items:baseline}.coverage-ancillaries-card__container-body__price[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-right:unset}.coverage-ancillaries-card__container-body__price__included-label[_ngcontent-%COMP%]{display:block;width:90px;height:22px;flex-grow:0;font-family:Lato,sans-serif;font-size:14px;font-weight:700;line-height:160%;text-align:left;color:var(--coverage-ancillaries-included-label-color, #50bf4d)}.coverage-ancillaries-card__container-body__price[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px!important;line-height:160%!important;margin-right:4px}.coverage-ancillaries-card__container-body__price__value[_ngcontent-%COMP%]{font-size:16px!important;line-height:160%!important}.coverage-ancillaries-card__container-body__price__discount[_ngcontent-%COMP%]{margin:4px 0;font-size:12px}.coverage-ancillaries-card__container-body__price__init-price[_ngcontent-%COMP%]{font-size:14px;margin-right:0;margin-left:8px}.coverage-ancillaries-card__container-body__rca-included[_ngcontent-%COMP%]{position:initial;box-shadow:none;padding:0;height:0;margin:10px 0;justify-content:flex-start}.coverage-ancillaries-card__container-body__rca-included__label[_ngcontent-%COMP%]{margin-top:8px}
1.coverage-ancillaries-card__container-body__button[_ngcontent-%COMP%]{position:absolute;width:44px;height:44px;border-radius:50%;padding:0;right:-45px;display:flex;justify-content:center;align-items:center}.coverage-ancillaries-card__container-body__button--not-included[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#104d87,#1e77b4);color:#fff}.coverage-ancillaries-card__container-body__button--not-included[_ngcontent-%COMP%]:after{content:"";background-image:url(ic_24_plus.12ebcfefe582d6f5.svg);background-size:24px 24px;display:inline-block;width:24px;height:24px}.coverage-ancillaries-card__container-body__button--disabled[_ngcontent-%COMP%]:after{content:"";background-image:url(ic_24_plus_grey.6ab6cbcf1a6a3770.svg);background-size:24px 24px;display:inline-block;width:24px;height:24px;opacity:.4}.coverage-ancillaries-card__container-body__button--editable[_ngcontent-%COMP%]{background:transparent;color:#00558c}.coverage-ancillaries-card__container-body__button--editable[_ngcontent-%COMP%]:after{content:"";background-image:url(ic_24_trash-outline-blue.09386c162ed028f1.svg);background-size:24px 24px;display:inline-block;width:24px;height:24px}
1.coverage-ancillaries-card__container-body__button__label[_ngcontent-%COMP%]{display:none}.coverage-ancillaries-card__container-body__button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px!important;height:24px!important}}@media (max-width: 480px){.coverage-ancillaries-card__container-body__description[_ngcontent-%COMP%]{width:210px}}@media only screen and (min-width: 1024px) and (max-width: 1140px){.coverage-ancillaries-card__container-body__price__priceLabel[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block!important}.coverage-ancillaries-card__container-body__price__baseline[_ngcontent-%COMP%]   strong.d-none[_ngcontent-%COMP%]{display:none!important}}']})}}return S})()},35471(ht,L,o){"use strict";o.d(L,{a8:()=>y});var t=o(51203),e=o(76463),n=o(28955),c=o(10358),f=o(99296),M=o(89944),m=o(80226),r=o(44181),_=o(19699);const g=["host"],$=(U,F,G,dt,ut,yt)=>({"ui-bootstrap coverage-card":!0,"coverage-card--added":U,"coverage-card--included":F,"coverage-card--guarantee":G,"coverage-card--integration":dt,"coverage-card--rca":ut,"coverage-card--rca-no-status":yt}),T=U=>({"w-100 coverage-card__option-title":!0,"coverage-card__option-title--bold":U}),B=U=>({"flex-column flex-center coverage-card__price-container":!0,"coverage-card__price-container--alone":U}),A=U=>({"w-100 coverage-card__price-title":!0,"coverage-card__price-title--line-through":U}),I=U=>({"coverage-card__price":!0,"coverage-card__price--offer":U}),C=U=>({"w-100 coverage-card__price-subtitle":!0,"coverage-card__price-subtitle--saving":U}),k=U=>({"flex-center coverage-card__selection-button-container":!0,"coverage-card__selection-button-container--alone":U}),s=U=>({"circular-button":!0,"circular-button--edit":U});function l(U,F){if(1&U&&(t.j41(0,"label",7),t.EFF(1),t.k0s()),2&U){const G=t.XpG();t.R7$(),t.SpI(" ",G.descriptionTagText," ")}}function E(U,F){1&U&&t.eu8(0)}function p(U,F){if(1&U&&(t.j41(0,"div",10),t.DNE(1,E,1,0,"ng-container",16),t.k0s()),2&U){t.XpG(2);const G=t.sdS(18);t.R7$(),t.Y8G("ngTemplateOutlet",G)}}function h(U,F){if(1&U&&(t.j41(0,"div",8)(1,"label",15),t.EFF(2),t.k0s(),t.nVh(3,p,2,1,"div",10),t.k0s()),2&U){const G=t.XpG();t.R7$(2),t.SpI(" ",G.descriptionTitleText," "),t.R7$(),t.vxM(G.tooltipItem&&G.cardType!==G.cardTypeEnum.Rca?3:-1)}}function w(U,F){if(1&U&&(t.j41(0,"label",9),t.EFF(1),t.k0s()),2&U){const G=t.XpG();t.R7$(),t.SpI(" ",G.descriptionText," ")}}function z(U,F){1&U&&t.eu8(0)}function v(U,F){if(1&U&&(t.j41(0,"div",10),t.DNE(1,z,1,0,"ng-container",16),t.k0s()),2&U){t.XpG();const G=t.sdS(18);t.R7$(),t.Y8G("ngTemplateOutlet",G)}}function D(U,F){if(1&U&&t.nrm(0,"img",17),2&U){const G=t.XpG(2);t.Y8G("src",G.statusTextItem.statusIcon||"./assets/img/check.svg",t.B4B)}}function N(U,F){if(1&U&&(t.j41(0,"label",11),t.nVh(1,D,1,1,"img",17),t.EFF(2),t.k0s()),2&U){const G=t.XpG();t.R7$(),t.vxM(G.statusTextItem.showStatusIcon?1:-1),t.R7$(),t.SpI(" ",G.statusTextItem.statusText," ")}}function W(U,F){if(1&U&&(t.j41(0,"label",19),t.EFF(1),t.k0s()),2&U){const G=t.XpG().$implicit;t.R7$(),t.JRh(G.value)}}function pt(U,F){if(1&U){const G=t.RV6();t.j41(0,"conte-dw-button",21),t.bIt("$buttonClickOutput",function(){m.eBV(G);const ut=t.XpG(),yt=ut.$implicit,Re=ut.$index,Pe=t.XpG(2);return m.Njj(Pe.optionDropdownClickOutput(yt,Re))}),t.EFF(1),t.k0s()}if(2&U){const G=t.XpG(),dt=G.$implicit;t.Y8G("id","option-button-"+G.$index)("imgRight",!0)("imgSrc","./assets/img/icon-dropdown-close-arrow.svg")("imgClass","img-right little"),t.R7$(),t.SpI(" ",dt.value," ")}}function ot(U,F){if(1&U&&(t.j41(0,"div",18)(1,"label",2),t.EFF(2),t.k0s(),t.nVh(3,W,2,1,"label",19)(4,pt,2,5,"conte-dw-button",20),t.k0s()),2&U){const G=F.$implicit,dt=t.XpG(2);t.R7$(),t.Y8G("ngClass",t.eq3(3,T,G.type===dt.optionsItemTypeEnum.Dropdown)),t.R7$(),t.SpI(" ",G.title," "),t.R7$(),t.vxM(G.type!==dt.optionsItemTypeEnum.Dropdown?3:4)}}function gt(U,F){if(1&U&&(t.j41(0,"div",12),t.Z7z(1,ot,5,5,"div",18,t.fX1),t.k0s()),2&U){const G=t.XpG();t.R7$(),t.Dyx(G.optionsList)}}function et(U,F){if(1&U&&(t.j41(0,"label",2),t.EFF(1),t.k0s()),2&U){const G=t.XpG(2);t.Y8G("ngClass",t.eq3(2,A,G.priceTitleStyle===G.priceTitleStyleEnum.LineThrough)),t.R7$(),t.SpI(" ",G.priceTitle," ")}}function Et(U,F){if(1&U&&(t.j41(0,"label",23),t.EFF(1),t.k0s()),2&U){const G=t.XpG
1(2);t.R7$(),t.SpI(" ",G.priceTopTagText," ")}}function K(U,F){if(1&U&&(t.j41(0,"label",2),t.EFF(1),t.k0s()),2&U){const G=t.XpG(2);t.Y8G("ngClass",t.eq3(2,I,G.priceTextStyle===G.priceTextStyleEnum.Offer)),t.R7$(),t.SpI(" ",G.priceText," ")}}function at(U,F){if(1&U&&(t.j41(0,"label",24),t.EFF(1),t.k0s()),2&U){const G=t.XpG(2);t.R7$(),t.SpI(" ",G.priceBottomTagText," ")}}function Bt(U,F){if(1&U&&(t.j41(0,"label",2),t.EFF(1),t.k0s()),2&U){const G=t.XpG(2);t.Y8G("ngClass",t.eq3(2,C,G.priceSubtitleStyle===G.subtitleStyleEnum.Saving)),t.R7$(),t.SpI(" ",G.priceSubtitle," ")}}function _t(U,F){if(1&U&&(t.j41(0,"div",2),t.nVh(1,et,2,4,"label",2),t.j41(2,"div",22),t.nVh(3,Et,2,1,"label",23),t.nVh(4,K,2,4,"label",2),t.nVh(5,at,2,1,"label",24),t.k0s(),t.nVh(6,Bt,2,4,"label",2),t.k0s()),2&U){const G=t.XpG();t.Y8G("ngClass",t.eq3(6,B,!G.selectionButtonItem)),t.R7$(),t.vxM(G.priceTitle?1:-1),t.R7$(2),t.vxM(G.priceTopTagText?3:-1),t.R7$(),t.vxM(G.priceText?4:-1),t.R7$(),t.vxM(G.priceBottomTagText?5:-1),t.R7$(),t.vxM(G.priceSubtitle?6:-1)}}function st(U,F){if(1&U){const G=t.RV6();t.j41(0,"div",25)(1,"conte-dw-button",27),t.bIt("$buttonClickOutput",function(ut){m.eBV(G);const yt=t.XpG(),Re=t.XpG();return m.Njj(Re.actionButtonClickOutput(ut,yt.buttonType))}),t.EFF(2),t.k0s()()}if(2&U){const G=t.XpG(),dt=t.XpG();t.R7$(),t.HbH("w-100 button button-fixed-padding button-"+(G.buttonType===dt.selectionButtonTypeEnum.Edit?"secondary":"primary")),t.R7$(),t.SpI(" ",G.buttonType===dt.selectionButtonTypeEnum.Edit?G.buttonEditText||"Modifica":G.buttonAddText||"Aggiungi"," ")}}function Ut(U,F){if(1&U){const G=t.RV6();t.j41(0,"div",28),t.bIt("click",function(ut){m.eBV(G);const yt=t.XpG(),Re=t.XpG();return m.Njj(Re.actionButtonClickOutput(ut,yt.buttonType))}),t.nrm(1,"img",29),t.k0s()}if(2&U){const G=t.XpG(),dt=t.XpG();t.Y8G("ngClass",t.eq3(3,s,G.buttonType===dt.selectionButtonTypeEnum.Edit)),t.R7$(),t.Y8G("alt",G.buttonType===dt.selectionButtonTypeEnum.Edit?G.buttonEditText||"Modifica":G.buttonAddText||"Aggiungi")("src",G.buttonType===dt.selectionButtonTypeEnum.Edit?"./assets/img/icon-edit.svg":"./assets/img/icon-plus.svg",t.B4B)}}function ft(U,F){if(1&U&&(t.j41(0,"div",2),t.nVh(1,st,3,3,"div",25)(2,Ut,2,5,"div",26),t.k0s()),2&U){const G=t.XpG();t.Y8G("ngClass",t.eq3(2,k,!G.priceText)),t.R7$(),t.vxM(G.cardType===G.cardTypeEnum.Rca&&F.buttonType===G.selectionButtonTypeEnum.Add?1:2)}}function zt(U,F){if(1&U&&(t.j41(0,"div",30),t.nrm(1,"img",17)(2,"br"),t.k0s()),2&U){const G=t.XpG(2);t.R7$(),t.Y8G("src",G.statusTextItem.statusIcon||"./assets/img/check.svg",t.B4B)}}function jt(U,F){if(1&U&&(t.j41(0,"div",13)(1,"label"),t.nVh(2,zt,3,1,"div",30),t.EFF(3),t.k0s()()),2&U){const G=t.XpG();t.R7$(2),t.vxM(G.statusTextItem.showStatusIcon?2:-1),t.R7$(),t.SpI(" ",G.statusTextItem.statusText," ")}}function Nt(U,F){1&U&&t.eu8(0)}function Dt(U,F){if(1&U&&(t.j41(0,"div",14),t.DNE(1,Nt,1,0,"ng-container",16),t.k0s()),2&U){t.XpG();const G=t.sdS(18);t.R7$(),t.Y8G("ngTemplateOutlet",G)}}function pe(U,F){if(1&U&&(t.j41(0,"div",32),t.EFF(1),t.k0s()),2&U){const G=t.XpG(2);t.R7$(),t.SpI(" ",G.tooltipItem.tooltipText||"Info"," ")}}function Lt(U,F){if(1&U){const G=t.RV6();t.j41(0,"conte-dw-button",31),t.bIt("$buttonClickOutput",function(ut){m.eBV(G);const yt=t.XpG();return m.Njj(yt.tooltipClickHandler(ut))}),t.nVh(1,pe,2,1,"div",32),t.k0s()}if(2&U){const G=t.XpG();t.Y8G("imgSrc",G.tooltipItem.tooltipIcon||"./assets/img/icon-info-outline.svg"),t.R7$(),t.vxM(G.cardType===G.cardTypeEnum.Rca?1:-1)}}var fe=function(U){return U.Normal="normal",U.Unavailable="unavailable",U}(fe||{}),St=function(U){return U.Normal="normal",U.LineThrough="line-through",U}(St||{}),Xt=function(U){return U.Normal="normal",U.Offer="offer",U}(Xt||{}),S=function(U){return U.Normal="normal",U.Saving="saving",U}(S||{}),vt=function(U){return U.Add="add",U.Edit="edit",U}(vt||{});let y=(()=>{class U{constructor(G){this.modalService=G,this.cardType=e.YT.Guarantee,this.status=e.gw.Normal,this.iconSrc="./assets/img/icon-conducenti.svg",this.priceTitleStyle=St.Normal,this.priceTextStyle=Xt.Normal,this.priceSubtitleStyle=S.Normal,this.tooltipItem={tooltipIcon:"./assets/img/icon-info-outline.svg",tooltipText:"Info"},this.$optionDropdownClickOutput=new t.bkB,this.$addButtonClickOutput=new t.bkB,this.$editButtonClickOutput=new t.bkB,this.$tooltipClickOutput=new t.bkB,this.$modalCeilingOutput=new t.bkB,this.$modalBonusOutput=new t.bkB,this.cardTypeEnum=e.YT,this.statusEnum=e.gw,this.descriptionSubtitleStyleEnum=fe,this.statusTextItemPositionEnum=e.$X,this.optionsItemTypeEnum=e.FL,this.priceTitleStyleEnum=St,this.priceTextStyleEnum=Xt,this.subtitleStyleEnum=S,this.selectionButtonTypeEnum=vt}optionDropdownClickOutput(G,dt){0===dt?this.modalService.openComponent(M._,{inputs:{...this.modalCeilingConf},outputs:{$closeClickOutput:()=>this.modalService.close(),$buttonClickOutput:ut=>{ut.selectedIndex!==ut.initIndex?(this.modalService.close(),this.$modalCeilingOutput.emit({selectedIndex:ut.selectedIndex,index:dt})):this.modalService.close()}}}):this.modalService.openComponent(c.K,{inputs:{...this.modalBonusConf},outputs:{$closeClickOutput:()=>this.modalService.close(),$buttonClickOutput:ut=>{ut.selectedIndex!==ut.initIndex?(this.modalService.close(),this.$modalBonusOutput.emit({selectedIndex:ut.selectedIndex,index:dt})):this.modalService.close()}}})}actionButtonClickOutput(G,dt=vt.Add){dt===vt.Add?this.$addButtonClickOutput.emit(G):this.$editButtonClickOutput.emit(G)}tooltipClickHandler(G){this.modalService.openComponent(f.O,{inputs:{...this.modalInfoConf,statusRca:this.status,pathFullCoverage:this.iconSrc,nameCoverage:this.descriptionTitleText},outputs:{$closeClickOutput:()=>this.modalService.close(),$actionBtn:()=>{this.modalService.close(),this.$tooltipClickOutput.emit(G)}}})}static{this.\u0275fac=function(dt){return new(dt||U)(t.rXU(n.Bg))}}static{this.\u0275cmp=t.VBU({type:U,selectors:[["conte-dw-coverage-card"]],viewQuery:function(dt,ut){if(1&dt&&t.GBs(g,5),2&dt){let yt;t.mGM(yt=t.lsd())&&(ut.hostElement=yt.first)}},inputs:{cardType:"cardType",status:"status",iconSrc:"iconSrc",descriptionTagText:"descriptionTagText",descriptionTitleText:"descriptionTitleText",descriptionText:"descriptionText",statusTextItem:"statusTextItem",statusTextItemPosition:"statusTextItemPosition",optionsList:"optionsList",priceTopTagText:"priceTopTagText",priceBottomTagText:"priceBottomTagText",priceTitle:"priceTitle",priceTitleStyle:"priceTitleStyle",priceText:"priceText",priceTextStyle:"priceTextStyle",priceSubtitle:"priceSubtitle",priceSubtitleStyle:"priceSubtitleStyle",selectionButtonItem:"selectionButtonItem",tooltipItem:"tooltipItem",modalCeilingConf:"modalCeilingConf",quoteType:"quoteType",modalBonusConf:"modalBonusConf",modalInfoConf:"modalInfoConf"},outputs:{$optionDropdownClickOutput:"$optionDropdownClickOutput",$addButtonClickOutput:"$addButtonClickOutput",$editButtonClickOutput:"$editButtonClickOutput",$tooltipClickOutput:"$tooltipClickOutput",$modalCeilingOutput:"$modalCeilingOutput",$modalBonusOutput:"$modalBonusOutput"},standalone:!1,decls:19,vars:19,consts:[["host",""],["tooltip",""],[3,"ngClass"],[1,"coverage-card__container"],[1,"flex-center","flex-column","coverage-card__left-icon-container"],["alt","",1,"coverage-card__left-icon",3,"src"],[1,"flex-column","flex-center","align-items-start","coverage-card__description-section"],[1,"coverage-card__description-tag"],[1,"d-flex"],[1,"col","p-0","coverage-card__description","d-none","d-md-block"],[1,"col-auto","p-0","coverage-card__description-tooltip-container"],[1,"coverage-card__description-status-text-container"],[1,"flex-center","flex-column","coverage-card__options-container"],[1,"flex-center","coverage-card__status-text-container"],[1,"flex-center","coverage-card__tooltip-container"],[1,"coverage-card__description-title"],[4,"ngTemplateOutlet"],["alt","",3,"src"],[1,"w-100","coverage-card__option"],[1,"w-100","coverage-card__option-value"],[1,"button","flex","button-select",3,"id","imgRight","imgSrc","imgClass"],[1,"button","flex","button-select",3,"$buttonClickOutput","id","imgRight","imgSrc","imgClass"],[1,"row","m-0","coverage-card__price-text-container"],[1,"coverage-card__price-tag","coverage-card__price-tag--top"],[1,"coverage-card__price-tag","coverage-card__price-tag--bottom"],[1,"large-button"],["
1id","selection-button-small",1,"small-button",3,"ngClass"],["id","selection-button-large",3,"$buttonClickOutput"],["id","selection-button-small",1,"small-button",3,"click","ngClass"],["title","select button",3,"alt","src"],[1,"image-check"],["id","info-button","imgClass","medium m-0",1,"button","button-vertical",3,"$buttonClickOutput","imgSrc"],[1,"coverage-card__tooltip-text","d-none","d-md-block"]],template:function(dt,ut){if(1&dt&&(t.j41(0,"div",2,0)(2,"div",3)(3,"div",4),t.nrm(4,"img",5),t.k0s(),t.j41(5,"div",6),t.nVh(6,l,2,1,"label",7),t.nVh(7,h,4,2,"div",8),t.j41(8,"div",8),t.nVh(9,w,2,1,"label",9),t.nVh(10,v,2,1,"div",10),t.k0s(),t.nVh(11,N,3,2,"label",11),t.k0s(),t.nVh(12,gt,3,0,"div",12),t.nVh(13,_t,7,8,"div",2),t.nVh(14,ft,3,4,"div",2),t.nVh(15,jt,4,2,"div",13),t.nVh(16,Dt,2,1,"div",14),t.k0s()(),t.DNE(17,Lt,2,2,"ng-template",null,1,t.C5r)),2&dt){let yt;t.Y8G("ngClass",t.l4e(12,$,ut.status===ut.statusEnum.Added,ut.status===ut.statusEnum.Included,ut.cardType===ut.cardTypeEnum.Guarantee,ut.cardType===ut.cardTypeEnum.Integration,ut.cardType===ut.cardTypeEnum.Rca,ut.cardType===ut.cardTypeEnum.Rca&&!ut.statusTextItem)),t.R7$(4),t.Y8G("src",ut.iconSrc,t.B4B),t.R7$(2),t.vxM(ut.descriptionTagText?6:-1),t.R7$(),t.vxM(ut.descriptionTitleText?7:-1),t.R7$(2),t.vxM(ut.descriptionText?9:-1),t.R7$(),t.vxM(ut.tooltipItem&&ut.cardType!==ut.cardTypeEnum.Rca&&!ut.descriptionTitleText?10:-1),t.R7$(),t.vxM(ut.statusTextItem&&ut.statusTextItemPosition===ut.statusTextItemPositionEnum.Description&&ut.cardType!==ut.cardTypeEnum.Rca?11:-1),t.R7$(),t.vxM((null==ut.optionsList?null:ut.optionsList.length)>0?12:-1),t.R7$(),t.vxM(ut.priceText?13:-1),t.R7$(),t.vxM((yt=ut.selectionButtonItem)?14:-1,yt),t.R7$(),t.vxM(!ut.statusTextItem||ut.statusTextItemPosition!==ut.statusTextItemPositionEnum.Standalone&&ut.cardType!==ut.cardTypeEnum.Rca?-1:15),t.R7$(),t.vxM(ut.tooltipItem&&ut.cardType===ut.cardTypeEnum.Rca?16:-1)}},dependencies:[r.YU,r.T3,_.Q],styles:[".flex-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.flex-end[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center}.flex-start[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center}.circular-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:48px;height:48px;background:#e6eef3;border-radius:50%;cursor:pointer}.circular-button[_ngcontent-%COMP%]:hover{background-color:#f2f6f9}.circular-button[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:24px;height:24px}.circular-button--edit[_ngcontent-%COMP%]{background-color:transparent;border:1px solid #ccdde8}.coverage-card[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{display:grid;grid-template-columns:[icon-section] 91px [description-section] 7fr [options-section] max-content [price-section] max-content [actions-section] max-content [tooltip-section] max-content;min-height:92px;border-radius:10px;background:#fff;box-shadow:0 0 12px 2px #09458514}.coverage-card[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{grid-column:icon-section;width:83px;margin:3px 4px 3px 3px;background:#f7f9fb;border-radius:10px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__left-icon[_ngcontent-%COMP%]{width:52px;height:52px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-section[_ngcontent-%COMP%]{grid-column:description-section;padding:15px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-tag[_ngcontent-%COMP%]{padding:0 5px;margin-bottom:12px;background:#50bf4d;border-radius:4px;color:#fff;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:12px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-title[_ngcontent-%COMP%]{margin-bottom:5px;color:#00558c;font-family:Lato,sans-serif;font-style:normal;font-size:20px;line-height:150%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description[_ngcontent-%COMP%]{color:#646464;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-status-text-container[_ngcontent-%COMP%]{margin-top:10px;color:#50bf4d;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:16px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-tooltip-container[_ngcontent-%COMP%]{position:relative;top:-3.5px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__options-container[_ngcontent-%COMP%]{grid-column:options-section;width:250px;padding:15px 20px;box-shadow:1px 0 #e6eef3,inset 1px 0 #e6eef3}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option[_ngcontent-%COMP%]:not(:last-of-type){padding-bottom:20px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option[_ngcontent-%COMP%]   conte-dw-button[_ngcontent-%COMP%]{display:block;margin:5px -10px 0}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option-title[_ngcontent-%COMP%]{color:#6699ba;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option-title--bold[_ngcontent-%COMP%]{color:#484848;font-weight:700}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option-value[_ngcontent-%COMP%]{color:#484848;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%]{grid-column:price-section;width:120px;padding:8px 15px;box-sizing:content-box;align-items:flex-end}@media (min-width: 1216px){.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%] + .coverage-card__status-text-container[_ngcontent-%COMP%]{padding:8px 20px 8px 0;width:150px}}
1.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-title[_ngcontent-%COMP%]{text-align:end;color:#484848;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-title--line-through[_ngcontent-%COMP%]{color:#8a8a8a;text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:#4dabff}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-text-container[_ngcontent-%COMP%]{width:min-content;white-space:nowrap}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price[_ngcontent-%COMP%]{color:#00558c;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:24px;line-height:140%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price--offer[_ngcontent-%COMP%]{color:#50bf4d}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-tag[_ngcontent-%COMP%]{padding:0 5px;background:#e6eef3;border-radius:4px;color:#00558c;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:12px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-tag--top[_ngcontent-%COMP%]{margin-right:auto}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-tag--bottom[_ngcontent-%COMP%]{margin-left:auto}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-subtitle[_ngcontent-%COMP%]{width:auto!important;margin-top:3px;text-align:end;background:#dcf2db;border-radius:2px;color:#00558c;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:14px;line-height:160%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-subtitle--saving[_ngcontent-%COMP%]{color:#50bf4d;padding:0 3px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]{grid-column:actions-section;width:150px;padding:8px 10px 8px 0;box-sizing:content-box}.coverage-card[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]   conte-dw-button[_ngcontent-%COMP%]{width:100%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{grid-column:actions-section;width:150px;padding:8px 20px 8px 0;box-sizing:content-box;color:#50bf4d;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:160%}@media (min-width: 1140px){.coverage-card[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{padding:8px 10px}}@media (min-width: 1216px){.coverage-card[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{padding:8px 40px;width:auto}}.coverage-card[_ngcontent-%COMP%]   .coverage-card__tooltip-container[_ngcontent-%COMP%]{padding:8px 15px 8px 0}.coverage-card[_ngcontent-%COMP%]   .coverage-card__tooltip-text[_ngcontent-%COMP%]{grid-column:tooltip-section;padding-top:4.5px;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:14px;line-height:160%;color:#00558c;padding-right:7px}.coverage-card--added[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{background:#f5fbf4;border:1px solid #50bf4d;box-shadow:none}.coverage-card--added[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{background:#edf5f0}.coverage-card--included[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{background:#fff;border:1px solid #4dabff;box-shadow:none}.coverage-card--included[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{background:#f7f9fb}.coverage-card--included[_ngcontent-%COMP%]   .coverage-card__description-tag[_ngcontent-%COMP%]{background:#dbeeff;color:#4dabff}.coverage-card--included[_ngcontent-%COMP%]   .coverage-card__description-status-text-container[_ngcontent-%COMP%], .coverage-card--included[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{color:#4dabff}@media (min-width: 1140px){.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-status-text-container[_ngcontent-%COMP%], .coverage-card[_ngcontent-%COMP%]   .coverage-card[_ngcontent-%COMP%]   .small-button[_ngcontent-%COMP%], .coverage-card[_ngcontent-%COMP%]   .coverage-card[_ngcontent-%COMP%]   .image-check[_ngcontent-%COMP%]{display:none}}@media (max-width: 1140px){.coverage-card[_ngcontent-%COMP%]   .coverage-card[_ngcontent-%COMP%]   .large-button[_ngcontent-%COMP%]{display:none}.coverage-card[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{width:65px;justify-content:flex-start}.coverage-card[_ngcontent-%COMP%]   .coverage-card__left-icon[_ngcontent-%COMP%]{width:48px;height:48px;margin:24px 8px 0}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-section[_ngcontent-%COMP%]{padding:15px 10px 10px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-status-text-container[_ngcontent-%COMP%]{margin-top:0}.coverage-card[_ngcontent-%COMP%]   .coverage-card__description-tooltip-container[_ngcontent-%COMP%]{display:none}.coverage-card[_ngcontent-%COMP%]   .coverage-card__options-container[_ngcontent-%COMP%]{width:calc(100% - 20px);padding:0 10px 10px;box-shadow:none}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option[_ngcontent-%COMP%]{width:auto}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option[_ngcontent-%COMP%]:not(:last-of-type){padding-bottom:5px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__option[_ngcontent-%COMP%]   conte-dw-button[_ngcontent-%COMP%]{display:block;margin:5px -5px 0}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%]{width:auto;padding:0 10px 15px;align-items:flex-start}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-title[_ngcontent-%COMP%]{text-align:start}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price[_ngcontent-%COMP%]{font-size:20px;line-height:150%}.coverage-card[_ngcontent-%COMP%]   .coverage-card__price-subtitle[_ngcontent-%COMP%]{text-align:start}.coverage-card[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]{width:auto;padding:15px 26px 15px 20px}.coverage-card[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]   .circular-button[_ngcontent-%COMP%]{margin-left:auto}.coverage-card[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{width:auto;padding:0 10px 10px;justify-content:flex-start}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{grid-template-columns:[icon-section] 71px [central-section] auto [final-section] min-content;grid-template-rows:[row1-start] auto [row2-start] auto [row3-start] auto [row4-start] auto [row4-end]}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{grid-column:icon-section;grid-row:row1-start/row4-end}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__description-section[_ngcontent-%COMP%]{grid-column:central-section;grid-row:row1-start}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__options-container[_ngcontent-%COMP%]{grid-column:central-section/final-section;grid-row:row2-start}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%]{grid-column:central-section/final-section;grid-row:row3-start}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]{grid-column:final-section;grid-row:row1-start/row4-end}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{grid-column:central-section/final-section;grid-row:row4-start}.coverage-card.coverage-card--guarantee[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:none}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{grid-template-columns:[icon-section] 71px [central-section] auto [final-section] min-content;grid-template-rows:[row1-start] auto [row2-start] auto [row3-start] auto [row3-end]}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{grid-column:icon-section;grid-row:row1-start/row4-end}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__description-section[_ngcontent-%COMP%]{grid-column:central-section;grid-row:row1-start}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__options-container[_ngcontent-%COMP%]{grid-column:central-section;grid-row:row3-start}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%]{grid-column:final-section;grid-row:row3-start;padding:0 26px 20px 10px;align-items:flex-end}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__price-container--alone[_ngcontent-%COMP%]{grid-row:row1-start/row3-end;padding:20px 26px}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__price-title[_ngcontent-%COMP%]{text-align:end}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__price[_ngcontent-%COMP%]{font-size:24px;line-height:140%}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__price-text-container[_ngcontent-%COMP%]{justify-content:flex-end}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__price-subtitle[_ngcontent-%COMP%]{text-align:end}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]{grid-column:final-section;grid-row:row1-start/row3-start}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__selection-button-container--alone[_ngcontent-%COMP%]{grid-row:row1-start/row3-end}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{grid-column:central-section;grid-row:row2-start}.coverage-card.coverage-card--integration[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:none}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{position:relative;grid-template-columns:[icon-section] 71px [status-section] auto [price-section] min-content [action-section] min-content [columns-end];grid-template-rows:[row1-start] auto [row2-start] auto [row3-start] auto [row3-end]}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__left-icon-container[_ngcontent-%COMP%]{grid-column:icon-section;grid-row:row1-start/row3-end}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__description-section[_ngcontent-%COMP%]{grid-column:status-section/columns-end;grid-row:row1-start;padding:16px 16px 0}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__options-container[_ngcontent-%COMP%]{grid-column:status-section/columns-end;grid-row:row2-start;width:calc(100% - 30px);padding:0 16px 5px}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__price-title[_ngcontent-%COMP%]{text-align:end}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%]{grid-column:price-section;grid-row:row3-start;padding:0 26px 20px;align-items:flex-end}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__price-text-container[_ngcontent-%COMP%]{justify-content:flex-end}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__selection-button-container[_ngcontent-%COMP%]{grid-column:action-section;grid-row:row3-start;padding:0 26px 15px 20px}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__status-text-container[_ngcontent-%COMP%]{grid-column:status-section;grid-row:row3-start;padding:0 16px 16px}.coverage-card.coverage-card--rca[_ngcontent-%COMP%]   .coverage-card__tooltip-container[_ngcontent-%COMP%]{position:absolute;top:0;right:0;padding:16px}.coverage-card.coverage-card--rca-no-status[_ngcontent-%COMP%]   .coverage-card__container[_ngcontent-%COMP%]{grid-template-columns:[icon-section] 71px [status-section] 0 [price-section] auto [action-section] min-content [columns-end]}.coverage-card.coverage-card--rca-no-status[_ngcontent-%COMP%]   .coverage-card__price-container[_ngcontent-%COMP%]{padding:0 10px 20px;align-items:flex-start}.coverage-card.coverage-card--rca-no-status[_ngcontent-%COMP%]   .coverage-card__price-title[_ngcontent-%COMP%]{text-align:start}}"]})}}return U})()},21099(ht,L,o){"use strict";o.d(L,{$:()=>n});var t=o(44181),e=o(51203);let n=(()=>{class c{constructor(){this.titleText="",this.followTheStep="",this.discountVehicle="",this.clickTheLink="",this.ariaLabelTextForDiscountURL="",this.navigateToDiscountURL="",this.fillTheForm="",this.sendTheRequest="",this.stepsListAriaLabel=""}static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["conte-dw-discount-gift-card"]],inputs:{titleText:"titleText",followTheStep:"followTheStep",discountVehicle:"discountVehicle",clickTheLink:"clickTheLink",ariaLabelTextForDiscountURL:"ariaLabelTextForDiscountURL",navigateToDiscountURL:"navigateToDiscountURL",fillTheForm:"fillTheForm",sendTheRequest:"sendTheRequest",stepsListAriaLabel:"stepsListAriaLabel"},decls:23,vars:9,consts:[[1,"ui-bootstrap","discount-gift-card__container"],[1,"text-center"],[1,"text-uppercase","discount-gift-card__title"],["src","./assets/img/icon-sconti30.svg","width","70","alt","",1,"d-block","d-flex","justify-content-start","discount-gift-card__discount-image"],[1,"discount-gift-card__description",3,"innerHTML"],[1,"p-0","discount-gift-card__description",3,"innerHTML"],[1,"discount-gift-card__divider-line"],[1,"discount-gift-card__list"],["aria-hidden","true",1,"d-flex","justify-content-center","align-items-center","discount-gift-card__instruction-number"],[1,"d-block","discount-gift-card__instruction-text"],["id","discount-click-link","href","https://www.conte.it/assicurazione-
1auto/regala-uno-sconto-sulla-polizza-auto-o-moto/",1,"discount-gift-card__instruction-text--link",3,"innerHTML"],[1,"d-block","discount-gift-card__instruction-text",3,"innerHTML"]],template:function(m,r){1&m&&(e.rj2(0,"div",0)(1,"div",1)(2,"h2",2),e.EFF(3),e.eux(),e.Hgh(4,"img",3)(5,"p",4)(6,"p",5)(7,"div",6),e.rj2(8,"ol",7)(9,"li")(10,"span",8),e.EFF(11," 1 "),e.eux(),e.rj2(12,"span",9),e.Hgh(13,"a",10),e.EFF(14),e.eux()(),e.rj2(15,"li")(16,"span",8),e.EFF(17," 2 "),e.eux(),e.Hgh(18,"span",11),e.eux(),e.rj2(19,"li")(20,"span",8),e.EFF(21," 3 "),e.eux(),e.Hgh(22,"span",11),e.eux()()()()),2&m&&(e.R7$(3),e.SpI(" ",r.titleText," "),e.R7$(2),e.Avn("innerHTML",r.followTheStep,e.npT),e.R7$(),e.Avn("innerHTML",r.discountVehicle,e.npT),e.R7$(2),e.BMQ("aria-label",r.stepsListAriaLabel),e.R7$(5),e.Avn("innerHTML",r.clickTheLink,e.npT),e.BMQ("aria-label",r.ariaLabelTextForDiscountURL),e.R7$(),e.SpI(" ",r.navigateToDiscountURL),e.R7$(4),e.Avn("innerHTML",r.fillTheForm,e.npT),e.R7$(4),e.Avn("innerHTML",r.sendTheRequest,e.npT))},dependencies:[t.MD],styles:['@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.discount-gift-card__instruction-text--link[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;color:inherit;display:inline-block;position:relative;text-align:center;text-decoration:none;font-size:16px;font-weight:700;line-height:160%}.discount-gift-card__instruction-text--link[_ngcontent-%COMP%]:focus-visible{outline:none}.discount-gift-card__instruction-text--link[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}.discount-gift-card__container[_ngcontent-%COMP%]{padding:38px 32px 50px;border-radius:12px;box-shadow:0 -2px 12px #1f5eca1a;background:url(assets/img/shape-airplane-mask.svg) no-repeat center 60% #fff!important}.discount-gift-card__title[_ngcontent-%COMP%]{padding-bottom:25px;font-weight:700;font-size:28px}.discount-gift-card__discount-image[_ngcontent-%COMP%]{margin:0 auto;padding-bottom:15px}.discount-gift-card__description[_ngcontent-%COMP%]{margin:0;padding-bottom:10px;font-size:20px;line-height:150%}.discount-gift-card__divider-line[_ngcontent-%COMP%]{width:100px;height:2px;margin:40px auto;background-color:#4dabff}.discount-gift-card__instruction-number[_ngcontent-%COMP%]{width:32px;height:32px;margin:0 auto 11px;font-size:20px;border:2px solid #4dabff;border-radius:50%;background-color:#fff}.discount-gift-card__instruction-text[_ngcontent-%COMP%]{margin:0 auto 30px;line-height:140%}.discount-gift-card__instruction-text--link[_ngcontent-%COMP%]{font-weight:900;color:#0075dd}.discount-gift-card__instruction-text--link[_ngcontent-%COMP%]:hover{color:#4dabff}@media (max-width: 767px){.discount-gift-card__container[_ngcontent-%COMP%]{padding:32px 32px 30px}.discount-gift-card__title[_ngcontent-%COMP%]{padding-bottom:23px;font-size:20px;line-height:150%;font-weight:700}.discount-gift-card__discount-image[_ngcontent-%COMP%]{padding-bottom:22px}.discount-gift-card__description[_ngcontent-%COMP%]{font-size:18px;padding-bottom:6px}.discount-gift-card__divider-line[_ngcontent-%COMP%]{margin:34px auto 40px}}']})}}return c})()},99744(ht,L,o){"use strict";o.d(L,{u:()=>tt});var t=o(44181),e=o(51203),n=o(23321),c=o(35727),f=o(28955),M=o(86765),m=o(97959),r=o(92278),_=o(52271),g=o(4281),$=o(80226),T=o(32807),B=o(46773),A=o(72463),I=o(49582),C=o(60401),k=o(97253),s=o(48857),l=o(40451),E=o(85810),p=o(77721),h=o(31628);const w=H=>({"consent-dirty":H}),z=(H,nt)=>nt.id;function v(H,nt){1&H&&e.nrm(0,"img",10)}function D(H,nt){1&H&&e.nrm(0,"img",11)}function N(H,nt){if(1&H&&(e.j41(0,"div",12),e.nrm(1,"span",13),e.k0s()),2&H){const V=e.XpG().$implicit;e.R7$(),e.Y8G("innerHTML",V.info,e.npT)}}function W(H,nt){if(1&H){const V=e.RV6();e.j41(0,"div",7)(1,"div",1)(2,"label",2)(3,"input",3),e.mxI("ngModelChange",function(Yt){const ge=$.eBV(V).$implicit;return e.DH7(ge.checked,Yt)||(ge.checked=Yt),$.Njj(Yt)}),e.bIt("change",function(){$.eBV(V);const Yt=e.XpG();return $.Njj(Yt.toggleDetailConsent())}),e.k0s(),e.nrm(4,"div",4)(5,"span",5),e.k0s(),e.j41(6,"div",8),e.bIt("click",function(){const Yt=$.eBV(V).$index,ge=e.XpG();return $.Njj(ge.toggleInfo(Yt))}),e.j41(7,"div",9)(8,"b"),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.nVh(11,v,1,0,"img",10),e.nVh(12,D,1,0,"img",11),e.k0s(),e.nVh(13,N,2,1,"div",12),e.k0s()()()}if(2&H){const V=nt.$implicit;e.R7$(3),e.R50("ngModel",V.checked),e.R7$(),e.Y8G("innerHTML",V.label,e.npT),e.R7$(5),e.JRh(e.bMT(10,6,"detail.commercialPrivacy.accordionTitle")),e.R7$(2),e.vxM(V.showMore?11:-1),e.R7$(),e.vxM(V.showMore?-1:12),e.R7$(),e.vxM(V.showMore?13:-1)}}let pt=(()=>{class H{constructor(){this.$flagsChange=new e.bkB,this.translate=(0,$.WQX)(C.c$),this.changeDetectorRef=(0,$.WQX)(I.gRc),this.hubSpotConsentConnectorFacade=(0,$.WQX)(p.Z),this.onDestroy$=new k.B,this.macroconsent={checked:!1}
1,this.isDirty=!1,this.consents=[],this.hubSpotConsentLabel=this.translate.instant(l.o.LABEL)}getConsents(){return this.consents}ngOnInit(){this.hubSpotConsentConnectorFacade.setDefaultConsents("renewal"),this.hubSpotConsentConnectorFacade.consents$.pipe((0,s.Q)(this.onDestroy$)).subscribe(V=>{V&&(this.consents=JSON.parse(JSON.stringify(V)),this.changeDetectorRef.detectChanges())})}ngOnDestroy(){this.onDestroy$.next()}toggleMacroconsent(){this.isDirty=this.macroconsent.checked,this.consents.forEach(V=>{V.checked=this.macroconsent.checked}),this.sendContactUpsert()}toggleDetailConsent(){this.isDirty=this.consents.some(V=>V.checked),this.macroconsent.checked=this.consents.every(V=>V.checked),this.sendContactUpsert()}sendContactUpsert(){const V={...E.Z3};this.consents.forEach(Gt=>{Gt.id in V&&(V[Gt.id]=Gt.checked)}),this.$flagsChange.emit(V)}toggleInfo(V){this.consents&&(this.consents[V].showMore=!this.consents[V].showMore)}static{this.\u0275fac=function(Gt){return new(Gt||H)}}static{this.\u0275cmp=e.VBU({type:H,selectors:[["conte-dw-hubspot-consent"]],outputs:{$flagsChange:"$flagsChange"},standalone:!1,decls:9,vars:5,consts:[[1,"hubspot-consent-box",3,"ngClass"],[1,"dw-checkbox-container","checkbox-border","checkbox-privacy"],[1,"dw-checkbox"],["type","checkbox",3,"ngModelChange","change","ngModel"],[1,"dw-checkbox-box",3,"innerHTML"],[1,"dw-checkbox-checkmark"],[1,"hubspot-consent-details"],[1,"consent-section"],[1,"info-toggle",3,"click"],[1,"info-toggle-button"],["src","./assets/img/chevron-up.svg"],["src","./assets/img/chevron-down.svg"],[1,"info-box"],[3,"innerHTML"]],template:function(Gt,Yt){1&Gt&&(e.j41(0,"div",0)(1,"div",1)(2,"label",2)(3,"input",3),e.mxI("ngModelChange",function(se){return e.DH7(Yt.macroconsent.checked,se)||(Yt.macroconsent.checked=se),se}),e.bIt("change",function(){return Yt.toggleMacroconsent()}),e.k0s(),e.nrm(4,"div",4)(5,"span",5),e.k0s()(),e.j41(6,"div",6),e.Z7z(7,W,14,8,"div",7,z),e.k0s()()),2&Gt&&(e.Y8G("ngClass",e.eq3(3,w,Yt.isDirty)),e.R7$(3),e.R50("ngModel",Yt.macroconsent.checked),e.R7$(),e.Y8G("innerHTML",Yt.hubSpotConsentLabel,e.npT),e.R7$(3),e.Dyx(Yt.consents))},dependencies:[t.YU,n.Zm,n.BC,n.vS,h.D9],styles:['.hubspot-consent-box[_ngcontent-%COMP%]{display:flex;width:100%;padding:16px 16px 16px 12px;flex-direction:column;align-items:flex-start;gap:8px;border-radius:10px;border:1px solid #ccdde8;background:#fff;margin-top:15px;color:#484848}.hubspot-consent-box.consent-dirty[_ngcontent-%COMP%]{border:1px solid #4dabff;background:#f1f8ff}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox[_ngcontent-%COMP%]{position:relative;width:100%;max-width:100%}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-label[_ngcontent-%COMP%]{padding-left:35px}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-label.smartQuoteView[_ngcontent-%COMP%]{color:#646464}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-label.smartQuoteView[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:auto;text-underline-offset:4px;font-weight:400;cursor:pointer}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-text[_ngcontent-%COMP%]{padding-left:35px;color:#646464}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);left:0;height:22px;width:22px;opacity:0;cursor:pointer;margin:0;z-index:-1}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-checkmark[_ngcontent-%COMP%]{position:absolute;top:15px;transform:translateY(-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);left:0;height:22px;width:22px;border:1px solid #ccdde8;background-color:transparent;border-radius:4px;cursor:pointer}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-checkmark.smartQuoteView[_ngcontent-%COMP%]{border:2px solid #ccdde8}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked ~ .dw-checkbox-checkmark[_ngcontent-%COMP%]{border-color:#0075dd;background-color:#0075dd}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-checkmark[_ngcontent-%COMP%]:after{content:"";display:none;position:absolute;height:14px;width:8px;border-bottom:3px solid #ffffff;
1border-right:3px solid #ffffff;border-radius:0 2px;top:40%;left:50%;transform:translate(-50%,-50%) rotate(45deg);-webkit-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg)}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked ~ .dw-checkbox-checkmark[_ngcontent-%COMP%]:after{display:block}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   .dw-checkbox-message[_ngcontent-%COMP%]{padding-top:5px}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked:disabled ~ .dw-checkbox-checkmark[_ngcontent-%COMP%]{background-color:#b7b7b7;border:none;pointer-events:none}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked:disabled ~ .dw-checkbox-box[_ngcontent-%COMP%]{background-color:#f6f6f6;border-color:#f6f6f6}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled ~ .dw-checkbox-box[_ngcontent-%COMP%]   .dw-checkbox-label[_ngcontent-%COMP%], .hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled ~ .dw-checkbox-box[_ngcontent-%COMP%]   .dw-checkbox-text[_ngcontent-%COMP%], .hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled ~ .dw-checkbox-box[_ngcontent-%COMP%]   .dw-checkbox-label[_ngcontent-%COMP%]:not([class*=smartQuoteView])   .dw-link-no-underline[_ngcontent-%COMP%]{color:#b7b7b7}.hubspot-consent-box[_ngcontent-%COMP%]   .dw-checkbox-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:disabled ~ .dw-checkbox-box[_ngcontent-%COMP%]   .dw-checkbox-label[_ngcontent-%COMP%]   .dw-link-no-underline[_ngcontent-%COMP%]{pointer-events:none}.hubspot-consent-box[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#484848;font-feature-settings:"liga" off,"clig" off;display:flex;align-items:flex-start;padding-left:35px;font-family:Lato,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:160%}.hubspot-consent-box[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);left:0;height:22px;width:22px;opacity:0;cursor:pointer;margin:0;z-index:-1}.hubspot-consent-box[_ngcontent-%COMP%]   .hubspot-consent-details[_ngcontent-%COMP%]{padding-left:25px;font-size:12px;font-weight:400;line-height:160%;font-family:Lato,sans-serif;font-style:normal}.hubspot-consent-box[_ngcontent-%COMP%]   .consent-section[_ngcontent-%COMP%]{margin-top:12px;font-family:Lato,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:160%}.hubspot-consent-box[_ngcontent-%COMP%]   .info-toggle[_ngcontent-%COMP%]{cursor:pointer;font-family:Lato,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:160%;margin-top:8px;padding-left:35px}.hubspot-consent-box[_ngcontent-%COMP%]   .info-toggle-button[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-content:center}.hubspot-consent-box[_ngcontent-%COMP%]   .info-box[_ngcontent-%COMP%]{margin-top:8px;font-family:Lato,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:160%}'],changeDetection:0})}}return H})();const ot=(H,nt)=>({"mt-0":H,"mt-md-1-0":nt}),gt=H=>({"mt-3":H}),et=H=>({"mb-0":H});function Et(H,nt){if(1&H&&(e.j41(0,"div",2),e.nrm(1,"p",13),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.Y8G("innerHTML",V.headerText,e.npT)}}function K(H,nt){if(1&H&&(e.j41(0,"p",14),e.EFF(1),e.k0s(),e.nrm(2,"div",15)),2&H){const V=e.XpG();e.R7$(),e.Lme(" ",V.additionalVehicleInfo.model," - ",V.additionalVehicleInfo.plate," ")}}function at(H,nt){if(1&H&&(e.j41(0,"div",4),e.nrm(1,"p",16),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.Y8G("innerHTML",V.paymentInfo.biannualPaymentData.totalAnnualPrice,e.npT)}}function Bt(H,nt){if(1&H&&(e.j41(0,"div",17),e.nrm(1,"conte-dw-labels",18),e.k0s()),2&H){const V=e.XpG();e.HbH(V.paymentInfo.biannualPaymentData?"":"payment-info-card__price-type-label"),e.Y8G("ngClass",e.l_i(6,ot,!(V.headerText||null!=V.paymentInfo.biannualPaymentData&&V.paymentInfo.biannualPaymentData.totalAnnualPrice),!(null!=V.paymentInfo.biannualPaymentData&&V.paymentInfo.biannualPaymentData.totalAnnualPrice))),e.R7$(),e.HbH(V.priceLabel.labelClasses),e.Y8G("text",V.priceLabel.priceType)}}function _t(H,nt){if(1&H&&(e.j41(0,"div",6)(1,"h1")(2,"span",19),e.EFF(3,"\u20ac"),e.k0s(),e.EFF(4),e.j41(5,"span",19),e.EFF(6),e.k0s()()()),2&H){const V=e.XpG();e.R7$(4),e.SpI(" ",null==V.paymentInfo?null:V.paymentInfo.priceToPay[0]),e.R7$(2),e.SpI(",",null==V.paymentInfo?null:V.paymentInfo.priceToPay[1]," ")}}function st(H,nt){if(1&H&&(e.j41(0,"div",7),e.nrm(1,"p",16),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.Y8G("innerHTML",V.paymentInfo.discountedPrice,e.npT)}}function Ut(H,nt){if(1&H&&e.nrm(0,"p",20),2&H){const V=nt.$index,Gt=e.XpG(2);e.Y8G("innerHTML",Gt.descriptionLabels[V],e.npT)}}function ft(H,nt){if(1&H&&(e.j41(0,"div",8),e.Z7z(1,Ut,1,1,"p",20,e.fX1),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.Dyx(V.descriptionLabels)}}function zt(H,nt){if(1&H){const V=e.RV6();e.j41(0,"div",9)(1,"conte-dw-button-form",21),e.bIt("$buttonClickOutput",function(Yt){$.eBV(V);const ge=e.XpG();return $.Njj(ge.onMainCallToActionClick(Yt))}),e.EFF(2),e.k0s()()}if(2&H){const V=e.XpG();e.Y8G("ngClass",e.eq3(5,gt,!(null!=V.paymentInfo&&V.paymentInfo.discountedPrice||V.descriptionLabels))),e.R7$(),e.HbH("button form w-100 "+V.mainCallToAction.style),e.Y8G("disabled",V.mainCallToAction.disabled),e.R7$(),e.SpI(" ",V.mainCallToAction.label," ")}}function jt(H,nt){if(1&H&&(e.j41(0,"div",10),e.nrm(1,"conte-dw-payment-card-info",22),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.Y8G("iconCard",V.savedCard.icon)("lastDigits",V.savedCard.lastDigits)("bankTransferCaption",V.savedCard.bankTransferCaption)}}function Nt(H,nt){if(1&H&&(e.j41(0,"div",11),e.nrm(1,"p",23),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.Y8G("innerHTML",V.paymentInfo.biannualPaymentData.secondInstallment,e.npT)}}function Dt(H,nt){if(1&H&&(e.j41(0,"div"),e.nrm(1,"p",24),e.k0s()),2&H){const V=e.XpG();e.HbH("payment-info-card__vehicle-info d-md-block "+V.vehicleInfoStyle),e.R7$(),e.Y8G("innerHTML",V.vehicleInfo,e.npT)}}function pe(H,nt){1&H&&e.nrm(0,"div",33)}function Lt(H,nt){if(1&H){const V=e.RV6();e.j41(0,"conte-dw-button-form",36),e.bIt("$buttonClickOutput",function(Yt){$.eBV(V);const ge=e.XpG(3);return $.Njj(ge.onSecondaryCallToActionClick(Yt))}),e.EFF(1),e.k0s()}if(2&H){const V=e.XpG(3);e.HbH("button form w-100 "+V.secondaryCallToAction.secondaryButton.style),e.Y8G("imgSrc",V.secondaryCallToAction.secondaryButton.image?"./assets/img/"+V.secondaryCallToAction.secondaryButton.image:""),e.R7$(),e.SpI(" ",V.secondaryCallToAction.secondaryButton.label," ")}}function fe(H,nt){if(1&H&&(e.j41(0,"div",25),e.nVh(1,pe,1,0,"div",33),e.nrm(2,"p",34),e.nVh(3,Lt,2,4,"conte-dw-button-form",35),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.vxM(V.secondaryCallToAction.showDivider?1:-1),e.R7$(),e.HbH("payment-info-card__footer-label "+V.secondaryCallToAction.captionStyle),e.Y8G("ngClass",e.eq3(6,et,!(null!=V.secondaryCallToAction&&V.secondaryCallToAction.secondaryButton||null!=V.paymentInfo&&V.paymentInfo.expirationDateInfo||V.paymentSavedData)))("innerHTML",V.secondaryCallToAction.caption,e.npT),e.R7$(),e.vxM(V.secondaryCallToAction.secondaryButton?3:-1)}}function St(H,nt){if(1&H){const V=e.RV6();e.j41(0,"div",26)(1,"conte-dw-button-form",37),e.bIt("$buttonClickOutput",function(Yt){$.eBV(V);const ge=e.XpG(2);return $.Njj(ge.onTertiaryCallToActionClick(Yt))}),e.EFF(2),e.k0s()()}if(2&H){const V=e.XpG(2);e.R7$(),e.HbH("button form w-100 "+V.tertiaryCallToAction.style),e.R7$(),e.SpI(" ",V.tertiaryCallToAction.label," ")}}function Xt(H,nt){if(1&H&&e.nrm(0,"img",40),2&H){const V=e.XpG(4);e.Y8G("src",V.secondaryCallToAction.secondaryButton.image,e.B4B)}}function S(H,nt){if(1&H){const V=e.RV6();e.j41(0,"div",38)(1,"a",39),e.bIt("click",function(Yt){$.eBV(V);const ge=e.XpG(3);return $.Njj(ge.onSecondaryCallToActionClick(Yt))}),e.EFF(2),e.k0s(),e.nVh(3,Xt,1,1,"img",40),e.k0s()}if(2&H){const V=e.XpG(3);e.R7$(2),e.SpI(" ",null==V.secondaryCallToAction.secondaryButton?null:V.secondaryCallToAction.secondaryButton.label," "),e.R7$(),e.vxM(null!=V.secondaryCallToAction.secondaryButton&&V.secondaryCallToAction.secondaryButton.image?3:-1)}}function vt(H,nt){if(1&H&&e.nrm(0,"img",40),2&H){const V=e.XpG(4);e.Y8G("src",V.tertiaryCallToAction.image,e.B4B)}}function y(H,nt){if(1&H){const V=e.RV6();e.j41(0,"div",38)(1,"a",39),e.bIt("click",function(Yt){$.eBV(V);const ge=e.XpG(3);return $.Njj(ge.onTertiaryCallToActionClick(Yt))}),e.EFF(2),e.k0s(),e.nVh(3,vt,1,1,"img",40),e.k0s()}if(2&H){const V=e.XpG(3);e.R7$(2),e.JRh(V.tertiaryCallToAction.label),e.R7$(),e.vxM(V.tertiaryCallToAction.image?3:-1)}}function U(H,nt){if(1&H&&(e.j41(0,"div",27),e.nVh(1,S,4,2,"div",38),e.nVh(2,y,4,2,"div",38),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.vxM(V.secondaryCallToAction&&(null==V.secondaryCallToAction.secondaryButton?null:V.secondaryCallToAction.secondaryButton.viewStyle)===V.CTAViewStyle.LINK?1:-1),e.R7$(),e.vxM(V.tertiaryCallToAction&&V.tertiaryCallToAction.viewStyle===V.CTAViewStyle.LINK?2:-1)}}function F(H,nt){if(1&H&&(e.j41(0,"div",28),e.EFF(1),e.nI1(2,"lowercase"),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,V.dividerWithLabel))}}function G(H,nt){if(1&H){const V=e.RV6();e.j41(0,"div",29)(1,"conte-dw-button-form",41),e.bIt("$buttonClickOutput",function(Yt){$.eBV(V);const ge=e.XpG(2);return $.Njj(ge.onQuaternaryCallToActionClick(Yt))}),e.EFF(2),e.k0s()()}if(2&H){const V=e.XpG(2);e.R7$(),e.HbH("button w-100 mt-3 "+V.quaternaryCallToAction.style),e.Y8G("imgSrc",V.quaternaryCallToAction.image)("imgRight",!0),e.R7$(),e.SpI(" ",V.quaternaryCallToAction.label," ")}}function dt(H,nt){if(1&H&&(e.j41(0,"div",30),e.nrm(1,"conte-dw-osm-paypal-widget",42),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.Y8G("amount",V.osmWidgetConfig.amount)}}function ut(H,nt){if(1&H&&(e.j41(0,"div"),e.nrm(1,"p",24),e.k0s()),2&H){const V=e.XpG(3);e.HbH("payment-info-card__vehicle-info d-md-block "+V.vehicleInfoStyle),e.R7$(),e.Y8G("innerHTML",V.vehicleInfo,e.npT)}}function yt(H,nt){if(1&H&&(e.j41(0,"div",30),e.nrm(1,"conte-dw-osm-klarna-widget",43),e.k0s(),e.nVh(2,ut,2,3,"div",12)),2&H){const V=e.XpG(2);e.R7$(),e.Y8G("amount",V.osmWidgetConfig.amount)("locale",V.osmWidgetConfig.locale),e.R7$(),e.vxM(V.vehicleInfo&&V.switchVehicleInfoPosition?2:-1)}}function Re(H,nt){if(1&H&&(e.j41(0,"div",31),e.nrm(1,"conte-dw-checkbox",44),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.Y8G("checkboxStyle",V.privacyCheckboxInfo.style)("inputId",V.privacyCheckboxInfo.inputId)("inputName",V.privacyCheckboxInfo.inputName)("label",V.privacyCheckboxInfo.label)("formControl",V.privacyCheckboxInfo.privacyCheckboxFormControl)("message",null!=V.privacyCheckboxInfo.privacyCheckboxFormControl&&V.privacyCheckboxInfo.privacyCheckboxFormControl.touched&&null!=V.privacyCheckboxInfo.privacyCheckboxFormControl&&V.privacyCheckboxInfo.privacyCheckboxFormControl.invalid?V.privacyCheckboxInfo.message:"")}}function Pe(H,nt){if(1&H){const V=e.RV6();e.j41(0,"conte-dw-hubspot-consent",45),e.bIt("$flagsChange",function(Yt){$.eBV(V);const ge=e.XpG(2);return $.Njj(ge.hubspotConsentFlags(Yt))}),e.k0s()}}function qe(H,nt){if(1&H&&(e.j41(0,"div",32),e.nrm(1,"img",46)(2,"p",47),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.Y8G("src","./assets/img/"+V.paymentInfo.expirationDateInfo.image,e.B4B),e.R7$(),e.Y8G("innerHTML",V.paymentInfo.expirationDateInfo.label,e.npT)}}function oe(H,nt){if(1&H&&(e.j41(0,"div"),e.nrm(1,"conte-dw-payment-saved",48),e.k0s()),2&H){const V=e.XpG(2);e.R7$(),e.Y8G("iconCard",V.paymentSavedData.icon)("lastDigits",V.paymentSavedData.lastDigits)("paymentSavedText",V.paymentSavedData.paymentSavedText)("descriptionText",V.paymentSavedData.descriptionText)("isPaymentInfoCard",!0)}}function wt(H,nt){if(1&H&&(e.j41(0,"div"),e.nVh(1,fe,4,8,"div",25),e.nVh(2,St,3,3,"div",26),e.nVh(3,U,3,2,"div",27),e.nVh(4,F,3,3,"div",28),e.nVh(5,G,3,5,"div",29),e.nVh(6,dt,2,1,"div",30),e.nVh(7,yt,3,3),e.nVh(8,Re,2,6,"div",31),e.nVh(9,Pe,1,0,"conte-dw-hubspot-consent"),e.nV
1h(10,qe,3,2,"div",32),e.nVh(11,oe,2,5,"div"),e.k0s()),2&H){const V=e.XpG();e.R7$(),e.vxM(V.secondaryCallToAction&&(null==V.secondaryCallToAction.secondaryButton?null:V.secondaryCallToAction.secondaryButton.viewStyle)!==V.CTAViewStyle.LINK?1:-1),e.R7$(),e.vxM(V.tertiaryCallToAction&&V.tertiaryCallToAction.viewStyle!==V.CTAViewStyle.LINK?2:-1),e.R7$(),e.vxM(V.secondaryCallToAction&&(null==V.secondaryCallToAction||null==V.secondaryCallToAction.secondaryButton?null:V.secondaryCallToAction.secondaryButton.viewStyle)===V.CTAViewStyle.LINK||V.tertiaryCallToAction&&V.tertiaryCallToAction.viewStyle===V.CTAViewStyle.LINK?3:-1),e.R7$(),e.vxM(V.dividerWithLabel?4:-1),e.R7$(),e.vxM(V.quaternaryCallToAction?5:-1),e.R7$(),e.vxM((null==V.osmWidgetConfig?null:V.osmWidgetConfig.provider)===V.OsmProviderEnum.PayPal?6:-1),e.R7$(),e.vxM((null==V.osmWidgetConfig?null:V.osmWidgetConfig.provider)===V.OsmProviderEnum.Klarna?7:-1),e.R7$(),e.vxM(V.privacyCheckboxInfo?8:-1),e.R7$(),e.vxM(V.privacyCheckboxInfo&&!V.privacyCheckboxInfo.avoidHubSpotContent?9:-1),e.R7$(),e.vxM(null!=V.paymentInfo&&V.paymentInfo.expirationDateInfo?10:-1),e.R7$(),e.vxM(V.paymentSavedData?11:-1)}}let tt=(()=>{class H{constructor(){this.$mainCallToActionClickOutput=new e.bkB,this.$secondaryCallToActionClickOutput=new e.bkB,this.$tertiaryCallToActionClickOutput=new e.bkB,this.$quaternaryCallToActionClickOutput=new e.bkB,this.$flagsChange=new e.bkB,this.CTAViewStyle=g.R,this.OsmProviderEnum=g.m}onMainCallToActionClick(V){this.$mainCallToActionClickOutput.emit(V)}hubspotConsentFlags(V){this.$flagsChange.emit(V)}onSecondaryCallToActionClick(V){this.$secondaryCallToActionClickOutput.emit(V)}onTertiaryCallToActionClick(V){this.$tertiaryCallToActionClickOutput.emit(V)}onQuaternaryCallToActionClick(V){this.$quaternaryCallToActionClickOutput.emit(V)}static{this.\u0275fac=function(Gt){return new(Gt||H)}}static{this.\u0275cmp=e.VBU({type:H,selectors:[["conte-dw-payment-info-card"]],inputs:{headerText:"headerText",priceLabel:"priceLabel",paymentInfo:"paymentInfo",mainCallToAction:"mainCallToAction",tertiaryCallToAction:"tertiaryCallToAction",savedCard:"savedCard",vehicleInfo:"vehicleInfo",vehicleInfoStyle:"vehicleInfoStyle",privacyCheckboxInfo:"privacyCheckboxInfo",secondaryCallToAction:"secondaryCallToAction",descriptionLabels:"descriptionLabels",paymentSavedData:"paymentSavedData",additionalVehicleInfo:"additionalVehicleInfo",quaternaryCallToAction:"quaternaryCallToAction",osmWidgetConfig:"osmWidgetConfig",switchVehicleInfoPosition:"switchVehicleInfoPosition",dividerWithLabel:"dividerWithLabel"},outputs:{$mainCallToActionClickOutput:"$mainCallToActionClickOutput",$secondaryCallToActionClickOutput:"$secondaryCallToActionClickOutput",$tertiaryCallToActionClickOutput:"$tertiaryCallToActionClickOutput",$quaternaryCallToActionClickOutput:"$quaternaryCallToActionClickOutput",$flagsChange:"$flagsChange"},features:[e.Jv_([f.Bg])],decls:15,vars:12,consts:[[1,"ui-bootstrap"],[1,"dw-card","dw-card-default","payment-info-card"],[1,"payment-info-card__header","d-md-none"],[1,"d-flex","flex-column","justify-content-center","align-items-center"],[1,"payment-info-card__total-price-label"],[3,"class","ngClass"],[1,"payment-info-card__price-label"],[1,"payment-info-card__discounted-price-label"],[1,"payment-info-card__description"],[1,"w-100",3,"ngClass"],[1,"payment-info-card__saved-card"],[1,"payment-info-card__second-installment-info"],[3,"class"],[1,"text-center","small-subtitle",3,"innerHTML"],[1,"font-weight-bold","small-body"],[1,"dw-line","mb-3"],[1,"font-weight-bold",3,"innerHTML"],[3,"ngClass"],[3,"text"],[1,"h2","font-weight-bold"],[1,"payment-info-card__description-label","text-center","small-body",3,"innerHTML"],[3,"$buttonClickOutput","disabled"],[3,"iconCard","lastDigits","bankTransferCaption"],[1,"payment-info-card__second-installment-info__labels","text-center","font-weight-bold","small-body",3,"innerHTML"],[1,"text-center",3,"innerHTML"],[1,"payment-info-card__footer-call-to-action"],[1,"payment-info-card__tertiaryCta"],[1,"mt-3","d-flex"],[1,"payment-info-card__divider-element","mt-3"],[1,"payment-info-card__quaternaryCta"],[1,"payment-info-card__osm-widget","mt-3"],[1,"payment-info-card__privacy-checkbox"],[1,"payment-info-card__expiration-date","d-flex","flex-column","justify-content-center","align-items-center","d-md-none"],[1,"dw-line"],[3,"ngClass","innerHTML"],[3,"class","imgSrc"],[3,"$buttonClickOutput","imgSrc"],[3,"$buttonClickOutput"],[1,"d-flex","mx-auto","payment-info-card__cta-as-link"],[3,"click"],[1,"wallet","ml-1",3,"src","alt"],["imgClass","ml-2",3,"$buttonClickOutput","imgSrc","imgRight"],[3,"amount"],[3,"amount","locale"],[3,"checkboxStyle","
1inputId","inputName","label","formControl","message"],[3,"$flagsChange"],["alt","",1,"payment-info-card__expiration-date-img",3,"src"],[1,"text-center","payment-info-card__expiration-date-label",3,"innerHTML"],[3,"iconCard","lastDigits","paymentSavedText","descriptionText","isPaymentInfoCard"]],template:function(Gt,Yt){1&Gt&&(e.j41(0,"div",0)(1,"div",1),e.nVh(2,Et,2,1,"div",2),e.j41(3,"div",3),e.nVh(4,K,3,2),e.nVh(5,at,2,1,"div",4),e.nVh(6,Bt,2,9,"div",5),e.nVh(7,_t,7,2,"div",6),e.nVh(8,st,2,1,"div",7),e.nVh(9,ft,3,0,"div",8),e.nVh(10,zt,3,7,"div",9),e.nVh(11,jt,2,3,"div",10),e.nVh(12,Nt,2,1,"div",11),e.nVh(13,Dt,2,3,"div",12),e.k0s(),e.nVh(14,wt,12,11,"div"),e.k0s()()),2&Gt&&(e.R7$(2),e.vxM(Yt.headerText?2:-1),e.R7$(2),e.vxM(Yt.additionalVehicleInfo?4:-1),e.R7$(),e.vxM(null!=Yt.paymentInfo&&null!=Yt.paymentInfo.biannualPaymentData&&Yt.paymentInfo.biannualPaymentData.totalAnnualPrice?5:-1),e.R7$(),e.vxM(null!=Yt.priceLabel&&Yt.priceLabel.priceType?6:-1),e.R7$(),e.vxM(Yt.paymentInfo?7:-1),e.R7$(),e.vxM(null!=Yt.paymentInfo&&Yt.paymentInfo.discountedPrice?8:-1),e.R7$(),e.vxM(Yt.descriptionLabels?9:-1),e.R7$(),e.vxM(Yt.mainCallToAction?10:-1),e.R7$(),e.vxM(Yt.savedCard&&!Yt.paymentSavedData?11:-1),e.R7$(),e.vxM(null!=Yt.paymentInfo&&Yt.paymentInfo.biannualPaymentData?12:-1),e.R7$(),e.vxM(Yt.vehicleInfo&&!Yt.switchVehicleInfoPosition?13:-1),e.R7$(),e.vxM(Yt.privacyCheckboxInfo||Yt.secondaryCallToAction||Yt.tertiaryCallToAction||null!=Yt.paymentInfo&&Yt.paymentInfo.expirationDateInfo||Yt.paymentSavedData||Yt.vehicleInfo&&Yt.switchVehicleInfoPosition||Yt.osmWidgetConfig?14:-1))},dependencies:[t.MD,t.YU,r.Y,T.H,M.ne,B.G,_.Sp,m.q4,A.P,n.X1,n.BC,n.l_,_.vK,c.vr,pt,_.wx,_.yB,t.GH],styles:['.payment-info-card[_ngcontent-%COMP%]{padding:16px}.payment-info-card__header[_ngcontent-%COMP%]{background-color:#f7f9fb;margin:-16px -16px 0;padding:12px 16px}.payment-info-card__price-type-label[_ngcontent-%COMP%]{margin-top:20px}.payment-info-card__total-price-label[_ngcontent-%COMP%]{color:#b7b7b7;margin:12px 0}.payment-info-card__discounted-price-label[_ngcontent-%COMP%]{color:#b7b7b7;margin-bottom:20px}.payment-info-card__price-label[_ngcontent-%COMP%]{margin-top:12px;font-weight:900}.payment-info-card__saved-card[_ngcontent-%COMP%]{margin-top:12px}.payment-info-card__second-installment-info[_ngcontent-%COMP%]{margin-top:24px;color:#b7b7b7}.payment-info-card__vehicle-info[_ngcontent-%COMP%]{color:#484848;padding:8px 0;display:none}.payment-info-card__vehicle-info--background-blue[_ngcontent-%COMP%]{background-color:#f1f8ff;margin:24px -16px 0;padding-left:16px;padding-right:16px;text-wrap:balance}.payment-info-card__description[_ngcontent-%COMP%]{color:#646464;margin-bottom:8px}.payment-info-card__description-label[_ngcontent-%COMP%]{margin-bottom:12px}.payment-info-card__footer-label[_ngcontent-%COMP%]{margin:16px 0}.payment-info-card__footer-label--no-margin-top[_ngcontent-%COMP%]{margin-top:0}.payment-info-card__tertiaryCta[_ngcontent-%COMP%], .payment-info-card__expiration-date[_ngcontent-%COMP%]{margin-top:16px}.payment-info-card__expiration-date-label[_ngcontent-%COMP%]{margin-top:8px;color:#484848}.payment-info-card__expiration-date-img[_ngcontent-%COMP%]{padding-top:24px}.payment-info-card__privacy-checkbox[_ngcontent-%COMP%]{margin-top:24px}.payment-info-card__quaternaryCta[_ngcontent-%COMP%]{--button-form-img-width: 50px}.payment-info-card__cta-as-link[_ngcontent-%COMP%]{font-size:14px}.payment-info-card__cta-as-link[_ngcontent-%COMP%]:hover{color:#0075dd;text-decoration:underline!important}.payment-info-card__wallet[_ngcontent-%COMP%]{color:#00558c}.payment-info-card__wallet[_ngcontent-%COMP%]:hover{color:#0075dd}.payment-info-card__arrow-clockwise[_ngcontent-%COMP%]{color:#00558c}.payment-info-card__arrow-clockwise[_ngcontent-%COMP%]:hover{color:#0075dd}.payment-info-card__divider-element[_ngcontent-%COMP%]{display:flex;align-items:center;color:#00558c;font-weight:700;font-size:14px}.payment-info-card__divider-element[_ngcontent-%COMP%]:before, .payment-info-card__divider-element[_ngcontent-%COMP%]:after{content:"";flex:1;border-top:1px solid #333333;opacity:.2}.payment-info-card__divider-element[_ngcontent-%COMP%]:before{margin-right:16px}.payment-info-card__divider-element[_ngcontent-%COMP%]:after{margin-left:16px}']})}}return H})()},4281(ht,L,o){"use strict";o.d(L,{R:()=>e,m:()=>t});var t=function(n){return n.PayPal="PAYPAL",n.Klarna="KLARNA",n}(t||{}),e=function(n){return n.BUTTON="button",n.LINK="link",n}(e||{})},17871(ht,L,o){"use strict";o.d(L,{U:()=>c});var t=o(51203);function e(f,M){if(1&f&&t.nrm(0,"span",2),2&f){const m=t.XpG();t.Y8G("innerHTML",m.titleText,t.npT)}}function n(f,M){if(1&f&&t.nrm(0,"span",3),2&f){const m=t.XpG();t.Y8G("innerHTML",m.description,t.npT)}}let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275cmp=t.VBU({type:f,selectors:[["conte-dw-section-header"]],inputs:{titleText:"titleText",description:"description"},standalone:!1,decls:4,vars:2,consts:[[1,"ui-bootstrap","section-header__main-container"],[1,"d-flex","flex-column","align-items-center","justify-content-center","section-header__inner-container"],[1,"section-header__title",3,"innerHTML"],[1,"section-header__description",3,"innerHTML"]],template:function(r,_){1&r&&(t.j41(0,"div",0)(1,"div",1),t.nVh(2,e,1,1,"span",2),t.nVh(3,n,1,1,"span",3),t.k0s()()),2&r&&(t.R7$(2),t.vxM(_.titleText?2:-1),t.R7$(),t.vxM(_.description?3:-1))},styles:[".section-header__main-container[_ngcontent-%COMP%]{padding:8px}.section-header__inner-container[_ngcontent-%COMP%]{padding:8px;background:#f7f9fb}.section-header__title[_ngcontent-%COMP%]{color:var(--section-header-title-color, #00558c);font-size:var(--section-header-title-font-size, 24px);
1font-weight:var(--section-header-title-font-weight, 700);line-height:var(--section-header-title-line-height, 140%)}.section-header__description[_ngcontent-%COMP%]{color:var(--section-header-subtitle-color, #4dabff);font-size:var(--section-header-subtitle-font-size, 16px);font-weight:var(--section-header-subtitle-font-weight, 400);line-height:var(--section-header-subtitle-line-height, 160%)}.section-header__title[_ngcontent-%COMP%] ~ .section-header__description[_ngcontent-%COMP%]{margin-top:8px}"]})}}return f})()},81087(ht,L,o){"use strict";o.d(L,{E:()=>e});var t=o(51203);let e=(()=>{class n{ngOnInit(){const f=document.getElementById("trustbox");window.Trustpilot?.loadFromElement(f)}static{this.\u0275fac=function(M){return new(M||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["conte-dw-trustpilot-widget"]],standalone:!1,decls:3,vars:0,consts:[["id","trustbox","data-locale","it-IT","data-template-id","53aa8912dec7e10d38f59f36","data-businessunit-id","4bea5d5d00006400050aae4f","data-style-height","140px","data-style-width","100%","data-theme","light","data-stars","5","data-review-languages","it",1,"trustpilot-widget"],["href","https://it.trustpilot.com/review/www.conte.it","target","_blank","rel","noopener"]],template:function(M,m){1&M&&(t.j41(0,"div",0)(1,"a",1),t.EFF(2,"Trustpilot"),t.k0s()())},encapsulation:2})}}return n})()},23167(ht,L,o){"use strict";o.d(L,{N:()=>m});var t=o(51203),e=o(44181),n=o(19699);function c(r,_){1&r&&(t.j41(0,"p"),t.EFF(1," Lun-Ven "),t.j41(2,"span",4),t.EFF(3,"8-20"),t.k0s(),t.EFF(4," e il Sab "),t.j41(5,"span",4),t.EFF(6,"9-13"),t.k0s(),t.EFF(7," esclusi festivi "),t.k0s())}function f(r,_){if(1&r&&t.nrm(0,"p",5),2&r){const g=t.XpG(2);t.Y8G("innerHTML",g.alternativeWorkingHours,t.npT)}}function M(r,_){if(1&r&&t.nVh(0,f,1,1,"p",5),2&r){const g=t.XpG();t.vxM(g.info?0:-1)}}let m=(()=>{class r{constructor(){this.telephoneNumberStyle="",this.iconPhone="",this.info=!0,this.alternativeWorkingHours='Lun-Ven <span class="font-weight-bold">9-19</span> esclusi festivi'}get telephoneNumber(){return this._telephoneNumber}set telephoneNumber(g){this._telephoneNumber=g||"06 45 23 45 23"}callTelephone(){window.location.href="tel:"+this.telephoneNumber}static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275cmp=t.VBU({type:r,selectors:[["conte-dw-telephone-number"]],inputs:{telephoneNumberStyle:"telephoneNumberStyle",iconPhone:"iconPhone",telephoneNumber:"telephoneNumber",info:"info",alternativeWorkingHours:"alternativeWorkingHours"},standalone:!1,decls:7,vars:4,consts:[[1,"ui-bootstrap"],[1,"telephone-number","text-center",3,"ngClass"],[1,"telephone-button-number"],["id","telephone-number-button","imgClass","img-left-big",1,"button","flex-center","inline","button-fourth",3,"$buttonClickOutput","imgSrc"],[1,"font-weight-bold"],[3,"innerHTML"]],template:function($,T){1&$&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"conte-dw-button",3),t.bIt("$buttonClickOutput",function(){return T.callTelephone()}),t.EFF(4),t.k0s()(),t.nVh(5,c,8,0,"p")(6,M,1,1),t.k0s()()),2&$&&(t.R7$(),t.Y8G("ngClass",T.telephoneNumberStyle),t.R7$(2),t.Y8G("imgSrc","./assets/img/icon-"+T.iconPhone+".svg"),t.R7$(),t.JRh(T.telephoneNumber),t.R7$(),t.vxM(T.info&&"06 45 23 45 23"===T.telephoneNumber?5:6))},dependencies:[e.YU,n.Q],styles:[".telephone-number[_ngcontent-%COMP%]{--button-width: auto}.telephone-number[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-top:15px}@media (max-width: 767px){.telephone-number[_ngcontent-%COMP%]     .button.button-fourth{color:#fff;background-image:linear-gradient(60deg,#40c248,#239329)}.telephone-number[_ngcontent-%COMP%]     .button.button-fourth:hover{background-image:linear-gradient(60deg,#40c248,#136e17)}.telephone-number[_ngcontent-%COMP%]     .img-left-big{content:url(assets/img/white-icon-phone.svg)}}.telephone-no-bg[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-top:0}.telephone-no-bg[_ngcontent-%COMP%]     .button.button-fourth{box-shadow:none;background-color:transparent;color:#4dabff;background-image:none}.telephone-no-bg[_ngcontent-%COMP%]     .button.button-fourth:hover{background-image:none;background-color:transparent}.telephone-no-bg[_ngcontent-%COMP%]     .img-left-big{content:url(assets/img/icon-phone.svg)}.telephone-outline[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#484848;font-size:14px}.telephone-outline[_ngcontent-%COMP%]     .img-left-big{content:url(assets/img/icon-outline-phone.svg);width:25px;height:25px}"]})}}return r})()},72463(ht,L,o){"use strict";o.d(L,{P:()=>r});var t=o(80226),e=o(51203),n=o(23321),c=o(44181);const f=_=>({smartQuoteView:_});function M(_,g){if(1&_&&e.nrm(0,"p",6),2&_){const $=e.XpG();e.Y8G("innerHTML",$.text,e.npT)}}
1function m(_,g){if(1&_&&(e.j41(0,"div",8),e.EFF(1),e.k0s()),2&_){const $=e.XpG();e.R7$(),e.SpI(" ",$.message," ")}}let r=(()=>{class _{constructor(){this.checkboxStyle="",this.isChecked=!1,this.inputId="",this.inputName="",this.disabled=!1,this.label="",this.text="",this.message="",this.$checkboxChangeOutput=new e.bkB,this.showSmartQuoteView=!1,this.onChange=()=>{},this.onTouch=()=>{}}onClick($){const T=$.target;T.parentElement?.classList.contains("smartQuoteView")&&this.showSmartQuoteView&&window.open(T.attributes?.getNamedItem("href")?.value,"_blank")}writeValue($){this.isChecked=$}registerOnChange($){this.onChange=$}registerOnTouched($){this.onTouch=$}setDisabledState($){this.disabled=$}onCheckboxChange($){this.isChecked=$.target.checked,this.$checkboxChangeOutput.emit(this.isChecked),this.onChange(this.isChecked),this.onTouch()}static{this.\u0275fac=function(T){return new(T||_)}}static{this.\u0275cmp=e.VBU({type:_,selectors:[["conte-dw-checkbox"]],hostBindings:function(T,B){1&T&&e.bIt("click",function(I){return B.onClick(I)})},inputs:{checkboxStyle:"checkboxStyle",isChecked:"isChecked",inputId:"inputId",inputName:"inputName",disabled:"disabled",label:"label",text:"text",message:"message",showSmartQuoteView:"showSmartQuoteView"},outputs:{$checkboxChangeOutput:"$checkboxChangeOutput"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>_),multi:!0}])],decls:9,vars:14,consts:[[1,"ui-bootstrap"],[1,"dw-checkbox-container",3,"ngClass"],[1,"dw-checkbox"],["type","checkbox",3,"change","id","name","checked","disabled"],[1,"dw-checkbox-box"],[1,"dw-checkbox-label",3,"ngClass","innerHTML"],[1,"dw-checkbox-text","caption",3,"innerHTML"],[1,"dw-checkbox-checkmark",3,"ngClass"],[1,"caption","font-weight-bold","dw-checkbox-message","dw-input-message"]],template:function(T,B){1&T&&(e.j41(0,"div",0)(1,"div",1)(2,"label",2)(3,"input",3),e.bIt("change",function(I){return B.onCheckboxChange(I)}),e.k0s(),e.j41(4,"div",4),e.nrm(5,"p",5),e.nVh(6,M,1,1,"p",6),e.k0s(),e.nrm(7,"span",7),e.k0s(),e.nVh(8,m,2,1,"div",8),e.k0s()()),2&T&&(e.R7$(),e.Y8G("ngClass",B.checkboxStyle),e.R7$(2),e.Y8G("id",B.inputId)("name",B.inputName)("checked",B.isChecked)("disabled",B.disabled||null),e.R7$(2),e.Y8G("ngClass",e.eq3(10,f,B.showSmartQuoteView))("innerHTML",B.label,e.npT),e.R7$(),e.vxM(B.text?6:-1),e.R7$(),e.Y8G("ngClass",e.eq3(12,f,B.showSmartQuoteView)),e.R7$(),e.vxM(B.message?8:-1))},dependencies:[c.YU],styles:['conte-dw-checkbox label.dw-checkbox{cursor:var(--checkbox-cursor)}conte-dw-checkbox .checkbox-renewal-edit .dw-checkbox-label{font-weight:700}conte-dw-checkbox .checkbox-privacy .dw-checkbox-label{font-size:var(--checkbox-font-size, 12px);font-style:var(--checkbox-font-style)}conte-dw-checkbox .checkbox-privacy .dw-checkbox-label.smartQuoteView{font-size:14px;font-family:Lato,sans-serif;font-style:italic;font-weight:400;letter-spacing:-.1px}conte-dw-checkbox .checkbox-privacy .dw-checkbox-text{padding:5px 0 0 35px;font-size:10px;line-height:140%}@media (max-width: 480px){conte-dw-checkbox .checkbox-privacy .dw-checkbox-box{padding:5px 10px}}@media (max-width: 320px){conte-dw-checkbox .checkbox-privacy .dw-checkbox-label{font-size:10px}conte-dw-checkbox .checkbox-privacy .dw-checkbox-message{font-size:10px}}conte-dw-checkbox .dw-input[type=checkbox]{-webkit-appearance:none}conte-dw-checkbox .dw-checkbox-container .dw-checkbox{position:relative;width:100%;max-width:100%}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-label{padding-left:35px;color:#484848}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-label.smartQuoteView{color:#646464}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-label.smartQuoteView span{text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:auto;text-underline-offset:4px;color:#00558c;font-weight:400;cursor:pointer}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-text{padding-left:35px;color:#646464}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]{position:absolute;top:50%;transform:translateY(-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);left:0;height:22px;width:22px;opacity:0;cursor:pointer;margin:0;z-index:-1}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-checkmark{position:absolute;top:50%;transform:translateY(-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);left:0;height:22px;width:22px;border:1px solid #ccdde8;background-color:transparent;border-radius:4px;cursor:pointer}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-checkmark.smartQuoteView{border:2px solid #ccdde8}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:checked~.dw-checkbox-checkmark{border-color:#0075dd;background-color:#0075dd}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-checkmark:after{content:"";display:none;position:absolute;height:14px;width:8px;border-bottom:3px solid #ffffff;
1border-right:3px solid #ffffff;border-radius:0 2px;top:40%;left:50%;transform:translate(-50%,-50%) rotate(45deg);-webkit-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg)}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:checked~.dw-checkbox-checkmark:after{display:block}conte-dw-checkbox .dw-checkbox-container .dw-checkbox-message{padding-top:5px}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:checked:disabled~.dw-checkbox-checkmark{background-color:#b7b7b7;border:none;pointer-events:none}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:checked:disabled~.dw-checkbox-box{background-color:#f6f6f6;border-color:#f6f6f6}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:disabled~.dw-checkbox-box .dw-checkbox-label,conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:disabled~.dw-checkbox-box .dw-checkbox-text,conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:disabled~.dw-checkbox-box .dw-checkbox-label:not([class*=smartQuoteView]) .dw-link-no-underline{color:#b7b7b7}conte-dw-checkbox .dw-checkbox-container input[type=checkbox]:disabled~.dw-checkbox-box .dw-checkbox-label .dw-link-no-underline{pointer-events:none}conte-dw-checkbox .dw-checkbox-no-border-error .dw-checkbox-label,conte-dw-checkbox .dw-checkbox-no-border-error .dw-checkbox-text,conte-dw-checkbox .dw-checkbox-no-border-error .dw-link-no-underline{color:#c8102e}conte-dw-checkbox .dw-checkbox-no-border-error .dw-checkbox-checkmark{border-color:#c8102e}conte-dw-checkbox .dw-checkbox-no-border-error .dw-checkbox-message{color:#c8102e}conte-dw-checkbox .checkbox-border .dw-checkbox-box{padding:15px 12px;border:1px solid #ccdde8;background-color:#fff;border-radius:10px}conte-dw-checkbox .checkbox-border input[type=checkbox],conte-dw-checkbox .checkbox-border .dw-checkbox-checkmark{left:15px}conte-dw-checkbox .checkbox-border input[type=checkbox]:checked~.dw-checkbox-box{border-color:#0075dd;background-color:#f1f8ff}conte-dw-checkbox.ng-touched.ng-invalid .dw-checkbox-box,conte-dw-checkbox .dw-checkbox-error .dw-checkbox-box{border-color:#c8102e;background-color:#fcf3f5}conte-dw-checkbox.ng-touched.ng-invalid .dw-link-no-underline,conte-dw-checkbox .dw-checkbox-error .dw-link-no-underline{color:#c8102e}conte-dw-checkbox.ng-touched.ng-invalid .dw-checkbox-checkmark,conte-dw-checkbox .dw-checkbox-error .dw-checkbox-checkmark{border-color:#c8102e;background-color:#fff}conte-dw-checkbox.ng-touched.ng-invalid .dw-checkbox-message,conte-dw-checkbox .dw-checkbox-error .dw-checkbox-message{color:#c8102e}.checkbox-padding .dw-checkbox-box{padding:22px 16px!important}.checkbox-padding .dw-checkbox-box .dw-checkbox-label{font-family:Lato,sans-serif;font-size:14px!important;line-height:160%;color:#484848;padding-left:40px!important}\n'],encapsulation:2})}}return _})()},71438(ht,L,o){"use strict";o.d(L,{q:()=>c});var t=o(44181),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return f})()},6502(ht,L,o){"use strict";o.d(L,{z:()=>m});var t=o(44181),e=o(37345),n=o(42825),c=o(69732),f=o(80226),M=o(51203);let m=(()=>{class r{static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275mod=M.$C({type:r})}static{this.\u0275inj=f.G2t({imports:[t.MD,c.K,e.h,n.Z]})}}return r})()},6519(ht,L,o){"use strict";o.d(L,{w:()=>M});var t=o(80226),e=o(51203),n=o(23321),c=o(28955),f=o(53162);let M=(()=>{class m{set tooltipModalConfiguration(_){this._tooltipModalConfiguration=_,this.updateTooltipModalConfiguration(_)}get tooltipModalConfiguration(){return this._tooltipModalConfiguration}constructor(_,g){this.modalService=_,this.ngZone=g,this.tooltipText="Info",this.checkedChange=new e.bkB,this.$coverageSelection=new e.bkB,this.onChange=()=>{},this.onTouch=()=>{}}onSelectionChange(){this.checked||(this.unselectOtherButtons(),this.checked=!0,this.checkedChange.emit(!0),this.$coverageSelection.emit(this.coverageId),this.onChange(this.coverageId),this.onTouch())}unselectEventHandler(){this.checked=!1,this.checkedChange.emit(!1)}tooltipClickHandler(_){_.preventDefault(),this.modalService.openComponent(f.T,{inputs:{...this.tooltipModalConfiguration,bannerConfig:this.modalBannerConfiguration?{...this.modalBannerConfiguration,isDisplayed:this.checked}:null},outputs:{$closeClickOutput:()=>this.modalService.close(),$outsideClickOutput:()=>this.modalService.close()}})}writeValue(_){this.checked=this.coverageId===_}registerOnChange(_){this.onChange=_}registerOnTouched(_){this.onTouch=_}setDisabledState(_){this.isDisabled=_}unselectOtherButtons(){document.querySelectorAll(`input[name='${this.groupName}']`).forEach(_=>{_.id!==this.coverageId&&_.dispatchEvent(new CustomEvent("unselect"))})}updateTooltipModalConfiguration(_){this.modalService.isModalOpen()&&this.ngZone.run(()=>{Object.keys(_).forEach(g=>this.modalService.currentModalReference.componentInstance[g]=_[g])})}static{this.\u0275fac=function(g){return new(g||m)(e.rXU(c.Bg),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:m,selectors:[["conte-dw-coverage-button"]],inputs:{iconSrc:"iconSrc",titleText:"titleText",checked:"checked",coverageId:"coverageId",groupName:"groupName",isDisabled:"isDisabled",tooltipText:"tooltipText",modalBannerConfiguration:"modalBannerConfiguration",tooltipModalConfiguration:"tooltipModalConfiguration"},outputs:{checkedChange:"checkedChange",$coverageSelection:"$coverageSelection"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>m),multi:!0}])],decls:12,vars:10,consts:[[1,"ui-bootstrap"],["type","radio",1,"d-none",3,"change","unselect","id","value","checked","name","disabled"],["role","radio","tabindex","0",1,"row","align-items-center","m-0","dw-clickable","dw-coverage-button",3,"keydown.enter","for"],[1,"col-auto","d-flex","justify-content-center","align-items-center","p-0","dw-coverage-button__icon-container"],["alt","",1,"undraggable",3,"src"],[1,"col","d-flex","align-items-center","p-0"],[1,"dw-clickable","unselectable","dw-coverage-button__title-text"],[1,"col-auto","d-flex","flex-column","justify-content-center","align-items-center","dw-clickable","dw-coverage-button__tooltip-container",3,"click"],["src","assets/img/info-outline.png",1,"dw-coverage-button__tooltip-icon",3,"alt"],[1,"d-none","d-md-1-block","dw-clickable","dw-coverage-button__tooltip-text"]],template:function(g,$){1&g&&(e.j41(0,"div",0)(1,"input",1),e.bIt("change",function(){return $.onSelectionChange()})("unselect",function(){return $.unselectEventHandler()}),e.k0s(),e.j41(2,"label",2),e.bIt("keydown.enter",function(){return $.onSelectionChange()}),e.j41(3,"div",3),e.nrm(4,"img",4),e.k0s(),e.j41(5,"div",5)(6,"span",6),e.EFF(7),e.k0s()(),e.j41(8,"div",7),e.bIt("click",function(B){return $.tooltipClickHandler(B)}),e.nrm(9,"img",8),e.j41(10,"label",9),e.EFF(11),e.k0s()()()()),2&g&&(e.R7$(),e.Y8G("id",$.coverageId)("value",$.coverageId)("checked",$.checked)("name",$.groupName)("disabled",$.isDisabled||null),e.R7$(),e.Y8G("for",$.coverageId),e.R7$(2),e.Y8G("src",$.iconSrc,e.B4B),e.R7$(3),e.SpI(" ",$.titleText," "),e.R7$(2),e.Y8G("alt",$.tooltipText),e.R7$(2),e.SpI(" ",$.tooltipText," "))},styles:[".dw-coverage-button[_ngcontent-%COMP%]{min-height:92px;background:#fff;border:1px solid #ccdde8;box-shadow:0 0 12px 2px #09458514;border-radius:10px}.dw-coverage-button[_ngcontent-%COMP%]:focus-visible{outline-color:#4dabff}.dw-coverage-button__icon-container[_ngcontent-%COMP%]{width:92px;height:92px}.dw-coverage-button__icon-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:48px;height:48px}.dw-coverage-button__title-text[_ngcontent-%COMP%]{padding:20px;color:#484848;font-family:Lato,sans-serif;font-weight:400;font-size:18px;line-height:150%;word-break:break-word}.dw-coverage-button__tooltip-container[_ngcontent-%COMP%]{padding:0 20px 0 0;margin:auto 0}.dw-coverage-button__tooltip-icon[_ngcontent-%COMP%]{width:23px;height:23px}.dw-coverage-button__tooltip-text[_ngcontent-%COMP%]{color:#00558c;font-family:Lato,sans-serif;font-weight:700;font-size:14px;line-height:160%}input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-coverage-button[_ngcontent-%COMP%]{border-color:#4dabff;background-color:#f9fcff}input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-coverage-button[_ngcontent-%COMP%]   .dw-coverage-button__icon-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{filter:grayscale(100%) invert(56%) sepia(89%) saturate(1239%) hue-rotate(183deg) brightness(101%) contrast(101%)}input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-coverage-button[_ngcontent-%COMP%]   .dw-coverage-button__title-text[_ngcontent-%COMP%]{color:#4dabff}input[type=radio][_ngcontent-%COMP%]:disabled ~ .dw-coverage-button[_ngcontent-%COMP%]{border-color:#b7b7b7;cursor:auto}input[type=radio][_ngcontent-%COMP%]:disabled ~ .dw-coverage-button[_ngcontent-%COMP%]   .dw-coverage-button__icon-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{filter:grayscale(100%) invert(79%) sepia(0%) saturate(4355%) hue-rotate(108deg) brightness(97%) contrast(81%)}input[type=radio][_ngcontent-%COMP%]:disabled ~ .dw-coverage-button[_ngcontent-%COMP%]   .dw-coverage-button__title-text[_ngcontent-%COMP%]{color:#b7b7b7;cursor:auto}"]})}}return m})()},78567(ht,L,o){"use strict";o.d(L,{b:()=>s});var t=o(80226),e=o(51203),n=o(23321),c=o(75089),f=o(97253),M=o(43732),m=o(48857),r=o(71598),_=o(73328),g=o(11425),$=o(19699),T=o(75349);function B(l,E){if(1&l){const p=e.RV6();e.j41(0,"conte-dw-radio-button",5),e.bIt("$radioButtonClick",function(){t.eBV(p);const w=e.XpG(2).$implicit,z=e.XpG();return t.Njj(z.radioButtonClickHandler(w))}),e.j41(1,"conte-dw-button",6),e.bIt("$buttonClickOutput",function(){t.eBV(p);const w=e.XpG(3);return t.Njj(w.openPicker())}),e.EFF(2),e.k0s()()}if(2&l){const p=e.XpG(2).$implicit,h=e.XpG();e.HbH(h.validationType),e.Y8G("radioButtonStyle",p.radioButtonStyle)("inputId",p.inputId)("inputName",p.inputName)("label",p.label)("showText",p.showText)("text",p.text)("showExternalContent",p.showExternalContent)("showCheckMark",!1)("value",p.value)("disabled",p.isDisabled)("checked",h.selectedValue===p.value||p.showExternalContent&&h.selectedInnerButtonOption&&h.selectedValue===h.selectedInnerButtonOption.value),e.R7$(),e.HbH(h.validationType),e.Y8G("id",p.inputId+"InnerButton")("imgRight",!0),e.R7$(),e.SpI("",(null==h.selectedInnerButtonOption?null:h.selectedInnerButtonOption.text)||h.buttonPlaceholder," ")}}function A(l,E){if(1&l){const p=e.RV6();e.j41(0,"conte-dw-select",7),e.bIt("$clickOutput",function(w){t.eBV(p);const z=e.XpG(3);return t.Njj(z.select(w))}),e.k0s()}if(2&l){const p=e.XpG(2).$implicit,h=e.XpG();e.Y8G("elementId",p.elementId)("options",h.driverAges)("showDropdown",h.isSelectOpen)("buttonPlaceholder",p.labelDescription)}}function I(l,E){if(1&l&&(e.nVh(0,B,3,18,"conte-dw-radio-button",3),e.nVh(1,A,1,4,"conte-dw-select",4)),2&l){const p=e.XpG().$implicit,h=e.XpG();e.vxM(!p.showExternalContent||p.showExternalContent&&!h.isSelectOpen?0:-1),e.R7$(),e.vxM(p.showExternalContent&&h.isSelectOpen?1:-1)}}function C(l,E){if(1&l&&(e.j41(0,"div",2),e.nVh(1,I,2,2),e.k0s()),2&l){const p=E.$implicit;
1e.R7$(),e.vxM(p.isHidden?-1:1)}}var k=function(l){return l.Single="single",l.Group="group",l}(k||{});let s=(()=>{class l{set driverAges(p){if(this._driverAges=p,this.useSelect){const h=this.selectedValue&&!Object.values(c.Fp4).includes(this.selectedValue);if(!p?.find(z=>z.label===this.selectedInnerButtonOption?.text)){const z=p?.[p.length-1];this.selectedValue?h?this.$selectedOptionOutput.emit(z):this.selectedInnerButtonOption=z:this.selectedInnerButtonOption=void 0}}}get driverAges(){return this._driverAges}constructor(p){this.modalService=p,this._driverAges=c.fYG,this.buttonPlaceholder="Scegli",this.drivers=c.e0T,this.validationType=k.Single,this.$selectedOptionOutput=new e.bkB,this.onDestroy$=new f.B,this.onChange=()=>{},this.onTouch=()=>{}}radioButtonClickHandler(p){p.showExternalContent?this.selectedInnerButtonOption?(this.selectedValue=this.selectedInnerButtonOption.value,this.onTouch(),this.onChange(this.selectedValue),this.$selectedOptionOutput.emit(this.selectedInnerButtonOption)):this.openPicker():(this.useSelect&&(this.isSelectOpen=!1),this.selectedValue=p.value,this.onTouch(),this.onChange(this.selectedValue),this.$selectedOptionOutput.emit(p))}select(p){p?(this.selectedValue=p.value,this.selectedInnerButtonOption=p,this.$selectedOptionOutput.emit(p),this.onChange(p.value)):(this.selectedValue=this.selectedInnerButtonOption?.value||null,this.onChange(this.selectedValue),this.$selectedOptionOutput.emit(this.selectedInnerButtonOption)),this.isSelectOpen=!this.isSelectOpen}openPicker(){if(this.useSelect)return void(this.isSelectOpen=!this.isSelectOpen);if(this.pickerReference)return;this.pickerReference=this.modalService.open(r.V);const p=this.pickerReference.componentInstance;p.modalStyle="dw-modal-little dw-modal-no-padding dw-modal-no-radius-bottom",p.modalRadioGroupStyle="modal-driver-age",p.rowClass="container-options row dw-row-no-margin dw-col-no-padding align-items-center",p.colClass="col-6",p.options=this.driverAges,p.$closeClickOutput.pipe((0,m.Q)(this.onDestroy$)).subscribe(()=>{this.onChange(this.selectedInnerButtonOption?.value||null),this.$selectedOptionOutput.emit(this.selectedInnerButtonOption),this.closePicker()}),p.$selectedOptionClick.pipe((0,M.c)(300),(0,m.Q)(this.onDestroy$)).subscribe(h=>{this.selectedValue=h.value,this.selectedInnerButtonOption=h,this.$selectedOptionOutput.emit(h),this.onChange(h.value),this.closePicker()})}closePicker(){this.pickerReference&&(this.pickerReference.close(),this.pickerReference=null,this.onDestroy$.next(),this.onTouch())}writeValue(p){if(this.selectedValue=p,!this.drivers.find(w=>w.value===`${p}`)){const w=this.driverAges.find(z=>z.value===`${p}`);w&&(this.selectedInnerButtonOption=w)}}registerOnChange(p){this.onChange=p}registerOnTouched(p){this.onTouch=p}static{this.\u0275fac=function(h){return new(h||l)(e.rXU(_.Bq))}}static{this.\u0275cmp=e.VBU({type:l,selectors:[["conte-dw-dropdown-age-form"]],inputs:{driverAges:"driverAges",buttonPlaceholder:"buttonPlaceholder",drivers:"drivers",selectedInnerButtonOption:"selectedInnerButtonOption",useSelect:"useSelect",validationType:"validationType"},outputs:{$selectedOptionOutput:"$selectedOptionOutput"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>l),multi:!0}])],decls:4,vars:0,consts:[[1,"ui-bootstrap"],[1,"renewal-edit__options","row","align-items-center"],[1,"col-12"],[3,"class","radioButtonStyle","inputId","inputName","label","showText","text","showExternalContent","showCheckMark","value","disabled","checked"],[1,"select",3,"elementId","options","showDropdown","buttonPlaceholder"],[3,"$radioButtonClick","radioButtonStyle","inputId","inputName","label","showText","text","showExternalContent","showCheckMark","value","disabled","checked"],["imgSrc","./assets/img/icon-dropdown-close-arrow.svg","imgClass","img-right little",1,"button","flex","button-select",3,"$buttonClickOutput","id","imgRight"],[1,"select",3,"$clickOutput","elementId","options","showDropdown","buttonPlaceholder"]],template:function(h,w){1&h&&(e.j41(0,"div",0)(1,"div",1),e.Z7z(2,C,2,1,"div",2,e.fX1),e.k0s()()),2&h&&(e.R7$(2),e.Dyx(w.drivers))},dependencies:[g.dx,$.Q,T.w],styles:[".ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-radio-button.single .radio-button-box input[type=radio]:checked~.dw-radio-button-box, .ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-radio-button.single .dw-radio-button-box{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-radio-button.single .radio-button-box input[type=radio]:checked~.dw-radio-button-box:hover, .ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-radio-button.single .dw-radio-button-box:hover{background-color:#fcf3f5;border-color:#c8102e}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button.single .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button.single .button:hover{background-color:#fcf3f5;border-color:#c8102e}.renewal-edit__driver-container[_ngcontent-%COMP%]{min-height:100vh;display:flex;flex-direction:column}.renewal-edit__driver-container[_ngcontent-%COMP%]   .dw-page-wrapper[_ngcontent-%COMP%]{flex:1}.renewal-edit__title[_ngcontent-%COMP%]{background-color:#f4f4f4;padding:15px 20px}.renewal-edit__tooltip[_ngcontent-%COMP%]{padding-left:3px}.renewal-edit__proceed-button-primary[_ngcontent-%COMP%]     .button{min-width:150px}.select[_ngcontent-%COMP%]{--select-margin: 0 0 20px}@media (max-width: 767px){.renewal-edit__title[_ngcontent-%COMP%]{background-color:transparent;padding:15px 0}.renewal-edit__tooltip[_ngcontent-%COMP%]{padding-left:3px}.renewal-edit__tooltip[_ngcontent-%COMP%]   .dw-tooltip-info[_ngcontent-%COMP%]{padding-right:5px}.renewal-edit__tooltip[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:20px}.renewal-edit__proceed-button[_ngcontent-%COMP%]     .button.button-primary{display:block;min-width:auto}.renewal-edit__proceed-button[_ngcontent-%COMP%]     .img-top-big{margin:0;padding-right:15px}}"]})}}return l})()},51653(ht,L,o){"use strict";o.d(L,{Z:()=>_t});var t=o(51203),e=o(23321),n=o(75089),c=o(28955),f=o(37158),M=o(80226),m=o(44181),r
1=o(81180),_=o(19699),g=o(46287);const $=["formBoxContent"],T=["*",[["","form-box-content",""]]],B=["*","[form-box-content]"],A=(st,Ut)=>({"form-box__container--unfilled":st,"form-box__container--row-md-design d-md-flex justify-content-between align-items-start flex-wrap":Ut}),I=st=>({"justify-content-md-start align-items-md-start pr-4 pb-md-0":st}),C=st=>({"error-box":st}),k=st=>({"col-md-6 offset-md-6 p-md-0":st}),s=st=>({"d-block":st}),l=st=>({"d-md-1-none":st});function E(st,Ut){1&st&&(t.j41(0,"div"),t.nrm(1,"img",11),t.k0s())}function p(st,Ut){if(1&st&&t.nrm(0,"label",12),2&st){const ft=t.XpG(3);t.Y8G("for",ft.fieldName)("innerHTML",ft.titleText,t.npT)}}function h(st,Ut){if(1&st&&t.nrm(0,"p",13),2&st){const ft=t.XpG(3);t.Y8G("innerHTML",ft.titleText,t.npT)}}function w(st,Ut){if(1&st&&t.nVh(0,p,1,2,"label",12)(1,h,1,1,"p",13),2&st){const ft=t.XpG(2);t.vxM(ft.fieldName?0:1)}}function z(st,Ut){if(1&st&&t.nrm(0,"p",10),2&st){const ft=t.XpG(2);t.Y8G("innerHTML",ft.subtitleText,t.npT)}}function v(st,Ut){if(1&st&&(t.j41(0,"div",3),t.nVh(1,E,2,0,"div"),t.j41(2,"div"),t.nVh(3,w,2,1),t.nVh(4,z,1,1,"p",10),t.k0s()()),2&st){const ft=t.XpG();t.R7$(),t.vxM("auto"===ft.isCurrentQuestion&&(null==ft.formControlsSummary||!ft.formControlsSummary.valid||null==ft.formControlsSummary||!ft.formControlsSummary.touched)||"auto"!==ft.isCurrentQuestion&&ft.isCurrentQuestion?1:-1),t.R7$(2),t.vxM(ft.titleText?3:-1),t.R7$(),t.vxM(ft.subtitleText?4:-1)}}function D(st,Ut){if(1&st){const ft=t.RV6();t.j41(0,"div",14)(1,"conte-dw-tooltip",16),t.nI1(2,"conTeStringDefined"),t.bIt("click",function(){M.eBV(ft);const jt=t.XpG(2);return M.Njj(jt.tooltipClickOutputEmit())}),t.k0s()()}if(2&st){const ft=t.XpG(),zt=t.XpG();t.Y8G("ngClass",t.eq3(7,s,ft.tooltipStrategy===zt.tooltipStrategy.Tooltip)),t.R7$(),t.Y8G("showInfo",!0)("infoText",t.bMT(2,5,ft.webInfoText)?ft.webInfoText:"Info")("showTitle",!1)("text",ft.webContent)}}function N(st,Ut){if(1&st&&(t.nrm(0,"span",18),t.nI1(1,"conTeStringDefined")),2&st){const ft=t.XpG(2);t.Y8G("innerHTML",t.bMT(1,1,ft.mobileInfoText)?ft.mobileInfoText:"Info",t.npT)}}function W(st,Ut){if(1&st){const ft=t.RV6();t.j41(0,"div",15)(1,"conte-dw-button",17),t.bIt("$buttonClickOutput",function(){M.eBV(ft);const jt=t.XpG(2);return M.Njj(jt.openModalTextInfo())}),t.nVh(2,N,2,3,"span",18),t.k0s()()}if(2&st){const ft=t.XpG(),zt=t.XpG();t.Y8G("ngClass",t.eq3(3,l,ft.tooltipStrategy!==zt.tooltipStrategy.Modal)),t.R7$(),t.Y8G("imgRight",!0),t.R7$(),t.vxM(""!==ft.mobileInfoText?2:-1)}}function pt(st,Ut){if(1&st&&(t.nVh(0,D,3,9,"div",14),t.nVh(1,W,3,5,"div",15)),2&st){const ft=Ut,zt=t.XpG();t.vxM(ft.tooltipStrategy!==zt.tooltipStrategy.Modal?0:-1),t.R7$(),t.vxM(ft.tooltipStrategy!==zt.tooltipStrategy.Tooltip?1:-1)}}function ot(st,Ut){if(1&st){const ft=t.RV6();t.j41(0,"a",19),t.bIt("click",function(){M.eBV(ft);const jt=t.XpG(2);return M.Njj(jt.instructionsTextUrlClickHandler())}),t.k0s()}if(2&st){const ft=t.XpG(2);t.Y8G("innerHTML",ft.instructionsTextLinkText,t.npT)}}function gt(st,Ut){if(1&st&&(t.j41(0,"p",6),t.nrm(1,"span",18),t.nVh(2,ot,1,1,"a",18),t.k0s()),2&st){const ft=t.XpG();t.R7$(),t.Y8G("innerHTML",ft.instructionsText,t.npT),t.R7$(),t.vxM(ft.instructionsTextLinkText?2:-1)}}function et(st,Ut){if(1&st&&t.nrm(0,"p",7),2&st){const ft=t.XpG();t.Y8G("innerHTML",ft.confirmationText,t.npT)}}function Et(st,Ut){if(1&st&&(t.j41(0,"p",8),t.EFF(1),t.k0s()),2&st){const ft=t.XpG();t.R7$(),t.SpI(" ",ft.errorMessageText," ")}}function K(st,Ut){if(1&st){const ft=t.RV6();t.j41(0,"a",23),t.bIt("click",function(){M.eBV(ft);const jt=t.XpG(2);return M.Njj(jt.helpMessageUrlClickHandler())}),t.EFF(1),t.k0s()}if(2&st){const ft=t.XpG(2);t.R7$(),t.SpI(" ",ft.helpMessageConfiguration.linkText," ")}}function at(st,Ut){if(1&st&&(t.j41(0,"div",9),t.nrm(1,"img",20),t.j41(2,"p",21),t.EFF(3),t.nVh(4,K,2,1,"a",22),t.k0s()()),2&st){const ft=t.XpG();t.R7$(),t.Y8G("src",ft.helpMessageConfiguration.imageSrc||"./assets/img/icon-notification-on.svg",t.B4B),t.R7$(2),t.SpI(" ",ft.helpMessageConfiguration.descriptionText||""," "),t.R7$(),t.vxM(ft.helpMessageConfiguration.linkText?4:-1)}}const Bt={valid:!0,invalid:!1,touched:!1};let _t=(()=>{class st{get isUnfilled(){return this.applyClassUnfilled()}set tooltipConfiguration(ft){this._tooltipConfiguration=ft,this.updateModalInputs(ft)}get tooltipConfiguration(){return this._tooltipConfiguration}constructor(ft,zt){this.modalService=ft,this.ngZone=zt,this.validateOnlyHostControl=!1,this.errorMessageText="Compila il campo per proseguire",this.isCurrentQuestion=!1,this.desktopView="c
1olumn",this.errorStyle="classic",this.$helpMessageUrlClickOutput=new t.bkB,this.$instructionsTextUrlClickOutput=new t.bkB,this.$tooltipClickOutput=new t.bkB,this.tooltipStrategy=n.LxN,this.formControlsSummary={...Bt}}ngOnChanges(ft){ft.autoFocusScroll?.currentValue&&this.autofocus()}ngAfterViewInit(){this.autofocus()}ngOnDestroy(){this.modalService.isModalOpen()&&this.modalService.close()}openModalTextInfo(){!this.modalService.isModalOpen()&&this.tooltipConfiguration?this.modalService.openComponent(f.A,{inputs:{title:this.tooltipConfiguration.mobileTitle,subtitle:this.tooltipConfiguration.mobileSubtitle,contentText:this.tooltipConfiguration.mobileDescription,showModalClose:!1,modalStyle:(()=>this.tooltipConfiguration?.tooltipModalStyle===n.T2Y.BlueHeader?"dw-modal-no-extra-padding dw-modal-blue-bg":"dw-modal-no-extra-padding")()},outputs:{$closeClickOutput:()=>this.modalService.close(),$outsideClickOutput:()=>this.modalService.dismiss()}}):this.modalService.close()}helpMessageUrlClickHandler(){this.helpMessageConfiguration?.linkAction&&this.helpMessageConfiguration.linkAction(),this.$helpMessageUrlClickOutput.emit()}instructionsTextUrlClickHandler(){this.$instructionsTextUrlClickOutput.emit()}tooltipClickOutputEmit(){this.$tooltipClickOutput.emit()}autofocus(){this.formBoxContent&&this.autoFocusScroll&&setTimeout(()=>this.formBoxContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"}))}updateModalInputs(ft){this.modalService.isModalOpen()&&this.ngZone.run(()=>this.modalService.updateModalComponentOptions({inputs:{title:ft.mobileTitle,contentText:ft.mobileDescription}}))}applyClassUnfilled(){const ft={...Bt};let zt;return this.formControlList?.length>0?zt=this.formControlList.map(({valid:Nt,invalid:Dt,touched:pe})=>({valid:Nt,invalid:Dt,touched:pe})):this.formControlNameList?.length>0&&(zt=this.formControlNameList.map(({control:{valid:Nt,invalid:Dt,touched:pe}})=>({valid:Nt,invalid:Dt,touched:pe}))),(this.validateOnlyHostControl?[zt[0]]:zt)?.forEach(({invalid:Nt,touched:Dt})=>{Nt&&Dt?(ft.invalid=!0,ft.touched=!0,ft.valid=!1):Dt?ft.touched=!0:Nt&&(ft.valid=!1)}),this.formControlsSummary=ft,!this.isCurrentQuestion&&!this.formControlsSummary?.valid}static{this.\u0275fac=function(zt){return new(zt||st)(t.rXU(c.Bg),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:st,selectors:[["conte-dw-form-box"]],contentQueries:function(zt,jt,Nt){if(1&zt&&(t.wni(Nt,e.JD,5),t.wni(Nt,e.l_,5)),2&zt){let Dt;t.mGM(Dt=t.lsd())&&(jt.formControlNameList=Dt),t.mGM(Dt=t.lsd())&&(jt.formControlList=Dt)}},viewQuery:function(zt,jt){if(1&zt&&t.GBs($,5),2&zt){let Nt;t.mGM(Nt=t.lsd())&&(jt.formBoxContent=Nt.first)}},hostVars:2,hostBindings:function(zt,jt){2&zt&&t.AVh("unfilled",jt.isUnfilled)},inputs:{titleText:"titleText",fieldName:"fieldName",subtitleText:"subtitleText",tooltipConfiguration:"tooltipConfiguration",validateOnlyHostControl:"validateOnlyHostControl",instructionsText:"instructionsText",instructionsTextLinkText:"instructionsTextLinkText",confirmationText:"confirmationText",errorMessageText:"errorMessageText",helpMessageConfiguration:"helpMessageConfiguration",isCurrentQuestion:"isCurrentQuestion",desktopView:"desktopView",errorStyle:"errorStyle",autoFocusScroll:"autoFocusScroll"},outputs:{$helpMessageUrlClickOutput:"$helpMessageUrlClickOutput",$instructionsTextUrlClickOutput:"$instructionsTextUrlClickOutput",$tooltipClickOutput:"$tooltipClickOutput"},standalone:!1,features:[t.OA$],ngContentSelectors:B,decls:13,vars:19,consts:[["formBoxContent",""],[1,"form-box__container","ui-bootstrap",3,"ngClass"],[1,"d-flex","justify-content-between","align-items-center","form-box__header",3,"ngClass"],[1,"d-flex","justify-content-center","align-items-start","form-box__header-title-container"],[1,"form-box__content",3,"ngClass"],[3,"ngClass"],[1,"form-box__instructions","small-body"],[1,"form-box__confirmation-text","small-body",3,"innerHTML"],[1,"form-box__error-message"],[1,"d-flex","align-items-center","form-box__help-notification"],[1,"small-body","form-box__header-subtitle",3,"innerHTML"],["src","./assets/img/ic_20_chevron-right.svg","alt",""],[3,"for","innerHTML"],[1,"form-box__header-title",3,"innerHTML"],[1,"d-none","d-md-1-block","blue","form-box__tooltip","dw-clickable",3,"ngClass"],[1,"form-box__tooltip","d-flex","align-items-center",3,"ngClass"],["tooltipStyle","dw-info-tooltip","placement","right-top bottom-right","src","./assets/img/icon-info-outline.svg",3,"click","
1showInfo","infoText","showTitle","text"],["id","info-button","imgClass","img-right medium","imgSrc","./assets/img/icon-info-outline.svg",1,"button","flex-center","button-info","normal",3,"$buttonClickOutput","imgRight"],[3,"innerHTML"],[3,"click","innerHTML"],[3,"src"],[1,"caption"],[1,"dw-link"],[1,"dw-link",3,"click"]],template:function(zt,jt){if(1&zt&&(t.NAR(T),t.j41(0,"div",1)(1,"div",2),t.nVh(2,v,5,3,"div",3),t.nVh(3,pt,2,2),t.k0s(),t.j41(4,"div",4,0),t.SdG(6),t.k0s(),t.j41(7,"div",5),t.nVh(8,gt,3,2,"p",6),t.nVh(9,et,1,1,"p",7),t.nVh(10,Et,2,1,"p",8),t.nVh(11,at,5,3,"div",9),t.k0s(),t.SdG(12,1),t.k0s()),2&zt){let Nt;t.Y8G("ngClass",t.l_i(10,A,!jt.isCurrentQuestion&&(null==jt.formControlsSummary?null:jt.formControlsSummary.invalid),"row"===jt.desktopView)),t.R7$(),t.Y8G("ngClass",t.eq3(13,I,"row"===jt.desktopView)),t.R7$(),t.vxM(jt.titleText||jt.subtitleText?2:-1),t.R7$(),t.vxM((Nt=jt.tooltipConfiguration)?3:-1,Nt),t.R7$(),t.Y8G("ngClass",t.eq3(15,C,(null==jt.formControlsSummary?null:jt.formControlsSummary.touched)&&(null==jt.formControlsSummary?null:jt.formControlsSummary.invalid)&&"error-box"===jt.errorStyle)),t.R7$(3),t.Y8G("ngClass",t.eq3(17,k,"row"===jt.desktopView)),t.R7$(),t.vxM(jt.instructionsText||jt.instructionsTextLinkText?8:-1),t.R7$(),t.vxM(jt.confirmationText&&null!=jt.formControlsSummary&&jt.formControlsSummary.valid?9:-1),t.R7$(),t.vxM(jt.errorMessageText&&null!=jt.formControlsSummary&&jt.formControlsSummary.touched&&null!=jt.formControlsSummary&&jt.formControlsSummary.invalid?10:-1),t.R7$(),t.vxM(null!=jt.helpMessageConfiguration&&jt.helpMessageConfiguration.isShown?11:-1)}},dependencies:[m.YU,r.b,_.Q,g.C],styles:["[_nghost-%COMP%]{--unfilled: #f7f9fb;display:block;padding:var(--form-box-padding, 20px 20px 25px)}.unfilled[_nghost-%COMP%]{background-color:var(--unfilled)}.form-box__container[_ngcontent-%COMP%]:has(.dw-input-autocomplete)   .form-box__error-message[_ngcontent-%COMP%]{display:var(--form-box-with-autocomplete-error-message-display)}.form-box__container--unfilled[_ngcontent-%COMP%]{background-color:var(--unfilled)}@media (min-width: 768px){.form-box__container--row-md-design[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:50%}}.form-box__content.error-box[_ngcontent-%COMP%]{background-color:#fcf3f5;border:1px solid #c8102e;border-radius:10px;padding:16px}.form-box__header[_ngcontent-%COMP%]{color:#646464;padding-bottom:var(--form-box-header-padding-bottom, 16px)}.form-box__header-title-container[_ngcontent-%COMP%]{position:relative;font-weight:var(--form-box-title-font-weight, 700);color:#484848}.form-box__header-title-container[_ngcontent-%COMP%]   p.small-body[_ngcontent-%COMP%]{color:#646464}.form-box__header-title-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:relative;max-width:25px;width:25px;height:20px;padding-left:5px;animation-duration:.5s;animation-iteration-count:infinite;animation-name:_ngcontent-%COMP%_bounce;animation-timing-function:ease-in}@keyframes _ngcontent-%COMP%_bounce{0%{left:-10px}to{left:-5px}}.form-box__header-subtitle[_ngcontent-%COMP%]{font-weight:var(--form-box-subtitle-font-weight)}.form-box__tooltip[_ngcontent-%COMP%]{margin-left:12px}.form-box__tooltip[_ngcontent-%COMP%]     ngb-tooltip-window.bs-tooltip-right{top:0!important;left:30px!important}.form-box__tooltip[_ngcontent-%COMP%]     ngb-tooltip-window.bs-tooltip-bottom{top:10px!important;left:10px!important}.form-box__tooltip[_ngcontent-%COMP%]     ngb-tooltip-window.bs-tooltip-left{top:0!important;left:-10px!important}.form-box__instructions[_ngcontent-%COMP%], .form-box__confirmation-text[_ngcontent-%COMP%]{color:#646464;padding:var(--form-box-instructions-padding, 15px 0 0);font-weight:var(--form-box-instructions-font-weight, 400)}.form-box__error-message[_ngcontent-%COMP%]{padding-top:var(--form-box-error-message-padding, 16px);padding-bottom:2px;color:#c8102e;font-size:var(--form-box-error-message-font-size, 12px);font-weight:700;font-style:var(--form-box-error-message-font-style);text-align:var(--form-box-error-message-text-align)}.form-box__help-notification[_ngcontent-%COMP%]{padding-top:11.5px}.form-box__help-notification[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{padding-right:var(--form-box-help-notification-img-padding-right, 14.5px)}@media (max-width: 767px){.form-box__instructions[_ngcontent-%COMP%], .form-box__confirmation-text[_ngcontent-%COMP%]{font-size:var(--form-box-instru
1ction-size-mobile, 12px)}}@media (min-width: 951px){[_nghost-%COMP%]{position:relative}.form-box__help-notification[_ngcontent-%COMP%]{position:var(--form-box-help-notification-min-width-xmd-position, absolute);top:0;left:100%;width:var(--form-box-help-notification-min-width-xmd-width, 70%);padding-top:5px;padding-left:var(--form-box-help-notification-min-width-xmd-padding-left, 14.5px)}}"]})}}return st})()},97959(ht,L,o){"use strict";o.d(L,{uZ:()=>c,q4:()=>f.q,zX:()=>M.z,HY:()=>r,vf:()=>zt,eA:()=>pe,Lk:()=>Lt,r1:()=>St,zT:()=>Yt.z,ur:()=>Rn,mI:()=>w,Pz:()=>je,Qc:()=>vt.Qc,$7:()=>Jn.$7,Ko:()=>Ut.K,Rk:()=>vn,ND:()=>mo,AN:()=>xe,wf:()=>vt.wf,e7:()=>mn,Sw:()=>An,pL:()=>dn});var t=o(44181),e=o(51203),n=o(80226);let c=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD]})}}return Tt})();var f=o(71438),M=o(6502);o(6519);let r=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD]})}}return Tt})();var _=o(75089);o(87835);var p=o(97620);let h=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({})}}return Tt})(),w=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[h,t.MD,p.l4]})}}return Tt})();o(78567);var Et=o(73328),K=o(28),at=o(4130),Bt=o(59755),_t=o(7553),st=o(42825),Ut=o(69732),ft=o(75349);let zt=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,st.Z,_t.m,Ut.K,at.t,Bt.S,K.l,Et.UN,ft.w]})}}return Tt})();o(51653);var Nt=o(28955),Dt=o(91360);let pe=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({providers:[Nt.Bg],imports:[t.MD,Bt.S,at.t,st.Z,Dt.C3]})}}return Tt})(),Lt=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,f.q,h]})}}return Tt})();var fe=o(99608);let St=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,fe.u]})}}return Tt})();var Xt=o(23321),S=o(97253),vt=o(16776),y=o(49582);const U=["inputField"];function F(Tt,Qe){if(1&Tt){const At=e.RV6();e.j41(0,"div",6)(1,"img",10),e.bIt("click",function(de){n.eBV(At);const $e=e.XpG();return n.Njj($e.iconClicked(de))}),e.k0s()()}if(2&Tt){const At=e.XpG();e.R7$(),e.Y8G("src","./assets/img/icon-"+At.rightIcon+".svg",e.B4B)}}function G(Tt,Qe){if(1&Tt&&(e.j41(0,"label",7),e.EFF(1),e.k0s()),2&Tt){const At=e.XpG();e.R7$(),e.SpI(" ",At.placeholder," ")}}function dt(Tt,Qe){if(1&Tt){const At=e.RV6();e.j41(0,"div",12),e.bIt("blur",function(de){n.eBV(At);const $e=e.XpG(2);return n.Njj($e.blurEventHandler(de))})("click",function(){const de=n.eBV(At).$implicit,$e=e.XpG(2);return n.Njj($e.autocompleteClicked(de))})("keydown",function(de){const $e=n.eBV(At).$implicit,Fe=e.XpG(2);return n.Njj(Fe.moveOrSelectOption(de,$e))}),e.k0s()}2&Tt&&e.Y8G("innerHTML",Qe.$implicit.description,e.npT)}function ut(Tt,Qe){if(1&Tt&&(e.j41(0,"div",8),e.Z7z(1,dt,1,1,"div",11,e.fX1),e.k0s()),2&Tt){const At=e.XpG();e.Y8G("id",At.inputId+"-autocomplete-dropdown"),e.R7$(),e.Dyx(At.optionList)}}function yt(Tt,Qe){if(1&Tt&&(e.j41(0,"div",9),e.nrm(1,"div",13),e.k0s()),2&Tt){const At=e.XpG();
1e.R7$(),e.Y8G("innerHTML",At.noMatchFoundText,e.npT)}}let Re=(()=>{class Tt{constructor(At){this.cdRef=At,this.disabled=!1,this.validStyleConfig=vt.wf.Green,this.positionInGroup=vt.Qc.None,this.formatter=Jt=>Jt,this.deFormatter=Jt=>Jt,this.optionList=[],this.autocompleteMinChar=1,this.debounceTime=500,this.maxLength=null,this.noMatchFoundText="",this.shouldHaveDefault=!1,this.formControl=new Xt.hs,this.readonly=!0,this.$valueClick=new e.bkB,this.$inputValue=new e.bkB,this.$iconClick=new e.bkB,this.showAutocomplete=!0,this.inputTextFieldValue="",this.inputDebouncer=new S.B,this.onChange=()=>{},this.onTouch=()=>{}}iconClickHandler(At){this.$iconClick.emit(At)}moveOrSelectOption(At,Jt){const de=At.key===_.jeb.ArrowDown?document.activeElement.nextElementSibling:At.key===_.jeb.ArrowUp?document.activeElement.previousElementSibling:null;de?(this.showAutocomplete=!0,de.focus()):this.keyHandler(At,Jt)}navigateOptions(At){At.key===_.jeb.ArrowDown&&document.getElementById(this.inputId+"-autocomplete-dropdown").firstChild.focus()}keyHandler(At,Jt){At.key===_.jeb.Enter?this.autocompleteClicked(Jt):At.key===_.jeb.Escape&&(this.showAutocomplete=!1)}blurEventHandler(At){const Jt=At.relatedTarget;(!Jt||!Jt.classList.contains("autocomplete-item"))&&(Promise.resolve(null).then(()=>this.showAutocomplete=!1),this.onTouch())}eventHandler(At){this.inputTextFieldValue=At.target.value,this.inputDebouncer.next(this.inputTextFieldValue)}writeValue(At){if(this.shouldHaveDefault){const Jt=At?.description?At:this.defaultValue;this.inputTextFieldValue=Jt.description||Jt.description,this.formControl.setValue(Jt),this.formControl.updateValueAndValidity()}else this.inputTextFieldValue=At?.description||""}registerOnChange(At){this.onChange=At}registerOnTouched(At){this.onTouch=At}setDisabledState(At){this.disabled=At}focus(){this.showAutocomplete=!0,this.inputTextFieldElement&&this.inputTextFieldElement.nativeElement.focus()}autocompleteClicked(At){this.showAutocomplete=!1,this.inputTextFieldValue=At.description,this.$valueClick.emit(At),this.onChange(At),this.onTouch()}clearText(){this.inputTextFieldValue="",this.inputDebouncer.next(this.inputTextFieldValue)}focusAt(At){this.cdRef.detectChanges(),this.inputTextFieldElement.nativeElement.focus(),this.inputTextFieldElement.nativeElement.setSelectionRange(At,At)}static{this.\u0275fac=function(Jt){return new(Jt||Tt)(e.rXU(y.gRc))}}static{this.\u0275cmp=e.VBU({type:Tt,selectors:[["conte-dw-input-field-autocomplete-with-directive"]],viewQuery:function(Jt,de){if(1&Jt&&e.GBs(U,5),2&Jt){let $e;e.mGM($e=e.lsd())&&(de.inputTextFieldElement=$e.first)}},inputs:{additionalPlaceholder:"additionalPlaceholder",disabled:"disabled",inputType:"inputType",inputId:"inputId",inputName:"inputName",placeholder:"placeholder",maskConfig:"maskConfig",validStyleConfig:"validStyleConfig",positionInGroup:"positionInGroup",rightIcon:"rightIcon",formatter:"formatter",deFormatter:"deFormatter",optionList:"optionList",autocompleteMinChar:"autocompleteMinChar",debounceTime:"debounceTime",maxLength:"maxLength",noMatchFoundText:"noMatchFoundText",defaultValue:"defaultValue",shouldHaveDefault:"shouldHaveDefault",formControl:"formControl",readonly:"readonly"},outputs:{$valueClick:"$valueClick",$inputValue:"$inputValue",$iconClick:"$iconClick"},standalone:!1,features:[e.Jv_([{provide:Xt.kq,useExisting:(0,n.Rfq)(()=>Tt),multi:!0}])],decls:10,vars:16,consts:[["inputField",""],[1,"ui-bootstrap","dw-input-text-field"],[1,"dw-input-field"],[1,"dw-input-container"],[1,"dw-in
1put-content"],["tabindex","0","conteDwAutocompleteInputField","",1,"dw-input",3,"keydown","focus","blur","input","type","ngClass","id","name","placeholder","value","conteDwInputMask","optionList","formControl","readonly"],[1,"dw-input-icon","right"],["for","InputName",1,"label"],[1,"dw-input-autocomplete",3,"id"],[1,"dw-input-autocomplete"],[3,"click","src"],["tabindex","1",1,"autocomplete-item",3,"innerHTML"],["tabindex","1",1,"autocomplete-item",3,"blur","click","keydown","innerHTML"],[3,"innerHTML"]],template:function(Jt,de){if(1&Jt){const $e=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"input",5,0),e.bIt("keydown",function(bt){return n.eBV($e),n.Njj(de.navigateOptions(bt))})("focus",function(){return n.eBV($e),n.Njj(de.focus())})("blur",function(bt){return n.eBV($e),n.Njj(de.blurEventHandler(bt))})("input",function(bt){return n.eBV($e),n.Njj(de.eventHandler(bt))}),e.k0s(),e.nVh(6,F,2,1,"div",6),e.k0s()()(),e.nVh(7,G,2,1,"label",7),e.nVh(8,ut,3,1,"div",8),e.nVh(9,yt,2,1,"div",9),e.k0s()}2&Jt&&(e.R7$(4),e.Y8G("type",de.inputType)("ngClass",de.validStyleConfig+" "+de.positionInGroup+(de.additionalPlaceholder?" text-left dw-input-field__input--additional-placeholder":""))("id",de.inputId)("name",de.inputName)("placeholder",de.placeholder)("value",de.inputTextFieldValue)("conteDwInputMask",de.maskConfig)("optionList",de.optionList)("formControl",de.formControl)("readonly",de.readonly),e.BMQ("maxlength",de.maxLength)("disabled",de.disabled||null),e.R7$(2),e.vxM(de.rightIcon?6:-1),e.R7$(),e.vxM(de.additionalPlaceholder&&de.inputTextFieldValue?7:-1),e.R7$(),e.vxM(de.optionList&&de.optionList.length>0&&de.showAutocomplete?8:-1),e.R7$(),e.vxM(de.noMatchFoundText?9:-1))},styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.dw-input-autocomplete[_ngcontent-%COMP%]{position:absolute;left:5%;right:5%;margin-top:10px;background-color:#fff;border:1px solid #ccdde8;border-radius:10px;box-shadow:0 0 8px 2px #0945851a;max-height:260px;overflow:auto;z-index:1022;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.dw-input-autocomplete[_ngcontent-%COMP%]   .invert-direction[_ngcontent-%COMP%]{top:-280%}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{background-color:#fff;color:#484848;font-size:16px;line-height:160%;padding:12px;cursor:pointer;border-bottom:1px solid #e6eef3}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{border-bottom:none}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:hover{background-color:#f1f8ff}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:focus{outline:none;background-color:#f1f8ff}.dw-input-autocomplete[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:10px;mix-blend-mode:multiply;background-color:#e6eef3}.dw-input-autocomplete[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;mix-blend-mode:multiply;background-color:#e6eef3}.dw-input-autocomplete[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;mix-blend-mode:multiply;background-color:#e6eef3}.dw-input-field[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]{padding:11px;font-weight:700;line-height:150%;font-size:20px;color:#303030;border-radius:10px;text-align:center;position:relative}.dw-input-field[_ngcontent-%COMP%]   .dw-input.top[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:unset;border-bottom-right-radius:unset}.dw-input-field[_ngcontent-%COMP%]   .dw-input.middle[_ngcontent-%COMP%]{border-bottom:none;border-radius:unset}.dw-input-field[_ngcontent-%COMP%]   .dw-input.end[_ngcontent-%COMP%]{border-top-left-radius:unset;border-top-right-radius:unset}.dw-input-field[_ngcontent-%COMP%]   .dw-input-field__input--additional-placeholder[_ngcontent-%COMP%]:not(:placeholder-shown){padding-top:20px;padding-bottom:6px;padding-left:11px;font-size:16px;line-height:160%}.label[_ngcontent-%COMP%]{position:absolute;left:32px;pointer-events:none;font-size:14px;font-weight:400;color:#8a8a8a;margin-top:6px;margin-bottom:6px;line-height:160%}.ng-touched.ng-invalid[_nghost-%COMP%]   .dw-input[_ngcontent-%COMP%]{border-color:#c8102e;background-color:#fcf3f5}.ng-touched.ng-valid[_nghost-%COMP%]   .dw-input.green[_ngcontent-%COMP%]{border-color:#4ab047;background-color:#eff8ee}.ng-touched.ng-valid[_nghost-%COMP%]   .dw-input.blue[_ngcontent-%COMP%]{border-color:#4dabff;background-color:#f1f8ff}.left-icon[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%], .left-icon[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%], .left-icon[_ngcontent-%COMP%]   .dw-textarea[_ngcontent-%COMP%]{border-radius:10px;padding:6px 60px;min-width:150px}.dw-input-search[_ngcontent-%COMP%]{min-width:350px}
1@media (max-width: 951px){.dw-input-autocomplete[_ngcontent-%COMP%]{left:2%;right:58%}}"]})}}return Tt})();var Pe=o(92096);let qe=(()=>{class Tt{constructor(At){this.component=At,this.internalOptionList=[]}ngOnInit(){this.component.showAutocomplete=!1,this.debouncerSubscription=this.component.inputDebouncer.pipe((0,Pe.B)(this.component.debounceTime)).subscribe(At=>{this.inputEventHandler(At)})}ngOnDestroy(){this.debouncerSubscription.unsubscribe()}onAutocompleteValueClick(At){this.formControl.setValue(At),this.component.showAutocomplete=!1,this.component.inputTextFieldElement.nativeElement.blur()}inputEventHandler(At){At=At.replace(/\s*/g,""),this.component.optionList=[],this.formControl.setErrors({notAutocompleted:!0});const Jt=[],de=[];Object.assign(this.internalOptionList,this.optionList),this.internalOptionList.forEach(Fe=>{Fe.description.toLowerCase().startsWith(At.toLowerCase())?Jt.push(Fe):Fe.description.toLowerCase().includes(At.toLowerCase())&&de.push(Fe)});const $e=Jt.concat(de);1===$e.length?this.component.optionList.push({value:$e[0].value,description:$e[0].description}):$e.forEach(Fe=>{this.component.optionList.push({value:Fe.value,description:Fe.description})})}static{this.\u0275fac=function(Jt){return new(Jt||Tt)(e.rXU(Re))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["","conteDwAutocompleteInputField",""]],hostBindings:function(Jt,de){1&Jt&&e.bIt("$valueClick",function(Fe){return de.onAutocompleteValueClick(Fe)})("$inputValue",function(Fe){return de.inputEventHandler(Fe)})},inputs:{optionList:"optionList",formControl:"formControl"},standalone:!1})}}return Tt})();var oe=o(51947);e.wjB(Re,[t.YU,qe,oe.E],[]);var Yt=o(48842);let Rn=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,p.l4]})}}return Tt})();o(52163);const mn=Tt=>Tt?.code;var cn=o(91048),Ln=o(8301);let tn=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,Et.UN,Ln.Q,cn.n]})}}return Tt})(),je=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,Et.UN,cn.n,tn,K.l]})}}return Tt})();var Jn=o(11425);const An=Tt=>Tt===_.BjN.Yes,dn=Tt=>{if("boolean"==typeof Tt)return Tt?_.BjN.Yes:_.BjN.No};o(38639);let vn=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({providers:[Nt.Bg],imports:[t.MD,K.l,cn.n,_t.m]})}}return Tt})();o(97161);var on=o(37754);let mo=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({providers:[on.oG],imports:[t.MD]})}}return Tt})();o(43294);var co=o(29082);let We=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,Et.UN,Ln.Q,cn.n,co.x,h]})}}return Tt})(),xe=(()=>{class Tt{static{this.\u0275fac=function(Jt){return new(Jt||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=n.G2t({imports:[t.MD,Et.UN,cn.n,We]})}}return Tt})()},22091(ht,L,o){"use strict";o.d(L,{_:()=>T});var t=o(80226),e=o(23321),n=o(51203),c=o(44181);const f=["inputField"],M=["*"];function m(B,A){if(1&B&&(n.j41(0,"label",3),n.EFF(1),n.k0s()),2&B){const I=n.XpG();n.Y8G("for",I.inputId),n.R7$(),n.JRh(I.label)}}function r(B,A){if(1&B&&(n.j41(0,"div",6),n.nrm(1,"img",11),n.k0s()),2&B){const I=n.XpG();n.R7$(),n.Y8G("src","./assets/img/icon-"+I.leftIcon+".svg",n.B4B)}}function _(B,A){if(1&B){const I=n.RV6();n.j41(0,"div",8)(1,"img",12),n.bIt("click",function(){t.eBV(I);const k=n.XpG();return t.Njj(k.clearText())}),n.k0s()()}if(2&B){const I=n.XpG();n.R7$(),n.Y8G("src","./assets/img/icon-"+I._rightIcon+".svg",n.B4B)}}function g(B,A){1&B&&(n.j41(0,"div",9),n.SdG(1),n.k0s())}function $(B,A){if(1&B&&(n.j41(0,"div",10),n.EFF(1),n.k0s()),2&B){const I=n.XpG();n.R7$(),n.SpI(" ",I._message," ")}}let T=(()=>{class B{set valid(I){null==I?(this._rightIcon=this.rightIcon,this._inputFieldClasses=this.inputFieldClasses,this._message=this.message):I?(this._rightIcon=this.validRightIcon,this._inputFieldClasses=this.inputFieldClasses+" "+this.validClass,this._message=this.validMessage?this.validMessage:null):(this._rightIcon=this.invalidRightIcon,this._message=this.invalidMessage?this.invalidMessage:null,this._inputFieldClasses=this.inputFieldClasses+" "+this.invalidClass)}constructor(){this.showLabel=!0,this.invalidClass="dw-input-field-error",this.validClass="dw-input-field-approved",this.disabled=!1,this.validRightIcon="check",this.invalidRightIcon="alert-triangle-outline",this.showExternalIcon=!1,this.showAutocomplete=!1,this.maxLength=null,this.clearTextButton=!1,this.inputFieldValue="",this.onChange=()=>{},this.onTouch=()=>{}}inputEventHandler(I){this.inputFieldValue=I.target.value,this.onChange(this.inputFieldValue)}blurEventHandler(){this.onTouch()}focus(){this.inputFieldElement&&this.inputFieldElement.nativeElement.focus()}writeValue(I){this.inputFieldValue=I}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouch=I}setDisabledState(I){this.disabled=I}clearText(){this.clearTextButton&&(this.writeValue(""),this.onChange(""))}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275cmp=n.VBU({type:B,selectors:[["conte-dw-input-field"]],viewQuery:function(C,k){if(1&C&&n.GBs(f,5),2&C){let s;n.mGM(s=n.lsd())&&(k.inputFieldElement=s.first)}},inputs:{inputFieldClasses:"inputFieldClasses",showLabel:"showLabel",invalidClass:"invalidClass",validClass:"validClass",label:"label",leftIcon:"leftIcon",inputType:"inputType",inputId:"inputId",inputName:"inputName",placeholder:"placeholder",disabled:"disabled",rightIcon:"rightIcon",validRightIcon:"validRightIcon",invali
1dRightIcon:"invalidRightIcon",showExternalIcon:"showExternalIcon",message:"message",invalidMessage:"invalidMessage",validMessage:"validMessage",showAutocomplete:"showAutocomplete",maxLength:"maxLength",clearTextButton:"clearTextButton",_inputFieldClasses:"_inputFieldClasses",valid:"valid"},standalone:!1,features:[n.Jv_([{provide:e.kq,useExisting:(0,t.Rfq)(()=>B),multi:!0}])],ngContentSelectors:M,decls:11,vars:13,consts:[["inputField",""],[1,"ui-bootstrap"],[1,"dw-input-field",3,"ngClass"],[1,"dw-label",3,"for"],[1,"dw-input-container"],[1,"dw-input-content"],[1,"dw-input-icon","left"],["required","",1,"dw-input",3,"input","blur","type","id","name","placeholder","value"],[1,"dw-input-icon","right"],[1,"dw-input-external-icon"],[1,"dw-input-message"],[3,"src"],[3,"click","src"]],template:function(C,k){if(1&C){const s=n.RV6();n.NAR(),n.j41(0,"div",1)(1,"div",2),n.nVh(2,m,2,2,"label",3),n.j41(3,"div",4)(4,"div",5),n.nVh(5,r,2,1,"div",6),n.j41(6,"input",7,0),n.bIt("input",function(E){return t.eBV(s),t.Njj(k.inputEventHandler(E))})("blur",function(){return t.eBV(s),t.Njj(k.blurEventHandler())}),n.k0s(),n.nVh(8,_,2,1,"div",8),n.k0s(),n.nVh(9,g,2,0,"div",9),n.k0s(),n.nVh(10,$,2,1,"div",10),n.k0s()()}2&C&&(n.R7$(),n.Y8G("ngClass",k._inputFieldClasses),n.R7$(),n.vxM(k.showLabel?2:-1),n.R7$(3),n.vxM(k.leftIcon?5:-1),n.R7$(),n.Y8G("type",k.inputType)("id",k.inputId)("name",k.inputName)("placeholder",k.placeholder)("value",k.inputFieldValue),n.BMQ("disabled",k.disabled||null)("maxlength",k.maxLength),n.R7$(2),n.vxM(k._rightIcon?8:-1),n.R7$(),n.vxM(k.showExternalIcon?9:-1),n.R7$(),n.vxM(k._message?10:-1))},dependencies:[c.YU],styles:[".dw-input-field-login[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%], .dw-input-field-login[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%], .dw-input-field-login[_ngcontent-%COMP%]   .dw-textarea[_ngcontent-%COMP%]{border-radius:10px;padding:12px 40px}.dw-input-field-login[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]:not(input), .dw-input-field-login[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%]:not(select){padding:12px 40px}.dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%], .dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%], .dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-textarea[_ngcontent-%COMP%]{padding:12px 40px 12px 12px;font-weight:700}.dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]:not(input), .dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%]:not(select){padding:12px 40px 12px 12px}.dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-label[_ngcontent-%COMP%]{padding-bottom:12px}.dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]::placeholder{font-weight:700}.dw-input-field-renewal-edit[_ngcontent-%COMP%]   .dw-textarea[_ngcontent-%COMP%]::placeholder{font-weight:700}.dw-input-field-blue-label[_ngcontent-%COMP%]   .dw-label[_ngcontent-%COMP%]{color:#00558c}.dw-input-field-custom[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%], .dw-input-field-custom[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%], .dw-input-field-custom[_ngcontent-%COMP%]   .dw-textarea[_ngcontent-%COMP%]{padding:var(--input-field-padding, 13px 0 13px 12px);border-radius:var(--input-field-border-radius, 10px 10px 0 0)}.dw-input-field-custom[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]::placeholder, .dw-input-field-custom[_ngcontent-%COMP%]   .dw-select[_ngcontent-%COMP%]::placeholder, .dw-input-field-custom[_ngcontent-%COMP%]   .dw-textarea[_ngcontent-%COMP%]::placeholder{font-weight:var(--input-field--placeholder-font-weight, normal)}"]})}}return B})()},48842(ht,L,o){"use strict";o.d(L,{z:()=>f});var t=o(44181),e=o(99608),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({imports:[t.MD,e.u]})}}return M})()},16776(ht,L,o){"use strict";o.d(L,{Qc:()=>t,tw:()=>n,wf:()=>e});var t=function(c){return c.Top="top",c.Middle="middle",c.End="end",c.None="none",c}(t||{}),e=function(c){return c.Green="green",c.Blue="blue",c}(e||{}),n=function(c){return c.None="none",c.Cleartext="clearText",c}(n||{})},87835(ht,L,o){"use strict";o.d(L,{b:()=>s});var t=o(80226),e=o(51203),n=o(23321),c=o(97253),f=o(92096),M=o(64660),m=o(16776),r=o(49582),_=o(51947),g=o(44181),$=o(5547);const T=["inputTextField"];function B(l,E){if(1&l){const p=e.RV6();e.j41(0,"div",4)(1,"img",8),e.bIt("click",function(w){t.eBV(p);const z=e.XpG();return t.Njj(!z.disabled&&z.iconClicked(w))}),e.k0s()()}if(2&l){const p=e.XpG();e.R7$(),e.Y8G("src",p.rightIconCompletePath?p.rightIcon:"./assets/img/icon-"
1+p.rightIcon+".svg",e.B4B)}}function A(l,E){if(1&l&&(e.j41(0,"label",5),e.EFF(1),e.k0s()),2&l){const p=e.XpG();e.Y8G("for",p.inputId||p.inputName||null),e.R7$(),e.SpI(" ",p.placeholder," ")}}function I(l,E){if(1&l){const p=e.RV6();e.j41(0,"div",10),e.bIt("click",function(){const w=t.eBV(p).$implicit,z=e.XpG(2);return t.Njj(z.autocompleteClicked(w))}),e.k0s()}2&l&&e.Y8G("innerHTML",E.$implicit.description,e.npT)}function C(l,E){if(1&l&&(e.j41(0,"div",6),e.Z7z(1,I,1,1,"div",9,e.fX1),e.k0s()),2&l){const p=e.XpG();e.R7$(),e.Dyx(p.autocompleteList)}}function k(l,E){if(1&l&&(e.j41(0,"div",7),e.nrm(1,"div",9),e.k0s()),2&l){const p=e.XpG();e.R7$(),e.Y8G("innerHTML",p.noMatchFoundText,e.npT)}}let s=(()=>{class l extends M.c{constructor(p){super(),this.cdRef=p,this.disabled=!1,this.validStyleConfig=m.wf.Green,this.updateStyleOnPrefill=!1,this.positionInGroup=m.Qc.None,this.inputFieldValue="",this.rightIconClickStrategy=m.tw.None,this.formatter=h=>h,this.deFormatter=h=>h,this.autocompleteList=null,this.autocompleteMinChar=1,this.debounceTime=500,this.maxLength=null,this.noMatchFoundText="",this.$inputValue=new e.bkB,this.$valueClick=new e.bkB,this.$iconClick=new e.bkB,this.$blurEvent=new e.bkB,this.onChange=()=>{},this.onTouch=()=>{},this.debouncer=new c.B,this.showAutocomplete=!1,this.debouncer.pipe((0,f.B)(this.debounceTime)).subscribe(h=>{this.$inputValue.emit(h)})}inputEventHandler(p,h){p&&(h||!this.maskConfig)&&(this.inputFieldValue=p.target.value,(this.inputFieldValue.length>=this.autocompleteMinChar||""===this.inputFieldValue)&&this.debouncer.next(this.inputFieldValue),this.autocompleteList||this.onChange(this.deFormatter(this.inputFieldValue)))}autocompleteClicked(p){this.inputFieldValue=this.formatter(p.description),this.showAutocomplete=!1,this.$valueClick.emit(p),this.onChange(p),this.onTouch()}clearText(){this.inputFieldValue="",this.debouncer.next(this.inputFieldValue)}blurEventHandler(p){setTimeout(()=>{this.showAutocomplete=!1},500),this.$blurEvent.emit(p.target.value),this.onTouch()}focus(){this.showAutocomplete=!0,this.inputTextFieldElement&&this.inputTextFieldElement.nativeElement.focus()}iconClicked(p){this.$iconClick.emit(p),this.rightIconClickStrategy===m.tw.Cleartext&&this.clearText()}focusAt(p){this.cdRef.detectChanges(),this.inputTextFieldElement.nativeElement.focus(),this.inputTextFieldElement.nativeElement.setSelectionRange(p,p)}writeValue(p){this.inputFieldValue="string"==typeof p||"number"==typeof p?this.formatter(p):p?.description||this.autocompleteList?.find(({code:h})=>h===p?.code)?.description||""}registerOnChange(p){this.onChange=p}registerOnTouched(p){this.onTouch=p}setDisabledState(p){this.disabled=p}static{this.\u0275fac=function(h){return new(h||l)(e.rXU(r.gRc))}}static{this.\u0275cmp=e.VBU({type:l,selectors:[["conte-dw-input-text-field"]],viewQuery:function(h,w){if(1&h&&e.GBs(T,5),2&h){let z;e.mGM(z=e.lsd())&&(w.inputTextFieldElement=z.first)}},inputs:{additionalPlaceholder:"additionalPlaceholder",disabled:"disabled",inputType:"inputType",inputId:"inputId",inputName:"inputName",placeholder:"placeholder",ariaLabel:"ariaLabel",maskConfig:"maskConfig",validStyleConfig:"validStyleConfig",updateStyleOnPrefill:"updateStyleOnPrefill",positionInGroup:"positionInGroup",rightIcon:"rightIcon",rightIconCompletePath:"rightIconCompletePath",inputFieldValue:"inputFieldValue",rightIconClickStrategy:"rightIconClickStrategy",formatter:"formatter",deFormatter:"deFormatter",autocompleteList:"autocompleteList",autocompleteMinChar:"autocompleteMinChar",debounceTime:"debounceTime",maxLength:"maxLength",noMatchFoundText:"noMatchFoundText"},outputs:{$inputValue:"$inputValue",$valueClick:"$valueClick",$iconClick:"$iconClick",$blurEvent:"$blurEvent"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>l),multi:!0},{provide:M.c,useExisting:(0,t.Rfq)(()=>l)}]),e.Vt3],decls:8,vars:14,consts:[["inputTextField",""],[1,"ui-bootstrap","dw-input-text-field"],[1,"dw-input-field"],["conteDwDataCy","",1,"dw-input",3,"$maskedInput","blur","focus","input","type","ngClass","id","name","placeholder","value","conteDwInputMask"],[1,"dw-in
1put-icon","right"],[1,"label",3,"for"],[1,"dw-input-autocomplete","overflow-auto"],[1,"dw-input-autocomplete"],[3,"click","src"],[3,"innerHTML"],[3,"click","innerHTML"]],template:function(h,w){if(1&h){const z=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"input",3,0),e.bIt("$maskedInput",function(D){return t.eBV(z),t.Njj(w.inputEventHandler(D,!0))})("blur",function(D){return t.eBV(z),t.Njj(w.blurEventHandler(D))})("focus",function(){return t.eBV(z),t.Njj(w.focus())})("input",function(D){return t.eBV(z),t.Njj(w.inputEventHandler(D,!1))}),e.k0s(),e.nVh(4,B,2,1,"div",4),e.k0s(),e.nVh(5,A,2,2,"label",5),e.nVh(6,C,3,0,"div",6),e.nVh(7,k,2,1,"div",7),e.k0s()}2&h&&(e.R7$(2),e.Y8G("type",w.inputType)("ngClass",w.validStyleConfig+" "+w.positionInGroup+(w.additionalPlaceholder?" text-left dw-input-text-field__input--additional-placeholder":"")+(w.updateStyleOnPrefill?" prefilled":""))("id",w.inputId)("name",w.inputName)("placeholder",w.placeholder)("value",w.inputFieldValue)("conteDwInputMask",w.maskConfig),e.BMQ("aria-label",w.ariaLabel||w.placeholder||w.inputName||w.inputId||null)("disabled",w.disabled||null)("maxlength",w.maxLength),e.R7$(2),e.vxM(w.rightIcon?4:-1),e.R7$(),e.vxM(w.additionalPlaceholder&&w.inputFieldValue?5:-1),e.R7$(),e.vxM(w.autocompleteList&&w.autocompleteList.length>0&&w.showAutocomplete?6:-1),e.R7$(),e.vxM(w.noMatchFoundText?7:-1))},dependencies:[_.E,g.YU,$.W],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.dw-input-text-field[_ngcontent-%COMP%]{position:relative}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]{padding:11px;font-weight:700;line-height:var(--input-text-field-input-line-height, 150%);font-size:var(--input-text-field-input-font-size, 20px);color:var(--input-text-field-input-font-color, #303030);border-radius:var(--input-text-field-border-radius, 10px);text-align:var(--input-text-field-input-text-align, center);position:relative}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input.top[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:unset;border-bottom-right-radius:unset}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input.middle[_ngcontent-%COMP%]{border-bottom:none;border-radius:unset}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input.end[_ngcontent-%COMP%]{border-top-left-radius:unset;border-top-right-radius:unset}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input[_ngcontent-%COMP%]::placeholder{font-weight:var(--input-text-field-placeholder-weight)}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input[disabled][_ngcontent-%COMP%]{color:#8c8c8c;background-color:#e8e8e8;border:1px solid white}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input-icon[_ngcontent-%COMP%]{cursor:var(--input-text-field-icon-cursor)}.dw-input-text-field[_ngcontent-%COMP%]   .dw-input-text-field__input--additional-placeholder[_ngcontent-%COMP%]:not(:placeholder-shown){padding-top:20px;padding-bottom:6px;padding-left:11px;font-size:16px;line-height:160%}.label[_ngcontent-%COMP%]{position:absolute;left:32px;pointer-events:none;font-size:14px;font-weight:400;color:#8a8a8a;margin-top:6px;margin-bottom:6px;line-height:160%}.ng-touched.ng-invalid[_nghost-%COMP%]   .dw-input[_ngcontent-%COMP%]{border-color:#c8102e;background-color:#fcf3f5}.ng-touched.ng-valid[_nghost-%COMP%]   .dw-input.green[_ngcontent-%COMP%]{border-color:#4ab047;background-color:#eff8ee}.ng-touched.ng-valid[_nghost-%COMP%]   .dw-input.blue[_ngcontent-%COMP%]{border-color:#0075dd;background-color:#f1f8ff}.ng-valid[_nghost-%COMP%]   .dw-input.green.prefilled[_ngcontent-%COMP%]{border-color:#4ab047;background-color:#eff8ee}.ng-valid[_nghost-%COMP%]   .dw-input.blue.prefilled[_ngcontent-%COMP%]{border-color:#0075dd;background-color:#f1f8ff}.dw-input-autocomplete[_ngcontent-%COMP%]{position:var(--input-text-field-dw-input-autocomplete-position, absolute);inset:var(--input-text-field-dw-input-autocomplete-inset, 100% 0 auto auto);margin-top:10px;max-width:var(--input-text-field-dw-input-autocomplete-max-width, 100%);width:var(--input-text-field-dw-input-autocomplete-width, 100%);background-color:#fff;border:1px solid #ccdde8;border-radius:10px;box-shadow:0 0 8px 2px #0945851a;max-height:var(--input-text-field-dw-input-autocomplete-max-height, 260px
1);z-index:1022;-ms-overflow-style:none;scrollbar-width:var(--input-text-field-dw-input-autocomplete-scrollbar-width, none);overflow-x:var(--input-text-field-dw-input-autocomplete-overflow-x)!important}.dw-input-autocomplete[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:8px}.dw-input-autocomplete[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#ccdde8;box-shadow:0 0 1px #ffffff80}@supports (-moz-appearance: none){.dw-input-autocomplete[_ngcontent-%COMP%]{scrollbar-color:#ccdde8 #ffffff;--input-text-field-dw-input-autocomplete-scrollbar-width: thin}}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{background-color:#fff;color:#484848;font-size:16px;line-height:160%;padding:12px;cursor:pointer;border-bottom:1px solid #e6eef3}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{border-bottom:none}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:hover{background-color:#f1f8ff}.dw-input-autocomplete[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:focus{outline:none;background-color:#f1f8ff}"]})}}return l})()},52163(ht,L,o){"use strict";o.d(L,{U:()=>I});var t=o(80226),e=o(51203),n=o(23321),c=o(75089),f=o(97253),M=o(43732),m=o(48857),r=o(96774),_=o(73328),g=o(44181),$=o(46773),T=o(5547);function B(C,k){if(1&C&&(e.j41(0,"span",2),e.EFF(1),e.k0s()),2&C){const s=e.XpG();e.R7$(),e.SpI(" ",s.buttonPlaceholderAfterSelection," ")}}function A(C,k){if(1&C&&(e.j41(0,"span",4),e.EFF(1),e.k0s()),2&C){const s=e.XpG();e.R7$(),e.SpI(" ",s.additionalOptionText," ")}}let I=(()=>{class C{set itemsList(s){this._itemsList=s,this.updatePickerField("itemsList",s),this.currentValue&&this.writeValue(this.currentValue)}get itemsList(){return this._itemsList}set isPickerOpen(s){s&&this.openPicker()}constructor(s,l){this.modalService=s,this.ngZone=l,this.buttonPlaceholder="Indica l'ora di attivazione polizza",this.buttonPlaceholderAfterSelection="",this.elementId="no-id",this.buttonIcon="./assets/img/icon-clock.svg",this.headTitle="Ora di attivazione polizza",this.searchBarPlaceholder="Cerca la marca. Es: Fiat",this.buttonText="Aggiungi",this.deleteText="Cancella",this.disableList=!1,this.showBackButton=!0,this.showSearchBar=!1,this.configuration=c.jYi.ItemsList,this.selectedItemLabel="",this.isPickerOpenChange=new e.bkB,this.$backButtonClick=new e.bkB,this.$selectedItemOutput=new e.bkB,this.$selectedItemsOutput=new e.bkB,this._itemsList=[],this.onDestroy$=new f.B,this.formatter=E=>E,this.deFormatter=E=>E.code,this.onChange=()=>{},this.onTouch=()=>{}}ngOnDestroy(){this.onDestroy$.complete()}openPicker(){if(this.pickerReference)return;this.pickerReference=this.modalService.open(r.H);const s=this.pickerReference.componentInstance;s.headTitle=this.headTitle,s.elementId=this.elementId,s.searchBarPlaceholder=this.searchBarPlaceholder,s.buttonText=this.buttonText,s.deleteText=this.deleteText,s.itemsList=this.itemsList,s.showBackButton=this.showBackButton,s.showSearchBar=this.showSearchBar,s.isUnselectAllCheckboxes=this.isUnselectAllCheckboxes,s.unselectAllCheckboxesButtonText=this.unselectAllCheckboxesButtonText,s.noResultsSuggestions=this.noResultsSuggestions,s.configuration=this.configuration,s.$rightIconOutput.pipe((0,m.Q)(this.onDestroy$)).subscribe(()=>this.closePicker()),s.$leftIconOutput.pipe((0,m.Q)(this.onDestroy$)).subscribe(()=>{this.closePicker(),this.$backButtonClick.emit()}),s.$selectedItemOutput.pipe((0,M.c)(300),(0,m.Q)(this.onDestroy$)).subscribe(l=>{this.selectedItemLabel=l.description,this.$selectedItemOutput.emit(l),this.onChange(this.deFormatter(l)),this.closePicker()}),s.$selectedItemsOutput.pipe((0,M.c)(300),(0,m.Q)(this.onDestroy$)).subscribe(l=>{l.length||(this._itemsList=this.itemsList.map(E=>({...E,isSelected:!1}))),this.selectedItemLabel=l.map(({description:E})=>E).join(", "),this.$selectedItemsOutput.emit(l),this.onChange(l.map(E=>this.deFormatter(E))),this.closePicker()})}closePicker(){this.pickerReference&&(this.isPickerOpenChange.emit(!1),this.pickerReference.close(),this.pickerReference=null,this.onDestroy$.next(),this.onTouch())}writeValue(s){this.currentValue=this.formatter(s),this.currentValue?"string"==typeof this.currentValue?this.selectedItemLabel=this.itemsList?.find(l=>l.code===this.currentValue)?.description:(this._itemsList=this.itemsList?.map(l=>({...l,isSelected:this.currentValue.includes(l.code)})),this.selectedItemLabel=this.itemsList?.filter(({isSelected:l})=>l).map(l=>l.description).join(", ")):this.selectedItemLabel=null}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouch=s}setDisabledState(s){this.disableControl=s}updatePickerField(s,l){this.pickerReference&&this.ngZone.run(()=>this.pickerReference.componentInstance[s]=l)}static{this.\u0275fac=function(l){return new(l||C)(e.rXU(_.Bq),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["conte-dw-items-list-form"]],inputs:{buttonPlaceholder:"buttonPlaceholder",buttonPlaceholderAfterSelection:"buttonPlaceholderAfterSelection",elementId:"elementId",buttonIcon:"buttonIcon",headTitle:"headTitle",searchBarPlaceholder:"searchBarPlaceholder",buttonText:"buttonText",deleteText:"deleteText",disableList:"disableList",itemsList:"itemsList",showBackButton:"showBackButton",showSearchBar:"showSearchBar",isUnselectAllCheckboxes:"isUnselectAllCheckboxes",unselectAllCheckboxesButtonText:"unselectAllCheckboxesButtonText",noResultsSuggestions:"noResultsSuggestions",configuration:"configuration",selectedItemLabel:"selectedItemLabel",additionalOptionText:"additionalOptionText",isPickerOpen:"isPickerOpen",formatter:"formatter",deFormatter:"deFormatter"},outputs:{isPickerOpenChange:"isPickerOpenChange",$backButtonClick:"$backButtonClick",$selectedItemOutput:"$selectedItemOutput",$selectedItemsOutput:"$selectedItemsOutput"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>C),multi:!0}])],decls:6,vars:10,consts:[["conteDwDataCy","itemsListButton","type","button","name","button","value","button","imgClass","img-right xs",1,"button","form","flex","button-options","py-0",3,"$buttonClickOutput","id","imgRight","imgSrc","selected","disabled"],[1,"item-and-placeholder-container",3,"ngClass"],[1,"item-and-placeholder-container__placeholder-with-value"],[1,"item-and-placeholder-container__item-label"],[1,"additional-option-text-class"]],template:function(l,E){1&l&&(e.j41(0,"conte-dw-button-form",0),e.bIt("$buttonClickOutput",function(){return E.openPicker()}
1),e.j41(1,"div",1),e.nVh(2,B,2,1,"span",2),e.j41(3,"span",3),e.EFF(4),e.k0s(),e.nVh(5,A,2,1,"span",4),e.k0s()()),2&l&&(e.Y8G("id",E.elementId)("imgRight",!0)("imgSrc",E.disableControl||E.disableList?"":E.buttonIcon)("selected",!!E.selectedItemLabel)("disabled",E.disableControl||E.disableList),e.BMQ("type",null),e.R7$(),e.Y8G("ngClass",E.selectedItemLabel&&E.buttonPlaceholderAfterSelection?"active":"disabled"),e.R7$(),e.vxM(E.selectedItemLabel&&E.buttonPlaceholderAfterSelection?2:-1),e.R7$(2),e.SpI(" ",E.selectedItemLabel||E.buttonPlaceholder," "),e.R7$(),e.vxM(E.additionalOptionText?5:-1))},dependencies:[g.YU,$.G,T.W],styles:[".additional-option-text-class[_ngcontent-%COMP%]{color:#0075dd}.item-and-placeholder-container__placeholder-with-value[_ngcontent-%COMP%]{padding-top:6px;line-height:80%;display:block;font-size:14px;font-weight:400;color:#8a8a8a}.item-and-placeholder-container__item-label[_ngcontent-%COMP%]{line-height:80%}.active[_ngcontent-%COMP%]{padding:6px 0}.disabled[_ngcontent-%COMP%]{padding:12px 0}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{width:100%;max-width:100%}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}"]})}}return C})()},11425(ht,L,o){"use strict";o.d(L,{$7:()=>C,dx:()=>s});var t=o(80226),e=o(51203),n=o(23321),c=o(44181);const f=["inputElement"],M=["*"];function m(l,E){if(1&l&&e.nrm(0,"p",7),2&l){const p=e.XpG();e.Y8G("innerHTML",p.label,e.npT)("ngClass",p.enableRoundedView?p.roundedName+"_rounded":"")}}function r(l,E){if(1&l&&e.nrm(0,"p",8),2&l){const p=e.XpG();e.Y8G("innerHtml",p.subtitle,e.npT)}}function _(l,E){if(1&l&&(e.j41(0,"div",9),e.nrm(1,"img",15),e.k0s()),2&l){const p=e.XpG();e.Y8G("ngClass",p.enableRoundedView?p.roundedName+"_rounded":""),e.R7$(),e.Y8G("src","./assets/img/"+p.image+"."+p.imageExtension,e.B4B)}}function g(l,E){1&l&&(e.j41(0,"div",10),e.nrm(1,"div",16),e.k0s())}function $(l,E){1&l&&(e.j41(0,"div",11),e.SdG(1),e.k0s())}function T(l,E){if(1&l&&e.nrm(0,"p",12),2&l){const p=e.XpG();e.Y8G("innerHTML",p.text,e.npT)}}function B(l,E){1&l&&e.nrm(0,"span",13)}function A(l,E){if(1&l&&e.nrm(0,"img",15),2&l){const p=e.XpG(2);e.Y8G("src","./assets/img/"+p.image+"."+p.imageExtension,e.B4B)}}function I(l,E){if(1&l&&(e.j41(0,"div",14)(1,"div",17),e.nrm(2,"p",18),e.nVh(3,A,1,1,"img",15),e.k0s()()),2&l){const p=e.XpG();e.Y8G("ngClass",p.enableRoundedView?p.roundedName+"_rounded":""),e.R7$(2),e.Y8G("ngClass",p.enableRoundedView?p.roundedName+"_rounded":"")("innerHTML",p.text,e.npT),e.R7$(),e.vxM(p.showImageExternal&&p.image?3:-1)}}var C=function(l){return l.Start="start",l.Bottom="bottom",l.Right="right",l}(C||{}),k=function(l){return l.Radio="radio",l.Payment="payment",l}(k||{});let s=(()=>{class l{constructor(){this.fillHeight=!1,this.radioButtonEnum=C,this.roundedNameEnum=k,this.forceCheckedStatusUpdate=!1,this.radioButtonStyle="",this.disabled=!1,this.forceDisabledAttribute=!1,this.showExternalContent=!1,this.showText=!1,this.showTextExternal=!1,this.showImage=!1,this.showImageExternal=!1,this.imageExtension="png",this.imagePosition=C.Bottom,this.showCheckMark=!0,this.$radioButtonClick=new e.bkB,this.enableRoundedView=!1,this.deFormatter=p=>p,this.formatter=p=>p,this.onChange=()=>{},this.onTouch=()=>{}}onRadioChange(p){const h=p.target.value;this.$radioButtonClick.emit(!!h),this.onChange(this.deFormatter(h)),this.onTouch()}writeValue(p){this.checked=this.value===this.formatter(p),this.inputElement&&this.forceCheckedStatusUpdate&&(this.inputElement.nativeElement.checked=this.checked)}registerOnChange(p){this.onChange=p}registerOnTouched(p){this.onTouch=p}setDisabledState(p){this.forceDisabledAttribute||(this.disabled=p)}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275cmp=e.VBU({type:l,selectors:[["conte-dw-radio-button"]],viewQuery:function(h,w){if(1&h&&e.GBs(f,5),2&h){let z;e.mGM(z=e.lsd())&&(w.inputElement=z.first)}},hostVars:2,hostBindings:function(h,w){2&h&&e.AVh("radio-button-fill-height",w.fillHeight)},inputs:{fillHeight:"fillHeight",forceCheckedStatusUpdate:"forceCheckedStatusUpdate",radioButtonStyle:"radioButtonStyle",inputId:"inputId",inputName:"inputName",disabled:"disabled",forceDisabledAttribute:"forceDisabledAttribute",label:"label",subt
1itle:"subtitle",showExternalContent:"showExternalContent",showText:"showText",showTextExternal:"showTextExternal",text:"text",showImage:"showImage",showImageExternal:"showImageExternal",imageExtension:"imageExtension",imagePosition:"imagePosition",image:"image",showCheckMark:"showCheckMark",value:"value",checked:"checked",enableRoundedView:"enableRoundedView",roundedName:"roundedName",deFormatter:"deFormatter",formatter:"formatter"},outputs:{$radioButtonClick:"$radioButtonClick"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>l),multi:!0}])],ngContentSelectors:M,decls:16,vars:20,consts:[["inputElement",""],[1,"ui-bootstrap"],[1,"dw-radio-button-container",3,"ngClass"],[1,"dw-radio-button",3,"ngClass"],["type","radio",3,"change","id","value","checked","name","disabled"],[1,"dw-radio-button-box",3,"id"],[1,"dw-radio-button-label-div"],[1,"dw-radio-button-label",3,"innerHTML","ngClass"],[1,"dw-radio-button-subtitle",3,"innerHtml"],[1,"dw-radio-button-image",3,"ngClass"],[1,"dw-radio-button-separator-container"],[1,"dw-radio-button-external-content"],[1,"dw-radio-button-text","small-body",3,"innerHTML"],[1,"dw-radio-button-checkmark"],[1,"dw-radio-button-container-external",3,"ngClass"],[3,"src"],[1,"dw-radio-button-separator"],[1,"dw-radio-button-image-external"],[1,"dw-radio-button-text-external","small-body","small-body-line-height",3,"ngClass","innerHTML"]],template:function(h,w){if(1&h){const z=e.RV6();e.NAR(),e.j41(0,"div",1)(1,"ul")(2,"li",2)(3,"label",3)(4,"input",4,0),e.bIt("change",function(D){return t.eBV(z),t.Njj(w.onRadioChange(D))}),e.k0s(),e.j41(6,"div",5)(7,"div",6),e.nVh(8,m,1,2,"p",7),e.nVh(9,r,1,1,"p",8),e.k0s(),e.nVh(10,_,2,2,"div",9),e.nVh(11,g,2,0,"div",10),e.nVh(12,$,2,0,"div",11),e.nVh(13,T,1,1,"p",12),e.k0s(),e.nVh(14,B,1,0,"span",13),e.k0s()()(),e.nVh(15,I,4,4,"div",14),e.k0s()}2&h&&(e.R7$(2),e.AVh("radio-button-fill-height",w.fillHeight),e.Y8G("ngClass",w.radioButtonStyle+(w.showImage&&w.imagePosition===w.radioButtonEnum.Start?" radio-button-with-icon":"")),e.R7$(),e.Y8G("ngClass",w.enableRoundedView?w.roundedName+"_rounded":""),e.R7$(),e.Y8G("id",w.inputId)("value",w.value)("checked",w.checked)("name",w.inputName)("disabled",w.disabled||null),e.R7$(2),e.HbH("dw-radio-button-box"+(w.imagePosition===w.radioButtonEnum.Right?" d-flex justify-content-between":"")+(w.enableRoundedView?" "+w.roundedName+"_rounded":"")),e.Y8G("id",w.inputId),e.R7$(2),e.vxM(w.label?8:-1),e.R7$(),e.vxM(w.subtitle?9:-1),e.R7$(),e.vxM(w.showImage&&w.image?10:-1),e.R7$(),e.vxM(w.enableRoundedView&&"payment"===w.roundedName?11:-1),e.R7$(),e.vxM(w.showExternalContent?12:-1),e.R7$(),e.vxM(w.showText?13:-1),e.R7$(),e.vxM(w.showCheckMark?14:-1),e.R7$(),e.vxM(w.showTextExternal?15:-1))},dependencies:[c.YU],styles:['[_nghost-%COMP%]{min-width:var(--radio-button-box-min-width, auto)}input[type=radio][_ngcontent-%COMP%]:focus-visible ~ .dw-radio-button-box[_ngcontent-%COMP%]{outline:2px solid #0075dd;outline-offset:2px}.radio-button-box.flex[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;min-height:var(--radio-button-box-flex-min-height, 74px)}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-subtitle[_ngcontent-%COMP%]{font-size:var(--radio-button-button-subtitle, 14px)}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{padding:var(--radio-button-box-padding, 12px);height:var(--radio-button-box-height);min-height:var(--radio-button-min-height);background-color:#fff;border:1px solid #ccdde8;border-radius:10px;cursor:pointer;transition:all .5s ease;will-change:transition}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]:active{transform:translateY(10px);-webkit-transform:translateY(10px);-ms-transform:translateY(10px)}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]:hover{border-color:#0075dd;background-color:#f1f8ff;transition:none}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]:hover   .dw-radio-button-label[_ngcontent-%COMP%]{color:#484848}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_roun
1ded[_ngcontent-%COMP%]{padding:10px;gap:10px;border-radius:4px;border:1px solid #e0e0e0;transition:none;display:grid;font-style:italic;text-align:center;width:100%}@media screen and (min-width: 1140px) and (max-width: 1216px){.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]{width:132px}}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]:active{transform:none;-webkit-transform:none;-ms-transform:none}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]:hover{border:1px solid #4dabff}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]:hover   .dw-radio-button-label[_ngcontent-%COMP%]{color:#00558c}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]{order:1}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:29px}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]   .dw-radio-button-separator-container[_ngcontent-%COMP%]{order:2}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]   .dw-radio-button-separator-container[_ngcontent-%COMP%]   .dw-radio-button-separator[_ng
1content-%COMP%]{width:100%}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.payment_rounded[_ngcontent-%COMP%]   .dw-radio-button-label-div[_ngcontent-%COMP%]{order:3}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.radio_rounded[_ngcontent-%COMP%]{border-radius:40px;box-shadow:0 0 16px 2px #0000001a;text-align:center;border:1px solid #e0e0e0;transition:none}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.radio_rounded[_ngcontent-%COMP%]:active{transition:none;-webkit-transform:none;-ms-transform:none}@media (hover: hover){.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.radio_rounded[_ngcontent-%COMP%]:hover{border:1px solid #4dabff}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-box.radio_rounded[_ngcontent-%COMP%]:hover   .dw-radio-button-label[_ngcontent-%COMP%]{color:#4dabff}}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{font-weight:700;padding-left:0;text-align:var(--radio-button-box-label-text-align, left);color:var(--radio-button-box-label-color, #484848);font-size:var(--radio-button-box-label-size);margin:var(--radio-button-box-label-margin)}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-label.radio_rounded[_ngcontent-%COMP%]{font-weight:400;font-size:16px;font-family:Lato,sans-serif;font-style:var(--radio-button-rounded-font-style, normal);line-height:160%}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-radio-button-box[_ngcontent-%COMP%]{border-color:#0075dd;background-color:#f1f8ff}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-radio-button-box[_ngcontent-%COMP%]:not([class*=rounded])   .dw-radio-button-label[_ngcontent-%COMP%]:not([class*=rounded]){color:#484848}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-radio-button-box[_ngcontent-%COMP%]   .radio_rounded[_ngcontent-%COMP%], .radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-radio-button-label[_ngcontent-%COMP%]   .radio_rounded[_ngcontent-%COMP%]{color:#4dabff}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:disabled ~ .dw-radio-button-box[_ngcontent-%COMP%]{background-color:#e8e8e8;border:none;pointer-events:none}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:disabled ~ .dw-radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{color:#8c8c8c}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:disabled ~ .dw-radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:grayscale(100%)}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked:disabled ~ .dw-radio-button-box[_ngcontent-%COMP%]{background-color:#b5b5b5}.radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked:disabled ~ .dw-radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%], .radio-button-box[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked:disabled ~ .dw-radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{color:#fff}.radio-button-box.center[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{text-align:center}.radio-button-box.center[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{font-size:14px}@media (max-width: 370px){.radio-button-box.center[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{font-size:12px}}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-separator-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px;border-radius:4px}.radio-button-box[_ngcontent-%COMP%]   .dw-radio-button-separator[_ng
1content-%COMP%]{width:112px;height:1px;background:#e0e0e0}.dw-radio-button-container[_ngcontent-%COMP%]{padding:var(--radio-button-container-padding, 0 0 20px)}.radio-button-text[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{color:#646464}.radio-button-external-content[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-direction:var(--radio-button-external-content-flex-direction)}.radio-button-external-content[_ngcontent-%COMP%]   .dw-radio-button-external-content[_ngcontent-%COMP%]{padding-left:3px}.radio-button-external-content[_ngcontent-%COMP%]     .label{display:block}@media (max-width: 480px){.radio-button-external-content[_ngcontent-%COMP%]     .label{font-size:8px;padding:3px 7px}}.radio-button-external-content.space[_ngcontent-%COMP%]   .dw-radio-button-external-content[_ngcontent-%COMP%]{padding-left:10px}@media (max-width: 319px){.radio-button-external-content.space[_ngcontent-%COMP%]   .dw-radio-button-external-content[_ngcontent-%COMP%]{padding-left:0}}.radio-button-image[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:90px}.radio-button-image[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{font-size:10px;line-height:140%;text-transform:uppercase;padding-bottom:8px;text-align:center}.radio-button-image[_ngcontent-%COMP%]   .dw-radio-button-label.payment_rounded[_ngcontent-%COMP%]{font-feature-settings:"liga" off,"clig" off;font-family:Lato,sans-serif;font-size:14px;font-style:italic;line-height:160%;letter-spacing:-.1px;text-transform:none;padding-bottom:0;color:#00558c}.radio-button-image[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]{max-width:200px}.radio-button-image[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-width:var(--radio-button-image-min-width)}.radio-button-image.text[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap}.radio-button-image.text[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{flex:100%}.radio-button-image.text[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{order:1;color:#484848;font-size:12px;padding-left:10px;text-align:center}@media (max-width: 1024px){.radio-button-image.text[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{font-size:10px;line-height:140%}}@media (max-width: 480px){.radio-button-image.text[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{flex:50%;text-align:left}.radio-button-image.text[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]{flex:20%;text-align:right}}.radio-button-image[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-radio-button-box[_ngcontent-%COMP%]:not(.payment_rounded)   .dw-radio-button-label[_ngcontent-%COMP%]:not(.payment_rounded){color:#0075dd}.radio-button-image-text[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:var(--radio-button-box-image-text-justify-content, unset);flex-wrap:wrap;padding:9px 12px;min-height:var(--radio-button-box-image-text-min-height, 64px)}.radio-button-image-text[_ngcontent-%COMP%]   .dw-radio-button-label-div[_ngcontent-%COMP%]{order:1}.radio-button-image-text[_ngcontent-%COMP%]   .dw-radio-button-label-div[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{flex:100%;font-size:14px;line-height:160%;text-align:center}.radio-button-image-text[_ngcontent-%COMP%]   .dw-radio-button-external-content[_ngcontent-%COMP%]{order:2}.radio-button-image-text[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{order:var(--radio-button-box-image-text-order, 3);flex:var(--radio-button-box-image-text-flex, 50%);text-align:var(--radio-button-box-image-text-align, right);font-style:var(--radio-button-box-image-text-style);font-weight:700;color:var(--radio-button-box-image-text-img-color, #4ab047)}.radio-button-image-text[_ngcontent-%COMP%]   .dw-radio-button-image[_ngcontent-%COMP%]{order:4;width:32px;height:32px}.radio-button-no-padding[_ngcontent-%COMP%]{padding-bottom:0}.radio-button-no-padding[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{padding:5px 12px;border-radius:0;border:1px solid #e6eef3;display:flex;align-items:center;justify-content:center;height:50px;min-height:50px}.radio-button-no-padding[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]:active{transform:translateY(0);-webkit-transform:translateY(0);-ms-transform:translateY(0)}.radio-button-no-padding[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{text-align:center}.radio-button-same-height[_ngcontent-%COMP%]{padding-bottom:10px}.radio-button-same-height[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{display:flex;align-items:center;height:auto;min-height:95px}.radio-button-same-height[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{font-size:14px}.dw-radio-button-container.radio-button-fill-height[_ngcontent-%COMP%], .dw-radio-button-container.radio-button-fill-height[_ngcontent-%COMP%]   .dw-radio-button[_ngcontent-%COMP%]{height:100%}.dw-radio-button-container.radio-button-fill-height[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center}.radio-button-fill-height[_nghost-%COMP%]{height:100%}.radio-button-fill-height[_nghost-%COMP%]   .ui-bootstrap[_ngcontent-%COMP%], .radio-button-fill-height[_nghost-%COMP%]   ul[_ngcontent-%COMP%]{height:100%}.ng-touched.ng-invalid[_nghost-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]:hover{background-color:#fcf3f5;border-color:#c8102e}.radio-button-display[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.radio-button-display[_ngcontent-%COMP%]   .dw-radio-button-text[_ngcontent-%COMP%]{color:#006900;font-weight:700}.radio-button-label[_ngcontent-%COMP%]   .dw-radio-button-checkmark[_ngcontent-%COMP%]{display:none}.radio-button-label[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{background-color:#fff;cursor:pointer;transition:all .5s ease;will-change:transition}.radio-button-label[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]:active{transform:translateY(10px);-webkit-transform:translateY(10px);-ms-transform:translateY(10px)}.radio-button-label[_ngcontent-%COMP%]   .dw-radio-button-label[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:16px;font-weight:700;line-height:160%;padding-left:0;color:#b7b7b7}.radio-button-label[_ngcontent-%COMP%]   .dw-radio-button-container[_ngcontent-%COMP%], .radio-button-label.dw-radio-button-container[_ngcontent-%COMP%]{padding-bottom:0!important}.radio-button-label[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .dw-radio-button-box[_ngcontent-%COMP%] > .dw-radio-button-label[_ngcontent-%COMP%]{color:#0075dd}.dw-radio-button-image--start[_ngcontent-%COMP%]{position:absolute;top:50%;left:12px;transform:translateY(-50%);-webkit-transform:translate(0,-50%);width:32px;height:32px}.radio-button-with-icon[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{padding-left:52px;min-height:32px}.radio-button-with-icon.center[_ngcontent-%COMP%]   .dw-radio-button-box[_ngcontent-%COMP%]{padding:0 52px}.dw-radio-button-container-external[_ngcontent-%COMP%]{justify-content:left;display:flex}.dw-radio-button-container-external.radio_rounded[_ngcontent-%COMP%]{justify-content:center}.dw-radio-button-text-external[_ngcontent-%COMP%]{font-weight:700;padding-left:0;text-align:var(--radio-button-box-label-text-align, left);color:#484848;font-size:var(--radio-button-box-label-size);margin:var(--radio-button-box-label-margin)}.dw-radio-button-text-external.radio_rounded[_ngcontent-%COMP%]{text-align:center;font-weight:700;font-style:normal;font-family:Lato,sans-serif;color:#50bf4d}.dw-radio-button-image-external[_ngcontent-%COMP%]{display:flex;gap:5px}']})}}return l})()},69732(ht,L,o){"use strict";o.d(L,{K:()=>f});var t=o(44181),e=o(97620),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({imports:[t.MD,e.l4]})}}return M})()},75349(ht,L,o){"use strict";o.d(L,{w:()=>B});var t=o(44181),e=o(80226),n=o(51203),c=o(23321),f=o(97620),M=o(86765),m=o(46773),r=o(5547);const _=A=>({" select-dropdown-open ":A});function g(A,I){if(1&A&&(n.j41(0,"span",2),n.EFF(1),n.k0s()),2&A){const C=n.XpG();
1n.R7$(),n.SpI(" ",C.additionalOptionText," ")}}function $(A,I){if(1&A){const C=n.RV6();n.j41(0,"div",5),n.bIt("click",function(){const s=e.eBV(C).$implicit,l=n.XpG(2);return e.Njj(l.select(s))}),n.k0s()}if(2&A){const C=I.$implicit;n.Y8G("conteDwDataCy",n.VkB("set-",C.inputId))("innerHTML",C.label,n.npT)("id",C.inputId)}}function T(A,I){if(1&A&&(n.j41(0,"div",3),n.Z7z(1,$,1,4,"div",4,n.fX1),n.k0s()),2&A){const C=n.XpG();n.R7$(),n.Dyx(C.options)}}let B=(()=>{class A{constructor(){this.buttonIconDown="./assets/img/icon-dropdown-close-arrow.svg",this.buttonIconUp="./assets/img/icon-dropdown-arrow.svg",this.$clickOutput=new n.bkB,this.$onChange=new n.bkB,this._options=[],this.onTouch=()=>{},this.onBlur=()=>this.onTouch}set options(C){this._options=C,this.selectedValue&&this.writeValue(this.selectedValue)}get options(){return this._options}toggleSelect(){this.showDropdown&&this.onTouch(),this.showDropdown=!this.showDropdown,this.$clickOutput.emit()}select(C){this.showDropdown=!1,this.selectedItemLabel=C.label,this.selectedValue=C.value,this.onChange(this.selectedValue),this.onTouch(),this.$clickOutput.emit(C)}writeValue(C){if("string"==typeof C){const k=this.options.find(s=>s.value===C);this.selectedValue=k.value,this.selectedItemLabel=k.label}}registerOnChange(C){this.onChange=C}registerOnTouched(C){this.onTouch=C}onChange(C){this.$onChange.emit(C)}setDisabledState(C){this.disabled=C}static{this.\u0275fac=function(k){return new(k||A)}}static{this.\u0275cmp=n.VBU({type:A,selectors:[["conte-dw-select"]],inputs:{options:"options",buttonPlaceholder:"buttonPlaceholder",elementId:"elementId",buttonIconDown:"buttonIconDown",buttonIconUp:"buttonIconUp",selectedValue:"selectedValue",selectedItemLabel:"selectedItemLabel",showDropdown:"showDropdown",additionalOptionText:"additionalOptionText",disabled:"disabled"},outputs:{$clickOutput:"$clickOutput",$onChange:"$onChange"},features:[n.Jv_([{provide:c.kq,useExisting:(0,e.Rfq)(()=>A),multi:!0}])],decls:5,vars:14,consts:[[1,"ui-bootstrap"],["type","button","name","button","value","button","imgClass","img-right xs",1,"button","form","flex","button-options",3,"$buttonClickOutput","blur","id","ngClass","imgRight","imgSrc","selected","disabled","conteDwDataCy"],[1,"additional-option-text-class"],[1,"select-list"],[3,"innerHTML","id","conteDwDataCy"],[3,"click","innerHTML","id","conteDwDataCy"]],template:function(k,s){1&k&&(n.j41(0,"div",0)(1,"conte-dw-button-form",1),n.bIt("$buttonClickOutput",function(){return s.toggleSelect()})("blur",function(){return s.onBlur()}),n.EFF(2),n.nVh(3,g,2,1,"span",2),n.k0s(),n.nVh(4,T,3,0,"div",3),n.k0s()),2&k&&(n.R7$(),n.Y8G("conteDwDataCy",n.VkB("set-",s.elementId))("id",s.elementId)("ngClass",n.eq3(12,_,s.showDropdown))("imgRight",!0)("imgSrc",s.disabled?"":s.showDropdown?s.buttonIconUp:s.buttonIconDown)("selected",!!s.selectedItemLabel)("disabled",s.disabled),n.BMQ("type",null),n.R7$(),n.SpI(" ",s.selectedItemLabel||s.buttonPlaceholder," "),n.R7$(),n.vxM(s.additionalOptionText?3:-1),n.R7$(),n.vxM(s.options&&s.options.length>0&&s.showDropdown?4:-1))},dependencies:[t.MD,t.YU,M.ne,m.G,f.l4,r.W],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.additional-option-text-class[_ngcontent-%COMP%]{color:#4dabff}.select-dropdown-open[_ngcontent-%COMP%]{--button-button-options-border-radius: 10px 10px 0 0;--button-button-options-border-color: #0075dd;--button-button-options-background-color: #f1f8ff;--button-button-options-color: #484848}.select-list[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #0075dd;border-top:none;border-radius:0 0 10px 10px;max-height:260px;overflow:auto;z-index:1022;font-weight:700;margin:var(--select-margin)}.select-list[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{background-color:#fff;color:#484848;font-size:16px;line-height:160%;padding:12px;cursor:pointer;border-bottom:1px solid #e6eef3}.select-list[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{border-bottom:none}.select-list[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:hover{background-color:#f1f8ff}.select-list[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:focus{outline:none;background-color:#f1f8ff}.select-list[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:10px;mix-blend-mode:multiply;background-color:#e6eef3}.select-list[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;mix-blend-mode:multiply;background-color:#e6eef3}.select-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;mix-blend-mode:multiply;background-color:#e6eef3}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{width:100%;max-width:100%}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}.ng-touched.ng-invalid[_nghost-%COMP%]   .select-list[_ngcontent-%COMP%]{border-color:#c8102e}.ng-touched.ng-invalid[_nghost-%COMP%]   .select-list[_ngcontent-%COMP%]:hover{background-color:#fcf3f5;border-color:#c8102e}conte-dw-dropdown-age-form.ng-touched.ng-invalid   [_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}conte-dw-dropdown-age-form.ng-touched.ng-invalid   [_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}conte-dw-dropdown-age-form.ng-touched.ng-invalid   [_nghost-%COMP%]   .select-list[_ngcontent-%COMP%]{border-color:#c8102e}conte-dw-dropdown-age-form.ng-touched.ng-invalid   [_nghost-%COMP%]   .select-list[_ngcontent-%COMP%]:hover{background-color:#fcf3f5;border-color:#c8102e}"]})}}return A})()},38639(ht,L,o){"use strict";o.d(L,{g:()=>_});var t=o(80226),e=o(51203),n=o(23321),c=o(28955),f=o(73287),M=o(71598),m=o(5547),r=o(46773);let _=(()=>{class g{set pickerHeadTitle(T){this._pickerHeadTitle=T,this.updatePickerField("title",T)}get pickerHeadTitle(){return this._pickerHeadTitle}set selectedValue(T){this._selectedValue=T,this.evaluateSelectedValueLabel()}get selectedValue(){return this._selectedValue}set selectionOptions(T){this._selectionOptions=T,this.updatePickerField("options",this.selectionOptions?.map(this.convertSelectionItemToOptionsMap))}get selectionOptions(){return this._selectionOptions}constructor(T,B){this.modalService=T,this.ngZone=B,this.buttonPlaceholder="Seleziona tra le opzioni",this.buttonIcon="./assets/img/icon-dropdown-close-arrow.svg",this.buttonId="selection-button",this.buttonName="selection-button",this.$selectedOptionEvent=new e.bkB,this._pickerHeadTitle="Seleziona il motivo della sospensione polizza:",this.onChange=()=>{},this.onTouch=()=>{}}ngOnDestroy(){this.modalService.isModalOpen()&&this.modalService.close()}openPicker(){this.modalService.isModalOpen()?this.modalService.close():this.modalService.openComponent(M.V,{inputs:{modalStyle:"dw-modal-no-padding",modalRadioGroupStyle:"modal-suspension",title:this._pickerHeadTitle,rowClass:"row",colClass:"col-xs-6 col-12",options:this.selectionOptions.map(this.convertSelectionItemToOptionsMap)},outputs:{$selectedOptionClick:({value:T})=>{this.selectedValue=`${T}`,this.evaluateSelectedValueLabel(),(0,f.O)(300).subscribe(()=>{this.closePicker(),this.$selectedOptionEvent.emit(this.selectedValue),this.onChange(this.selectedValue)})},$closeClickOutput:()=>this.closePicker(),$outsideClickOutput:()=>this.closePicker()}})}closePicker(){this.modalService.isModalOpen()&&(this.onTouch(),this.modalService.close())}writeValue(T){this.selectedValue=T,this.evaluateSelectedValueLabel()}registerOnChange(T){this.onChange=T}registerOnTouched(T){this.onTouch=T}updatePickerField(T,B){if(!this.modalService.isModalOpen())return;const A={inputs:{}};A.inputs[T]=B,this.ngZone.run(()=>this.modalService.updateModalComponentOptions(A))}evaluateSelectedValueLabel(){this.selectedValueLabel=this.selectionOptions?.find(T=>T.value===this.selectedValue)?.label}convertSelectionItemToOptionsMap(T){const B="full"===T.buttonWebWidth,A={...T};return delete A.buttonWebWidth,{...A,radioButtonStyle:"radio-button-box radio-button-same-height",containerClasses:B?"col-xs-12":"col-xs-6"}}static{this.\u0275fac=function(B){return new(B||g)(e.rXU(c.Bg),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:g,selectors:[["conte-dw-selection"]],inputs:{buttonPlaceholder:"buttonPlaceholder",buttonIcon:"buttonIcon",buttonId:"buttonId",buttonName:"buttonName",pickerHeadTitle:"pickerHeadTitle",selectedValue:"selectedValue",selectionOptions:"selectionOptions"},outputs:{$selectedOptionEvent:"$selectedOptionEvent"},standalone:!1,features:[e.Jv_([{provide:n.kq,useExisting:(0,t.Rfq)(()=>g),multi:!0}])],decls:2,vars:7,consts:[["type","button","value","button","imgClass","img-right xs",1,"button","form","flex","button-options",3,"$buttonClickOutput","id","conteDwDataCy","
1name","imgRight","imgSrc","selected"],[3,"innerHTML"]],template:function(B,A){1&B&&(e.j41(0,"conte-dw-button-form",0),e.bIt("$buttonClickOutput",function(){return A.openPicker()}),e.nrm(1,"span",1),e.k0s()),2&B&&(e.Y8G("id",A.buttonId)("conteDwDataCy",A.buttonId)("name",A.buttonName)("imgRight",!0)("imgSrc",A.buttonIcon)("selected",!!A.selectedValue),e.R7$(),e.Y8G("innerHTML",A.selectedValueLabel?A.selectedValueLabel:A.buttonPlaceholder,e.npT))},dependencies:[m.W,r.G],styles:["[_nghost-%COMP%] > *[_ngcontent-%COMP%]{width:100%;max-width:100%}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}"]})}}return g})()},97161(ht,L,o){"use strict";o.d(L,{Q:()=>$});var t=o(80226),e=o(23321),n=o(37754),c=o(51203),f=o(44181);const M=["textareaElement"],m=T=>({"dw-textarea--filled":T});function r(T,B){if(1&T&&(c.j41(0,"div",4),c.EFF(1),c.k0s()),2&T){const A=c.XpG(2);c.R7$(),c.SpI(" ",A.counterInfoMessage," ")}}function _(T,B){if(1&T&&(c.j41(0,"div",5),c.EFF(1),c.k0s()),2&T){const A=c.XpG(2);c.R7$(),c.Lme("",A.value.length,"/",A.maxLength)}}function g(T,B){if(1&T&&(c.j41(0,"div",3),c.nVh(1,r,2,1,"div",4),c.nVh(2,_,2,2,"div",5),c.k0s()),2&T){const A=c.XpG();c.R7$(),c.vxM(A.counterInfoMessage&&A.maxLength===(null==A.value?null:A.value.length)?1:-1),c.R7$(),c.vxM((null==A.value?null:A.value.length)>0?2:-1)}}let $=(()=>{class T{constructor(A){this.screenSizeFacade=A,this.disabled=!1,this.onChange=()=>{},this.onTouch=()=>{}}ngAfterViewInit(){this.resizeSubscription=this.screenSizeFacade.screenWidth.subscribe(()=>this.resize())}ngOnDestroy(){this.resizeSubscription.unsubscribe()}inputEventHandler(A){this.value=this.checkMaxLength(A.target.value),this.onChange(this.value),this.resize()}blurEventHandler(){this.onTouch()}focus(){this.textareaElement&&this.textareaElement.nativeElement.focus()}writeValue(A){this.value=this.checkMaxLength(A)}registerOnChange(A){this.onChange=A}registerOnTouched(A){this.onTouch=A}setDisabledState(A){this.disabled=A}resize(){const A=this.textareaElement.nativeElement;A.style.height!==`${A.scrollHeight}px`&&(A.style.height="0",A.style.height=A.scrollHeight+"px")}checkMaxLength(A){return this.maxLength&&A&&(A=A.substring(0,this.maxLength)),A}static{this.\u0275fac=function(I){return new(I||T)(c.rXU(n.oG))}}static{this.\u0275cmp=c.VBU({type:T,selectors:[["conte-dw-textarea"]],viewQuery:function(I,C){if(1&I&&c.GBs(M,5),2&I){let k;c.mGM(k=c.lsd())&&(C.textareaElement=k.first)}},inputs:{value:"value",maxLength:"maxLength",disabled:"disabled",textareaId:"textareaId",textareaName:"textareaName",placeholder:"placeholder",counterInfoMessage:"counterInfoMessage"},standalone:!1,features:[c.Jv_([{provide:e.kq,useExisting:(0,t.Rfq)(()=>T),multi:!0}])],decls:4,vars:10,consts:[["textareaElement",""],[1,"ui-bootstrap"],[1,"dw-textarea",3,"input","blur","ngClass","id","name","placeholder","value"],[1,"dw-counter","d-flex","justify-content-end","align-items-center","m-0"],[1,"col","px-0","dw-counter__info-message"],[1,"col-auto","px-0","dw-counter__counter"]],template:function(I,C){if(1&I){const k=c.RV6();c.j41(0,"div",1)(1,"textarea",2,0),c.bIt("input",function(l){return t.eBV(k),t.Njj(C.inputEventHandler(l))})("blur",function(){return t.eBV(k),t.Njj(C.blurEventHandler())}),c.k0s(),c.nVh(3,g,3,2,"div",3),c.k0s()}2&I&&(c.R7$(),c.Y8G("ngClass",c.eq3(8,m,(null==C.value?null:C.value.length)>0))("id",C.textareaId)("name",C.textareaName)("placeholder",C.placeholder?C.placeholder:"")("value",C.value?C.value:""),c.BMQ("disabled",C.disabled||null)("maxlength",C.maxLength),c.R7$(2),c.vxM(C.maxLength?3:-1))},dependencies:[f.YU],styles:[".dw-textarea[_ngcontent-%COMP%]{padding:16px;border:1px solid #ccdde8;border-radius:10px;color:#484848;font-size:16px;font-weight:400;line-height:160%;resize:none;overflow:hidden}.dw-textarea[_ngcontent-%COMP%]:focus, .dw-textarea--filled[_ngcontent-%COMP%]{border-color:#4dabff;background-color:#f1f8ff}.dw-counter[_ngcontent-%COMP%]{margin-top:8px}.dw-counter__counter[_ngcontent-%COMP%]{color:#000;font-size:16px;font-weight:400;line-height:160%}.dw-counter__info-message[_ngcontent-%COMP%]{color:#005388;font-size:12px;font-weight:700}.ng-touched.ng-invalid[_nghost-%COMP%]   .dw-textarea[_ngcontent-%COMP%]{border-color:#c8102e;background-color:#fcf3f5}.ng-touched.ng-invalid[_nghost-%COMP%]   .dw-textarea[_ngcontent-%COMP%]:focus{border-color:#c8102e}"]})}}return T})()},43294(ht,L,o){"use strict";o.d(L,{$:()=>s});var t=o(51203),e=o(80226),n=o(23321),c=o(37754),f=o(97253),M=o(48857),m=o(43732),r=o(44181),_=o(69402),g=o(46773),$=o(92859),T=o(51947);const B=l=>({"dw-time-picker__body-input-field--error":l});function A(l,E){if(1&l&&t.nrm(0,"conte-dw-toast-message",13),2&l){const p=t.XpG();t.Y8G("text","min"===p.errorType?p.minErrorMessageText:p.maxErrorMessageText)}}let I=(()=>{class l{constructor(){this.headTitle="Ora del sinistro",this.closeButtonAltText="Chiudi",this.hoursTitle="Ore",this.minutesTitle="Minuti",this.minErrorMessageText="Devi segnalare una necessit\xe0 futura.",this.maxErrorMessageText="Puoi segnalare un sinistro avvenuto fino ad un\u2019ora fa.",this.confirmButtonText="Conferma orario",this.$closeEvent=ne
1w t.bkB,this.$selectedTimeEvent=new t.bkB,this.hoursMaskConfig={mask:/^([01]?\d|2[0-3])$/},this.minutesMaskConfig={mask:/^([0-5]?\d)$/}}set selectedTime(p){if(null!==(p=this.sanitizeTime(p))){const h=p%c.Or;this.selectedHours=this.addZeroToDecimals((p-h)/c.Or),this.selectedMinutes=this.addZeroToDecimals(h/c.a8)}this.checkMinMaxErrors(),this.errorType&&(this.hoursHaveErrors=!0,this.minutesHaveErrors=!0)}incrementHours(){this.selectedHours=this.addZeroToDecimals(((+this.selectedHours||0)+1)%24),this.checkHoursErrors()}decrementHours(){this.selectedHours=this.addZeroToDecimals(((+this.selectedHours||0)+23)%24),this.checkHoursErrors()}onHoursInputChange(p){this.selectedHours=p.target.value,this.checkHoursErrors()}incrementMinutes(){this.selectedMinutes=this.addZeroToDecimals(((+this.selectedMinutes||0)+1)%60),this.checkMinutesErrors()}decrementMinutes(){this.selectedMinutes=this.addZeroToDecimals(((+this.selectedMinutes||0)+59)%60),this.checkMinutesErrors()}onMinutesInputChange(p){this.selectedMinutes=p.target.value,this.checkMinutesErrors()}onConfirmButtonClick(){!this.errorType&&(this.selectedHours||this.selectedMinutes)&&this.$selectedTimeEvent.emit(this.convertHoursAndMinutes(+this.selectedHours||0,+this.selectedMinutes||0))}blurEventHandler(p){const h=p.target;h.value=this.addZeroToDecimals(+h.value)}emitCloseEvent(){this.$closeEvent.emit()}sanitizeTime(p){return p||0===p?(p-p%c.a8)%c.wS:null}convertHoursAndMinutes(p,h){return p*c.Or+h*c.a8}checkMinMaxErrors(){const p=this.convertHoursAndMinutes(+this.selectedHours||0,+this.selectedMinutes||0);(this.minTime||0===this.minTime)&&p<this.minTime?this.errorType="min":(this.maxTime||0===this.maxTime)&&p>this.maxTime?this.errorType="max":(this.errorType=null,this.hoursHaveErrors=!1,this.minutesHaveErrors=!1)}checkHoursErrors(){this.checkMinMaxErrors(),this.errorType&&(this.hoursHaveErrors=!0)}checkMinutesErrors(){this.checkMinMaxErrors(),this.errorType&&(this.minutesHaveErrors=!0)}addZeroToDecimals(p){return p||0===p?`0${p}`.slice(-2):null}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275cmp=t.VBU({type:l,selectors:[["conte-dw-time-picker"]],inputs:{headTitle:"headTitle",closeButtonAltText:"closeButtonAltText",hoursTitle:"hoursTitle",minutesTitle:"minutesTitle",selectedTime:"selectedTime",minTime:"minTime",maxTime:"maxTime",minErrorMessageText:"minErrorMessageText",maxErrorMessageText:"maxErrorMessageText",confirmButtonText:"confirmButtonText"},outputs:{$closeEvent:"$closeEvent",$selectedTimeEvent:"$selectedTimeEvent"},standalone:!1,decls:24,vars:18,consts:[[1,"ui-bootstrap"],["modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","showClose"],[1,"dw-time-picker","p-0"],[1,"row","m-0","d-flex","align-items-center","dw-time-picker__head"],[1,"d-flex","dw-time-picker__head-title","unselectable"],["src","assets/img/icon-blueclose.svg","role","button","tabindex","0",1,"dw-time-picker__head-close-button","unselectable","undraggable",3,"click","keydown.enter","alt"],[1,"row","m-0","dw-time-picker__body","align-items-center"],[1,"col-6","d-flex","flex-column","align-items-center","dw-time-picker__body-hours-column"],[1,"dw-time-picker__body-input-title","unselectable"],["src","assets/img/icon-dropdown-arrow.svg","alt","",1,"dw-time-picker__body-input-arrow","dw-time-picker__body-input-arrow--increment","unselectable","undraggable",3,"click"],["type","text","inputmode","numeric","placeholder","00",1,"dw-time-picker__body-input-field",3,"$maskedInput","keydown.ArrowUp","keydown.ArrowDown","blur","ngClass","value","conteDwInputMask"],["src","assets/img/icon-dropdown-close-arrow.svg","alt","",1,"dw-time-picker__body-input-arrow","dw-time-picker__body-input-arrow--decrement","unselectable","undraggable",3,"click"],[1,"col-6","d-flex","flex-column","align-items-center","dw-time-picker__body-minutes-column"],["iconSrc","icon-alert-red-triangle","toastMessageStyle","red text-red text-caption text-bold",1,"dw-time-picker__toast-message",3,"text"],[1,"d-flex","justify-content-center","dw-time-picker__footer"],["role","button","tabindex","0",1,"button","form","button-primary",3,"click","keydown.enter","disabled"]],template:function(h,w){1&h&&(t.j41(0,"div",0)(1,"conte-dw-modal",1),t.bIt("$outsideClickOutput",function(){return w.emitCloseEvent()}),t.j41(2,"div",2)(3,"div",3)(4,"label",4),t.EFF(5),t.k0s(),t.j41(6,"img",5),t.bIt("click",function(){return w.emitCloseEvent()})("keydown.enter",function(){return w.emitCloseEvent()}),t.k0s()(),t.j41(7,"div",6)(8,"div",7)(9,"label",8),t.EFF(10),t.k0s(),t.j41(11,"img",9),t.bIt("click",function(){return w.incrementHours()}),t.k0s(),t.j41(12,"input",10),t.bIt("$maskedInput",function(v){return w.onHoursInputChange(v)})("keydown.ArrowUp",function(){return w.incrementHours()})("keydown.ArrowDown",function(){return w.decrementHours()})("blur",function(v){return w.blurEventHandler(v)}),t.k0s(),t.j41(13,"img",11),t.bIt("click",function(){return w.decrementHours()}),t.k0s()(),t.j41(14,"div",12)(15,"label",8),t.EFF(16),t.k0s(),t.j41(17,"img",9),t.bIt("click",function(){return w.incrementMinutes()}),t.k0s(),t.j41(18,"input",10),t.bIt("$maskedInput",function(v){return w.onMinutesInputChange(v)})("keydown.ArrowUp",function(){return w.incrementMinutes()})("keydown.ArrowDown",function(){return w.decrementMinutes()})("blur",function(v){return w.blurEventHandler(v)}),t.k0s(),t.j41(19,"img",11),t.bIt("click",function(){return w.decrementMinutes()}),t.k0s()()(),t.nVh(20,A,1,1,"conte-dw-toast-message",13),t.j41(21,"div",14)(22,"conte-dw-button-form",15),t.bIt("click",function(){return w.onConfirmButtonClick()})("keydown.enter",function(){return w.onConfirmButtonClick()}),t.EFF(23),t.k0s()()()()()),2&h&&(t.R7$(),t.Y8G("showClose",!1),t.R7$(4),t.SpI(" ",w.headTitle," "),t.R7$(),t.Y8G("alt",w.closeButtonAltText),t.R7$(4),t.SpI(" ",w.hoursTitle," "),t.R7$(2),t.Y8G("ngClass",t.eq3(14,B,w.hoursHaveErrors))("value",w.selectedHours)("conteDwInputMask",w.hoursMaskConfig),t.R7$(4),t.JRh(w.minutesTitle),t.R7$(2),t.Y8G("ngClass",t.eq3(16,B,w.minutesHaveErrors))("value",w.selectedMinutes)("conteDwInputMask",w.minutesMaskConfig),t.R7$(2),t.vxM(w.errorType?20:-1),t.R7$(2),t.Y8G("disabled",!w.selectedHours&&!w.selectedMinutes),t.R7$(),t.SpI(" ",w.confirmButtonText," "))},dependencies:[r.YU,_.z,g.G,$.Y,T.E],styles:[".dw-time-picker[_ngcontent-%COMP%]{width:300px;border:none;border-radius:10px;overflow:hidden;background-color:#fff;box-shadow:0 0 8px 2px #0000001a}.dw-time-picker__head[_ngcontent-%COMP%]{padding:20px 30px 16px 24px;box-shadow:inset 0 -1px #e6eef3}.dw-time-picker__head-title[_ngcontent-%COMP%]{flex:1;color:#484848;font-size:16px;font-weight:700;line-height:160%}.dw-time-picker__head-close-button[_ngcontent-%COMP%]{width:24px;height:24px}.dw-time-picker__head-close-button[_ngcontent-%COMP%]:focus-visible{outline-color:#4dabff}.dw-time-picker__body[_ngcontent-%COMP%]{padding:24px 0}.dw-time-picker__body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 8px}.dw-time-picker__body-hours-column[_ngcontent-%COMP%]{max-width:64px;margin-left:auto;margin-right:8px}.dw-time-picker__body-minutes-column[_ngcontent-%COMP%]{max-width:64px;margin-left:8px;margin-right:auto}.dw-time-picker__body-input-title[_ngcontent-%COMP%]{padding-bottom:9px;color:#4dabff;font-size:16px;font-weight:700;line-height:160%}.dw-time-picker__body-input-arrow[_ngcontent-%COMP%]{width:24px;height:24px;padding:7.5px 3px;cursor:pointer}.dw-time-picker__body-input-arrow--increment[_ngcontent-%COMP%]{margin-bottom:9px}.dw-time-picker__body-input-arrow--decrement[_ngcontent-%COMP%]{margin-top:9px}.dw-time-picker__body-input-field[_ngcontent-%COMP%]{width:64px;
1height:64px;background:#fff;border:1px solid #ccdde8;border-radius:10px;text-align:center;color:#484848;font-size:28px;font-weight:400}.dw-time-picker__body-input-field[_ngcontent-%COMP%]:focus{outline-color:#4dabff}.dw-time-picker__body-input-field[_ngcontent-%COMP%]::placeholder{color:#484848;font-family:Lato,sans-serif;font-size:28px;font-weight:400}.dw-time-picker__body-input-field[_ngcontent-%COMP%]:focus::placeholder{color:transparent}.dw-time-picker__body-input-field--error[_ngcontent-%COMP%]{background:#fcf3f5;border:1px solid #c8102e}.dw-time-picker__toast-message[_ngcontent-%COMP%]{display:block;padding:0 24px 24px;margin:0 auto}.dw-time-picker__footer[_ngcontent-%COMP%]{padding:24px 39.5px;box-shadow:0 -1px #e6eef3}.dw-time-picker__footer[_ngcontent-%COMP%]   conte-dw-button-form[_ngcontent-%COMP%]:focus{outline:none}@media (max-width: 300px){.dw-timepicker[_ngcontent-%COMP%]{width:unset;max-width:300px}}"]})}}return l})();var C=o(73328);function k(l,E){if(1&l&&(t.j41(0,"span",2),t.EFF(1),t.k0s()),2&l){const p=t.XpG();t.R7$(),t.JRh(p.buttonPlaceholder)}}let s=(()=>{class l{set pickerTitle(p){this._pickerTitle=p,this.updatePickerField("headTitle",p)}get pickerTitle(){return this._pickerTitle}set isOpenPicker(p){p?this.openPicker():this.closePicker()}set selectedTime(p){this._selectedTime=this.sanitizeTime(p),this.updatePickerField("selectedTime",this._selectedTime)}get selectedTime(){return this._selectedTime}set closeButtonAltText(p){this._closeButtonAltText=p,this.updatePickerField("closeButtonAltText",p)}get closeButtonAltText(){return this._closeButtonAltText}set hoursTitle(p){this._hoursTitle=p,this.updatePickerField("hoursTitle",p)}get hoursTitle(){return this._hoursTitle}set minutesTitle(p){this._minutesTitle=p,this.updatePickerField("minutesTitle",p)}get minutesTitle(){return this._minutesTitle}set minTime(p){this._minTime=this.sanitizeTime(p),this.updatePickerField("minTime",this._minTime)}get minTime(){return this._minTime}set maxTime(p){this._maxTime=this.sanitizeTime(p),this.updatePickerField("maxTime",this._maxTime)}get maxTime(){return this._maxTime}set minErrorMessageText(p){this._minErrorMessageText=p,this.updatePickerField("minErrorMessageText",p)}get minErrorMessageText(){return this._minErrorMessageText}set maxErrorMessageText(p){this._maxErrorMessageText=p,this.updatePickerField("maxErrorMessageText",p)}get maxErrorMessageText(){return this._maxErrorMessageText}set confirmButtonText(p){this._confirmButtonText=p,this.updatePickerField("confirmButtonText",p)}get confirmButtonText(){return this._confirmButtonText}constructor(p,h){this.modalService=p,this.ngZone=h,this.buttonPlaceholder="Ora",this.buttonIcon="./assets/img/icon-clock.svg",this.isOpenPickerChange=new t.bkB,this.$selectedTimeEvent=new t.bkB,this._pickerTitle="Ora del sinistro",this._closeButtonAltText="Chiudi",this._hoursTitle="Ore",this._minutesTitle="Minuti",this._minErrorMessageText="Puoi segnalare una necessit\xe0 futura.",this._maxErrorMessageText="Puoi segnalare un sinistro avvenuto fino ad un\u2019ora fa.",this._confirmButtonText="Conferma orario",this.onDestroy$=new f.B,this.onChange=()=>{},this.onTouch=()=>{}}ngOnDestroy(){this.closePicker(),this.onDestroy$.complete()}openPicker(){if(this.pickerReference)return;this.isOpenPickerChange.emit(!0),this.pickerReference=this.modalService.open(I);const p=this.pickerReference.componentInstance;p.headTitle=this.pickerTitle,p.closeButtonAltText=this.closeButtonAltText,p.hoursTitle=this.hoursTitle,p.minutesTitle=this.minutesTitle,p.selectedTime=this.selectedTime,p.minTime=this.minTime,p.maxTime=this.maxTime,p.minErrorMessageText=this.minErrorMessageText,p.maxErrorMessageText=this.maxErrorMessageText,p.confirmButtonText=this.confirmButtonText,p.$closeEvent.pipe((0,M.Q)(this.onDestroy$)).subscribe(()=>this.closePicker()),p.$selectedTimeEvent.pipe((0,m.c)(300),(0,M.Q)(this.onDestroy$)).subscribe(h=>{this._selectedTime=h,this.onChange(h),this.$selectedTimeEvent.emit(h),this.closePicker()})}closePicker(){this.pickerReference&&(this.isOpenPickerChange.emit(!1),this.pickerReference.close(),this.pickerReference=null,this.onDestroy$.next(),this.onTouch())}getFormattedSelectedTime(){const p=this.selectedTime%c.Or,w=p/c.a8;return("0"+(this.selectedTime-p)/c.Or).slice(-2)+":"+`0${w}`.slice(-2)}sanitizeTime(p){return p||0===p?(p-p%c.a8)%c.wS:null}updatePickerField(p,h){this.pickerReference&&this.ngZone.run(()=>this.pickerReference.componentInstance[p]=h)}writeValue(p){this.selectedTime=this.sanitizeTime(p)}registerOnChange(p){this.onChange=p}registerOnTouched(p){this.onTouch=p}static{this.\u0275fac=function(h){return new(h||l)(t.rXU(C.Bq),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:l,selectors:[["conte-dw-time"]],inputs:{buttonPlaceholder:"buttonPlaceholder",buttonIcon:"buttonIcon",pickerTitle:"pickerTitle",isOpenPicker:"isOpenPicker",selectedTime:"selectedTime",closeButtonAltText:"closeButtonAltText",hoursTitle:"hoursTitle",minutesTitle:"minutesTitle",minTime:"minTime",maxTime:"maxTime",minErrorMessageText:"minErrorMessageText",maxErrorMessageText:"maxErrorMessageText",confirmButtonText:"confirmButtonText"},outputs:{isOpenPickerChange:"isOpenPickerChange",$selectedTimeEvent:"$selectedTimeEvent"},standalone:!1,features:[t.Jv_([{provide:n.kq,useExisting:(0,e.Rfq)(()=>l),multi:!0}])],decls:5,vars:6,consts:[["conteDwDataCy","timeButton","type","button","name","button","value","button","id","time-button","imgClass","img-right medium",1,"button","form","flex","button-options","py-0",3,"$buttonClickOutput","imgRight","imgSrc","selected"],[1,"time-and-placeholder-container",3,"ngClass"],[1,"time-and-placeholder-container__placeholder-label"],[1,"time-and-placeholder-container__time-label"]],template:function(h,w){1&h&&(t.j41(0,"conte-dw-button-form",0),t.bIt("$buttonClickOutput",function(){return w.openPicker()}),t.j41(1,"div",1),t.nVh(2,k,2,1,"span",2),t.j41(3,"span",3),t.EFF(4),t.k0s()()()),2&h&&(t.Y8G("imgRight",!0)("imgSrc",w.buttonIcon)("selected",!!w.selectedTime||0===w.selectedTime),t.R7$(),t.Y8G("ngClass",w.selectedTime?"active":"disabled"),t.R7$(),t.vxM(w.selectedTime?2:-1),t.R7$(2),t.JRh(w.selectedTime||0===w.selectedTime?w.getFormattedSelectedTime():w.buttonPlaceholder))},dependencies:[r.YU,g.G],styles:["[_nghost-%COMP%] > *[_ngcontent-%COMP%]{width:100%;max-width:100%}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button{border-color:#c8102e;background-color:#fcf3f5;color:#8a8a8a}.ng-touched.ng-invalid[_nghost-%COMP%]     conte-dw-button-form .button:hover{background-color:#fcf3f5;border-color:#c8102e}.time-and-placeholder-container__placeholder-label[_ngcontent-%COMP%]{padding-top:6px;line-height:80%;display:block;font-size:14px;font-weight:400;color:#8a8a8a}.time-and-placeholder-container__time-label[_ngcontent-%COMP%]{line-height:80%}.active[_ngcontent-%COMP%]{padding:6px 0}.disabled[_ngcontent-%COMP%]{padding:12px 0}"]})}}return l})()},45319(ht,L,o){"use strict";o.d(L,{j:()=>c});var t=o(51203),e=o(44181);const n=f=>["go-back",f];let c=(()=>{class f{constructor(m,r){this.el=m,this.renderer=r,this.isMobile=!1,this.stickyOnMobile=!0,this.$clickEvent=new t.bkB}ngOnInit(){this.setStickyAttributes()}emitClickEvent(m){this.$clickEvent.emit(m)}setStickyAttributes(){this.isMobile&&(this.stickyOnMobile&&this.renderer.addClass(this.el.nativeElement.children[0],"sticky-top"),this.renderer.addClass(this.el.nativeElement.children[0],"d-block"),this.renderer.addClass(this.el.nativeElement.children[0],"d-md-1-none"))}static{this.\u0275fac=function(r){return new(r||f)(t.rXU(t.aKT),t.rXU(t.sFG))}}static{this.\u0275cmp=t.VBU({type:f,selectors:[["conte-dw-go-back"]],inputs:{goBackId:"goBackId",isMobile:"isMobile",stickyOnMobile:"stickyOnMobile",goBackClasses:"goBackClasses",buttonLabel:"buttonLabel"},outputs:{$clickEvent:"$clickEvent"},standalone:!1,decls:6,vars:5,consts:[[1,"ui-bootstrap"],[3,"click","ngClass","id"],[1,"dw-card","dw-card-go-back","d-flex","align-items-center"],["src","./assets/img/icon-back-arrow.svg","width","20","alt",""],[1,"font-weight-bold"]],template:function(r,_){1&r&&(t.j41(0,"div",0)(1,"div",1),t.bIt("click",function($){return _.emitClickEvent($)}),t.j41(2,"span",2),t.nrm(3,"img",3),t.j41(4,"button",4),t.EFF(5),t.k0s()()()()),2&r&&(t.R7$(),t.Y8G("ngClass",t.eq3(3,n,_.goBackClasses||""))("id",_.goBackId),t.R7$(4),t.JRh(_.buttonLabel))},dependencies:[e.YU],styles:['@keyframes _ngcontent-%COMP%_show{0%{opacity:0}
1to{opacity:1}}.go-back[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;color:inherit;display:inline-block;position:relative;text-align:center;text-decoration:none;font-size:16px;font-weight:700;line-height:160%}.go-back[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus-visible{outline:none}.go-back[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}.go-back[_ngcontent-%COMP%]{cursor:pointer;z-index:1}.go-back[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:-2px;margin-left:10px;margin-right:14px}@media (min-width: 767px){.go-back[_ngcontent-%COMP%]{margin-bottom:var(--go-back-md-mb, 24px)}}@media (max-width: 767px){.go-back[_ngcontent-%COMP%]{min-width:100%}.go-back[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-left:0}}@media (max-width: 480px){.go-back[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}.go-back[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:14px;margin-bottom:1px}}@media (max-width: 767px){.line-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #e0e0e0}}.transparent-bg[_ngcontent-%COMP%]   .dw-card-go-back[_ngcontent-%COMP%]{background-color:transparent;padding:10px 0 20px}']})}}return f})()},62177(ht,L,o){"use strict";o.d(L,{G:()=>e,o:()=>t});var t=function(n){return n.Policy="polizze",n.Submission="preventivi",n.Claims="sinistri",n.ForYou="per-te",n.Menu="menu",n.Support="supporto",n}(t||{}),e=function(n){return n.Default="default",n.PaleGrey="pale-grey",n}(e||{})},83452(ht,L,o){"use strict";o.d(L,{n:()=>f}),o(61115);var e=o(51203),n=o(44181);function c(M,m){if(1&M&&e.nrm(0,"img",1),2&M){const r=e.XpG();e.Y8G("src",r.iconSrc,e.B4B)}}let f=(()=>{class M{get class(){return[this.badgeType?this.badgeType:"",this.isRightIcon?"icon-right":"icon-left"]}static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275cmp=e.VBU({type:M,selectors:[["conte-dw-badge"]],inputs:{text:"text",iconSrc:"iconSrc",isRightIcon:"isRightIcon",badgeType:"badgeType"},standalone:!1,decls:3,vars:3,consts:[[1,"badge",3,"ngClass"],[1,"icon",3,"src"],[1,"text",3,"innerHTML"]],template:function(_,g){1&_&&(e.j41(0,"div",0),e.nVh(1,c,1,1,"img",1),e.nrm(2,"span",2),e.k0s()),2&_&&(e.Y8G("ngClass",g.class),e.R7$(),e.vxM(g.iconSrc?1:-1),e.R7$(),e.Y8G("innerHTML",g.text,e.npT))},dependencies:[n.YU],styles:['.badge-container[_ngcontent-%COMP%]{display:inline-block}.badge[_ngcontent-%COMP%]{display:grid;align-items:center;height:30px;padding:5px 8px;margin:8px 0;border-radius:var(--badge-border-radius, 4px);font-weight:var(--badge-font-weight, 400);font-size:var(--badge-font-size, 14px);width:var(--badge-width)}.badge[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{grid-area:text;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.badge[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{grid-area:icon;height:20px;width:20px}.badge.transparent[_ngcontent-%COMP%]{background-color:transparent;color:#484848}.badge.transparent[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{filter:invert(30%) sepia(1%) saturate(0%) hue-rotate(177deg) brightness(93%) contrast(96%)}.badge.default[_ngcontent-%COMP%]{background-color:#4dabff;color:#fff}.badge.default[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{filter:invert(96%) sepia(96%) saturate(0%) hue-rotate(34deg) brightness(103%) contrast(104%)}.badge.blue-primary[_ngcontent-%COMP%]{background-color:#e6eef4;color:#00558c}.badge.warning[_ngcontent-%COMP%]{background-color:#ffaf2b;color:#484848}.badge.warning[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{filter:invert(30%) sepia(1%) saturate(0%) hue-rotate(177deg) brightness(93%) contrast(96%)}.badge.icon-left[_ngcontent-%COMP%]{grid-template-columns:auto 1fr;grid-template-areas:"icon text"}.badge.icon-left[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{padding-right:4px}.badge.icon-left[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-align:left}.badge.icon-right[_ngcontent-%COMP%]{grid-template-columns:1fr auto;grid-template-areas:"text icon"}.badge.icon-right[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{padding-left:4px}.badge.icon-right[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-align:right}']})}}return M})()},64011(ht,L,o){"use strict";o.d(L,{E:()=>c});var t=o(44181),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return f})()},81180(ht,L,o){"use strict";o.d(L,{b:()=>$});var t=o(80226),e=o(51203),n=o(73328);function c(T,B){if(1&T&&e.nrm(0,"span",7)(1,"br"),2&T){const A=e.XpG(2);e.Y8G("innerHTML",A.title,e.npT)}}function f(T,B){if(1&T&&(e.j41(0,"p",5),e.nVh(1,c,2,1),e.nrm(2,"span",6),e.k0s()),2&T){const A=e.XpG();e.R7$(),e.vxM(A.showTitle?1:-1),e.R7$(),e.Y8G("innerHTML",A.text,e.npT)}}function M(T,B){if(1&T&&e.nrm(0,"p",10),2&T){const A=e.XpG(2);e.Y8G("innerHTML",A.infoText,e.npT)}}function m(T,B){if(1&T&&(e.j41(0,"div",3)(1,"div",8),e.nrm(2,"img",9),e.nVh(3,M,1,1,"p",10),e.k0s()()),2&T){const A=e.XpG(),I=e.sdS(3);e.Y8G("autoClose",!0)("ngbTooltip",I)("placement",A.placement),e.R7$(2),e.Y8G("src",A.src,e.B4B),e.R7$(),e.vxM(A.showInfo&&A.infoText?3:-1)}}function r(T,B){if(1&T&&e.nrm(0,"p",10),2&T){const A=e.XpG(2);e.Y8G("innerHTML",A.infoText,e.npT)}}function _(T,B){if(1&T&&e.nrm(0,"span",7)(1,"br"),2&T){const A=e.XpG(2);e.Y8G("innerHTML",A.title,e.npT)}}function g(T,B){if(1&T){const A=e.RV6();e.j41(0,"div",11),e.bIt("mouseenter",function(){t.eBV(A);const C=e.XpG();return t.Njj(C.showTooltip())})("mouseleave",function(){t.eBV(A);const C=e.XpG();return t.Njj(C.hideTooltip())}),e.j41(1,"div",8),e.nrm(2,"img",9),e.nVh(3,r,1,1,"p",10),e.k0s(),e.j41(4,"div",12)(5,"p",13),e.nV
1h(6,_,2,1),e.nrm(7,"span",6),e.k0s()()()}if(2&T){const A=e.XpG();e.R7$(2),e.Y8G("src",A.src,e.B4B),e.R7$(),e.vxM(A.showInfo&&A.infoText?3:-1),e.R7$(),e.AVh("dw-info-tooltip--visible",A.isTooltipVisible),e.R7$(2),e.vxM(A.showTitle?6:-1),e.R7$(),e.Y8G("innerHTML",A.text,e.npT)}}let $=(()=>{class T{constructor(){this.useNgBootstrap=!0,this.tooltipStyle="",this.showTitle=!0,this.title="",this.text="",this.placement="",this.src="",this.showInfo=!1,this.infoText="Info",this.isTooltipVisible=!1}showTooltip(){this.useNgBootstrap||(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=void 0),this.isTooltipVisible=!0)}hideTooltip(){this.useNgBootstrap||(this.hideTimeout=setTimeout(()=>{this.isTooltipVisible=!1},100))}ngOnDestroy(){this.hideTimeout&&clearTimeout(this.hideTimeout)}static{this.\u0275fac=function(I){return new(I||T)}}static{this.\u0275cmp=e.VBU({type:T,selectors:[["conte-dw-tooltip"]],inputs:{useNgBootstrap:"useNgBootstrap",tooltipStyle:"tooltipStyle",showTitle:"showTitle",title:"title",text:"text",placement:"placement",src:"src",showInfo:"showInfo",infoText:"infoText"},standalone:!1,decls:6,vars:4,consts:[["tooltipContent",""],[1,"ui-bootstrap"],[1,"dw-tooltip"],["tooltipClass","dw-tooltip-icon-info","container","html",1,"dw-tooltip-container",3,"autoClose","ngbTooltip","placement"],[1,"dw-tooltip-container","dw-tooltip-custom"],[1,"dw-tooltip-text","caption"],[3,"innerHTML"],[1,"dw-tooltip-title","small-body","d-inline-block","font-weight-bold","font-italic",3,"innerHTML"],[1,"dw-tooltip-icon"],[3,"src"],[1,"dw-tooltip-info","caption","d-block","d-md-1-none","text-align-center",3,"innerHTML"],[1,"dw-tooltip-container","dw-tooltip-custom",3,"mouseenter","mouseleave"],[1,"dw-info-tooltip","position-absolute","shadow-sm","px-3","pb-3","rounded"],[1,"dw-tooltip-text","caption","m-0"]],template:function(I,C){1&I&&(e.j41(0,"div",1)(1,"div",2),e.DNE(2,f,3,2,"ng-template",null,0,e.C5r),e.nVh(4,m,4,5,"div",3),e.nVh(5,g,8,6,"div",4),e.k0s()()),2&I&&(e.R7$(),e.HbH(C.tooltipStyle),e.R7$(3),e.vxM(C.useNgBootstrap?4:-1),e.R7$(),e.vxM(C.useNgBootstrap?-1:5))},dependencies:[n.md],styles:['.dw-tooltip .dw-tooltip-container{display:inline-block;vertical-align:var(--tooltip-vertical-align)}.dw-tooltip .dw-tooltip-icon-info .tooltip-inner{text-align:left;background:#00558c;color:#fff;box-shadow:0 0 8px #0f468326;border-radius:7px;padding:15px 20px;z-index:1023;max-width:230px}.dw-tooltip .dw-tooltip-icon-info .dw-tooltip-title{margin-bottom:8px}.dw-tooltip .dw-tooltip-icon img{max-width:20px}.dw-tooltip .dw-tooltip-info{font-style:italic}@media (max-width: 480px){.dw-tooltip .dw-tooltip-icon-info .tooltip-inner{max-width:70vw}}.dw-tooltip .dw-tooltip-custom{position:relative;cursor:pointer}.dw-tooltip .dw-tooltip-custom .dw-info-tooltip{left:calc(100% + 8px);top:50%;transform:translateY(-50%);background:#e6eef3;color:#484848;min-width:280px;max-width:500px;z-index:1070;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;pointer-events:none}.dw-tooltip .dw-tooltip-custom .dw-info-tooltip--visible{opacity:1;visibility:visible}.dw-tooltip .dw-tooltip-custom .dw-info-tooltip .dw-tooltip-text{font-size:14px}.dw-tooltip .dw-tooltip-custom .dw-info-tooltip:after{content:"";position:absolute;right:100%;top:50%;transform:translateY(-50%);width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-right:8px solid #e6eef3}@media (max-width: 480px){.dw-tooltip .dw-tooltip-custom .dw-info-tooltip{max-width:70vw}}.dw-info-tooltip .dw-tooltip-icon-info .tooltip-inner{background:#e6eef3;color:#484848;box-shadow:none;max-width:400px}.dw-info-tooltip .tooltip .arrow{display:block}.dw-info-tooltip .bs-tooltip-top .arrow:before{border-top-color:#e6eef3}.dw-info-tooltip .bs-tooltip-right .arrow:before{border-right-color:#e6eef3}.dw-info-tooltip .bs-tooltip-bottom .arrow:before{border-bottom-color:#e6eef3}.dw-info-tooltip .bs-tooltip-left .arrow:before{border-left-color:#e6eef3}.dw-info-tooltip .dw-tooltip-text{font-size:14px}.dw-info-tooltip .dw-tooltip-icon{display:flex;align-items:center}.dw-info-tooltip .dw-tooltip-icon>img{order:1}.dw-info-tooltip .dw-tooltip-info{font-weight:700;font-style:normal;display:block!important;padding-right:5px}@media (max-width: 480px){.dw-info-tooltip .dw-tooltip-icon-info .tooltip-inner{max-width:70vw}}.dw-warning-tooltip .dw-tooltip-icon-info .tooltip-inner{margin-top:8px;background:#e6eef3;padding:16px;border-radius:10px}.dw-warning-tooltip .tooltip .dw-tooltip-text:after{content:" ";position:absolute;width:0;height:0;
1border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:10px solid #e6eef3;bottom:93%;right:90%}.dw-warning-tooltip .dw-tooltip-text{color:#484848;font-weight:700;font-size:14px}@media (max-width: 767px){.tooltip .dw-tooltip-text:after{content:" ";position:absolute;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:10px solid #e6eef3;bottom:93%;right:88%}}\n'],encapsulation:2})}}return T})()},59755(ht,L,o){"use strict";o.d(L,{S:()=>f});var t=o(44181),e=o(73328),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({imports:[t.MD,e.n8]})}}return M})()},56068(ht,L,o){"use strict";o.d(L,{B:()=>e,_:()=>t});const t="label label-status light-blue";var e=function(n){return n.Red="red",n.Green="green",n.Orange="orange",n.LightBlue="light-blue",n.LightBlueWhite="light-blue-white",n}(e||{})},32807(ht,L,o){"use strict";o.d(L,{H:()=>c});var t=o(51203),e=o(44181);function n(f,M){if(1&f&&t.nrm(0,"img",2),2&f){const m=t.XpG();t.Y8G("src",t.mNQ("./assets/img/"+m.icon+".svg"),t.B4B)}}let c=(()=>{class f{constructor(){this.showIcon=!1}static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275cmp=t.VBU({type:f,selectors:[["conte-dw-labels"]],inputs:{class:"class",componentClasses:"componentClasses",showIcon:"showIcon",icon:"icon",text:"text"},standalone:!1,decls:4,vars:3,consts:[[1,"ui-bootstrap"],[3,"ngClass"],[1,"icon",3,"src"],[3,"innerHTML"]],template:function(r,_){1&r&&(t.j41(0,"div",0)(1,"ul",1),t.nVh(2,n,1,2,"img",2),t.nrm(3,"li",3),t.k0s()()),2&r&&(t.R7$(),t.Y8G("ngClass",_.componentClasses?_.componentClasses:_.class),t.R7$(),t.vxM(_.showIcon?2:-1),t.R7$(),t.Y8G("innerHTML",_.text,t.npT))},dependencies:[e.YU],styles:['.label[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;color:inherit;display:inline-block;position:relative;text-align:center;text-decoration:none;font-size:16px;font-weight:700;line-height:160%}.label[_ngcontent-%COMP%]:focus-visible{outline:none}.label[_ngcontent-%COMP%]:focus-visible:after{content:"";position:absolute;inset:-6px;border:4px solid #ffffff;outline:4px solid #00558c;outline-offset:0;border-radius:inherit;pointer-events:none}.label[_ngcontent-%COMP%]{font-size:14px;font-style:italic;line-height:160%}@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.label[_ngcontent-%COMP%]{color:#484848;list-style:none;padding:0;margin:0}.icon[_ngcontent-%COMP%]{padding-right:6px}.label-icon[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:left;font-size:10px;line-height:140%}.label-icon.text-big[_ngcontent-%COMP%]{font-size:14px;line-height:160%}.label-icon.green[_ngcontent-%COMP%]{color:#4ab047}.label-icon.grey[_ngcontent-%COMP%]{color:#646464}.label-icon.red[_ngcontent-%COMP%]{color:#c8102e}.label-icon-text[_ngcontent-%COMP%]{display:flex;align-items:flex-start;text-align:left;font-size:14px;line-height:160%;font-style:normal;font-weight:400}.label-background[_ngcontent-%COMP%]{border-radius:50px;padding:3px 10px;color:#646464;background-color:#e0e0e0}.label-status[_ngcontent-%COMP%]{font-size:10px;line-height:140%;border-radius:50px;padding:3px 10px;color:#fff;text-transform:uppercase;white-space:nowrap}.label-status.light-blue[_ngcontent-%COMP%]{color:#0075dd;background-color:#f1f8ff;font-weight:900}.label-status.light-blue-white[_ngcontent-%COMP%]{color:#fff;background-color:#0075dd}.label-status.green[_ngcontent-%COMP%]{background-color:#4ab047;font-weight:900}.label-status.orange[_ngcontent-%COMP%]{background-color:#ffc159;font-weight:900}.label-status.orange-solid[_ngcontent-%COMP%]{background-color:#ffaf2b;color:#484848}.label-status.red[_ngcontent-%COMP%]{background-color:#c8102e;font-weight:900}.label-rounded[_ngcontent-%COMP%]{border-radius:4px;padding:3px 10px;font-style:normal;white-space:nowrap}.label-rounded.blue-solid[_ngcontent-%COMP%]{color:#00558c;background-color:#e6eef3}.label-rounded.blue-solid-no-bg[_ngcontent-%COMP%]{color:#00558c}.custom-properties[_ngcontent-%COMP%]{display:inline-block;text-align:center;text-wrap:balance;color:var(--label-text-color, #0075dd);font-size:var(--label-text-font-size, 14px);
1font-weight:var(--label-text-font-weight, 700);font-style:var(--label-text-font-style, italic);line-height:var(--label-text-line-height, 160%);background-color:var(--label-background-color, #f1f8ff)}.custom-properties.rounded-border[_ngcontent-%COMP%]{border-radius:var(--label-border-radius, 50px);padding:var(--label-padding, 3px 10px);border-color:var(--label-border-color, #0075dd);border-width:var(--label-border-width, 1px);border-style:var(--label-border-style, solid)}']})}}return f})()},92278(ht,L,o){"use strict";o.d(L,{Y:()=>c});var t=o(44181),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return f})()},69440(ht,L,o){"use strict";o.d(L,{M:()=>M});var t=o(51203),e=o(44181);const n=["*"];function c(m,r){if(1&m&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&m){const _=t.XpG();t.R7$(),t.JRh(_.accordionTitle)}}function f(m,r){if(1&m&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&m){const _=t.XpG();t.R7$(),t.JRh(_.secondAccordionTitle)}}let M=(()=>{class m{constructor(){this.isChangeText=!1,this.$titleClickOutput=new t.bkB,this.isAccordionTitle=!0}onTitleClick(_){this.$titleClickOutput.emit(_),this.isChangeText&&(this.isAccordionTitle=!this.isAccordionTitle)}static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275cmp=t.VBU({type:m,selectors:[["conte-dw-accordion"]],inputs:{accordionStyle:"accordionStyle",accordionTitle:"accordionTitle",accordionTitleSpecial:"accordionTitleSpecial",secondAccordionTitle:"secondAccordionTitle",isChangeText:"isChangeText"},outputs:{$titleClickOutput:"$titleClickOutput"},standalone:!1,ngContentSelectors:n,decls:9,vars:3,consts:[[1,"ui-bootstrap"],[1,"dw-accordion",3,"ngClass"],[1,"dw-accordion-container"],[1,"dw-accordion-title","big-body","font-italic",3,"click"],[1,"dw-accordion-content"]],template:function(g,$){1&g&&(t.NAR(),t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h5",3),t.bIt("click",function(B){return $.onTitleClick(B)}),t.nVh(4,c,2,1,"span"),t.nVh(5,f,2,1,"span"),t.k0s(),t.j41(6,"div",4)(7,"p"),t.SdG(8),t.k0s()()()()()),2&g&&(t.R7$(),t.Y8G("ngClass",$.accordionStyle),t.R7$(3),t.vxM($.isAccordionTitle?4:-1),t.R7$(),t.vxM($.isAccordionTitle?-1:5))},dependencies:[e.YU],styles:['.dw-accordion[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%]{max-height:0;overflow:hidden;transition:max-height .2s ease-out}.dw-accordion-login[_ngcontent-%COMP%]{border-radius:10px;box-shadow:0 -2px 10px #1f5eca1a;box-sizing:border-box;background-color:#fff;color:#484848;padding:12px 20px}.dw-accordion-login[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{color:#4dabff;font-size:14px;line-height:160%;font-weight:700;font-style:normal!important;padding:0;border-bottom:none}.dw-accordion-login[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]:after{content:url(assets/img/icon-plus.svg)}.dw-accordion-login[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{font-size:12px;font-style:italic;padding:20px 0 5px}.dw-accordion-login[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]:after{content:url(assets/img/icon-minus.svg)}@media (max-width: 767px){.dw-accordion-login[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border:none}.dw-accordion-login[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{text-transform:initial}.dw-accordion-login[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border-top:none}}.dw-accordion-coverage[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{justify-content:flex-start;font-size:16px;line-height:160%;font-weight:700;color:#484848}.dw-accordion-coverage[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{font-size:14px;padding:10px}@media (max-width: 767px){.dw-accordion-coverage[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border:none;background-color:transparent;border-radius:none}.dw-accordion-coverage[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{text-transform:initial}.dw-accordion-coverage[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border-top:none}}.dw-accordion-special[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:24px;line-height:140%;display:flex;align-items:center;color:#303030}.dw-accordion-special[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]:after{transform:rotate(180deg);content:url(assets/img/icon-minus-special-close.svg)}.dw-accordion-special[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:10px 0 0}.dw-accordion-special[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]:after{content:url(assets/img/icon-minus-special.svg)}@media (max-width: 767px){.dw-accordion-special[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border:none;background-color:transparent;border-radius:none}.dw-accordion-special[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{text-transform:initial}.dw-accordion-special[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{border-top:none}}.dw-accordion-icon[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.dw-accordion-icon[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]:before{display:inline-block;content:"";background:url(assets/img/icon-phone.svg) no-repeat 0 0;background-size:100%;width:30px;height:30px;margin-right:10px}.dw-accordion-icon[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]:after{content:url(assets/img/icon-dropdown-close-arrow.svg);margin-left:auto}.dw-accordion-icon[_ngcontent-%COMP%]   .dw-accordion-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{font-size:14px;font-style:normal}.dw-accordion-icon[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]:after{content:url(assets/img/icon-dropdown-arrow.svg)}@media (max-width: 767px){.dw-accordion-icon[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]{font-size:14px}.dw-accordion-icon[_ngcontent-%COMP%]   .dw-accordion-title[_ngcontent-%COMP%]:before{width:25px;height:25px}}']}
1)}}return m})()},20335(ht,L,o){"use strict";o.d(L,{h:()=>c});var t=o(44181),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return f})()},94927(ht,L,o){"use strict";o.d(L,{E:()=>m});var t=o(44181),e=o(28),n=o(53581),c=o(4130),f=o(80226),M=o(51203);let m=(()=>{class r{static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275mod=M.$C({type:r})}static{this.\u0275inj=f.G2t({imports:[t.MD,n.Y,c.t,e.l]})}}return r})()},53700(ht,L,o){"use strict";o.d(L,{X:()=>A});var t=o(51203),e=o(79346),n=o(80226),c=o(44181),f=o(5787);const M=I=>({"coverage-list-item--total-amount":I});function m(I,C){if(1&I&&(t.j41(0,"div",2),t.nrm(1,"img",10),t.k0s()),2&I){const k=t.XpG();t.R7$(),t.Y8G("src","./assets/img/"+k.imageSrc,t.B4B)}}function r(I,C){if(1&I&&(t.j41(0,"label",5),t.EFF(1),t.k0s()),2&I){const k=t.XpG();t.R7$(),t.SpI(" ",k.descriptionText," ")}}function _(I,C){if(1&I&&(t.j41(0,"label",6),t.EFF(1),t.k0s()),2&I){const k=t.XpG();t.R7$(),t.SpI(" ",k.subtitleText," ")}}function g(I,C){if(1&I&&(t.j41(0,"div",7),t.EFF(1),t.nI1(2,"conTeCurrency"),t.k0s()),2&I){const k=t.XpG();t.R7$(),t.SpI(" ",t.brH(2,1,k.price,"1.2-2",!1)," ")}}function $(I,C){if(1&I&&t.nrm(0,"img",12),2&I){const k=t.XpG(2);t.Y8G("alt",k.infoButtonText)}}function T(I,C){if(1&I){const k=t.RV6();t.j41(0,"div",11),t.bIt("click",function(l){n.eBV(k);const E=t.XpG();return n.Njj(E.onInfoClick(l))}),t.nVh(1,$,1,1,"img",12),t.EFF(2),t.k0s()}if(2&I){const k=t.XpG();t.R7$(),t.vxM(k.infoButtonText?1:-1),t.R7$(),t.SpI(" ",k.infoButtonText," ")}}function B(I,C){if(1&I&&(t.j41(0,"label",9),t.EFF(1),t.k0s()),2&I){const k=t.XpG();t.R7$(),t.SpI(" ",k.subtitleText," ")}}let A=(()=>{class I{constructor(){this.infoButtonText="Info",this.itemVersion=e.J.Normal,this.$infoClick=new t.bkB,this.ItemVersionEnum=e.J}onInfoClick(k){this.$infoClick.emit(k)}static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275cmp=t.VBU({type:I,selectors:[["conte-dw-coverage-list-item"]],inputs:{imageSrc:"imageSrc",descriptionText:"descriptionText",subtitleText:"subtitleText",price:"price",infoButtonText:"infoButtonText",showInfoButtonEmptySpace:"showInfoButtonEmptySpace",itemVersion:"itemVersion"},outputs:{$infoClick:"$infoClick"},standalone:!1,decls:10,vars:9,consts:[[1,"ui-bootstrap",3,"ngClass"],[1,"row","d-flex","align-items-center","coverage-list-item__main-container"],[1,"col-auto","p-0","d-flex","align-items-center","justify-content-center","coverage-list-item__image-container"],[1,"col","p-0","row","m-0","d-flex","align-items-center"],[1,"col","p-0"],[1,"w-100","coverage-list-item__description-text"],[1,"d-none","d-md-1-block","w-100","coverage-list-item__subtitle-text"],[1,"col-12","col-md-1-auto","p-0","coverage-list-item__price-container"],[1,"col-auto","p-0","d-flex","flex-column","align-items-center","coverage-list-item__info-button-container"],[1,"d-md-1-none","w-100","text-center","coverage-list-item__subtitle-text"],["alt","",1,"coverage-list-item__image",3,"src"],[1,"col-auto","p-0","d-flex","flex-column","align-items-center","coverage-list-item__info-button-container",3,"click"],["src","./assets/img/icon-info-outline.svg",1,"coverage-list-item__info-button-image",3,"alt"]],template:function(s,l){1&s&&(t.j41(0,"div",0)(1,"div",1),t.nVh(2,m,2,1,"div",2),t.j41(3,"div",3)(4,"div",4),t.nVh(5,r,2,1,"label",5),t.nVh(6,_,2,1,"label",6),t.k0s(),t.nVh(7,g,3,5,"div",7),t.k0s(),t.nVh(8,T,3,2,"div",8),t.k0s()(),t.nVh(9,B,2,1,"label",9)),2&s&&(t.Y8G("ngClass",t.eq3(7,M,l.itemVersion===l.ItemVersionEnum.Total)),t.R7$(2),t.vxM(l.imageSrc?2:-1),t.R7$(3),t.vxM(l.descriptionText?5:-1),t.R7$(),t.vxM(l.subtitleText?6:-1),t.R7$(),t.vxM(null!==l.price?7:-1),t.R7$(),t.vxM(l.infoButtonText||l.showInfoButtonEmptySpace?8:-1),t.R7$(),t.vxM(l.subtitleText?9:-1))},dependencies:[c.YU,f.T],styles:[".coverage-list-item__main-container[_ngcontent-%COMP%]{min-height:96px;padding:24px 32px;margin:0}.coverage-list-item__image-container[_ngcontent-%COMP%]{width:48px;margin-right:32px}
1.coverage-list-item__image[_ngcontent-%COMP%]{width:40px}.coverage-list-item__description-text[_ngcontent-%COMP%]{color:#484848;font-weight:400;font-family:Lato,sans-serif;font-size:18px;line-height:150%}.coverage-list-item__subtitle-text[_ngcontent-%COMP%]{color:#4dabff;font-weight:700;font-family:Lato,sans-serif;font-size:14px;line-height:160%}.coverage-list-item__price-container[_ngcontent-%COMP%]{margin-left:32px;color:#484848;font-weight:400;font-family:Lato,sans-serif;font-size:18px;line-height:150%}.coverage-list-item__info-button-container[_ngcontent-%COMP%]{width:26px;margin-left:32px;color:#00558c;font-weight:700;font-family:Lato,sans-serif;font-size:14px;line-height:160%;cursor:pointer}.coverage-list-item__info-button-image[_ngcontent-%COMP%]{width:23px;height:23px;margin-bottom:4.5px}.coverage-list-item--total-amount[_ngcontent-%COMP%]{padding:8px}.coverage-list-item--total-amount[_ngcontent-%COMP%]   .coverage-list-item__main-container[_ngcontent-%COMP%]{min-height:56px;padding:12px 24px;background-color:#f1f8ff}.coverage-list-item--total-amount[_ngcontent-%COMP%]   .coverage-list-item__image[_ngcontent-%COMP%]{width:32px}.coverage-list-item--total-amount[_ngcontent-%COMP%]   .coverage-list-item__description-text[_ngcontent-%COMP%]{color:#00558c;font-weight:700;font-size:20px;line-height:150%;word-break:break-word}.coverage-list-item--total-amount[_ngcontent-%COMP%]   .coverage-list-item__price-container[_ngcontent-%COMP%]{color:#00558c;font-weight:700;font-size:20px;line-height:150%}@media (max-width: 767px){.coverage-list-item__main-container[_ngcontent-%COMP%]{min-height:84px;padding:16px}.coverage-list-item__image-container[_ngcontent-%COMP%]{width:32px;margin-right:16px}.coverage-list-item__image[_ngcontent-%COMP%]{width:32px}.coverage-list-item__description-text[_ngcontent-%COMP%]{margin-bottom:4px;font-size:16px;line-height:160%}.coverage-list-item__subtitle-text[_ngcontent-%COMP%]{margin-bottom:8px}.coverage-list-item__price-container[_ngcontent-%COMP%]{margin-left:0;font-size:14px;line-height:160%}.coverage-list-item__info-button-image[_ngcontent-%COMP%]{width:20px;height:20px;margin-bottom:4px}.coverage-list-item--total-amount[_ngcontent-%COMP%]{padding:8px}.coverage-list-item--total-amount[_ngcontent-%COMP%]   .coverage-list-item__main-container[_ngcontent-%COMP%]{min-height:110px;padding:12px 8px}.coverage-list-item--total-amount[_ngcontent-%COMP%]   .coverage-list-item__description-text[_ngcontent-%COMP%]{font-weight:400}}"]})}}return I})()},79346(ht,L,o){"use strict";o.d(L,{J:()=>t});var t=function(e){return e.Normal="normal",e.Total="total",e}(t||{})},81128(ht,L,o){"use strict";o.d(L,{M:()=>C});var t=o(75089),e=o(1218),n=o(51203),c=o(44181),f=o(81180),M=o(5547),m=o(5787),r=o(15699),_=o(23483);function g(k,s){if(1&k&&(n.j41(0,"div",2),n.nrm(1,"conte-dw-tooltip",4),n.k0s()),2&k){const l=n.XpG();n.R7$(),n.Y8G("title",l.titleTooltip)("text",l.textTooltip)}}function $(k,s){if(1&k&&(n.j41(0,"span",1),n.EFF(1),n.k0s()),2&k){const l=n.XpG();n.Y8G("ngClass",l.valueClass),n.R7$(),n.JRh(l._inputValue)}}function T(k,s){if(1&k&&(n.j41(0,"span",1),n.EFF(1),n.nI1(2,"conTeCurrency"),n.k0s()),2&k){const l=n.XpG();n.Y8G("ngClass",l.valueClass),n.R7$(),n.JRh(n.bMT(2,2,l._inputValue))}}function B(k,s){if(1&k&&(n.j41(0,"span",1),n.EFF(1),n.nI1(2,"conTeDate"),n.k0s()),2&k){const l=n.XpG();n.Y8G("ngClass",l.valueClass),n.R7$(),n.JRh(n.bMT(2,2,l._inputValue))}}function A(k,s){if(1&k&&(n.j41(0,"span",1),n.EFF(1),n.nI1(2,"conTeDate"),n.k0s()),2&k){const l=n.XpG();n.Y8G("ngClass",l.valueClass),n.R7$(),n.SpI(" ",n.i5U(2,2,l._inputValue,"dateTime")," ")}}function I(k,s){if(1&k&&(n.j41(0,"span",1),n.EFF(1),n.nI1(2,"conTeBoolean"),n.k0s()),2&k){const l=n.XpG();n.Y8G("ngClass",l.valueClass),n.R7$(),n.JRh(n.bMT(2,2,l._inputValue))}}let C=(()=>{class k{constructor(){this.dataElementTooltip=!1,this.labelClass="label",this.valueClass="value",this.dataElementIcon=!1,this.CURRENCY=t.UMC,this.STRING=t.An9,this.DATE=t.vHA,this.DATE_HOUR=t.QzO,this.BOOLEAN=t.Jxd,this.FAVORITE_ON=e.jw,this.FAVORITE_OFF=e.zW}set inputValue(l){this._inputValue="object"==typeof l?l?.description:l}static{this.\u0275fac=function(E){return new(E||k)}}static{this.\u0275cmp=n.VBU({type:k,selectors:[["conte-dw-data-element"]],inputs:{containerClass:"containerClass",dataElementTooltip:"dataElementTooltip",titleTooltip:"titleTooltip",textTooltip:"textTooltip",elementClass:"elementClass",dataMapElement:"dataMapElement",labelClass:"labelClass",valueClass:"valueClass",inputValue:"inputValue",dataElementIcon:"dataElementIcon",is
1Favorite:"isFavorite"},standalone:!1,decls:11,vars:11,consts:[[1,"ui-bootstrap"],[3,"ngClass"],[1,"data-element-tooltip"],[3,"ngClass","conteDwDataCy"],["placement","auto","src","./assets/img/icon-info-fill.svg",3,"title","text"]],template:function(E,p){1&E&&(n.j41(0,"div",0)(1,"div",1),n.nVh(2,g,2,2,"div",2),n.j41(3,"div",1)(4,"span",3),n.EFF(5),n.k0s(),n.nVh(6,$,2,2,"span",1),n.nVh(7,T,3,4,"span",1),n.nVh(8,B,3,4,"span",1),n.nVh(9,A,3,5,"span",1),n.nVh(10,I,3,4,"span",1),n.k0s()()()),2&E&&(n.R7$(),n.Y8G("ngClass",p.containerClass),n.R7$(),n.vxM(p.dataElementTooltip?2:-1),n.R7$(),n.Y8G("ngClass",p.elementClass),n.R7$(),n.Y8G("ngClass",p.labelClass)("conteDwDataCy",p.dataMapElement.label),n.R7$(),n.JRh(p.dataMapElement.label),n.R7$(),n.vxM(p.dataMapElement.type==p.STRING?6:-1),n.R7$(),n.vxM(p.dataMapElement.type==p.CURRENCY?7:-1),n.R7$(),n.vxM(p.dataMapElement.type==p.DATE?8:-1),n.R7$(),n.vxM(p.dataMapElement.type===p.DATE_HOUR?9:-1),n.R7$(),n.vxM(p.dataMapElement.type==p.BOOLEAN?10:-1))},dependencies:[c.YU,f.b,M.W,m.T,r.w,_._],styles:[".data-element-grid[_ngcontent-%COMP%]{display:flex;flex-direction:column}.data-element-grid[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:#00558c;opacity:1;font-size:var(--data-element-grid-label-font-size, 14px);line-height:var(--data-element-grid-label-font-size, 160%);font-weight:var(--data-element-grid-label-font-weight)}.data-element-grid[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:#646464;word-break:break-word;font-size:var(--data-element-grid-value-font-size);line-height:var(--data-element-grid-value-line-height)}.data-element-grid-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.data-element-grid-icon[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:#6699ba;font-size:12px;line-height:160%}.data-element-grid-icon[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:#00558c;font-size:14px;line-height:160%}.data-element-grid-icon[_ngcontent-%COMP%]   .data-element-icon[_ngcontent-%COMP%]{padding-left:5px}.data-element-grid-tooltip[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.data-element-grid-tooltip[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:#6699ba}.data-element-grid-tooltip[_ngcontent-%COMP%]   .data-element-tooltip[_ngcontent-%COMP%]{padding-right:10px}.data-element-list[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.data-element-list[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:var(--data-element-list-label-font-size, 14px);line-height:var(--data-element-list-label-line-height, 140%)}.data-element-list[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{text-align:right;padding-left:5px;min-width:125px;max-width:180px;font-size:var(--data-element-list-value-font-size, 14px);line-height:var(--data-element-list-value-line-height, 140%);color:var(--data-element-list-value-color)}@media (max-width: 767px){.data-element-list[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:13px}.data-element-list[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{font-size:13px;max-width:100%}}@media (max-width: 480px){.data-element-list[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{min-width:auto}}.quotation__items-item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;margin-bottom:10px}.quotation__items-item-description[_ngcontent-%COMP%]{margin:auto 11px auto 0;color:#484848;font-family:Lato,sans-serif;font-weight:400;font-size:14px;line-height:160%}.quotation__items-item-price[_ngcontent-%COMP%]{color:#484848;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%;white-space:nowrap;text-align:right}@media screen and (max-width: 767px){.quotation__items[_ngcontent-%COMP%]{padding:20px 20px 25px}}"]})}}return k})()},80135(ht,L,o){"use strict";o.d(L,{$:()=>r});var t=o(44181),e=o(28),n=o(91360),c=o(99608),f=o(59755),M=o(80226),m=o(51203);let r=(()=>{class _{static{this.\u0275fac=function(T){return new(T||_)}}static{this.\u0275mod=m.$C({type:_})}static{this.\u0275inj=M.G2t({imports:[t.MD,n.vK,n._m,n.st,f.S,c.u,e.l]})}}return _})()},24792(ht,L,o){"use strict";o.d(L,{I:()=>M});var t=o(51203),e=o(44181);
1const n=["DataElement"],c=(m,r)=>({$implicit:m,inputValue:r});function f(m,r){if(1&m&&(t.j41(0,"li",3),t.eu8(1,4),t.k0s()),2&m){const _=r.$implicit,g=t.XpG();t.HbH(g.getColumnClasses()),t.R7$(),t.Y8G("ngTemplateOutlet",g.dataElement)("ngTemplateOutletContext",t.l_i(4,c,_,g.inputData?g.inputData[_.variableName]:null))}}let M=(()=>{class m{constructor(){this.containerClass="data-grid",this.ariaLabel="Griglia con lista di elementi",this.columnsXl=4,this.columnsLg=4,this.columnsMd=3,this.columnsMd1=1,this.columnsSm=1,this.columnsXs=1}getColumnClasses(){const g=[this.columnsXs,this.columnsSm,this.columnsMd,this.columnsLg,this.columnsXl];return["xs","sm","md","lg","xl"].map(($,T)=>{const B=g[T];return 5===B?`col-${$}-2-4`:`col-${$}-${12/B}`}).join(" ")}static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275cmp=t.VBU({type:m,selectors:[["conte-dw-data-grid"]],contentQueries:function(g,$,T){if(1&g&&t.wni(T,n,5,t.C4Q),2&g){let B;t.mGM(B=t.lsd())&&($.dataElement=B.first)}},inputs:{containerClass:"containerClass",ariaLabel:"ariaLabel",columnsXl:"columnsXl",columnsLg:"columnsLg",columnsMd:"columnsMd",columnsMd1:"columnsMd1",columnsSm:"columnsSm",columnsXs:"columnsXs",dataList:"dataList",inputData:"inputData"},standalone:!1,decls:5,vars:3,consts:[[1,"ui-bootstrap"],[1,"row",3,"aria-label"],["li","",3,"class"],["li",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(g,$){1&g&&(t.j41(0,"div",0)(1,"div")(2,"ul",1),t.Z7z(3,f,2,7,"li",2,t.fX1),t.k0s()()()),2&g&&(t.R7$(),t.HbH($.containerClass),t.R7$(),t.jOp("aria-label",$.ariaLabel),t.R7$(),t.Dyx($.dataList))},dependencies:[e.T3],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.col-xs-2-4[_ngcontent-%COMP%], .col-sm-2-4[_ngcontent-%COMP%], .col-md-2-4[_ngcontent-%COMP%], .col-lg-2-4[_ngcontent-%COMP%], .col-xl-2-4[_ngcontent-%COMP%]{flex:0 0 20%;max-width:20%}.data-grid[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-bottom:var(--data-grid-li-padding-bottom, 35px)}
1@media (min-width: 767px){.data-grid-separator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-bottom:20px;margin-bottom:0;margin-top:10px;box-shadow:inset 0 -1px #e6eef3}.data-grid-separator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(4n+1):nth-last-child(-n+4), .data-grid-separator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(4n+1):nth-last-child(-n+4) ~ li[_ngcontent-%COMP%]{box-shadow:inset 0 -1px 0 transparent}}@media (max-width: 767px){.data-grid.coloured-rows[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:18px 30px}.data-grid.coloured-rows[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-last-of-type(-n+2){background-color:var(--data-grid-coloured-rows-background-color, #f8f8f8)}.data-grid-separator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:6px;margin-right:6px}.data-grid-separator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:8px}.data-grid-separator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:nth-child(2n){box-shadow:inset 1px 0 #e6eef3}}@media (max-width: 767px){.data-grid-button[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #e6eef3}}.data-grid-icon[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-right:0;margin-left:0}.data-grid-icon[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:10px 0}.data-grid-icon[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{padding-top:12px}.data-grid-icon[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding-bottom:12px}.data-grid-icon[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #e6eef3}.data-grid-tooltip[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){padding-bottom:15px}.data-grid-list[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-bottom:16px}.data-grid-list[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding-bottom:0}"]})}}return m})()},86839(ht,L,o){"use strict";o.d(L,{H:()=>m});var t=o(44181),e=o(91360),n=o(4130),c=o(80135),f=o(80226),M=o(51203);let m=(()=>{class r{static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275mod=M.$C({type:r})}static{this.\u0275inj=f.G2t({imports:[t.MD,e.vK,e._m,e.st,c.$,n.t]})}}return r})()},19272(ht,L,o){"use strict";o.d(L,{q:()=>M});var t=o(51203),e=o(44181);const n=["DataElement"],c=(m,r)=>({$implicit:m,inputValue:r});function f(m,r){if(1&m&&(t.j41(0,"li"),t.eu8(1,2),t.k0s()),2&m){const _=r.$implicit,g=r.$index,$=t.XpG();t.HbH($.withTitle&&0===g?$.liClass+" "+$.titleClass:$.liClass),t.R7$(),t.Y8G("ngTemplateOutlet",$.dataElement)("ngTemplateOutletContext",t.l_i(4,c,_,$.inputData?$.inputData[_.variableName]:null))}}let M=(()=>{class m{constructor(){this.withTitle=!1}static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275cmp=t.VBU({type:m,selectors:[["conte-dw-data-list"]],contentQueries:function(g,$,T){if(1&g&&t.wni(T,n,5,t.C4Q),2&g){let B;t.mGM(B=t.lsd())&&($.dataElement=B.first)}},inputs:{dataListClass:"dataListClass",dataList:"dataList",liClass:"liClass",inputData:"inputData",withTitle:"withTitle",titleClass:"titleClass"},standalone:!1,decls:5,vars:2,consts:[[1,"ui-bootstrap"],[3,"class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(g,$){1&g&&(t.j41(0,"div",0)(1,"div")(2,"ul"),t.Z7z(3,f,2,7,"li",1,t.fX1),t.k0s()()()),2&g&&(t.R7$(),t.HbH($.dataListClass),t.R7$(2),t.Dyx($.dataList))},dependencies:[e.T3],styles:[".title[_ngcontent-%COMP%]     .label{color:#00558c}.title[_ngcontent-%COMP%]     .value{color:#00558c;font-size:14px;font-weight:700}.big-title[_ngcontent-%COMP%]{font-weight:700}.big-title[_ngcontent-%COMP%]     .data-element-list{align-items:baseline}.big-title[_ngcontent-%COMP%]     .data-element-list .value{font-size:24px!important;color:#00558c!important}.policy-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .home-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-bottom:10px;color:#6699ba}.policy-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child, .home-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding-bottom:0}.renewal-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     .value{min-width:80px;white-space:nowrap}@media (max-width: 480px){.renewal-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     .value{min-width:auto}}.policy-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-bottom:8px;color:#6699ba}.policy-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding-bottom:0}.policy-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     .value{max-width:185px;color:var(--policy-info-text-color, #b7b7b7)}@media (max-width: 767px){.policy-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     .label{font-size:14px}.policy-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     .value{max-width:100%;font-size:14px}}.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{padding:0}.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{font-style:italic;font-weight:700;color:#4dabff;padding-bottom:5px}.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child     .data-element-list{display:block;text-align:right}.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child     .value{color:#4dabff;text-decoration:line-through;text-decoration-color:#000}@media (max-width: 767px){.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{position:relative}.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{position:absolute;bottom:0;padding-bottom:1px;margin-left:55px}.policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child     .label, .policy-info-line-through[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child     .value{font-size:12px}}.coverage-item[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:15px 0 0;cursor:pointer}.coverage-item[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #e6eef3;padding:15px 0}@media (max-width: 767px){.coverage-item[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:15px 10px}.coverage-item[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){padding:15px 10px}}.quotation__items[_ngcontent-%COMP%]{margin-top:5px}"]})}}return m})()},103(ht,L,o){"use strict";o.d(L,{Z:()=>M});var t=o(44181),e=o(53581),n=o(80135),c=o(80226),f=o(51203);let M=(()=>{class m{static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275mod=f.$C({type:m})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.Y,n.$]})}}return m})()},52483(ht,L,o){"use strict";o.d(L,{u:()=>s});var t=o(62013),e=o(51203),n=o(69294),c=o(80226),f=o(44181);let M=(()=>
1{class l{transform(p){if(!p)return"";let h=`col-${p.default}`;return p.sm&&(h+=` col-sm-${p.sm}`),p.md&&(h+=` col-md-${p.md}`),p.lg&&(h+=` col-lg-${p.lg}`),p.xl&&(h+=` col-xl-${p.xl}`),h}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275pipe=e.EJ8({name:"conTeBreakpointClasses",type:l,pure:!0,standalone:!1})}}return l})();var m=o(75089),r=o(91360);let _=(()=>{class l{constructor(p){this.titleCasePipe=p}transform(p,h){return p?h&&h!==m.UNT.String?h===m.UNT.Currency?(new r.T).transform(p):h===m.UNT.Date?new r.wp(this.titleCasePipe).transform(p):h===m.UNT.DateHour?new r.wp(this.titleCasePipe).transform(p,"dateTime"):h===m.UNT.Boolean?(new r._g).transform(p):p:p:""}static{this.\u0275fac=function(h){return new(h||l)(e.rXU(f.PV,16))}}static{this.\u0275pipe=e.EJ8({name:"conTeDataTypePipe",type:l,pure:!0,standalone:!1})}}return l})();const g=(l,E)=>({"data-table--with-rows-dividers-mobile":l,"data-table--with-rows-dividers-web":E}),$=l=>["data-table__element",l];function T(l,E){if(1&l&&(e.j41(0,"div",5),e.nrm(1,"img",7),e.EFF(2),e.k0s()),2&l){const p=e.XpG(3);e.Y8G("@copiedAnimation",void 0),e.R7$(2),e.SpI(" ",p.copiedLabel," ")}}function B(l,E){if(1&l){const p=e.RV6();e.j41(0,"label",4),e.EFF(1),e.nVh(2,T,3,2,"div",5),e.k0s(),e.j41(3,"label",6),e.bIt("click",function(){c.eBV(p);const w=e.XpG().$implicit,z=e.XpG();return c.Njj(z.selectValue(w))}),e.EFF(4),e.nI1(5,"conTeDataTypePipe"),e.k0s()}if(2&l){const p=e.XpG().$implicit,h=e.XpG();e.R7$(),e.SpI("",p.description," "),e.R7$(),e.vxM(p.copied&&h.enableCopyValue?2:-1),e.R7$(),e.Y8G("ngClass",p.copied&&h.enableCopyValue?"w-100 data-table__copied":"w-100 data-table__element-value"),e.R7$(),e.SpI(" ",e.i5U(5,4,p.value,p.type)," ")}}function A(l,E){if(1&l){const p=e.RV6();e.j41(0,"div",8),e.bIt("click",function(){c.eBV(p);const w=e.XpG().$implicit,z=e.XpG();return c.Njj(z.onDownloadButtonClick(w.value))}),e.j41(1,"div",9),e.EFF(2),e.k0s(),e.nrm(3,"img",10),e.k0s()}if(2&l){const p=e.XpG().$implicit;e.R7$(2),e.SpI(" ",p.description," "),e.R7$(),e.Y8G("alt",p.description)}}function I(l,E){if(1&l&&(e.j41(0,"li",2),e.nI1(1,"conTeBreakpointClasses"),e.nVh(2,B,6,7)(3,A,4,2,"div",3),e.k0s()),2&l){const p=E.$implicit,h=e.XpG();e.Y8G("ngClass",e.eq3(4,$,e.bMT(1,2,p.breakpointsConfig||h.breakpointsConfig))),e.R7$(2),e.vxM(p.type!==h.DocumentType?2:3)}}const C={default:12,md:4,lg:3};let s=(()=>{class l{constructor(){this.enableCopyValue=!1,this.copiedLabel="COPIATO",this.breakpointsConfig=C,this.rowDividerVisibility=n.w.None,this.$downloadButtonClick=new e.bkB,this.DocumentType=n.U.Document,this.DividerAlways=n.w.Always,this.DividerMobile=n.w.Mobile,this.DividerWeb=n.w.Web}onDownloadButtonClick(p){this.$downloadButtonClick.emit(p)}selectValue(p){this.enableCopyValue&&(this.copyToClipboard(p.value),this.elementList.forEach(w=>{w!==p&&(w.copied=!1)}),p.copied=!0)}copyToClipboard(p){if(navigator.clipboard)navigator.clipboard.writeText(p);else{const h=document.createElement("textarea");h.value=p,document.body.appendChild(h),h.select(),document.execCommand("copy"),document.body.removeChild(h)}}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275cmp=e.VBU({type:l,selectors:[["conte-dw-data-table"]],inputs:{enableCopyValue:"enableCopyValue",copiedLabel:"copiedLabel",breakpointsConfig:"breakpointsConfig",elementList:"elementList",rowDividerVisibility:"rowDividerVisibility"},outputs:{$downloadButtonClick:"$downloadButtonClick"},standalone:!1,decls:4,vars:4,consts:[[1,"ui-bootstrap","data-table",3,"ngClass"],[1,"row","data-table__list"],[3,"ngClass"],[1,"row","m-0","align-items-center","justify-content-center","data-table__download-button"],[1,"w-100","data-table__element-description"],[1,"data-table__copied-label"],[3,"click","ngClass"],["src","./assets/img/check-blue.svg","alt","blue-check",1,"data-table__icon-label"],[1,"row","m-0","align-items-center","justify-content-center","data-table__download-button",3,"click"],[1,"col","col-md-1-auto","p-0","data-table__download-button__label"],["src","./assets/img/icon-download-outline.svg",1,"align-self-start",3,"alt"]],template:function(h,w){1&h&&(e.j41(0,"div",0)(1,"ul",1),e.Z7z(2,I,4,6,"li",2,e.fX1),e.k0s()()),2&h&&(e.Y8G("ngClass",e.l_i(1,g,w.rowDividerVisibility===w.DividerAlways||w.rowDividerVisibility===w.DividerMobile,w.rowDividerVisibility===w.DividerAlways||w.rowDividerVisibility===w.DividerWeb)),e.R7$(2),e.Dyx(w.elementList))},dependencies:[f.YU,M,_],styles:[".copied[_ngcontent-%COMP%]{color:#00558c}.data-table[_ngcontent-%COMP%]{overflow:hidden}.data-table__list[_ngcontent-%COMP%]{margin-top:-24px}.data-table__element[_ngcontent-%COMP%]{padding-top:20px;font-family:Lato,sans-serif;
1font-weight:var(--data-table-element-font-weight, 400);font-size:var(--data-table-element-font-size, 14px);line-height:var(--data-table-element-line-height, 160%)}.data-table__element-description[_ngcontent-%COMP%]{margin-bottom:4px;color:var(--data-table-element-description-color, #005388);line-height:17px;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.data-table__element-value[_ngcontent-%COMP%]{color:#646464;cursor:var(--cursor-element-value, default)}.data-table__copied-label[_ngcontent-%COMP%]{width:68px;height:20px;border-radius:48px;background-color:#edf7ff;color:#0075dd;padding:8px 2px;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin-left:3px;position:absolute}.data-table__icon-label[_ngcontent-%COMP%]{width:16px;height:16px}.data-table__copied[_ngcontent-%COMP%]{color:#00558c}.data-table__download-button[_ngcontent-%COMP%]{color:#3377a3;font-family:Lato,sans-serif;font-weight:400;font-size:14px;line-height:17px;cursor:pointer}.data-table__download-button__label[_ngcontent-%COMP%]{max-width:calc(100% - 32px)}.data-table__download-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-left:12px}.data-table__download-button[_ngcontent-%COMP%]:hover{color:#00558c}@media (max-width: 1024px){.data-table--with-rows-dividers-mobile[_ngcontent-%COMP%]   .data-table__list[_ngcontent-%COMP%]{margin-top:0;margin-bottom:-1px}.data-table--with-rows-dividers-mobile[_ngcontent-%COMP%]   .data-table__element[_ngcontent-%COMP%]{padding-bottom:20px;box-shadow:inset 0 -1px #e6eef3}}@media (min-width: 1024px){.data-table--with-rows-dividers-web[_ngcontent-%COMP%]   .data-table__list[_ngcontent-%COMP%]{margin-top:0;margin-bottom:-2px}.data-table--with-rows-dividers-web[_ngcontent-%COMP%]   .data-table__element[_ngcontent-%COMP%]{padding-bottom:20px;box-shadow:inset 0 -1px #e6eef3}}"],data:{animation:[(0,t.hZ)("copiedAnimation",[(0,t.kY)(":enter",[(0,t.iF)({opacity:0}),(0,t.i0)("200ms",(0,t.iF)({opacity:1}))]),(0,t.kY)(":leave",[(0,t.i0)("200ms",(0,t.iF)({opacity:0}))])])]},changeDetection:0})}}return l})()},69294(ht,L,o){"use strict";o.d(L,{U:()=>t,w:()=>e});var t=function(n){return n.Currency="currency",n.String="string",n.Date="date",n.DateHour="dateHour",n.Boolean="boolean",n.Number="number",n.Document="document",n}(t||{}),e=function(n){return n.None="none",n.Mobile="mobile",n.Web="web",n.Always="always",n}(e||{})},91328(ht,L,o){"use strict";o.d(L,{$:()=>T,d:()=>B});var t=o(51203),e=o(44181),n=o(52483);const c=(A,I,C,k,s)=>[A,I,C,k,s],f=A=>({"flex-md-row":A});function M(A,I){if(1&A&&t.nrm(0,"img",4),2&A){const C=t.XpG(2);t.Y8G("src","assets/img/"+C.nameImg,t.B4B)}}function m(A,I){if(1&A&&(t.j41(0,"div",2),t.nVh(1,M,1,1,"img",4),t.EFF(2),t.k0s()),2&A){const C=t.XpG();t.R7$(),t.vxM(C.nameImg?1:-1),t.R7$(),t.SpI(" ",C.title," ")}}function r(A,I){if(1&A&&t.nrm(0,"div",6),2&A){const C=t.XpG().$implicit,k=t.XpG(2);t.HbH(k.direction+"__subtitle"),t.Y8G("innerHTML",C.subtitle,t.npT)}}function _(A,I){if(1&A&&(t.j41(0,"div"),t.nrm(1,"conte-dw-data-table",9),t.k0s()),2&A){const C=t.XpG().$implicit,k=t.XpG(2);t.HbH(k.direction+"__subtitle pl-2 pt-4"),t.R7$(),t.Y8G("enableCopyValue",C.gridList.enableCopyValue)("elementList",C.gridList.elements)}}function g(A,I){if(1&A&&(t.j41(0,"li",5),t.nrm(1,"div",6),t.nVh(2,r,1,3,"div",7),t.nVh(3,_,2,4,"div",8),t.k0s()),2&A){const C=I.$implicit,k=t.XpG(2);t.Y8G("ngClass",t.eq3(6,f,k.direction===k.documentListDirection.HORIZONTAL)),t.R7$(),t.HbH(k.direction+"__title"),t.Y8G("innerHTML",C.title,t.npT),t.R7$(),t.vxM(C.subtitle?2:-1),t.R7$(),t.vxM(C.gridList?3:-1)}}function $(A,I){if(1&A&&(t.j41(0,"ul",3),t.Z7z(1,g,4,8,"li",5,t.fX1),t.k0s()),2&A){const C=t.XpG();t.Y8G("ngClass",t.s1E(1,c,C.typeList,C.orderType+"-order",C.showDashed?"dashed-line":"","size-"+C.size,C.alignLeftSide?"padding-left":"")),t.R7$(),t.Dyx(C.documentList)}}var T=function(A){return A.VERTICAL="vertical",A.HORIZONTAL="horizontal",A}(T||{});let B=(()=>{class A{constructor(){this.documentListDirection=T,this.nameImg="",this.title="",this.typeList="green",this.orderType="numeric",this.showDashed=!1,this.size="small",this.alignLeftSide=!1,this.direction=T.VERTICAL}static{this.\u0275fac=function(k){return new(k||A)}}static{this.\u0275cmp=t.VBU({type:A,selectors:[["conte-dw-document-list"]],inputs:{nameImg:"nameImg",title:"title",documentList:"documentList",typeList:"typeList",orderType:"orderType",showDashed:"showDashed",size:"size",alignLeftSide:"alignLeftSide",direction:"direction"},standalone:!1,decls:4,vars:2,consts:[[1,"ui-bootstrap"],[1,"document-list"],[1,"document-list__title-list"],[3,"ngClass"],[3,"src"],[1,"d-flex","flex-column","document-list__list-element",3,"ngClass"],[3,"innerHTML"],[3,"class","innerHTML"],[3,"class"],[3,"enableCopyValue","elementList"]],template:function(k,s){1&k&&(t.j41(0,"div",0)(1,"div",1),t.nVh(2,m,3,2,"div",2),t.nVh(3,$,3,7,"ul",3),t.k0s()()),2&k&&(t.R7$(2),t.vxM(s.title?2:-1),t.R7$(),t.vxM(null!=s.documentList&&s.documentList.length?3:-1))},dependencies:[e.YU,n.u],styles:['.document-list[_ngcontent-%COMP%]   conte-dw-data-table[_ngcontent-%COMP%]{--data-table-element-font-size: 16px;--data-table-element-line-height: 160%;
1--data-table-element-font-weight: 300;--data-table-element-description-color: #4dabff}.document-list__title-list[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:20px;font-weight:700;font-stretch:normal;font-style:normal;line-height:150%;letter-spacing:normal;text-align:left;color:#00558c}.document-list__title-list[_ngcontent-%COMP%] ~ ul[_ngcontent-%COMP%]{padding-top:28px}.document-list__title-list[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px;height:24px;margin-right:18px;margin-left:0}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]{margin-top:-1px;list-style:none;counter-reset:li}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]   li.document-list__list-element[_ngcontent-%COMP%]{position:relative;left:30px;padding-bottom:32px;padding-left:16px;counter-increment:li;font-family:Lato,sans-serif;font-size:16px;font-weight:var(--document-list-element-font-weight, 700);line-height:160%}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:after{background-color:#77c475}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{border-left-color:#77c475}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child:before{top:6px}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child:before{height:6px}.document-list[_ngcontent-%COMP%]   ul.green[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding-bottom:0}ul.numeric-order[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:after{content:counter(li);color:#fff;display:flex;justify-content:center;align-items:center;position:absolute;left:-30px;top:5px;height:28px;width:28px;border-radius:4px}ul.blue[_ngcontent-%COMP%]{margin-top:-1px;list-style:none;counter-reset:li}ul.blue[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding-bottom:32px;padding-left:16px;counter-increment:li;font-family:Lato,sans-serif;font-size:16px;font-weight:700;line-height:160%}ul.blue[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:after{background-color:#00558c}ul.blue[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{border-left-color:#00558c}ul.blue[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child:before{top:6px}ul.blue[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child:before{height:6px}ul.blue[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{padding-bottom:0}ul.alphabetic-order[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:after{content:counter(li,upper-alpha);color:#fff;display:flex;justify-content:center;align-items:center;position:absolute;left:-16px;top:0;height:28px;width:28px;border-radius:4px}ul.dashed-line[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"";position:absolute;left:-15px;border-left-style:dashed;border-left-width:1px;height:100%;width:1px}ul.size-small[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:302px}ul.size-big[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:431px}ul.size-xxl[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:100%}.label-black[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:16px;font-weight:700;font-stretch:normal;font-style:normal;line-height:160%;letter-spacing:normal;color:#484848}.label-black.label-black--small[_ngcontent-%COMP%]{font-weight:400}.dark-blue[_ngcontent-%COMP%]{color:#00558c;font-weight:700}.label-grey[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:14px;font-weight:400;font-stretch:normal;font-style:normal;line-height:160%;letter-spacing:normal;color:#646464}ul.padding-left[_ngcontent-%COMP%]{padding-left:24px}.horizontal__title[_ngcontent-%COMP%]{max-width:100%}.horizontal__subtitle[_ngcontent-%COMP%]{display:inline-flex}.horizontal__subtitle[_ngcontent-%COMP%]   .label-grey[_ngcontent-%COMP%]{font-size:14px;line-height:160%}.horizontal__title[_ngcontent-%COMP%] ~ .horizontal__subtitle[_ngcontent-%COMP%]:before{content:"|";margin:0 8px!important;font-weight:400;font-size:16px;line-height:160%;color:#99bbd1}.vertical__subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:160%;font-weight:500}@media (max-width: 767px){.label-type-blue[_ngcontent-%COMP%], .label-type-green[_ngcontent-%COMP%]{max-width:100%}.label-black[_ngcontent-%COMP%]{font-size:14px}}']})}}return A})()},98456(ht,L,o){"use strict";o.d(L,{h6:()=>t.h,GE:()=>_,$w:()=>g.$,Hx:()=>$.H,Ze:()=>T.Z,hN:()=>Lt,UN:()=>Nt.U,wQ:()=>Nt.w,_u:()=>St,J1:()=>c.J});var t=o(20335),c=(o(94927),o(53700),o(79346)),f=o(44181),M=o(91360),m=o(51203),r=o(80226);let _=(()=>{class wt{static{this.\u0275fac=function(nt){return new(nt||wt)}}static{this.\u0275mod=m.$C({type:wt})}
1static{this.\u0275inj=r.G2t({imports:[f.MD,M.vK]})}}return wt})();var g=o(80135),$=o(86839),T=o(103);o(28955),o(86765),o(97959),o(11425),o(87835),o(52483);var Nt=o(69294);let Dt=(()=>{class wt{static{this.\u0275fac=function(nt){return new(nt||wt)}}static{this.\u0275mod=m.$C({type:wt})}static{this.\u0275inj=r.G2t({})}}return wt})(),pe=(()=>{class wt{static{this.\u0275fac=function(nt){return new(nt||wt)}}static{this.\u0275mod=m.$C({type:wt})}static{this.\u0275inj=r.G2t({providers:[f.PV]})}}return wt})(),Lt=(()=>{class wt{static{this.\u0275fac=function(nt){return new(nt||wt)}}static{this.\u0275mod=m.$C({type:wt})}static{this.\u0275inj=r.G2t({imports:[f.MD,Dt,pe]})}}return wt})();o(91328);let St=(()=>{class wt{static{this.\u0275fac=function(nt){return new(nt||wt)}}static{this.\u0275mod=m.$C({type:wt})}static{this.\u0275inj=r.G2t({imports:[f.MD,Lt]})}}return wt})()},10358(ht,L,o){"use strict";o.d(L,{K:()=>$});var t=o(51203),e=o(80226),n=o(44181),c=o(19699),f=o(69402);const M=T=>({"bonusContainer__content-choice--active":T});function m(T,B){if(1&T){const A=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const C=e.eBV(A),k=C.$implicit,s=C.$index,l=t.XpG(2);return e.Njj(l.onItemClick(s,k))})("keydown",function(C){const k=e.eBV(A),s=k.$implicit,l=k.$index,E=t.XpG(2);return e.Njj(E.onItemKeydown(C,l,s))}),t.nrm(1,"img",12),t.j41(2,"span"),t.EFF(3),t.k0s()()}if(2&T){const A=B.$implicit,I=B.$index,C=t.XpG(2);t.Y8G("ngClass",t.eq3(4,M,C.selectedIndex===I||C.selectedCode&&C.selectedCode===A.bonusCode)),t.BMQ("aria-selected",C.selectedIndex===I||C.selectedCode&&C.selectedCode===A.bonusCode),t.R7$(),t.Y8G("src","./assets/img/"+A.bonusImage+".svg",t.B4B),t.R7$(2),t.SpI(" ",null==A?null:A.bonusName," ")}}function r(T,B){if(1&T&&(t.j41(0,"p",13)(1,"strong"),t.EFF(2),t.k0s(),t.j41(3,"span"),t.EFF(4),t.k0s()()),2&T){const A=t.XpG().$index,I=t.XpG(2);t.R7$(2),t.JRh(null==I.bonusInfo[A]?null:I.bonusInfo[A].bonusName),t.R7$(2),t.JRh(null==I.bonusInfo[A]?null:I.bonusInfo[A].bonusDescription)}}function _(T,B){if(1&T&&t.nVh(0,r,5,2,"p",13),2&T){const A=B.$implicit,I=B.$index,C=t.XpG(2);t.vxM(C.selectedIndex===I||C.selectedCode&&C.selectedCode===A.bonusCode?0:-1)}}function g(T,B){if(1&T){const A=t.RV6();t.j41(0,"div",6)(1,"div",7),t.Z7z(2,m,4,6,"div",8,t.fX1),t.k0s(),t.Z7z(4,_,1,1,null,null,t.fX1),t.j41(6,"div",9)(7,"conte-dw-button",10),t.bIt("$buttonClickOutput",function(){e.eBV(A);const C=t.XpG();return e.Njj(C.onButtonClick())}),t.EFF(8),t.k0s()()()}if(2&T){const A=t.XpG();t.R7$(2),t.Dyx(A.bonusInfo),t.R7$(2),t.Dyx(A.bonusInfo),t.R7$(4),t.SpI(" ",A.submitButtonText," ")}}let $=(()=>{class T{constructor(){this.$buttonClickOutput=new t.bkB,this.$closeClickOutput=new t.bkB,this.$outsideClickOutput=new t.bkB}ngOnInit(){this.initIndex=this.selectedIndex,this.initCode=this.selectedCode}onOutsideClick(A){this.$outsideClickOutput.emit(A)}onItemClick(A,I){this.selectedIndex=A,this.selectedCode=I.bonusCode}onItemKeydown(A,I,C){("Enter"===A.key||" "===A.key)&&(A.preventDefault(),this.onItemClick(I,C))}onButtonClick(){this.$buttonClickOutput.emit({selectedIndex:this.selectedIndex,selectedCode:this.selectedCode,initIndex:this.initIndex,initCode:this.initCode})}onCloseClick(A){this.$closeClickOutput.emit(A)}static{this.\u0275fac=function(I){return new(I||T)}}static{this.\u0275cmp=t.VBU({type:T,selectors:[["conte-dw-modal-bonus"]],inputs:{bonusInfo:"bonusInfo",submitButtonText:"submitButtonText",bonusPopupHeading:"bonusPopupHeading",selectedIndex:"selectedIndex",selectedCode:"selectedCode"},outputs:{$buttonClickOutput:"$buttonClickOutput",$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,decls:8,vars:2,consts:[[1,"ui-bootstrap"],[3,"$closeClickOutput","$outsideClickOutput"],["t
1itles",""],["id","bonus-modal-heading",1,"heading-txt"],[1,"divider"],[1,"bonusContainer"],[1,"bonusContainer__content"],["role","listbox","aria-labelledby","bonus-modal-heading",1,"bonusContainer__content-frame"],["role","option","tabindex","0",1,"bonusContainer__content-choice",3,"ngClass"],[1,"bonusContainer__btn"],[1,"button","button-primary","full-width",3,"$buttonClickOutput"],["role","option","tabindex","0",1,"bonusContainer__content-choice",3,"click","keydown","ngClass"],["alt","",3,"src"],[1,"bonusContainer__description"]],template:function(I,C){1&I&&(t.j41(0,"div",0)(1,"conte-dw-modal",1),t.bIt("$closeClickOutput",function(s){return C.onCloseClick(s)})("$outsideClickOutput",function(s){return C.onOutsideClick(s)}),t.j41(2,"div",2)(3,"h2",3),t.EFF(4),t.k0s()(),t.nrm(5,"div",4),t.j41(6,"div",5),t.nVh(7,g,9,1,"div",6),t.k0s()()()),2&I&&(t.R7$(4),t.JRh(C.bonusPopupHeading),t.R7$(3),t.vxM(C.bonusInfo.length>0?7:-1))},dependencies:[n.YU,c.Q,f.z],styles:[".heading-txt[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:16px;font-weight:700;font-stretch:normal;font-style:normal;line-height:160%;letter-spacing:normal;text-align:left;color:#00558c}.divider[_ngcontent-%COMP%]{height:1px;width:calc(100% + 50px);margin:19px -25px;background-color:#e6eef3}.bonusContainer[_ngcontent-%COMP%]{width:100%;background-color:#fff;border-radius:10px}.bonusContainer__content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:stretch;position:relative}.bonusContainer__content-frame[_ngcontent-%COMP%]{width:168px;background-color:#fff}.bonusContainer__content-choice[_ngcontent-%COMP%]{width:100%;height:48px;flex-grow:0;display:flex;justify-content:flex-start;align-items:center;padding:0 12px;border-radius:10px;border:solid 1px #ccdde8;background-color:#fff;margin-bottom:20px;font-size:14px;line-height:1.6;font-weight:700;color:#484848;cursor:pointer}.bonusContainer__content-choice[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:10px;filter:grayscale(100%)}.bonusContainer__content-choice--active[_ngcontent-%COMP%]{border:solid 1px #4dabff;background-color:#f1f8ff}.bonusContainer__content-choice--active[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:grayscale(0%)}.bonusContainer__description[_ngcontent-%COMP%]{width:275px;padding:16px;border-radius:10px;min-height:250px;background-color:#f7f9fb}.bonusContainer__description[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block;color:#484848;font-size:14px;line-height:1.6}.bonusContainer__description[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px;line-height:1.6;color:#646464}.bonusContainer__btn[_ngcontent-%COMP%]{position:absolute;bottom:0;width:168px}.bonusContainer__btn[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%}.bonusContainer__btn[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block!important;width:188px!important}@media (max-width: 767px){.bonusContainer__content[_ngcontent-%COMP%]{flex-wrap:wrap}.bonusContainer__content-frame[_ngcontent-%COMP%]{width:100%;margin-bottom:20px}.bonusContainer__content-choice[_ngcontent-%COMP%]{width:100%}.bonusContainer__description[_ngcontent-%COMP%]{width:100%;padding:0;background-color:transparent;min-height:unset;margin-bottom:40px}.bonusContainer__btn[_ngcontent-%COMP%]{position:unset;width:100%}}"]})}}return T})()},99296(ht,L,o){"use strict";o.d(L,{O:()=>fe});var t=o(44181),e=o(51203),n=o(76463),c=o(95819),f=o(86765),M=o(66104),m=o(8301),r=o(80226),_=o(69402),g=o(19699),$=o(5787);const T=St=>({"margin-bottom":St}),B=(St,Xt)=>({"title--disabled":St,"title--not-disabled":Xt}),A=(St,Xt)=>({"image--disabled":St,"image--not-disabled":Xt}),I=(St,Xt,S)=>({"price--disabled":St,"price--included":Xt,"price--not-disabled":S}),C=(St,Xt)=>({"price--disabled":St,"price--not-disabled":Xt});function k(St,Xt){if(1&St&&e.nrm(0,"img",9),2&St){const S=e.XpG();e.Y8G("ngClass",e.l_i(3,A,S.status===S.statusCoverage.Disabled,S.status!==S.statusCoverage.Disabled))("src",S.pathFullCoverage??"./assets/img/"+S.pathCoverage+".svg",e.B4B)("alt",S.nameCoverage)}}function s(St,Xt){if(1&St&&e.nrm(0,"img",11),2&St){const S=Xt.$implicit,vt=Xt.$index,y=e.XpG();e.Y8G("src",S,e.B4B)("alt",y.getStarImgAltText(vt,S))}}function l(St,Xt){if(1&St&&(e.j41(0,"div",14),e.EFF(1),e.k0s()),2&St){const S=e.XpG();e.R7$(),e.JRh(S.plusLabel)}}function E(St,Xt){if(1&St&&(e.j41(0,"h3",15),e.EFF(1),e.k0s()),2&St){const S=e.XpG();e.R7$(),e.JRh(S.subTitle)}}function p(St,Xt){if(1&St&&(e.j41(0,"div",18)(1,"div",24),e.nrm(2,"p",25),e.k0s()()),2&St){const S=e.XpG();e.R7$(2),e.Y8G("innerHTML",S.description,e.npT)}}function h(St,Xt){if(1&St&&(e.j41(0,"h4",26),e.EFF(1),e.k0s()),2&St){const S=e.XpG().$implicit;e.R7$(),e.SpI(" ",null==S?null:S.title," ")}}function w(St,Xt){1&St&&e.nrm(0,"li",25),2&St&&e.Y8G("innerHTML",Xt.$implicit,e.npT)}function z(St,Xt){if(1&St&&(e.j41(0,"ul",28),e.Z7z(1,w,1,1,"li",25,e.fX1),e.k0s()),2&St){const S=e.XpG().$implicit,vt=e.XpG();e.jOp("aria-label",vt.ulDescAriaLabel),e.R7$(),e.Dyx(null==S?null:S.detail)}}function v(St,Xt){if(1&St&&(e.j41(0,"div",20),e.nVh(1,h,2,1,"h4",26),e.nrm(2,"p",27),e.nVh(3,z,3,1,"ul",28),e.k0s()),2&St){const S=Xt.$implicit;e.R7$(),e.vxM(null!=S&&S.title?1:-1),e.R7$(),e.Y8G("innerHTML",null==S?null:S.info,e.npT),e.R7$(),e.vxM(null!=S&&null!=S.detail&&S.detail.length?3:-1)}}function D(St,Xt){1&St&&e.eu8(0)}function N(St,Xt){if(1&St&&(e.j41(0,"div",21)(1,"div",29),e.DNE(2,D,1,0,"ng-container",30),e.k0s()()),2&St){const S=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",S.priceTxt)}}function W(St,Xt){1&St&&e.eu8(0)}function pt(St,Xt){if(1&St&&(e.j41(0,"div",22),e.DNE(1,W,1,0,"ng-container",30),e.k0s()),2&St){e.XpG();const S=e.sdS(26);e.R7$(),e.Y8G("ngTemplateOutlet",S)}}function ot(St,Xt){1&St&&e.eu8(0)}function gt(St,Xt){if(1&St&&(e.j41(0,"div"),e.DNE(1,ot,1,0,"ng-container",30),e.k0s()),2&St){const S=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",S.priceTxt)}}function et(St,Xt){if(1&St){const S=e.RV6();e.j41(0,"conte-dw-button",33),e.bIt("$buttonClickOutput",function(y){r.eBV(S);const U=e.XpG(3);
1return r.Njj(U.onActionBtn(y))}),e.EFF(1),e.k0s()}if(2&St){const S=e.XpG(3);e.R7$(),e.SpI(" ",S.btnModal," ")}}function Et(St,Xt){if(1&St){const S=e.RV6();e.j41(0,"conte-dw-button",36),e.bIt("$buttonClickOutput",function(y){r.eBV(S);const U=e.XpG(4);return r.Njj(U.onActionBtn(y))}),e.EFF(1),e.k0s()}if(2&St){const S=e.XpG(4);e.Y8G("disabled",S.status===S.statusCoverage.Disabled)("imgRight",!0)("imgSrc",S.imageActionButton),e.R7$(),e.SpI(" ",S.btnModal," ")}}function K(St,Xt){if(1&St){const S=e.RV6();e.j41(0,"conte-dw-button",37),e.bIt("$buttonClickOutput",function(y){r.eBV(S);const U=e.XpG(4);return r.Njj(U.onRemoveBtn(y))}),e.EFF(1),e.k0s()}if(2&St){const S=e.XpG(4);e.R7$(),e.SpI(" ",S.removeButtonModal," ")}}function at(St,Xt){if(1&St&&(e.nVh(0,Et,2,4,"conte-dw-button",34),e.nVh(1,K,2,1,"conte-dw-button",35)),2&St){const S=e.XpG(3);e.vxM(S.status!==S.statusCoverage.Editable?0:-1),e.R7$(),e.vxM(S.status===S.statusCoverage.Editable?1:-1)}}function Bt(St,Xt){if(1&St&&(e.j41(0,"div",31),e.nVh(1,et,2,1,"conte-dw-button",32),e.nV
1h(2,at,2,2),e.k0s()),2&St){const S=e.XpG(2);e.R7$(),e.vxM(S.isAncillary||S.statusRca===S.statusRcaCoverage.Added?-1:1),e.R7$(),e.vxM(S.isAncillary&&S.status!==S.statusCoverage.Included?2:-1)}}function _t(St,Xt){if(1&St&&(e.j41(0,"div",23),e.nVh(1,gt,2,1,"div"),e.nVh(2,Bt,3,2,"div",31),e.k0s()),2&St){const S=e.XpG();e.R7$(),e.vxM(S.status===S.statusCoverage.Included?1:-1),e.R7$(),e.vxM(S.btnModal?2:-1)}}function st(St,Xt){1&St&&(e.j41(0,"span",38),e.EFF(1," Del valore di "),e.k0s())}function Ut(St,Xt){if(1&St&&(e.j41(0,"strong",39),e.EFF(1),e.nI1(2,"conTeCurrency"),e.k0s()),2&St){const S=e.XpG(3);e.R7$(),e.SpI(" ",S.isPriceFormatted?S.initPrice:e.bMT(2,1,S.initPrice)," ")}}function ft(St,Xt){if(1&St&&(e.j41(0,"span",42),e.EFF(1),e.k0s()),2&St){const S=e.XpG(3);e.R7$(),e.JRh(S.labelPrice)}}function zt(St,Xt){if(1&St&&(e.j41(0,"p",43),e.EFF(1),e.k0s()),2&St){const S=e.XpG(3);e.R7$(),e.JRh(S.priceDescription)}}function jt(St,Xt){if(1&St&&(e.j41(0,"div",44)(1,"strong",45),e.EFF(2),e.nI1(3,"conTeCurrency"),e.k0s()()),2&St){const S=e.XpG(3);e.R7$(2),e.Lme("",S.labelPriceDiscount," ",S.isPriceFormatted?S.priceDiscount:e.bMT(3,2,S.priceDiscount))}}function Nt(St,Xt){if(1&St&&(e.nVh(0,st,2,0,"span",38),e.nVh(1,Ut,3,3,"strong",39),e.j41(2,"div",40)(3,"strong",41),e.EFF(4),e.nI1(5,"conTeCurrency"),e.nVh(6,ft,2,1,"span",42),e.k0s(),e.nVh(7,zt,2,1,"p",43),e.k0s(),e.nVh(8,jt,4,4,"div",44)),2&St){const S=e.XpG(2);e.vxM(S.status===S.statusCoverage.Included?0:-1),e.R7$(),e.vxM(S.initPrice?1:-1),e.R7$(2),e.Y8G("ngClass",e.sMw(9,I,S.status===S.statusCoverage.Disabled,S.status===S.statusCoverage.Included,S.status!==S.statusCoverage.Disabled)),e.R7$(),e.JRh(S.isPriceFormatted?S.price:e.bMT(5,7,S.price)),e.R7$(2),e.vxM(S.more?6:-1),e.R7$(),e.vxM(S.priceDescription?7:-1),e.R7$(),e.vxM(S.priceDiscount?8:-1)}}function Dt(St,Xt){1&St&&e.DNE(0,Nt,9,13,"ng-template",null,3,e.C5r)}function pe(St,Xt){if(1&St&&(e.j41(0,"p",46),e.EFF(1),e.j41(2,"strong",41),e.EFF(3),e.nI1(4,"conTeCurrency"),e.k0s()()),2&St){const S=e.XpG();e.R7$(),e.SpI(" ",S.availabilityText," "),e.R7$(),e.Y8G("ngClass",e.l_i(5,C,S.status===S.statusCoverage.Disabled,S.status!==S.statusCoverage.Disabled)),e.R7$(),e.JRh(e.bMT(4,3,S.price))}}function Lt(St,Xt){if(1&St){const S=e.RV6();e.j41(0,"div",47)(1,"div",48),e.nrm(2,"img",49),e.j41(3,"span",50),e.EFF(4,"Hai aggiunto questa garanzia"),e.k0s()(),e.j41(5,"div",51),e.bIt("click",function(y){r.eBV(S);const U=e.XpG();return r.Njj(U.onRemoveCoverage(y))}),e.nrm(6,"img",52),e.j41(7,"span",53),e.EFF(8,"Rimuovi garanzia"),e.k0s()()(),e.nrm(9,"hr",54)}}let fe=(()=>{class St{constructor(){this.isAncillary=!1,this.imageActionButton="./assets/img/ic_24_plus.svg",this.isPriceFormatted=!1,this.starImgAltBaseText="Stella",this.ulDescAriaLabel="Elenco con dettagli della descrizione della copertura",this.$closeClickOutput=new e.bkB,this.$outsideClickOutput=new e.bkB,this.$removeCoverage=new e.bkB,this.$actionBtn=new e.bkB,this.statusCoverage=n.Xr,this.statusRcaCoverage=n.gw,this.opened=!1}openInfo(){this.opened=!this.opened}onOutsideClick(S){this.$outsideClickOutput.emit(S)}onCloseClick(S){this.$closeClickOutput.emit(S)}onRemoveCoverage(S){this.$removeCoverage.emit(S)}onActionBtn(S){this.$actionBtn.emit(S)}onRemoveBtn(S){this.$actionBtn.emit(S)}getStarImgAltText(S,vt){return`${this.starImgAltBaseText} ${S+1} ${vt.includes("filled")?"piena":"vuota"}`}static{this.\u0275fac=function(vt){return new(vt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["conte-dw-modal-coverage-ancillary"]],inputs:{notification:"notification",isAncillary:"isAncillary",statusRca:"statusRca",status:"status",initPrice:"initPrice",price:"price",labelPriceDiscount:"labelPriceDiscount",priceDiscount:"priceDiscount",plusLabel:"plusLabel",subTitle:"subTitle",totalStars:"totalStars",headerToastLabel:"headerToastLabel",more:"more",labelPrice:"labelPrice",btnModal:"btnModal",imageActionButton:"imageActionButton",removeButtonModal:"removeButtonModal",pathCoverage:"pathCoverage",pathFullCoverage:"pathFullCoverage",nameCoverage:"nameCoverage",disabledLabel:"disabledLabel",description:"description",descriptionInfo:"descriptionInfo",availabilityText:"availabilityText",priceDescription:"priceDescription",isPriceFormatted:"isPriceFormatted",starImgAltBaseText:"starImgAltBaseText",ulDescAriaLabel:"ulDescAriaLabel"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput",$removeCoverage:"$removeCoverage",$actionBtn:"$actionBtn"},decls:29,vars:18,consts:[["contentModal",""],["disabledTxt",""],["selectedAction",""],["priceTxt",""],[1,"ui-bootstrap"],["modalStyle","dw-modal-no-padding",3,"$outsideClickOutput","$closeClickOutput","showNotification","notification"],[1,"modal-coverage-ancillary"],[1,"modal-coverage-ancillary__header","flex-center"],[1,"box-image","flex-center"],[1,"image",3,"ngClass","src","alt"],[1,"coverage-ancillaries-card__coverage-logo__box-star"],[1,"coverage-ancillaries-card__coverage-logo__box-star__star",3,"src","alt"],[1,"box-title","flex-center"],[1,"title","small-subtitle","text-center",3,"ngStyle","ngClass"],[1,"plus","flex-center"],[1,"subTitle"],[1,"modal-coverage-ancillary__content"],[1,"modal-coverage-ancillary__content-text"],[1,"modal-coverage-ancillary__content-text-head"],[1,"modal-coverage-ancillary__content-text-detail"],[1,"modal-coverage-ancillary__content-text-detail-desc"],[1,"flex-center"],[1,"price-mobile"],[1,"modal-coverage-ancillary__footer"],[1,"modal-coverage-ancillary__content-text-head-desc"],[3,"innerHTML"],[1,"modal-coverage-ancillary__content-text-detail-desc-title"],[1,"modal-coverage-ancillary__content-text-detail-desc-detail",3,"innerHTML"],[1,"modal-coverage-ancillary__content-text-detail-desc-points",3,"aria-label"],[1,"price-section"],[4,"ngTemplateOutlet"],[1,"modal-coverage-ancillary__footer-btn"],[1,"button","button-primary","full-width"],[1,"button","button-primary","full-width",3,"$buttonClickOutput"],["imgClass","img-left",1,"button","button-primary","full-width",3,"disabled","imgRight","imgSrc"],["imgClass","img-left","imgSrc","./assets/img/icon-trash-red.svg",1,"button","button-red","full-width"],["imgClass","img-left",1,"button","button-primary","full-width",3,"$buttonClickOutput","disabled","imgRight","imgSrc"],["imgClass","img-left","imgSrc","./assets/img/icon-trash-red.svg",1,"button","button-red","full-width",3,"$buttonClickOutput"],[1,"price-worth"],[1,"small-body","price-line-through","price-line-through--line-through"],[1,"price-box"],[1,"price",3,"ngClass"],[1,"label-price"],[1,"price-box__description"],[1,"price-discount"],[1,"priceDiscount","small-body"],[1,"price-mobile__text"],[1,"box-included"],[1,"box-check","flex-center"],["src","assets/img/check.svg","alt","",1,"image-check"],[1,"label-check"],[1,"box-trash","flex-center",3,"click"],["src","assets/img/trash.svg","alt","",1,"image-trash"],[1,"label-trash"],[1,"line"]],template:function(vt,y){if(1&vt){const U=e.RV6();e.j41(0,"div",4)(1,"conte-dw-modal",5),e.bIt("$outsideClickOutput",function(G){return r.eBV(U),r.Njj(y.onOutsideClick(G))})("$closeClickOutput",function(G){return r.eBV(U),r.Njj(y.onCloseClick(G))}),e.j41(2,"div",6)(3,"div",7)(4,"div",8),e.nVh(5,k,1,6,"img",9),e.j41(6,"div",10),e.Z7z(7,s,1,2,"img",11,e.fX1),e.k0s()(),e.j41(9,"div",12)(10,"h2",13),e.EFF(11),e.k0s(),e.nVh(12,l,2,1,"div",14),e.nVh(13,E,2,1,"h3",15),e.k0s()(),e.j41(14,"div",16,0)(16,"div",17),e.nVh(17,p,3,1,"div",18),e.j41(18,"div",19),e.Z7z(19,v,4,3,"div",20,e.fX1),e.k0s()()(),e.nVh(21,N,3,1,"div",21),e.nVh(22,pt,2,1,"div",22),e.nVh(23,_t,3,2,"div",23),e.k0s()()(),e.nVh(24,Dt,2,0),e.DNE(25,pe,5,8,"ng-template",null,1,e.C5r)(27,Lt,10,0,"ng-template",null,2,e.C5r)}2&vt&&(e.R7$(),e.Y8G("showNotification",y.status===y.statusCoverage.Included||y.status===y.statusCoverage.Editable||y.statusRca===y.statusRcaCoverage.Added)("notification",y.notification),e.R7$(4),e.vxM(y.pathCoverage||y.pathFullCoverage?5:-1),e.R7$(2),e.Dyx(y.totalStars),e.R7$(3),e.Y8G("ngStyle",e.eq3(13,T,y.subTitle?0:"12px"))("ngClass",e.l_i(15,B,y.status===y.statusCoverage.Disabled,y.status!==y.statusCoverage.Disabled)),e.R7$(),e.SpI(" ",y.nameCoverage," "),e.R7$(),e.vxM(y.plusLabel?12:-1),e.R7$(),e.vxM(y.subTitle?13:-1),e.R7$(4),e.vxM(y.description?17:-1),e.R7$(2),e.Dyx(y.descriptionInfo),e.R7$(2),e.vxM(y.status!==y.statusCoverage.Included&&y.status!==y.statusCoverage.Disabled?21:-1),e.R7$(),e.vxM(y.status===y.statusCoverage.Disabled?22:-1),e.R7$(),e.vxM(y.status!==y.statusCoverage.Disabled?23:-1),e.R7$(),e.vxM(y.initPrice||y.price?24:-1))},dependencies:[t.MD,t.YU,t.T3,t.B3,m.Q,_.z,c.v,f.tm,g.Q,M.xl,$.T],styles:['@keyframes _ngcontent-%COMP%_show{0%{opacity:0}
1to{opacity:1}}conte-dw-modal[_ngcontent-%COMP%]{--dw-modal-close-padding: 20px 20px 0 0}.modal-coverage-ancillary__header[_ngcontent-%COMP%]{flex-direction:column}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-image[_ngcontent-%COMP%]{padding:8px;border-radius:10px;background-color:#f7f9fb;flex-direction:column;width:64px;height:64px}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-image[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:48px;height:48px}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-image[_ngcontent-%COMP%]   .image--disabled[_ngcontent-%COMP%]{filter:invert(79%) sepia(0%) saturate(1%) hue-rotate(25deg) brightness(94%) contrast(88%)}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-image[_ngcontent-%COMP%]   .image--not-disabled[_ngcontent-%COMP%]{opacity:1}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]{padding:0 24px}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-top:12px}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   .title--disabled[_ngcontent-%COMP%]{color:#646464}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   .title--not-disabled[_ngcontent-%COMP%]{color:#00558c}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   .subTitle[_ngcontent-%COMP%]{color:#484848;font-size:16px;margin-bottom:12px;text-align:center}.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]{width:45px;height:24px;flex-grow:0;flex-direction:row;padding:0 8px;border-radius:4px;background-color:#4dabff;font-size:12px;font-weight:700;line-height:160%;color:#fff;margin-left:8px}.modal-coverage-ancillary__content[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;flex-direction:row;align-items:flex-start;max-height:30vh;overflow:auto;background-color:#f7f9fb}.modal-coverage-ancillary__content[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:8px}.modal-coverage-ancillary__content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#ccdde8;box-shadow:0 0 1px #ffffff80}@supports (-moz-appearance: none){.modal-coverage-ancillary__content[_ngcontent-%COMP%]{scrollbar-color:#ccdde8 #ffffff;--input-text-field-dw-input-autocomplete-scrollbar-width: thin}}.modal-coverage-ancillary__content-text[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:#303030}.modal-coverage-ancillary__content-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}.modal-coverage-ancillary__content-text-head[_ngcontent-%COMP%]{padding:16px 24px}.modal-coverage-ancillary__content-text-head-desc[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-weight:700;line-height:160%;color:#484848}.modal-coverage-ancillary__content-text-head-desc-color[_ngcontent-%COMP%]{color:#4dabff}.modal-coverage-ancillary__content-text-detail[_ngcontent-%COMP%]{padding:16px 24px}.modal-coverage-ancillary__content-text-detail-desc[_ngcontent-%COMP%]{font-family:Lato,sans-serif;line-height:160%;color:#646464;margin-bottom:20px}.modal-coverage-ancillary__content-text-detail-desc-title[_ngcontent-%COMP%]{font-weight:700;font-size:14px;color:#484848;display:block;padding-bottom:2px}.modal-coverage-ancillary__content-text-detail-desc-points[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-left:20px;font-size:12px;position:relative}.modal-coverage-ancillary__content-text-detail-desc-points[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"";position:absolute;top:8px;left:10px;height:4px;width:4px;border-radius:100%;background-color:#484848}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-mobile[_ngcontent-%COMP%]{width:100%;padding:12px 24px 24px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-mobile__text[_ngcontent-%COMP%]{display:block;font-family:Lato,sans-serif;font-size:14px;font-weight:700;line-height:160%;text-align:center;color:#e89f27}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin:24px 0;padding:0 24px}.modal-coverage-ancillary__footer-btn[_ngcontent-%COMP%]{margin-top:16px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .green-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:160%;color:#50bf4d}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .green-label[_ngcontent-%COMP%]   .label-check[_ngcontent-%COMP%]{margin-left:8px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .btn-action[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:150%;color:#fff;border-radius:24px;background-image:linear-gradient(to left,#104d87,#1e77b4);border:none;margin-top:16px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .btn-action--included[_ngcontent-%COMP%], .modal
1-coverage-ancillary__footer[_ngcontent-%COMP%]   .btn-action--selected[_ngcontent-%COMP%], .modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .btn-action--disabled[_ngcontent-%COMP%]{width:140px;height:48px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .btn-action--unselected[_ngcontent-%COMP%]{width:100%;height:48px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]{margin-top:23px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-check[_ngcontent-%COMP%]   .image-check[_ngcontent-%COMP%]{width:24px;height:24px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-check[_ngcontent-%COMP%]   .label-check[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:160%;color:#50bf4d;margin-left:8px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-trash[_ngcontent-%COMP%]   .image-trash[_ngcontent-%COMP%]{width:24px;height:24px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-trash[_ngcontent-%COMP%]   .label-trash[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:160%;color:#c8102e;margin-left:8px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-worth[_ngcontent-%COMP%]{font-size:14px;line-height:160%;text-align:center;color:#8a8a8a}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-line-through[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:#8a8a8a}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-line-through--line-through[_ngcontent-%COMP%]{color:#8a8a8a;text-decoration:line-through;text-decoration-color:#4dabff}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{display:flex;justify-content:center;font-size:24px;font-weight:700;line-height:140%}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price--disabled[_ngcontent-%COMP%]{color:#646464}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price--not-disabled[_ngcontent-%COMP%]{color:#00558c}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price--included[_ngcontent-%COMP%]{color:#50bf4d}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .label-price[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]{display:flex;align-items:center}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-box__description[_ngcontent-%COMP%]{font-size:16px;font-family:Lato,sans-serif;color:#8a8a8a;margin-left:4px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-discount[_ngcontent-%COMP%]{background-color:#dcf2db;border-radius:4px;color:#50bf4d;padding:0 6px;margin-top:2px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .label-disabled[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:160%;color:#4dabff}.modal-coverage-ancillary[_ngcontent-%COMP%]   .flex-center[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}.modal-coverage-ancillary[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{margin-top:20px;color:#ccdde8;height:1px;width:100%}.modal-coverage-ancillary[_ngcontent-%COMP%]   .box-disabled[_ngcontent-%COMP%]{margin-top:23px}@media (max-width: 1140px){.modal-coverage-ancillary__header[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px}.modal-coverage-ancillary__content-text[_ngcontent-%COMP%]{min-height:72px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]{margin-top:19px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-check[_ngcontent-%COMP%]{margin-bottom:22px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-check[_ngcontent-%COMP%]   .image-check[_ngcontent-%COMP%]{width:24px;height:24px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-check[_ngcontent-%COMP%]   .label-check[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:160%;color:#50bf4d;margin-left:8px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-trash[_ngcontent-%COMP%]   .image-trash[_ngcontent-%COMP%]{width:24px;height:24px}.modal-coverage-ancillary__selected[_ngcontent-%COMP%]   .box-included[_ngcontent-%COMP%]   .box-trash[_ngcontent-%COMP%]   .label-trash[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:160%;color:#c8102e;margin-left:8px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column;margin-top:0}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .green-label[_ngcontent-%COMP%]{margin-bottom:20px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .green-label[_ngcontent-%COMP%]   .label-check[_ngcontent-%COMP%]{margin-left:8px}.modal-coverage-ancillary__footer[_ngcontent-%COMP%]   .btn-action[_ngcontent-%COMP%]{width:100%;height:48px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-line-through[_ngcontent-%COMP%]{margin-top:12px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:140%}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price--disabled[_ngcontent-%COMP%]{color:#646464;margin-top:16px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price--not-disabled[_ngcontent-%COMP%]{color:#00558c;margin-bottom:0}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price--included[_ngcontent-%COMP%]{color:#50bf4d;margin-bottom:0}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .label-price[_ngcontent-%COMP%]{font-size:24px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-mobile[_ngcontent-%COMP%]{justify-content:center;align-items:center}.modal-coverage-ancillary[_ngcontent-%COMP%]   .price-section[_ngcontent-%COMP%]{padding:12px 16px 16px}.modal-coverage-ancillary[_ngcontent-%COMP%]   .label-disabled[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:150%;color:#00558c}.modal-coverage-ancillary[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{display:none}}']})}}return St})()},53162(ht,L,o){"use strict";o.d(L,{T:()=>s});var t=o(51203),e=o(44181),n=o(69402),c=o(32807),f=o(81180),M=o(69440),m=o(24792),r=o(81128),_=o(23731);const g=l=>({"banner-margin":l});function $(l,E){if(1&l&&(t.j41(0,"div",4),t.nrm(1,"img",6),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&l){const p=t.XpG();t.R7$(),t.Y8G("src",p.bannerConfig.iconUrl,t.B4B),t.R7$(2),t.JRh(p.bannerConfig.text)}}function T(l,E){if(1&l&&t.nrm(0,"img",6),2&l){const p=t.XpG();
1t.Y8G("src","./assets/img/coverages/"+p.coverage.code+".svg",t.B4B)}}function B(l,E){if(1&l&&t.nrm(0,"img",6),2&l){const p=t.XpG();t.Y8G("src","./assets/img/"+p.imageSrc,t.B4B)}}function A(l,E){if(1&l&&(t.j41(0,"div",8)(1,"div",13),t.nrm(2,"conte-dw-tooltip",14),t.k0s(),t.nrm(3,"conte-dw-labels",15),t.k0s()),2&l){const p=t.XpG();t.R7$(2),t.Y8G("title",p.titleTooltip)("text",p.textTooltip),t.R7$(),t.Y8G("text",p.textLabel)}}function I(l,E){if(1&l&&(t.j41(0,"div",12),t.nrm(1,"i",16),t.k0s()),2&l){const p=t.XpG();t.R7$(),t.Y8G("innerHTML",p.additionalInformationText,t.npT)}}function C(l,E){if(1&l&&t.nrm(0,"conte-dw-data-element",19),2&l){const p=E.$implicit,h=E.inputValue,w=t.XpG(2);t.Y8G("inputValue",h)("dataMapElement",p)("dataElementTooltip",!0)("titleTooltip",w.titleTooltipAccordion)("textTooltip",w.textTooltipAccordion)}}function k(l,E){if(1&l&&(t.j41(0,"div",12)(1,"conte-dw-accordion",17)(2,"conte-dw-data-grid",18),t.DNE(3,C,1,5,"ng-template",null,0,t.C5r),t.k0s()()()),2&l){const p=t.XpG();t.R7$(),t.Y8G("isChangeText",!0),t.R7$(),t.Y8G("dataList",p.coverageInfoDataMap)("inputData",p.coverageInfoInputData)}}let s=(()=>{class l{constructor(){this.showTooltip=!1,this.showAccordion=!1,this.additionalInformationText="Per ulteriori informazioni consulta il Contratto e il Set Informativo",this.$closeClickOutput=new t.bkB,this.$outsideClickOutput=new t.bkB}onOutsideClick(p){this.$outsideClickOutput.emit(p)}onCloseClick(p){this.$closeClickOutput.emit(p)}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275cmp=t.VBU({type:l,selectors:[["conte-dw-modal-info-coverage"]],inputs:{coverage:"coverage",imageSrc:"imageSrc",showTooltip:"showTooltip",showAccordion:"showAccordion",coverageInfoDataMap:"coverageInfoDataMap",coverageInfoInputData:"coverageInfoInputData",titleTooltip:"titleTooltip",textTooltip:"textTooltip",textLabel:"textLabel",titleTooltipAccordion:"titleTooltipAccordion",textTooltipAccordion:"textTooltipAccordion",additionalInformationText:"additionalInformationText",bannerConfig:"bannerConfig"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,decls:14,vars:11,consts:[["DataElement",""],[1,"ui-bootstrap"],[3,"$outsideClickOutput","$closeClickOutput"],[1,"modal-info-coverage"],[1,"modal-info-coverage-banner"],[1,"modal-info-coverage-header","text-center",3,"ngClass"],[3,"src"],[1,"modal-info-coverage-title","small-subtitle","font-weight-bold",3,"innerHTML"],[1,"modal-info-coverage-label","d-flex","align-items-start","justify-content-center"],[1,"modal-info-coverage-content"],[1,"modal-info-coverage-text"],[3,"innerHTML"],[1,"modal-info-coverage-footer"],[1,"modal-info-coverage-tooltip"],["placement","auto","src","./assets/img/icon-info-fill.svg",3,"title","text"],[1,"label","label-status","light-blue-white",3,"text"],[1,"d-block","text-center","mt-2",3,"innerHTML"],["accordionStyle","dw-accordion-coverage","accordionTitle","Mostra pi\xf9 informazioni","secondAccordionTitle","Riduci informazioni","conteDwAccordion","",3,"isChangeText"],["containerClass","data-grid-tooltip","columnsXl","2","columnsLg","2","columnsMd","2","columnsMd1","2",3,"dataList","inputData"],["containerClass","data-element-grid-tooltip","elementClass","data-element-grid",3,"inputValue","dataMapElement","dataElementTooltip","titleTooltip","textTooltip"]],template:function(h,w){1&h&&(t.j41(0,"div",1)(1,"conte-dw-modal",2),t.bIt("$outsideClickOutput",function(v){return w.onOutsideClick(v)})("$closeClickOutput",function(v){return w.onCloseClick(v)}),t.j41(2,"div",3),t.nVh(3,$,4,2,"div",4),t.j41(4,"div",5),t.nVh(5,T,1,1,"img",6),t.nVh(6,B,1,1,"img",6),t.nrm(7,"p",7),t.k0s(),t.nVh(8,A,4,3,"div",8),t.j41(9,"div",9)(10,"div",10),t.nrm(11,"p",11),t.k0s()(),t.nVh(12,I,2,1,"div",12),t.nVh(13,k,5,3,"div",12),t.k0s()()()),2&h&&(t.R7$(3),t.vxM(null!=w.bannerConfig&&w.bannerConfig.isDisplayed?3:-1),t.R7$(),t.Y8G("ngClass",t.eq3(9,g,null==w.bannerConfig?null:w.bannerConfig.isDisplayed)),t.R7$(),t.vxM(w.coverage.code?5:-1),t.R7$(),t.vxM(w.imageSrc?6:-1),t.R7$(),t.Y8G("innerHTML",w.coverage.name,t.npT),t.R7$(),t.vxM(w.showTooltip?8:-1),t.R7$(3),t.Y8G("innerHTML",w.coverage.description,t.npT),t.R7$(),t.vxM(w.additionalInformationText?12:-1),t.R7$(),t.vxM(w.showAccordion?13:-1))},dependencies:[e.YU,n.z,c.H,f.b,M.M,m.I,r.M,_.a],styles:[".modal-info-coverage[_ngcontent-%COMP%]   .modal
1-info-coverage-banner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:32px;width:100%;background-color:#dcf2db;color:#50bf4d;font-weight:700;display:flex;justify-content:center;align-items:center}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:12px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-header.banner-margin[_ngcontent-%COMP%]{margin-top:28px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-title[_ngcontent-%COMP%]{padding:10px 0 15px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-label[_ngcontent-%COMP%]{padding-bottom:15px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-tooltip[_ngcontent-%COMP%]{padding-right:5px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-text[_ngcontent-%COMP%]{background-color:#f8f8f8;border-radius:10px;padding:25px;color:#484848}@media (max-width: 767px){.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-title[_ngcontent-%COMP%]{font-size:18px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-text[_ngcontent-%COMP%]{padding:25px 20px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}}@media (max-width: 480px){.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:40px}.modal-info-coverage[_ngcontent-%COMP%]   .modal-info-coverage-footer[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:14px}}"]})}}return l})()},96774(ht,L,o){"use strict";o.d(L,{H:()=>gt});var t=o(51203),e=o(75089),n=o(97253),c=o(82305),f=o(43732),M=o(50596),m=function(et){return et.All="all",et.One="one",et}(m||{}),r=function(et){return et.Label="LABEL",et.Img="IMG",et}(r||{}),_=o(80226),g=o(44181),$=o(69402),T=o(46773);const B=["listItem"],A=et=>({"two-column":et}),I=(et,Et,K)=>({selected:et,disabled:Et,"items-list__items-item--with-checkbox":K}),C=et=>({"dw-link-no-underline":et}),k=et=>({selected:et}),s=et=>({"column-btns":et});function l(et,Et){if(1&et){const K=t.RV6();t.j41(0,"img",13),t.bIt("click",function(){_.eBV(K);const Bt=t.XpG();return _.Njj(Bt.$leftIconOutput.emit())}),t.k0s()}}function E(et,Et){if(1&et){const K=t.RV6();t.j41(0,"img",14),t.bIt("click",function(){_.eBV(K);const Bt=t.XpG();return _.Njj(Bt.$rightIconOutput.emit())}),t.k0s()}}function p(et,Et){if(1&et){const K=t.RV6();t.j41(0,"div",9),t.nrm(1,"img",15),t.j41(2,"input",16,0),t.bIt("input",function(){_.eBV(K);const Bt=t.sdS(3),_t=t.XpG();return _.Njj(_t.search(Bt.value))}),t.k0s(),t.j41(4,"label",17),t.bIt("click",function(){_.eBV(K);const Bt=t.XpG();return _.Njj(Bt.clearSearchBar())}),t.EFF(5),t.k0s()()}if(2&et){const K=t.XpG();t.R7$(2),t.Y8G("id",t.VkB("",K.elementId,"-search-input"))("placeholder",K.searchBarPlaceholder)("value",K.inputValue),t.R7$(3),t.SpI(" ",K.deleteText," ")}}function h(et,Et){1&et&&t.nrm(0,"img",22)}function w(et,Et){if(1&et&&(t.j41(0,"span",24),t.nrm(1,"img",25),t.k0s()),2&et){const K=t.XpG().$implicit;t.Y8G("ngClass",t.eq3(1,k,K.isSelected))}}function z(et,Et){if(1&et){const K=t.RV6();t.j41(0,"div",19,1),t.bIt("click",function(Bt){const _t=_.eBV(K).$implicit,st=t.XpG(2);return _.Njj(st.selectItem(Bt,_t))}),t.j41(2,"label",20)(3,"span",21),t.nVh(4,h,1,0,"img",22),t.EFF(5),t.k0s(),t.j41(6,"input",23),t.bIt("click",function(Bt){const _t=_.eBV(K).$implicit,st=t.XpG(2);return _.Njj(st.selectItem(Bt,_t))}),t.k0s(),t.nVh(7,w,2,3,"span",24),t.k0s()()}if(2&et){const K=Et.$implicit,at=t.XpG(2);t.Y8G("ngClass",t.sMw(10,I,K.isSelected,K.isDisabled,"checkbox"===at.configuration)),t.R7$(2),t.Y8G("for",t.VkB("checkbox-",K.code)),t.R7$(),t.Y8G("ngClass",t.eq3(14,C,at.isLink)),t.R7$(),t.vxM(at.displayLabelImage?4:-1),t.R7$(),t.SpI(" ",K.description," "),t.R7$(),t.Y8G("id",t.VkB("checkbox-",K.code))("checked",K.isSelected),t.R7$(),t.vxM("checkbox"===at.configuration?7:-1)}}function v(et,Et){if(1&et&&(t.j41(0,"div",10),t.Z7z(1,z,8,16,"div",18,t.fX1),t.k0s()),2&et){const K=t.XpG();t.R7$(),t.Dyx(K.filteredItems)}}function D(et,Et){if(1&et&&(t.j41(0,"label",29),t.EFF(1),t.k0s()),2&et){const K=t.XpG(2);t.R7$(),t.SpI(" ",null==K.noResultsSuggestions?null:K.noResultsSuggestions.subLabel," ")}}function N(et,Et){if(1&et&&(t.j41(0,"a",30),t.EFF(1),t.k0s()),2&et){const K=t.XpG(2);t.Y8G("href",null==K.noResultsSuggestions?null:K.noResultsSuggestions.link.url,t.B4B),t.R7$(),t.SpI(" ",null==K.noResultsSuggestions||null==K.noResultsSuggestions.link?null:K.noResultsSuggestions.link.text," ")}}function W(et,Et){if(1&et&&(t.j41(0,"div",11)(1,"div",26),t.nrm(2,"img",27),t.k0s(),t.j41(3,"label",28),t.EFF(4),t.k0s(),t.nVh(5,D,2,1,"label",29),t.nVh(6,N,2,2,"a",30),t.k0s()),2&et){const K=t.XpG();t.R7$(4),t.JRh(null==K.noResultsSuggestions?null:K.noResultsSuggestions.label),t.R7$(),t.vxM(null!=K.noResultsSuggestions&&K.noResultsSuggestions.subLabel?5:-1),t.R7$(),t.vxM(null!=K.noResultsSuggestions&&K.noResultsSuggestions.link?6:-1)}}function pt(et,Et){if(1&et){const K=t.RV6();t.j41(0,"conte-dw-button-form",33),t.bIt("$buttonClickOutput",function(){_.eBV(K);const Bt=t.XpG(2);return _.Njj(Bt.unselectAllAndEmitCheckedItems())}),t.EFF(1),t.k0s()}if(2&et){const K=t.XpG(2);t.HbH("button full button-secondary"),t.Y8G("type","submit")("name","submit")("value","Submit"),t.R7$(),t.SpI(" ",K.unselectAllCheckboxesButtonText," ")}}function ot(et,Et){if(1&et){const K=t.RV6();t.j41(0,"div",12),t.nVh(1,pt,2,6,"conte-dw-button-form",31),t.j41(2,"conte-dw-button-form",32),t.bIt("$buttonClickOutput",function(){_.eBV(K);const Bt=t.XpG();return _.Njj(Bt.emitCheckedItems())}),t.EFF(3),t.k0s()()}if(2&et){const K=t.XpG();t.Y8G("ngClass",t.eq3(9,s,K.isUnselectAllCheckboxes&&K.selectedCheckboxes.length)),t.R7$(),t.vxM(K.isUnselectAllCheckboxes&&K.selectedCheckboxes.length?1:-1),t.R7$(),t.HbH("button form full button-primary"),t.Y8G("disabled",K.validationStrategy===K.ValidationStrategyEnum.One?0===K.selectedCheckboxes.length:K.itemsList.length!==K.selectedCheckboxes.length)("type","submit")("name","submit")("value","Submit"),t.R7$(),t.SpI(" ",K.buttonText," ")}}let gt=(()=>{class et{constructor(){this.headTitle="Ora di attivazione polizza",this.elementId="modal-items-list",this.searchBarPlaceholder="Cerca la marca. Es: Fiat",this.buttonText="Aggiungi",this.unselectAllCheckboxesButtonText="Rimuovi tutto",this.deleteText="Cancella",this.showBackButton=!0,this.showSearchBar=!1,this.configuration=e.jYi.ItemsList,this.validationStrategy=m.One,this.selectionStrategy=r.Label,this.showClose
1=!0,this.isLink=!1,this.displayLabelImage=!1,this.$leftIconOutput=new t.bkB,this.$rightIconOutput=new t.bkB,this.$outsideClickOutput=new t.bkB,this.$selectedItemOutput=new t.bkB,this.$selectedItemsOutput=new t.bkB,this.inputValue="",this.filteredItems=[],this.selectedCheckboxes=[],this.ValidationStrategyEnum=m,this._itemsList=[],this.confirmedSelectedCheckboxes=[],this.viewChecked$=new n.B}set itemsList(K){this._itemsList=K,this.setUpLists(),this.scrollToFirstVisible()}get itemsList(){return this._itemsList}ngOnInit(){this.setUpLists()}ngAfterViewChecked(){this.viewChecked$.next()}ngOnDestroy(){this.viewChecked$.complete()}selectItem(K,at){K.preventDefault(),this.selectionStrategy!==r.Img||K.target.nodeName===r.Img?this.callSelectionMethodByType(at):this.$selectedItemOutput.emit(at)}itemsListSelection(K){K.isDisabled||(this.itemsList.forEach(at=>at.isSelected=at.code===K.code),this.$selectedItemOutput.emit(K))}checkboxSelection(K){const at=this.findIndex(this.itemsList,K);this.itemsList[at].isDisabled||(this.itemsList[at].isSelected=!this.itemsList[at].isSelected,this.selectedCheckboxes=this.findSelected())}unselectAllAndEmitCheckedItems(){this.filteredItems=this.itemsList.map(K=>({...K,isSelected:!1})),this._itemsList=this.filteredItems,this.selectedCheckboxes=[],this.$selectedItemsOutput.emit(this.selectedCheckboxes)}userManualUnselectAllCheckboxes(K){K.length||this.$selectedItemsOutput.emit(K)}emitCheckedItems(){this.confirmedSelectedCheckboxes=this.findSelected(),this.$selectedItemsOutput.emit(this.confirmedSelectedCheckboxes)}search(K){this.inputValue=K;const at=K.toLowerCase().trim();this.filteredItems=at?[...this.itemsList.filter(({description:Bt})=>Bt.toLowerCase().includes(at))]:[...this.itemsList]}clearSearchBar(){this.inputValue="",this.search(this.inputValue)}setUpLists(){this.filteredItems=[...this.itemsList],this.selectedCheckboxes=this.findSelected(),this.confirmedSelectedCheckboxes=this.findSelected()}findSelected(){return this.itemsList.filter(K=>K.isSelected)}findIndex(K,at){return K.findIndex(Bt=>Bt.code===at)}scrollToFirstVisible(){this.viewChecked$.pipe((0,c.s)(1),(0,f.c)(300),(0,M.p)(()=>this.listItems?.length>0)).subscribe(()=>{let K=this.filteredItems.findIndex(at=>!at.isDisabled);-1===K&&(K=0),this.listItems.get(K).nativeElement.scrollIntoView()})}callSelectionMethodByType(K){this.configuration===e.jYi.ItemsList?this.itemsListSelection(K):this.configuration===e.jYi.Checkbox&&(this.checkboxSelection(K.code),this.userManualUnselectAllCheckboxes(this.selectedCheckboxes))}static{this.\u0275fac=function(at){return new(at||et)}}static{this.\u0275cmp=t.VBU({type:et,selectors:[["conte-dw-modal-items-list"]],viewQuery:function(at,Bt){if(1&at&&t.GBs(B,5),2&at){let _t;t.mGM(_t=t.lsd())&&(Bt.listItems=_t)}},inputs:{headTitle:"headTitle",elementId:"elementId",searchBarPlaceholder:"searchBarPlaceholder",buttonText:"buttonText",unselectAllCheckboxesButtonText:"unselectAllCheckboxesButtonText",deleteText:"deleteText",itemsList:"itemsList",showBackButton:"showBackButton",showSearchBar:"showSearchBar",noResultsSuggestions:"noResultsSuggestions",configuration:"configuration",validationStrategy:"validationStrategy",selectionStrategy:"selectionStrategy",showClose:"showClose",isLink:"isLink",isUnselectAllCheckboxes:"isUnselectAllCheckboxes",displayLabelImage:"displayLabelImage"},outputs:{$leftIconOutput:"$leftIconOutput",$rightIconOutput:"$rightIconOutput",$outsideClickOutput:"$outsideClickOutput",$selectedItemOutput:"$selectedItemOutput",$selectedItemsOutput:"$selectedItemsOutput"},standalone:!1,decls:12,vars:10,consts:[["searchBar",""],["listItem",""],[1,"ui-bootstrap"],["ngbAutofocus","","modalStyle","dw-modal-auto dw-modal-no-padding",3,"$outsideClickOutput","showClose"],[1,"d-flex","flex-column","items-list__container",3,"ngClass"],[1,"d-flex","justify-content-around","align-items-start","items-list__header"],["src","./assets/img/icon-back-arrow.svg",1,"dw-clickable","items-list__header-arrow"],[1,"w-100"],["src","./assets/img/icon-blueclose.svg",1,"dw-clickable","items-list__header-close","undraggable"],[1,"row","m-0","d-flex","justify-content-between","align-items-center","items-list__search-bar"],[1,"items-list__items"],[1,"d-flex","flex-column","justify-content-center","align-items-center","items-list__empty-results"],[1,"items-list__footer",3,"ngClass"],["src","./assets/img/icon-back-arrow.svg",1,"dw-clickable","items-list__header-arrow",3,"click"],["src","./assets/img/icon-blueclose.svg",1,"dw-clickable","items-list__header-close","undraggable",3,"click"],["src","./assets/img/search.svg",1,"col-auto","m-0","px-3","py-0","dw-clickable","items-list__search-bar-icon"],[1,"col","p-0","items-list__search-bar-input",3,"input","id","placeholder","value"],[1,"col-auto","p-0","dw-clickable","items-list__search-bar-delete",3,"click"],[1,"dw-clickable","items-list__items-item",3,"ngClass"],[1,"dw-clickable","items-list__items-item",3,"click","ngClass"],[1,"dw-clickable","items-list__checkbox",3,"for"],[3,"ngClass"],["src","assets/img/icon-document.svg","alt","",1,"items-list__checkbox__label-img"],["type","checkbox",3,"click","id","checked"],[1,"d-flex","justify-content-center","align-items-center","items-list__checkbox-checkmark",3,"ngClass"],["src","./assets/img/check-white.svg"],[1,"d-flex","justify-content-center","items-list__empty-results-icon"],["src","./assets/img/icon-info-outline.svg",1,"dw-clickable"],[1,"text-center","items-list__empty-results-label"],[1,"text-center","items-list__empty-results-sub-label"],[1,"items-list__empty-results-link",3,"href"],[1,"unselect",3,"type","name","value","class"],[1,"submit",3,"$buttonClickOutput","disabled","type","name","value"],[1,"unselect",3,"$buttonClickOutput","type","name","value"]],template:function(at,Bt){1&at&&(t.j41(0,"div",2)(1,"conte-dw-modal",3),t.bIt("$outsideClickOutput",function(){return Bt.$outsideClickOutput.emit()}),t.j41(2,"div",4)(3,"div",5),t.nVh(4,l,1,0,"img",6),t.j41(5,"label",7),t.EFF(6),t.k0s(),t.nVh(7,E,1,0,"img",8),t.k0s(),t.nVh(8,p,6,5,"div",9),t.nVh(9,v,3,0,"div",10)(10,W,7,3,"div",11),t.nVh(11,ot,4,11,"div",12),t.k0s()()()),2&at&&(t.R7$(),t.Y8G("showClose",!1),t.R7$(),t.Y8G("ngClass",t.eq3(8,A,Bt.isUnselectAllCheckboxes)),t.R7$(2),t.vxM(Bt.showBackButton?4:-1),t.R7$(2),t.JRh(Bt.headTitle),t.R7$(),t.vxM(Bt.showClose?7:-1),t.R7$(),t.vxM(Bt.showSearchBar?8:-1),t.R7$(),t.vxM(Bt.filteredItems.length>0?9:10),t.R7$(2),t.vxM("checkbox"===Bt.configuration&&Bt.filteredItems.length>0?11:-1))},dependencies:[g.YU,$.z,T.G],styles:['@keyframes _ngcontent-%COMP%_show{0%{opacity:0}
1to{opacity:1}}*[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.items-list__container[_ngcontent-%COMP%]{width:344px;min-height:480px;max-height:480px;overflow:hidden}.items-list__container.two-column[_ngcontent-%COMP%]{width:468px}.items-list__header[_ngcontent-%COMP%]{padding:19px 16px 19px 27px;color:#00558c;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%;border-bottom:1px solid #e6eef3}.items-list__header-arrow[_ngcontent-%COMP%]{margin:6.3px 15px 6.3px 0}.items-list__header-close[_ngcontent-%COMP%]{width:24px;height:24px;margin:.8px 0 .8px 15px}.items-list__search-bar[_ngcontent-%COMP%]{min-height:52px;background:#f2f6f9}.items-list__search-bar-icon[_ngcontent-%COMP%]{margin:0 16px 0 24px}.items-list__search-bar-input[_ngcontent-%COMP%]{border:none;outline:none;background-color:#f2f6f9;color:#484848;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%}.items-list__search-bar-input[_ngcontent-%COMP%]::placeholder{color:#8a8a8a;font-family:Lato,sans-serif;font-weight:400;font-size:16px;line-height:160%}.items-list__search-bar-input[_ngcontent-%COMP%]:placeholder-shown{text-overflow:ellipsis}.items-list__search-bar-delete[_ngcontent-%COMP%]{margin:0 16px;font-family:Lato,sans-serif;font-weight:400;font-size:16px;line-height:160%}.items-list__empty-results[_ngcontent-%COMP%]{margin-top:64px}.items-list__empty-results-icon[_ngcontent-%COMP%]{width:40px;height:40px;background:#f2f6f9;border-radius:20px;margin-bottom:8px}.items-list__empty-results-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:auto}.items-list__empty-results-label[_ngcontent-%COMP%]{padding:0 16px;margin-bottom:8px;font-family:Lato,sans-serif;font-size:16px;font-weight:400;line-height:160%;text-wrap:balance}.items-list__empty-results-sub-label[_ngcontent-%COMP%]{padding:0 16px;margin-bottom:8px;color:#646464;font-family:Lato,sans-serif;font-size:16px;font-weight:400;line-height:160%;text-wrap:balance}.items-list__empty-results-link[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-weight:400;font-size:16px;line-height:160%;color:#4dabff}.items-list__items[_ngcontent-%COMP%]{overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.items-list__items[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:8px}.items-list__items[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#ccdde8;box-shadow:0 0 1px #ffffff80}@supports (-moz-appearance: none){.items-list__items[_ngcontent-%COMP%]{scrollbar-color:#ccdde8 #ffffff;--input-text-field-dw-input-autocomplete-scrollbar-width: thin}}.items-list__items-item[_ngcontent-%COMP%]{position:relative;z-index:1;width:100%;min-height:52px;box-sizing:border-box;padding:0 24px;border-bottom:1px solid #e6eef3}.items-list__items-item--with-checkbox[_ngcontent-%COMP%]{padding-right:52px}.items-list__items-item[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:100%;margin:13px 0;color:#484848;font-family:Lato,sans-serif;font-weight:700;font-size:16px;line-height:160%;word-break:break-word}.items-list__items-item.selected[_ngcontent-%COMP%]{background:#f1f8ff;box-shadow:inset 0 -1px #e6eef3;border-bottom:none}.items-list__items-item.disabled[_ngcontent-%COMP%]{background:#f7f9fb;box-shadow:inset 0 0 0 1px #ebebeb;border-bottom:none;pointer-events:none}.items-list__items-item.disabled[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#48484880}.items-list__items-item[_ngcontent-%COMP%]:hover{background:#f1f8ff}.items-list__footer[_ngcontent-%COMP%]{padding:16px;box-shadow:inset 0 1px #e6eef3}.items-list__footer.column-btns[_ngcontent-%COMP%]{display:grid;grid-column-gap:30px;padding:16px 40px;grid-template-areas:"unselect submit"}.items-list__footer.column-btns[_ngcontent-%COMP%]     .button{width:179px!important;height:48px}.items-list__footer-button[_ngcontent-%COMP%]{width:312px}.items-list__footer[_ngcontent-%COMP%]   .unselect[_ngcontent-%COMP%]{grid-area:unselect}.items-list__footer[_ngcontent-%COMP%]   .submit[_ngcontent-%COMP%]{grid-area:submit}.items-list__checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:absolute;opacity:0}
1.items-list__checkbox-checkmark[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px;height:20px;width:20px;border:2px solid #ccdde8;box-sizing:border-box;border-radius:4px}.items-list__checkbox-checkmark[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:14px;width:20px}.items-list__checkbox-checkmark.selected[_ngcontent-%COMP%]{background-color:#4dabff;border-color:#4dabff}.items-list__checkbox__label-img[_ngcontent-%COMP%]{margin-right:8px}.items-list__checkbox[_ngcontent-%COMP%]   .dw-link-no-underline[_ngcontent-%COMP%]{font-style:italic;display:flex}@media only screen and (max-width: 374px){.items-list__container[_ngcontent-%COMP%]{width:auto}.items-list__search-bar-icon[_ngcontent-%COMP%], .items-list__search-bar-delete[_ngcontent-%COMP%]{margin:0}}@media only screen and (max-width: 498px){.items-list__container.two-column[_ngcontent-%COMP%]{width:auto}.items-list__footer.column-btns[_ngcontent-%COMP%]{grid-template-columns:unset;grid-row-gap:10px;padding:16px;grid-template-areas:"submit" "unselect"}.items-list__footer.column-btns[_ngcontent-%COMP%]     .button{width:100%!important}}']})}}return et})()},89944(ht,L,o){"use strict";o.d(L,{_:()=>M});var t=o(51203),e=o(80226),n=o(19699),c=o(69402);function f(m,r){if(1&m){const _=t.RV6();t.j41(0,"li",13),t.bIt("click",function(){const $=e.eBV(_),T=$.$implicit,B=$.$index,A=t.XpG();return e.Njj(A.changeElementSelected(B,T))})("keydown",function($){const T=e.eBV(_),B=T.$implicit,A=T.$index,I=t.XpG();return e.Njj(I.onChoiceKeydown($,A,B))}),t.k0s()}if(2&m){const _=r.$implicit,g=r.$index,$=t.XpG();t.AVh("active",$.selectedIndex===g||$.selectedCode&&$.selectedCode===_.code),t.Y8G("innerHTML",_.label,t.npT),t.BMQ("aria-selected",$.selectedIndex===g||$.selectedCode&&$.selectedCode===_.code)}}let M=(()=>{class m{constructor(){this.iconCloseAltText="Chiudi",this.listModal=[],this.$closeClickOutput=new t.bkB,this.$buttonClickOutput=new t.bkB,this.$outsideClickOutput=new t.bkB,this.selectedCeilingPeople="",this.selectedCeilingThing="",this.initIndex=0,this.initCode=""}ngOnInit(){this.initIndex=this.selectedIndex,this.initCode=this.selectedCode}onButtonClick(){this.$buttonClickOutput.emit({selectedIndex:this.selectedIndex,selectedCode:this.selectedCode,initIndex:this.initIndex,initCode:this.initCode,elementSelected:this.elementSelected})}onOutsideClick(_){this.$outsideClickOutput.emit(_)}onCloseClick(_){this.$closeClickOutput.emit(_)}changeElementSelected(_,g){this.selectedIndex=_,this.selectedCode=g.code,this.elementSelected=g}onChoiceKeydown(_,g,$){("Enter"===_.key||" "===_.key)&&(_.preventDefault(),this.changeElementSelected(g,$))}static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275cmp=t.VBU({type:m,selectors:[["conte-dw-modal-ceiling"]],inputs:{modalHeader:"modalHeader",modalDescription:"modalDescription",buttonText:"buttonText",iconClose:"iconClose",iconCloseAltText:"iconCloseAltText",iconInfo:"iconInfo",listModal:"listModal",selectedIndex:"selectedIndex",selectedCode:"selectedCode"},outputs:{$closeClickOutput:"$closeClickOutput",$buttonClickOutput:"$buttonClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,decls:18,vars:4,consts:[[1,"ui-bootstrap"],[3,"$outsideClickOutput","$closeClickOutput"],["t
1itles",""],["id","modal-ceiling-heading",1,"heading-txt"],[1,"divider"],[1,"list"],[1,"list-heading"],["alt","",3,"src"],[1,"list-heading-text"],["role","listbox","aria-labelledby","modal-ceiling-heading"],["role","option","tabindex","0",1,"choice",3,"active","innerHTML"],[1,"btn-bar"],[1,"button","button-primary",3,"$buttonClickOutput"],["role","option","tabindex","0",1,"choice",3,"click","keydown","innerHTML"]],template:function(g,$){1&g&&(t.j41(0,"div",0)(1,"conte-dw-modal",1),t.bIt("$outsideClickOutput",function(B){return $.onOutsideClick(B)})("$closeClickOutput",function(B){return $.onCloseClick(B)}),t.j41(2,"div",2)(3,"h2",3),t.EFF(4),t.k0s()(),t.nrm(5,"div",4),t.j41(6,"div",5)(7,"div",6),t.nrm(8,"img",7),t.j41(9,"p",8),t.EFF(10),t.k0s()(),t.j41(11,"div")(12,"ul",9),t.Z7z(13,f,1,4,"li",10,t.fX1),t.k0s()(),t.j41(15,"div",11)(16,"conte-dw-button",12),t.bIt("$buttonClickOutput",function(){return $.onButtonClick()}),t.EFF(17),t.k0s()()()()()),2&g&&(t.R7$(4),t.JRh($.modalHeader),t.R7$(4),t.Y8G("src","./assets/img/"+$.iconInfo+".svg",t.B4B),t.R7$(2),t.JRh($.modalDescription),t.R7$(3),t.Dyx($.listModal),t.R7$(4),t.SpI(" ",$.buttonText," "))},dependencies:[n.Q,c.z],styles:[".heading-txt[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:16px;font-weight:700;font-stretch:normal;font-style:normal;line-height:160%;letter-spacing:normal;text-align:left;color:#00558c}.divider[_ngcontent-%COMP%]{height:1px;width:calc(100% + 50px);margin:19px -25px;background-color:#e6eef3}.list-heading[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:16px;margin:0 0 16px;padding:16px;border-radius:10px;background-color:#f7f9fb}.list-heading[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px;height:20px}.list-heading-text[_ngcontent-%COMP%]{flex-grow:1;font-family:Lato,sans-serif;font-size:14px;line-height:160%;color:#484848}.choice[_ngcontent-%COMP%]{height:48px;display:flex;justify-content:center;align-items:center;gap:8px;margin:0 0 16px;padding:0 16px;border-radius:10px;border:solid 1px #ccdde8;background-color:#fff;font-weight:700;color:#484848;font-size:14px;cursor:pointer}.btn-bar[_ngcontent-%COMP%]{--button-width: auto;width:100%;text-align:center;padding:8px 0 0}ul[_ngcontent-%COMP%]{padding:0;margin:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#4dabff}.active[_ngcontent-%COMP%]{border:1px solid #4dabff;background-color:#f1f8ff}@media (max-width: 767px){.list-heading[_ngcontent-%COMP%]{padding:12px!important}.list-heading[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px!important;height:24px!important}button[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]{width:100%}.heading-txt[_ngcontent-%COMP%]{font-size:14px}.modal-content[_ngcontent-%COMP%]{padding:0 16px}.list-heading-text[_ngcontent-%COMP%]{font-size:14px}.btn-bar[_ngcontent-%COMP%]{padding:0!important}.modal-popup[_ngcontent-%COMP%]{width:100%;height:auto;position:relative;top:0;left:0;transform:none;border:none!important}}"]})}}return m})()},71598(ht,L,o){"use strict";o.d(L,{V:()=>_});var t=o(51203),e=o(80226),n=o(44181),c=o(69402),f=o(11425),M=o(5547);const m=(g,$)=>[g,$];function r(g,$){if(1&g){const T=t.RV6();t.j41(0,"div",6)(1,"conte-dw-radio-button",7),t.bIt("$radioButtonClick",function(){const A=e.eBV(T).$implicit,I=t.XpG();return e.Njj(I.onRadioButtonClick(A))}),t.k0s()()}if(2&g){const T=$.$implicit,B=t.XpG();t.Y8G("ngClass",t.l_i(9,m,B.colClass,T.containerClasses??"")),t.R7$(),t.Y8G("conteDwDataCy",T.inputId)("radioButtonStyle",T.radioButtonStyle)("inputId",T.inputId)("inputName",T.inputName)("label",T.label)("value",T.value)("showCheckMark",!1)("disabled",T.isDisabled)}}let _=(()=>{class g{constructor(){this.$selectedOptionClick=new t.bkB,this.$closeClickOutput=new t.bkB,this.$outsideClickOutput=new t.bkB}onRadioButtonClick(T){this.$selectedOptionClick.emit(T)}onCloseClick(T){this.$closeClickOutput.emit(T)}onOutsideClick(T){this.$outsideClickOutput.emit(T)}static{this.\u0275fac=function(B){return new(B||g)}}static{this.\u0275cmp=t.VBU({type:g,selectors:[["conte-dw-modal-radio-group"]],inputs:{modalStyle:"modalStyle",modalRadioGroupStyle:"modalRadioGroupStyle",title:"title",rowClass:"rowClass",colClass:"colClass",options:"options"},outputs:{$selectedOptionClick:"$selectedOptionClick",$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,decls:9,vars:5,consts:[[1,"ui-bootstrap"],[3,"$outsideClickOutput","$closeClickOutput","modalStyle","showClose"],[1,"modal-radio-group","dw-modal-title-border",3,"ngClass"],[1,"modal-dw-header","d-flex","align-items-center","justify-content-between"],[1,"modal-radio-group-title","font-weight-bold","neutral-black-92",3,"innerHTML"],[1,"neutral-black-92","modal
1-dw-content"],[3,"ngClass"],[3,"$radioButtonClick","conteDwDataCy","radioButtonStyle","inputId","inputName","label","value","showCheckMark","disabled"]],template:function(B,A){1&B&&(t.j41(0,"div",0)(1,"conte-dw-modal",1),t.bIt("$outsideClickOutput",function(C){return A.onOutsideClick(C)})("$closeClickOutput",function(C){return A.onCloseClick(C)}),t.j41(2,"div",2)(3,"div",3),t.nrm(4,"p",4),t.k0s(),t.j41(5,"div",5)(6,"div",6),t.Z7z(7,r,2,12,"div",6,t.fX1),t.k0s()()()()()),2&B&&(t.R7$(),t.Y8G("modalStyle",A.modalStyle)("showClose",!0),t.R7$(),t.Y8G("ngClass",A.modalRadioGroupStyle),t.R7$(2),t.Y8G("innerHTML",A.title,t.npT),t.R7$(2),t.Y8G("ngClass",A.rowClass),t.R7$(),t.Dyx(A.options))},dependencies:[n.YU,c.z,f.dx,M.W],styles:[".dw-modal-close.d-flex.justify-content-end{padding:25px 25px 0}.modal-driver-age[_ngcontent-%COMP%]   .modal-dw-header[_ngcontent-%COMP%]{border-bottom:none}.modal-driver-age[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]{padding:0}.modal-driver-age[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]     .container-options>:first-child   .dw-radio-button-label{font-size:12px;line-height:140%}@media (max-width: 370px){.modal-driver-age[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]     .container-options>:first-child   .dw-radio-button-label{font-size:10px}}@media (max-width: 319px){.modal-driver-age[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]     .container-options>:first-child   .dw-radio-button-label{font-size:9px}}.modal-suspension[_ngcontent-%COMP%]   .modal-radio-group-title[_ngcontent-%COMP%]{color:#00558c}.modal-suspension[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]{padding:20px 25px 10px}"]})}}return g})()},7553(ht,L,o){"use strict";o.d(L,{m:()=>r});var t=o(44181),e=o(23321),n=o(28),c=o(69732),f=o(8301),M=o(80226),m=o(51203);let r=(()=>{class _{static{this.\u0275fac=function(T){return new(T||_)}}static{this.\u0275mod=m.$C({type:_})}static{this.\u0275inj=M.G2t({imports:[t.MD,f.Q,c.K,e.X1,n.l]})}}return _})()},37158(ht,L,o){"use strict";o.d(L,{A:()=>I});var t=o(51203),e=o(83070),n=o(28202),c=o(80226),f=o(44181),M=o(69402),m=o(19699);const r=["*"];function _(C,k){if(1&C&&t.nrm(0,"p",8),2&C){const s=t.XpG(2);t.Y8G("innerHTML",s.subtitle,t.npT)}}function g(C,k){if(1&C&&(t.j41(0,"div",2),t.nrm(1,"p",7),t.nVh(2,_,1,1,"p",8),t.k0s()),2&C){const s=t.XpG();t.R7$(),t.Y8G("innerHTML",s.title,t.npT),t.R7$(),t.vxM(s.subtitle?2:-1)}}function $(C,k){if(1&C&&t.nrm(0,"p",8),2&C){const s=t.XpG(2);t.Y8G("innerHTML",s.subtitle,t.npT)}}function T(C,k){if(1&C){const s=t.RV6();t.j41(0,"span",9)(1,"conte-dw-button",10),t.bIt("$buttonClickOutput",function(){c.eBV(s);const E=t.XpG(2);return c.Njj(E.onCloseClick())}),t.k0s()()}2&C&&(t.R7$(),t.Y8G("text",!1))}function B(C,k){if(1&C&&(t.j41(0,"div",4)(1,"div"),t.nrm(2,"p",7),t.nVh(3,$,1,1,"p",8),t.k0s(),t.nVh(4,T,2,1,"span",9),t.k0s()),2&C){const s=t.XpG();t.R7$(2),t.Y8G("innerHTML",s.title,t.npT),t.R7$(),t.vxM(s.subtitle?3:-1),t.R7$(),t.vxM(s.showModalClose?-1:4)}}function A(C,k){if(1&C&&t.nrm(0,"span",6),2&C){const s=t.XpG();t.Y8G("innerHTML",s.contentText,t.npT)}}let I=(()=>{class C{constructor(){this.modalSize=e.I.Default,this.modalHeaderThickness=e.q.Default,this.showHeader=!0,this.title="",this.contentTextSize=n.d.Default,this.contentText="",this.showModalClose=!0,this.$closeClickOutput=new t.bkB,this.$outsideClickOutput=new t.bkB}onCloseClick(){this.$closeClickOutput.emit()}onOutsideClick(){this.$outsideClickOutput.emit()}static{this.\u0275fac=function(l){return new(l||C)}}static{this.\u0275cmp=t.VBU({type:C,selectors:[["conte-dw-modal-text"]],inputs:{modalStyle:"modalStyle",modalSize:"modalSize",modalHeaderThickness:"modalHeaderThickness",modalTextStyle:"modalTextStyle",showHeader:"showHeader",title:"title",subtitle:"subtitle",contentTextSize:"contentTextSize",contentText:"contentText",showModalClose:"showModalClose"},outputs:{$closeClickOutput:"$closeClickOutput",$outsideClickOutput:"$outsideClickOutput"},standalone:!1,ngContentSelectors:r,decls:8,vars:8,consts:[[1,"ui-bootstrap"],[3,"$closeClickOutput","$outsideClickOutput","modalStyle","modalSize","headerThickness","showClose"],["t
1itles",""],[1,"modal-text","dw-modal-title-border",3,"ngClass"],[1,"modal-dw-header","d-flex","align-items-center","justify-content-between"],[1,"modal-dw-content","neutral-black-92"],[3,"innerHTML"],[1,"modal-text-title","font-weight-bold","neutral-black-92",3,"innerHTML"],[1,"modal-text-subtitle",3,"innerHTML"],[1,"modal-dw-header-close"],["imgSrc","./assets/img/icon-blueclose.svg",3,"$buttonClickOutput","text"]],template:function(l,E){1&l&&(t.NAR(),t.j41(0,"div",0)(1,"conte-dw-modal",1),t.bIt("$closeClickOutput",function(){return E.onCloseClick()})("$outsideClickOutput",function(){return E.onOutsideClick()}),t.nVh(2,g,3,2,"div",2),t.j41(3,"div",3),t.nVh(4,B,5,3,"div",4),t.j41(5,"div",5),t.SdG(6),t.nVh(7,A,1,1,"span",6),t.k0s()()()()),2&l&&(t.R7$(),t.Y8G("modalStyle",E.modalStyle)("modalSize",E.modalSize)("headerThickness",E.modalHeaderThickness)("showClose",E.showModalClose),t.R7$(),t.vxM(E.showHeader?-1:2),t.R7$(),t.Y8G("ngClass",E.modalTextStyle+(E.contentTextSize?" content-"+E.contentTextSize+"-size":"")),t.R7$(),t.vxM(E.showHeader?4:-1),t.R7$(3),t.vxM(E.contentText?7:-1))},dependencies:[f.YU,M.z,m.Q],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}  .dw-modal-close.d-flex.justify-content-end{padding:25px 25px 0}.modal-text-title[_ngcontent-%COMP%]{font-size:var(--modal-text-title-font-size);line-height:var(--modal-text-title-line-height);color:var(--modal-text-title-color);padding:var(--modal-text-title-padding)}.modal-dw-header-close[_ngcontent-%COMP%]{margin-left:4px;min-width:24px}.modal-text-info[_ngcontent-%COMP%]   .modal-dw-header[_ngcontent-%COMP%]{border-bottom:none;padding-bottom:0}.modal-text-info[_ngcontent-%COMP%]   .modal-text-title[_ngcontent-%COMP%]{font-size:24px;line-height:140%;color:#00558c}.modal-text-subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:#646464}.modal-text-info-small[_ngcontent-%COMP%]   .modal-dw-header[_ngcontent-%COMP%]{border-bottom:none;padding:24px 24px 0}.modal-text-info-small[_ngcontent-%COMP%]   .modal-dw-header-close[_ngcontent-%COMP%]{display:flex;width:30px;height:30px;justify-content:center;align-items:center}.modal-text-info-small[_ngcontent-%COMP%]   .modal-text-title[_ngcontent-%COMP%]{font-size:16px;line-height:140%;color:#00558c}.modal-text-info-small[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]{padding:24px!important}.modal-text-info-small[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}.modal-text-info-row[_ngcontent-%COMP%]   .modal-text-title[_ngcontent-%COMP%]{line-height:140%;color:#00558c}.dw-modal-title-border.content-full-size[_ngcontent-%COMP%]{padding-top:20px}.dw-modal-title-border.content-full-size[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]{max-height:70vh;overflow-y:auto;display:block;padding:0 10px 0 0}.dw-modal-title-border.content-full-size[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:8px}.dw-modal-title-border.content-full-size[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#ccdde8;box-shadow:0 0 1px #ffffff80}@supports (-moz-appearance: none){.dw-modal-title-border.content-full-size[_ngcontent-%COMP%]   .modal-dw-content[_ngcontent-%COMP%]{scrollbar-color:#ccdde8 #ffffff;--input-text-field-dw-input-autocomplete-scrollbar-width: thin}}"]})}}return C})()},28202(ht,L,o){"use strict";o.d(L,{d:()=>t});var t=function(e){return e.Default="",e.Full="full",e}(t||{})},42825(ht,L,o){"use strict";o.d(L,{Z:()=>M});var t=o(44181),e=o(4130),n=o(8301),c=o(80226),f=o(51203);let M=(()=>{class m{static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275mod=f.$C({type:m})}static{this.\u0275inj=c.G2t({imports:[t.MD,n.Q,e.t]})}}return m})()},69402(ht,L,o){"use strict";o.d(L,{z:()=>I});var t=o(51203),e=o(83070),n=o(80226),c=o(44181),f=o(62727),M=o(19699),m=o(92859);const r=[[["","titles",""]],"*"],_=["[titles]","*"],g=C=>({"dw-modal-background-no-padding":C});function $(C,k){if(1&C&&(t.j41(0,"div",4),t.nrm(1,"conte-dw-toast-message",10),t.k0s()),2&C){const s=t.XpG();t.R7$(),t.Y8G("text",s.toastMessage)("iconSrc",s.toastMessageIcon)("toastMessageStyle",s.toastMessageStyle)}}function T(C,k){if(1&C&&t.nrm(0,"img",11),2&C){const s=t.XpG(2);t.Y8G("src",s.notification.icon,t.B4B)}}function B(C,k){if(1&C&&(t.j41(0,"div"),t.nVh(1,T,1,1,"img",11),t.j41(2,"label"),t.EFF(3),t.k0s()()),2&C){const s=t.XpG();
1t.HbH("modal-container__notification modal-container__notification-"+s.notification.type),t.R7$(),t.vxM(s.notification.icon?1:-1),t.R7$(2),t.JRh(s.notification.text)}}function A(C,k){if(1&C){const s=t.RV6();t.j41(0,"div",9)(1,"conte-dw-button",12),t.bIt("$buttonClickOutput",function(E){n.eBV(s);const p=t.XpG();return n.Njj(p.onCloseClick(E))}),t.k0s()()}if(2&C){const s=t.XpG();t.R7$(),t.Y8G("imgAltText",s.imgCloseAltText)("text",!1)}}let I=(()=>{class C{constructor(s){this.el=s,this.modalSize=e.I.Default,this.headerThickness=e.q.Default,this.showClose=!0,this.showToastMessage=!1,this.showNotification=!1,this.appendToBody=!1,this.imgCloseAltText="Chiudi",this.$outsideClickOutput=new t.bkB,this.$closeClickOutput=new t.bkB,this.isFullScreen=!1}ngOnInit(){this.modalStyle&&(this.isFullScreen=this.modalStyle.includes("full-screen")),this.appendToBody&&document.body.appendChild(this.el.nativeElement)}ngOnDestroy(){this.appendToBody&&this.el.nativeElement.parentNode&&this.el.nativeElement.parentNode.removeChild(this.el.nativeElement)}onOutsideClick(s){this.$outsideClickOutput.emit(s)}onCloseClick(s){this.$closeClickOutput.emit(s)}static{this.\u0275fac=function(l){return new(l||C)(t.rXU(t.aKT))}}static{this.\u0275cmp=t.VBU({type:C,selectors:[["conte-dw-modal"]],inputs:{notification:"notification",modalStyle:"modalStyle",modalSize:"modalSize",headerThickness:"headerThickness",showClose:"showClose",showToastMessage:"showToastMessage",showNotification:"showNotification",toastMessage:"toastMessage",toastMessageIcon:"toastMessageIcon",toastMessageStyle:"toastMessageStyle",appendToBody:"appendToBody",imgCloseAltText:"imgCloseAltText"},outputs:{$outsideClickOutput:"$outsideClickOutput",$closeClickOutput:"$closeClickOutput"},standalone:!1,ngContentSelectors:_,decls:13,vars:9,consts:[["background",""],[1,"ui-bootstrap"],["id","dw-modal-background",1,"dw-modal-background",3,"ngClass"],[1,"modal-container","dw-modal",3,"ngClass"],[1,"dw-modal-toast"],["id","dw-modal",1,"modal-container__body"],[3,"class"],["conteDwOutsideClick","",1,"dw-modal-body",3,"$outsideClick","context"],[1,"modal-dw-header","d-flex","justify-content-between",3,"ngClass"],[1,"dw-modal-close"],[3,"text","iconSrc","toastMessageStyle"],[3,"src"],["imgSrc","./assets/img/icon-blueclose.svg","id","modal-icon-close",3,"$buttonClickOutput","imgAltText","text"]],template:function(l,E){if(1&l){const p=t.RV6();t.NAR(r),t.j41(0,"div",1)(1,"div",2,0)(3,"div",3),t.nVh(4,$,2,3,"div",4),t.j41(5,"div",5),t.nVh(6,B,4,4,"div",6),t.j41(7,"div",7),t.bIt("$outsideClick",function(w){return n.eBV(p),n.Njj(E.onOutsideClick(w))}),t.j41(8,"div",8)(9,"div"),t.SdG(10),t.k0s(),t.nVh(11,A,2,2,"div",9),t.k0s(),t.SdG(12,1),t.k0s()()()()()}if(2&l){const p=t.sdS(2);t.R7$(),t.Y8G("ngClass",t.eq3(7,g,E.isFullScreen)),t.R7$(2),t.Y8G("ngClass",E.modalStyle+(E.modalSize?" modal-"+E.modalSize:"")),t.R7$(),t.vxM(E.showToastMessage?4:-1),t.R7$(2),t.vxM(E.showNotification&&E.notification?6:-1),t.R7$(),t.Y8G("context",p),t.R7$(),t.Y8G("ngClass",E.headerThickness?"header-"+E.headerThickness:""),t.R7$(3),t.vxM(E.showClose?11:-1)}},dependencies:[c.YU,f.n,M.Q,m.Y],styles:['.modal-container[_ngcontent-%COMP%]{position:relative;z-index:1029;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;max-width:calc(100% - .01px);animation:show .5s ease-in-out;-webkit-animation:show .5s ease-in-out;-moz-animation:show .5s ease-in-out;-o-animation:show .5s ease-in-out;margin:auto}.modal-container__body[_ngcontent-%COMP%]{position:relative;overflow-y:var(--modal-overflow-y, hidden);overflow-x:visible;width:var(--modal-container-body-width, 100%);height:100%;border-radius:10px;box-shadow:0 -2px 10px #1f5eca1a;background:#fff}.modal-container__notification[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px;font-weight:700}.modal-container__notification-positive[_ngcontent-%COMP%]{background-color:#dbefda;color:#4ab047}.modal-dw-header[_ngcontent-%COMP%]{margin-top:var(--modal-dw-header-margin-top, 0)}.dw-modal-close[_ngcontent-%COMP%]{padding:var(--dw-modal-close-padding, 0px)}
1.modal-big[_ngcontent-%COMP%]{width:894px}.modal-medium-2[_ngcontent-%COMP%]{width:768px}.modal-large[_ngcontent-%COMP%]{width:925px}.modal-medium[_ngcontent-%COMP%]{width:613px}.header-thin[_ngcontent-%COMP%]{padding-bottom:20px}.header-thin[_ngcontent-%COMP%]:after{content:"";position:absolute;right:0;left:0;top:70px;border-bottom:1px solid #e6eef3}']})}}return C})()},83070(ht,L,o){"use strict";o.d(L,{I:()=>t,q:()=>e});var t=function(n){return n.Default="",n.Medium="medium",n.Big="big",n}(t||{}),e=function(n){return n.Default="",n.Thin="thin",n}(e||{})},8301(ht,L,o){"use strict";o.d(L,{Q:()=>m});var t=o(44181),e=o(83624),n=o(4130),c=o(29082),f=o(80226),M=o(51203);let m=(()=>{class r{static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275mod=M.$C({type:r})}static{this.\u0275inj=f.G2t({imports:[t.MD,e.a,n.t,c.x]})}}return r})()},90223(ht,L,o){"use strict";o.d(L,{N:()=>M});var t=o(44181),e=o(57213),n=o(4130),c=o(80226),f=o(51203);let M=(()=>{class m{static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275mod=f.$C({type:m})}static{this.\u0275inj=c.G2t({imports:[t.MD,e.f,n.t]})}}return m})()},52271(ht,L,o){"use strict";o.d(L,{Ni:()=>t.N,yB:()=>M,wx:()=>r,Sp:()=>_.S,l8:()=>$.l,vK:()=>T.v});var t=o(90223),e=o(49582),n=o(61098),c=o(51203);function f(B,A){if(1&B&&c.Hgh(0,"klarna-placement"),2&B){const I=c.XpG();c.BMQ("data-key",I.dataKey())("data-locale",I.locale())("data-purchase-amount",I.amountInCents())}}let M=(()=>{class B{constructor(){this.amount=(0,e.hFB)(),this.locale=(0,e.hFB)(),this.dataKey=(0,e.hFB)("credit-promotion-badge"),this.amountInCents=(0,n.EW)(()=>Math.round(100*(this.amount()??0)))}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275cmp=c.VBU({type:B,selectors:[["conte-dw-osm-klarna-widget"]],inputs:{amount:[1,"amount"],locale:[1,"locale"],dataKey:[1,"dataKey"]},decls:1,vars:1,template:function(C,k){1&C&&c.nVh(0,f,1,3,"klarna-placement"),2&C&&c.vxM(k.amount()&&k.locale()?0:-1)},styles:["klarna-placement[_ngcontent-%COMP%]::part(osm-message), klarna-placement[_ngcontent-%COMP%]::part(osm-cta){font-size:11px}klarna-placement[_ngcontent-%COMP%]::part(osm-container){border:none;padding:0;justify-content:center}klarna-placement[_ngcontent-%COMP%]::part(osm-badge){width:37px;height:24px}klarna-placement[_ngcontent-%COMP%]::part(osm-message){margin-left:-5px}"]})}}return B})();function m(B,A){if(1&B&&(c.rj2(0,"div",0),c.Hgh(1,"img",1)(2,"div",2),c.eux()),2&B){const I=c.XpG();c.R7$(2),c.BMQ("data-pp-pageType",I.pageType())("data-pp-amount",I.amount())("data-pp-style-layout",I.layout())("data-pp-style-logo-type",I.logoType())("data-pp-style-text-size",I.textSize())}}let r=(()=>{class B{constructor(){this.amount=(0,e.hFB)(),this.pageType=(0,e.hFB)("product-details"),this.layout=(0,e.hFB)("text"),this.logoType=(0,e.hFB)("none"),this.textSize=(0,e.hFB)("10")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275cmp=c.VBU({type:B,selectors:[["conte-dw-osm-paypal-widget"]],inputs:{amount:[1,"amount"],pageType:[1,"pageType"],layout:[1,"layout"],logoType:[1,"logoType"],textSize:[1,"textSize"]},decls:1,vars:1,consts:[["id","paypal-osm-container",1,"d-flex","align-items-center","justify-content-center"],["id","paypal-osm-logo","src","./assets/img/payment-methods/paypal-logo.svg","alt","",1,"mr-2","ml-2"],["data-pp-message",""]],template:function(C,k){1&C&&c.nVh(0,m,3,5,"div",0),2&C&&c.vxM(k.amount()?0:-1)},styles:["#paypal-osm-container[_ngcontent-%COMP%]{line-height:0}#paypal-osm-logo[_ngcontent-%COMP%]{width:3.6rem;flex-shrink:0}[data-pp-message][_ngcontent-%COMP%]{flex:0 1 auto;min-width:0;max-width:250px;display:flex;align-items:center}[data-pp-message][_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{max-width:100%!important}@media (max-width: 480px){[data-pp-message][_ngcontent-%COMP%]{max-width:200px;font-size:.875rem}}"]})}}return B})();var _=o(81834),$=(o(84054),o(39737)),T=o(1422)},81834(ht,L,o){"use strict";o.d(L,{S:()=>m});var t=o(44181),e=o(51203);function n(r,_){if(1&r&&e.nrm(0,"span",5),2&r){const g=e.XpG(2);e.Y8G("innerHTML",g.typeCard,e.npT)}}function c(r,_){if(1&r&&(e.j41(0,"p",2),e.EFF(1," Usando "),e.nVh(2,n,1,1,"span",5),e.k0s()),2&r){const g=e.XpG();e.R7$(2),e.vxM(g.typeCard?2:-1)}}function f(r,_){if(1&r&&(e.j41(0,"p",4),e.EFF(1," che termina con "),e.nrm(2,"span",6),e.k0s()),2&r){const g=e.XpG();e.R7$(2),e.Y8G("innerHTML",g.lastDigits,e.npT)}}function M(r,_){if(1&r&&(e.j41(0,"p",4),e.EFF(1),e.k0s()),2&r){const g=e.XpG();e.R7$(),e.SpI(" ",g.bankTransferCaption," ")}}let m=(()=>
1{class r{constructor(){this.showDescription=!0}static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["conte-dw-payment-card-info"]],inputs:{paymentCardInfoStyle:"paymentCardInfoStyle",showDescription:"showDescription",typeCard:"typeCard",iconCard:"iconCard",lastDigits:"lastDigits",bankTransferCaption:"bankTransferCaption"},decls:6,vars:5,consts:[[1,"ui-bootstrap"],[1,"payment-card-info","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"payment-card-info-text","caption","font-weight-bold"],["alt","",1,"payment-card-info-image",3,"src"],[1,"payment-card-info-number","caption"],[3,"innerHTML"],[1,"font-weight-bold",3,"innerHTML"]],template:function($,T){1&$&&(e.j41(0,"div",0)(1,"div",1),e.nVh(2,c,3,1,"p",2),e.nrm(3,"img",3),e.nVh(4,f,3,1,"p",4),e.nVh(5,M,2,1,"p",4),e.k0s()()),2&$&&(e.R7$(),e.Y8G("ngClass",T.paymentCardInfoStyle),e.R7$(),e.vxM(T.showDescription?2:-1),e.R7$(),e.Y8G("src","./assets/img/"+T.iconCard+".png",e.B4B),e.R7$(),e.vxM(T.lastDigits?4:-1),e.R7$(),e.vxM(T.bankTransferCaption?5:-1))},dependencies:[t.MD,t.YU],styles:[".payment-card-info[_ngcontent-%COMP%]{color:#484848}.payment-card-info[_ngcontent-%COMP%]   .payment-card-info-image[_ngcontent-%COMP%]{margin:0 10px;max-height:20px}.payment-card-info[_ngcontent-%COMP%]   .payment-card-info-number[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 370px){.payment-card-info[_ngcontent-%COMP%]   .payment-card-info-text[_ngcontent-%COMP%], .payment-card-info[_ngcontent-%COMP%]   .payment-card-info-number[_ngcontent-%COMP%]{font-size:10px}}.more-info[_ngcontent-%COMP%]{background-color:#f1f8ff;padding:5px 20px}.more-info[_ngcontent-%COMP%]   .payment-card-info-text[_ngcontent-%COMP%]{order:1;padding-right:10px}.more-info[_ngcontent-%COMP%]   .payment-card-info-image[_ngcontent-%COMP%]{margin:0 10px 0 0}.more-info[_ngcontent-%COMP%]   .payment-card-info-number[_ngcontent-%COMP%]{order:2;font-size:10px;font-weight:400}"]})}}return r})()},57213(ht,L,o){"use strict";o.d(L,{f:()=>c});var t=o(81834),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.S]})}}return f})()},84054(ht,L,o){"use strict";o.d(L,{i:()=>Nt});var t=o(51203),e=o(75089),n=o(80226),c=o(44181),f=o(32807),M=o(19699),m=o(81834),r=o(72463),_=o(45453),g=o(23321),$=o(19272),T=o(81128),B=o(83452),A=o(5787);const I=["*"],C=Dt=>({" warning":Dt}),k=Dt=>({"price-type-padding-top ":Dt}),s=Dt=>({"font-weight-bold payment-info-amount":!0,"green-valid":Dt}),l=Dt=>({"small-body light-blue font-weight-bold font-italic":!0,"green-valid":Dt});function E(Dt,pe){if(1&Dt&&(t.j41(0,"div",7),t.nrm(1,"conte-dw-labels",13),t.k0s()),2&Dt){const Lt=t.XpG(2);t.R7$(),t.HbH("label label-status "+Lt.statusColorClass),t.Y8G("text",Lt.statusDescription)}}function p(Dt,pe){if(1&Dt&&(t.j41(0,"div",7),t.nrm(1,"conte-dw-labels",13),t.k0s()),2&Dt){const Lt=pe.$implicit;t.R7$(),t.HbH("label label-status "+(null==Lt?null:Lt.color)),t.Y8G("text",null==Lt?null:Lt.description)}}function h(Dt,pe){if(1&Dt&&t.Z7z(0,p,2,3,"div",7,t.fX1),2&Dt){const Lt=t.XpG(2);t.Dyx(Lt.additionalStatusLabels)}}function w(Dt,pe){if(1&Dt&&(t.j41(0,"p",8),t.EFF(1),t.k0s()),2&Dt){const Lt=t.XpG(2);t.Y8G("ngClass",t.eq3(2,C,Lt.expiryDate.days<=10)),t.R7$(),t.SpI(" ",Lt.expiryDate.text," ")}}function z(Dt,pe){if(1&Dt&&(t.j41(0,"div",9)(1,"p",14),t.EFF(2),t.k0s()()),2&Dt){const Lt=t.XpG(2);t.R7$(2),t.SpI("Proposta n ",Lt.proposalNumber)}}function v(Dt,pe){if(1&Dt&&(t.j41(0,"div",3)(1,"div",5)(2,"div",6),t.nVh(3,E,2,3,"div",7),t.nVh(4,h,2,0),t.k0s(),t.nVh(5,w,2,4,"p",8),t.k0s(),t.nVh(6,z,3,1,"div",9),t.j41(7,"div",10),t.nrm(8,"p",11),t.k0s(),t.nrm(9,"div",12),t.k0s()),2&Dt){const Lt=t.XpG();t.R7$(3),t.vxM(Lt.statusDescription?3:-1),t.R7$(),t.vxM(Lt.additionalStatusLabels?4:-1),t.R7$(),t.vxM(Lt.expiryDate?5:-1),t.R7$(),t.vxM(Lt.proposalNumber?6:-1),t.R7$(2),t.Y8G("innerHTML",Lt.vehicleInfo,t.npT)}}function D(Dt,pe){if(1&Dt&&(t.j41(0,"p",19),t.EFF(1),t.k0s(),t.nrm(2,"div",12)),2&Dt){const Lt=t.XpG(2);t.R7$(),t.Lme(" ",Lt.additionalVehicleInfo.model," - ",Lt.additionalVehicleInfo.plate," ")}}function N(Dt,pe){if(1&Dt&&(t.j41(0,"div",17),t.nrm(1,"conte-dw-labels",13),t.k0s()),2&Dt){const Lt=t.XpG(2);t.Y8G("ngClass",t.eq3(4,k,!Lt.showHeader)),t.R7$(),t.HbH(Lt.labelClass),t.Y8G("text",Lt.priceType)}}function W(Dt,pe){if(1&Dt&&(t.j41(0,"p",23),t.EFF(1," totale premio annuo "),t.j41(2,"span",24),t.EFF(3),t.nI1(4,"conTeCurrency"),t.k0s()()),2&Dt){const Lt=t.XpG(3);t.R7$(3),t.JRh(t.bMT(4,1,Lt.paymentTotalAmount))}}function pt(Dt,pe){if(1&Dt&&(t.j41(0,"div",18)(1,"p",20)(2,"span",21),t.EFF(3,"\u20ac"),t.k0s(),t.EFF(4),t.j41(5,"span",22),t.EFF(6),t.k0s()(),t.nVh(7,W,5,3,"p",23),t.k0s()),2&Dt){const Lt=t.XpG(2);t.R7$(),t.Y8G("ngClass",t.eq3(4,s,Lt.transactionType===Lt.transactionTypeEnum.Refund)),t.R7$(3),t.SpI(" ",Lt.paymentAmount[0]),t.R7$(2),t.SpI(",",Lt.paymentAmount[1]),t.R7$(),t.vxM(Lt.paymentTotalAmount&&Lt.isBiannual?7:-1)}}function ot(Dt,pe){if(1&Dt&&(t.j41(0,"div",26)(1,"p",37),t.EFF(2),t.nI1(3,"conTeCurrency"),t.k0s()()),2&Dt){const Lt=t.XpG(3);t.R7$(2),t.SpI(" Risparmi ",t.bMT(3,1,Lt.savingAmount)," rispetto allo scorso anno! ")}}function gt(Dt,pe){if(1&Dt&&(t.j41(0,"div",27)(1,"p",38),t.EFF(2),t.nI1(3,"conTeCurrency"),t.k0s()()),2&Dt){const Lt=t.XpG(3);t.R7$(2),t.SpI(" ",t.bMT(3,1,Lt.discountedPrice)," ")}}
1function et(Dt,pe){if(1&Dt&&(t.j41(0,"div",28)(1,"p",20),t.EFF(2),t.k0s()()),2&Dt){const Lt=t.XpG(3);t.R7$(),t.Y8G("ngClass",t.eq3(2,l,Lt.transactionType===Lt.transactionTypeEnum.Refund)),t.R7$(),t.SpI(" ",Lt.informationText," ")}}function Et(Dt,pe){if(1&Dt&&t.nrm(0,"conte-dw-data-element",40),2&Dt){const Lt=pe.$implicit;t.Y8G("inputValue",pe.inputValue)("dataMapElement",Lt)}}function K(Dt,pe){if(1&Dt&&(t.j41(0,"div")(1,"conte-dw-data-list",39),t.DNE(2,Et,1,2,"ng-template",null,0,t.C5r),t.k0s()()),2&Dt){const Lt=pe.$implicit;t.R7$(),t.Y8G("dataList",null==Lt?null:Lt.dataMapList)("inputData",null==Lt?null:Lt.inputData)}}function at(Dt,pe){if(1&Dt&&(t.j41(0,"div",29),t.Z7z(1,K,4,2,"div",null,t.fX1),t.k0s()),2&Dt){const Lt=t.XpG(3);t.R7$(),t.Dyx(Lt.quotationItems)}}function Bt(Dt,pe){if(1&Dt&&t.nrm(0,"conte-dw-badge",30),2&Dt){const Lt=t.XpG(3);t.Y8G("text",Lt.badgeConfig.text)("iconSrc",Lt.badgeConfig.iconSrc)("isRightIcon",Lt.badgeConfig.isRightIcon)("badgeType",Lt.badgeConfig.badgeType)}}function _t(Dt,pe){if(1&Dt){const Lt=t.RV6();t.j41(0,"div")(1,"conte-dw-button",41),t.bIt("$buttonClickOutput",function(St){n.eBV(Lt);const Xt=t.XpG(3);return n.Njj(Xt.onPurchaseClick(St))}),t.EFF(2),t.k0s()()}if(2&Dt){const Lt=t.XpG(3);t.R7$(),t.HbH("button button-"+Lt.proceedButtonType),t.R7$(),t.SpI(" ",Lt.purchaseButtonLabel," ")}}function st(Dt,pe){if(1&Dt&&(t.j41(0,"div",32),t.nrm(1,"conte-dw-payment-card-info",42),t.k0s()),2&Dt){const Lt=t.XpG(3);t.R7$(),t.Y8G("iconCard",Lt.iconPaymentCard)("lastDigits",Lt.lastDigitsCard)}}function Ut(Dt,pe){if(1&Dt&&(t.j41(0,"div",34),t.nrm(1,"conte-dw-checkbox",43),t.k0s()),2&Dt){const Lt=t.XpG(3);t.R7$(),t.Y8G("formControl",Lt.privacyCheckboxFormControl)("isChecked",Lt.privacyCheckboxFormControl.value)("message",null!=Lt.privacyCheckboxFormControl&&Lt.privacyCheckboxFormControl.touched&&null!=Lt.privacyCheckboxFormControl&&Lt.privacyCheckboxFormControl.invalid?"Devi accettare la privacy per proseguire!":"")}}function ft(Dt,pe){if(1&Dt){const Lt=t.RV6();t.j41(0,"conte-dw-button",44),t.bIt("$buttonClickOutput",function(St){n.eBV(Lt);const Xt=t.XpG(3);return n.Njj(Xt.onEditCardClick(St))}),t.EFF(1," Scegli un'altra carta "),t.k0s()}}function zt(Dt,pe){if(1&Dt&&(t.j41(0,"div")(1,"div",25),t.nVh(2,ot,4,3,"div",26),t.nVh(3,gt,4,3,"div",27),t.nVh(4,et,3,4,"div",28),t.nVh(5,at,3,0,"div",29),t.nVh(6,Bt,1,4,"conte-dw-badge",30),t.j41(7,"div",31),t.nVh(8,_t,3,3,"div"),t.k0s(),t.nVh(9,st,2,2,"div",32),t.k0s(),t.j41(10,"div",33),t.nVh(11,Ut,2,3,"div",34),t.j41(12,"div",35),t.nVh(13,ft,2,0,"conte-dw-button",36),t.k0s()()()),2&Dt){const Lt=t.XpG(2);t.R7$(2),t.vxM(Lt.savingAmount?2:-1),t.R7$(),t.vxM(Lt.discountedPrice?3:-1),t.R7$(),t.vxM(Lt.informationText?4:-1),t.R7$(),t.vxM(Lt.showQuotationInformation?5:-1),t.R7$(),t.vxM(Lt.badgeConfig?6:-1),t.R7$(2),t.vxM(Lt.showPurchase?8:-1),t.R7$(),t.vxM(Lt.showCardInfo?9:-1),t.R7$(2),t.vxM(Lt.privacyCheckboxFormControl?11:-1),t.R7$(2),t.vxM(Lt.showEditCard?13:-1)}}function jt(Dt,pe){if(1&Dt){const Lt=t.RV6();t.j41(0,"div",15),t.bIt("$hiddenStatusOutput",function(St){n.eBV(Lt);const Xt=t.XpG();return n.Njj(Xt.onHiddenStatusChange(St))}),t.j41(1,"div",16),t.bIt("$hiddenStatusOutput",function(St){n.eBV(Lt);const Xt=t.XpG();return n.Njj(Xt.onHiddenStatusChange(St))}),t.nVh(2,D,3,2),t.nVh(3,N,2,6,"div",17),t.nVh(4,pt,8,6,"div",18),t.k0s(),t.nVh(5,zt,14,9,"div"),t.SdG(6),t.k0s()}if(2&Dt){const Lt=t.XpG();t.Y8G("scrollTolerance",Lt.scrollTolerance)("isDisabled",Lt.directiveDisabled),t.R7$(2),t.vxM(Lt.additionalVehicleInfo?2:-1),t.R7$(),t.vxM(Lt.priceType?3:-1),t.R7$(),t.vxM(Lt.showPaymentAmount?4:-1),t.R7$(),t.vxM(Lt.showAdditionalInfo?5:-1)}}let Nt=(()=>{class Dt{constructor(){this.proceedButtonType="main",this.showHeader=!0,this.statusColorClass="",this.statusDescription="",this.proposalNumber="",this.vehicleInfo="",this.directiveDisabled=!1,this.labelClass="",this.priceType="",this.transactionType=e.D_l.Payment,this.showPaymentAmount=!0,this.paymentAmount=[],this.informationText="",this.showAdditionalInfo=!0,this.showPurchase=!1,this.showEditCard=!1,this.showCardInfo=!1,this.iconPaymentCard="",this.lastDigitsCard="",this.isBiannual=!1,this.quotationItems=[],this.showQuotationInformation=!1,this.scrollTolerance=20,this.$editCardClickOutput=new t.bkB,this.$purchaseClickOutput=new t.bkB,this.$editCoveragesClickOutput=new t.bkB,this.$hiddenStatusOutput=new t.bkB,this.transactionTypeEnum=e.D_l,this.hiddenStatus=!1}onEditCardClick(Lt){this.$editCardClickOutput.emit(Lt)}onPurchaseClick(Lt){this.$purchaseClickOutput.emit(Lt)}onEditCoveragesButtonClick(Lt){this.$editCoveragesClickOutput.emit(Lt)}onHiddenStatusChange(Lt){this.hiddenStatus=Lt,this.$hiddenStatusOutput.emit(this.hiddenStatus)}static{this.\u0275fac=function(fe){return new(fe||Dt)}}static{this.\u0275cmp=t.VBU({type:Dt,selectors:[["conte-dw-payment-info"]],inputs:{isBodyHidden:"isBodyHidden",proceedButtonType:"proceedButtonType",showHeader:"showHeader",statusColorClass:"statusColorClass",statusDescription:"statusDescription",additionalStatusLabels:"additionalStatusLabels",expiryDate:"expiryDate",proposalNumber:"proposalNumber",vehicleInfo:"vehicleInfo",directiveDisabled:"directiveDisabled",labelClass:"labelClass",priceType:"priceType",transactionType:"transactionType",showPaymentAmount:"showPaymentAmount",paymentAmount:"paymentAmount",paymentTotalAmount:"paymentTotalAmount",informationText:"informationText",showAdditionalInfo:"showAdditionalInfo",savingAmount:"savingAmount",discountedPrice:"discountedPrice",purchaseButtonLabel:"purchaseButtonLabel",showPurchase:"showPurchase",showEditCard:"showEditCard",showCardInfo:"showCardInfo",iconPaymentCard:"iconPaymentCard",lastDigitsCard:"lastDigitsCard",isBiannual:"isBiannual",privacyCheckboxFormControl:"privacyCheckboxFormControl",widthMatches:"widthMatches",quotationItems:"quotationItems",showQuotationInformation:"showQuotationInformation",scrollTolerance:"scrollTolerance",badgeConfig:"badgeConfig",additionalVehicleInfo:"additionalVehicleInfo"},outputs:{$editCardClickOutput:"$editCardClickOutput",$purchaseClickOutput:"$purchaseClickOutput",$editCoveragesClickOutput:"$editCoveragesClickOutput",$hiddenStatusOutput:"$hiddenStatusOutput"},standalone:!1,ngContentSelectors:I,decls:4,vars:2,consts:[["DataElement",""],[1,"ui-bootstrap"],[1,"payment-info","dw-card","dw-card-default"],[1,"payment-info-header"],["conteDwHideOnScroll","","scrollLimit","20","hideClass","dw-info-hide",3,"scrollTolerance","isDisabled"],[1,"payment-info-status","d-flex","align-items-center","justify-content-between","flex-wrap"],[1,"row"],[1,"col","col-auto"],[1,"payment-info-expiry-date","caption","font-weight-bold",3,"ngClass"],[1,"payment-info-proposal"],[1,"payment-info-vehicle"],[1,"small-body","font-weight-bold",3,"innerHTML"],[1,"dw-line"],[3,"text"],[1,"caption"],["conteDwHideOnScroll","","scrollLimit","20","hideClass","dw-info-hide",3,"$hiddenStatusOutput","scrollTolerance","isDisabled"],[1,"w-100","d-flex","flex-column","align-items-center","justify-content-center",3,"$hiddenStatusOutput"],[1,"payment-info-price-type",3,"ngClass"],[1,"payment-info-price","text-center"],[1,"font-weight-bold","small-body"],[3,"ngClass"],[1,"currency"],[1,"decimal-digits"],[1,"payment-info-total-amount","small-body"],[1,"font-weight-bold"],[1,"d-flex","flex-column","align-items-center","justify-content-center"],[1,"payment-info-saving","text-center"],[1,"payment-info-discounted-price","text-center"],[1,"payment-info-information-text","text-center"],[1,"w-100","d-flex","flex-column","justify-content-center"],[3,"text","iconSrc","isRightIcon","badgeType"],[1,"payment-info-main","w-100"],[1,"payment-info-card"],[1,"payment-info-footer","d-flex","flex-column","align-items-center","justify-content-center"],[1,"payment-info-privacy"],[1,"payment-info-edit","
1w-100"],["id","edit-card-button",1,"button","button-ghost"],[1,"caption","light-blue","font-weight-bold","font-italic"],[1,"small-subtitle","font-weight-bold"],["dataListClass","quotation__items",3,"dataList","inputData"],["elementClass","quotation__items-item","labelClass","quotation__items-item-description","valueClass","quotation__items-item-price",3,"inputValue","dataMapElement"],["id","suspend-now-button",3,"$buttonClickOutput"],[3,"iconCard","lastDigits"],["checkboxStyle","checkbox-border checkbox-privacy","inputId","privacy","inputName","privacy","label","Confermo di aver letto e preso visione dell'<a class='dw-link-no-underline' href='https://www.conte.it/chi-siamo/dati-personali/privacy-policy/'>Informativa Privacy</a> e del <a class='dw-link-no-underline' href='https://www.conte.it/documenti-polizza/condizioni-cga-auto-moto/'>Set Informativo</a> all'interno del quale \xe8 descritto il Mercato di Riferimento del prodotto. <b>*Campo obbligatorio</b>",3,"formControl","isChecked","message"],["id","edit-card-button",1,"button","button-ghost",3,"$buttonClickOutput"]],template:function(fe,St){1&fe&&(t.NAR(),t.j41(0,"div",1)(1,"div",2),t.nVh(2,v,10,5,"div",3),t.nVh(3,jt,7,6,"div",4),t.k0s()()),2&fe&&(t.R7$(2),t.vxM(St.showHeader?2:-1),t.R7$(),t.vxM(St.isBodyHidden?-1:3))},dependencies:[c.YU,f.H,M.Q,m.S,r.P,_._,g.BC,g.l_,$.q,T.M,B.n,A.T],styles:['.green-valid[_ngcontent-%COMP%]{color:#50bf4d}.payment-info[_ngcontent-%COMP%]   .payment-info-move[_ngcontent-%COMP%]{flex-direction:row!important;justify-content:space-between!important;margin-bottom:5px!important}.payment-info[_ngcontent-%COMP%]   .payment-info-move[_ngcontent-%COMP%]   .payment-info-price[_ngcontent-%COMP%]{text-align:right!important;padding-left:3px}.payment-info[_ngcontent-%COMP%]   .payment-info-move[_ngcontent-%COMP%]   .payment-info-amount[_ngcontent-%COMP%]{font-size:20px;padding:0}.payment-info[_ngcontent-%COMP%]   .payment-info-move[_ngcontent-%COMP%]   .payment-info-amount[_ngcontent-%COMP%]   .currency[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%]   .payment-info-move[_ngcontent-%COMP%]   .payment-info-amount[_ngcontent-%COMP%]   .decimal-digits[_ngcontent-%COMP%]{font-size:20px}.payment-info[_ngcontent-%COMP%]   .payment-info-move[_ngcontent-%COMP%]   .payment-info-total-amount[_ngcontent-%COMP%]{padding-bottom:0;font-size:12px}.payment-info[_ngcontent-%COMP%]   .payment-info-expiry-date[_ngcontent-%COMP%]{color:#ffc159;padding-left:3px}.payment-info[_ngcontent-%COMP%]   .warning[_ngcontent-%COMP%]{color:#c8102e}.payment-info[_ngcontent-%COMP%]   .payment-info-proposal[_ngcontent-%COMP%]{padding:5px 0 0}.payment-info[_ngcontent-%COMP%]   .payment-info-vehicle[_ngcontent-%COMP%]{padding-top:5px}.payment-info[_ngcontent-%COMP%]   .price-type-padding-top[_ngcontent-%COMP%]{padding-top:15px}.payment-info[_ngcontent-%COMP%]   .payment-info-amount[_ngcontent-%COMP%]{font-size:55px;line-height:initial;padding:10px 0 5px}.payment-info[_ngcontent-%COMP%]   .payment-info-amount[_ngcontent-%COMP%]   .currency[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%]   .payment-info-amount[_ngcontent-%COMP%]   .decimal-digits[_ngcontent-%COMP%]{font-size:35px}.payment-info[_ngcontent-%COMP%]   .payment-info-total-amount[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%]   .payment-info-saving[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%]   .payment-info-information-text[_ngcontent-%COMP%]{padding-bottom:10px}.payment-info[_ngcontent-%COMP%]   .payment-info-discounted-price[_ngcontent-%COMP%]{position:relative;color:#b7b7b7}.payment-info[_ngcontent-%COMP%]   .payment-info-discounted-price[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:after{content:"";position:absolute;top:calc(50% - 1px);left:-7px;width:calc(100% + 14px);height:2px;background-color:#4dabff;transform:rotate(-7deg)}.payment-info[_ngcontent-%COMP%]     .button{display:block}.payment-info[_ngcontent-%COMP%]   .payment-info-card[_ngcontent-%COMP%], .payment-info[_ngcontent-%COMP%]   .payment-info-privacy[_ngcontent-%COMP%]{padding-top:10px}.payment-info[_ngcontent-%COMP%]   .payment-info-edit[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding-top:10px}.payment-info[_ngcontent-%COMP%]   conte-dw-badge[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 767px){.payment-info[_ngcontent-%COMP%]{border-radius:0;box-shadow:none;padding:10px 0}}']})}}return Dt})()},39737(ht,L,o){"use strict";o.d(L,{l:()=>B});var t=o(44181),e=o(23321),n=o(37345),c=o(53581),f=o(4130),M=o(71438),m=o(64011),r=o(92278),_=o(98456),g=o(57213),$=o(80226),T=o(51203);let B=(()=>{class A{static{this.\u0275fac=function(k){return new(k||A)}}static{this.\u0275mod=T.$C({type:A})}static{this.\u0275inj=$.G2t({imports:[t.MD,r.Y,f.t,g.f,M.q,n.h,c.Y,e.X1,_.Ze,_.$w,m.E]})}}return A})()},1422(ht,L,o){"use strict";o.d(L,{v:()=>_});var t=o(44181),e=o(81834),n=o(51203);const c=g=>({"w-100":g});function f(g,$){if(1&g&&n.nrm(0,"conte-dw-payment-card-info",2),2&g){const T=n.XpG();n.Y8G("showDescription",!1)("iconCard",T.iconCard)("lastDigits",T.lastDigits)}}function M(g,$){if(1&g&&n.nrm(0,"div",3),2&g){const T=n.XpG();n.Y8G("ngClass",n.eq3(1,c,T.isPaymentInfoCard))}}function m(g,$){if(1&g&&(n.j41(0,"div",4),n.nrm(1,"img",6),n.j41(2,"p",7),n.EFF(3),n.k0s()()),2&g){const T=n.XpG();n.R7$(2),n.Y8G("ngClass",T.isPaymentInfoCard?"caption":"small-body"),n.R7$(),n.Sp
1I(" ",T.paymentSavedText," ")}}function r(g,$){if(1&g&&n.nrm(0,"p",5),2&g){const T=n.XpG();n.Y8G("innerHTML",T.descriptionText,n.npT)}}let _=(()=>{class g{constructor(){this.iconCard="icon-mastercard",this.lastDigits="3511",this.paymentSavedText="Il metodo di pagamento \xe8 stato salvato",this.descriptionText="Potrai riutilizzarlo per <strong> rimborsi </strong> ed eventuali <strong> prossimi pagamenti </strong>. Quando la polizza sar\xe0 emessa, potrai gestire la modalit\xe0 di pagamento in qualsiasi momento attraverso la tua <strong> Area Personale! </strong>",this.isPaymentInfoCard=!1}static{this.\u0275fac=function(B){return new(B||g)}}static{this.\u0275cmp=n.VBU({type:g,selectors:[["conte-dw-payment-saved"]],inputs:{iconCard:"iconCard",lastDigits:"lastDigits",paymentSavedText:"paymentSavedText",descriptionText:"descriptionText",isPaymentInfoCard:"isPaymentInfoCard"},decls:6,vars:5,consts:[[1,"ui-bootstrap"],[1,"payment-saved","d-flex","flex-column","align-items-center",3,"ngClass"],[3,"showDescription","iconCard","lastDigits"],[1,"dw-line","payment-saved__divider",3,"ngClass"],[1,"payment-saved__block-tick","d-flex","align-items-center"],[1,"text-center","caption",3,"innerHTML"],["src","./assets/img/icon-tick.svg",1,"payment-saved__tick"],[1,"light-blue","font-weight-bold",3,"ngClass"]],template:function(B,A){1&B&&(n.j41(0,"div",0)(1,"div",1),n.nVh(2,f,1,3,"conte-dw-payment-card-info",2),n.nVh(3,M,1,3,"div",3),n.nVh(4,m,4,2,"div",4),n.nVh(5,r,1,1,"p",5),n.k0s()()),2&B&&(n.R7$(),n.Y8G("ngClass",A.isPaymentInfoCard?"payment-saved__payment-info-card":"dw-card dw-card-default"),n.R7$(),n.vxM(A.iconCard||A.lastDigits?2:-1),n.R7$(),n.vxM((A.iconCard||A.lastDigits)&&(A.paymentSavedText||A.descriptionText)?3:-1),n.R7$(),n.vxM(A.paymentSavedText?4:-1),n.R7$(),n.vxM(A.descriptionText?5:-1))},dependencies:[t.MD,t.YU,e.S],styles:[".payment-saved[_ngcontent-%COMP%]{padding:15px 180px 30px}.payment-saved__payment-info-card[_ngcontent-%COMP%]{padding:0;margin-top:9px}.payment-saved__divider[_ngcontent-%COMP%]{width:300px}.payment-saved__block-tick[_ngcontent-%COMP%]{margin-bottom:10px}.payment-saved__tick[_ngcontent-%COMP%]{width:18px;margin-right:10px}@media (max-width: 1024px){.payment-saved[_ngcontent-%COMP%]{padding:15px 50px 25px}}@media (max-width: 767px){.payment-saved[_ngcontent-%COMP%]{padding:15px 20px;text-align:center}.payment-saved__divider[_ngcontent-%COMP%]{width:100%}}@media (max-width: 480px){.payment-saved__block-tick[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:12px}}"]})}}return g})()},13811(ht,L,o){"use strict";o.d(L,{Y:()=>$});var t=o(62013),e=o(51203),n=o(44181),c=o(46773),f=o(5787);const M=T=>({"dw-backdrop":T});function m(T,B){if(1&T&&(e.j41(0,"div",20),e.nrm(1,"img",21),e.j41(2,"label"),e.EFF(3),e.k0s()(),e.j41(4,"div",22),e.nrm(5,"img",23),e.j41(6,"label"),e.EFF(7),e.k0s()()),2&T){const A=e.XpG();e.Y8G("@upDownToast",A.toast.showAdd?"open":"closed"),e.R7$(3),e.JRh(A.toast.text),e.R7$(),e.Y8G("@upDownToast",A.toast.showRemove?"open":"closed"),e.R7$(3),e.JRh(A.toast.text)}}function r(T,B){if(1&T&&(e.j41(0,"div",8),e.EFF(1),e.k0s()),2&T){const A=B.$implicit;e.R7$(),e.SpI(" ",A," ")}}function _(T,B){if(1&T&&(e.j41(0,"div",5)(1,"label",6),e.EFF(2),e.k0s(),e.j41(3,"label",7),e.EFF(4),e.nI1(5,"conTeCurrency"),e.k0s()()),2&T){const A=B.$implicit;e.R7$(2),e.JRh(null==A?null:A.label),e.R7$(2),e.JRh(e.brH(5,2,null==A?null:A.value,"1.2-2",!1))}}function g(T,B){if(1&T&&(e.j41(0,"div",5)(1,"label",24),e.EFF(2),e.k0s(),e.j41(3,"label",25),e.EFF(4),e.nI1(5,"conTeCurrency"),e.k0s()()),2&T){const A=B.$implicit;e.R7$(2),e.JRh(null==A?null:A.label),e.R7$(2),e.JRh(e.brH(5,2,null==A?null:A.value,"1.2-2",!1))}}let $=(()=>{class T{constructor(){this.opened=!1,this.nextBtnStatus=!1,this.discountHeading="",this.$clickButton=new e.bkB,this.calculateBadge()}ngOnChanges(){this.calculateBadge()}close(){this.opened=!1}toggle(){this.opened=!this.opened}
1onButtonClick(){this.$clickButton.emit(),this.opened&&this.close()}calculateBadge(){this.badge=this.guarantees?.length>0?this.guarantees?.length+1:1}static{this.\u0275fac=function(I){return new(I||T)}}static{this.\u0275cmp=e.VBU({type:T,selectors:[["conte-dw-price-footer-mobile"]],inputs:{toast:"toast",totalLabel:"totalLabel",opened:"opened",totalPrice:"totalPrice",rca:"rca",guaranteesIncluded:"guaranteesIncluded",guarantees:"guarantees",discounts:"discounts",nextBtnLabel:"nextBtnLabel",nextBtnStatus:"nextBtnStatus",discountHeading:"discountHeading"},outputs:{$clickButton:"$clickButton"},standalone:!1,features:[e.OA$],decls:37,vars:20,consts:[[3,"ngClass"],[1,"items"],[1,"items__arrow",3,"click"],["src","assets/img/icon-arrow-collapse-top.svg"],[1,"items__list"],[1,"items__list-item"],[1,"items__list-item-name"],[1,"items__list-item-price"],[1,"items__list-item-included"],[1,"items__list-item-discount-heading"],[1,"cont"],[1,"cart"],[1,"cart__amount",3,"click"],["src","assets/img/icon-shopping-cart.svg"],[1,"cart__amount-badge"],[1,"cart__price",3,"click"],[1,"cart__price-label"],[1,"cart__price-value"],[1,"cart__button","col-auto"],[1,"button","button-main-lighter","form","full","big-body",3,"$buttonClickOutput","disabled"],[1,"items__toast","add"],["src","assets/img/icon-check-white.svg"],[1,"items__toast","remove"],["src","assets/img/ic_24_trash.svg"],[1,"items__list-item-name","items__list-item-discount"],[1,"items__list-item-price","items__list-item-discount--value"]],template:function(I,C){1&I&&(e.nrm(0,"div",0),e.j41(1,"div",1),e.nVh(2,m,8,4),e.j41(3,"div",2),e.bIt("click",function(){return C.toggle()}),e.nrm(4,"img",3),e.k0s(),e.j41(5,"div",4)(6,"div",5)(7,"label",6),e.EFF(8),e.k0s(),e.j41(9,"label",7),e.EFF(10),e.nI1(11,"conTeCurrency"),e.k0s()(),e.Z7z(12,r,2,1,"div",8,e.fX1),e.Z7z(14,_,6,6,"div",5,e.fX1),e.nrm(16,"hr"),e.j41(17,"span",9),e.EFF(18),e.k0s(),e.Z7z(19,g,6,6,"div",5,e.fX1),e.k0s()(),e.j41(21,"div",10)(22,"div",11)(23,"div",12),e.bIt("click",function(){return C.toggle()}),e.nrm(24,"img",13),e.j41(25,"div",14)(26,"label"),e.EFF(27),e.k0s()()(),e.j41(28,"div",15),e.bIt("click",function(){return C.toggle()}),e.j41(29,"label",16),e.EFF(30),e.k0s(),e.j41(31,"label",17),e.EFF(32),e.nI1(33,"conTeCurrency"),e.k0s()(),e.j41(34,"div",18)(35,"conte-dw-button-form",19),e.bIt("$buttonClickOutput",function(){return C.onButtonClick()}),e.EFF(36),e.k0s()()()()),2&I&&(e.Y8G("ngClass",e.eq3(18,M,C.opened)),e.R7$(),e.Y8G("@openCloseDrawer",C.opened?"open":"closed"),e.R7$(),e.vxM(C.toast?2:-1),e.R7$(2),e.Y8G("@upDownArrow",C.opened?"open":"closed"),e.R7$(4),e.JRh(null==C.rca?null:C.rca.label),e.R7$(2),e.JRh(e.brH(11,12,null==C.rca?null:C.rca.value,"1.2-2",!1)),e.R7$(2),e.Dyx(C.guaranteesIncluded),e.R7$(2),e.Dyx(C.guarantees),e.R7$(4),e.SpI("",C.discountHeading," "),e.R7$(),e.Dyx(C.discounts),e.R7$(8),e.JRh(C.badge),e.R7$(3),e.JRh(C.totalLabel),e.R7$(2),e.JRh(e.bMT(33,16,C.totalPrice)),e.R7$(3),e.Y8G("disabled",C.nextBtnStatus),e.R7$(),e.SpI("",C.nextBtnLabel," "))},dependencies:[n.YU,c.G,f.T],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}*[_ngcontent-%COMP%]{box-sizing:border-box}.cont[_ngcontent-%COMP%]{position:relative;height:auto;width:100%;background-color:#fff;box-shadow:inset 0 1px #e6eef3}.cont[_ngcontent-%COMP%]   .cart[_ngcontent-%COMP%]{position:fixed;bottom:0;z-index:3;display:flex;flex-direction:row;justify-content:center;align-items:center;height:84px;width:100%;background-color:#fff}.cont[_ngcontent-%COMP%]   .cart__button[_ngcontent-%COMP%]   conte-dw-button-form[_ngcontent-%COMP%]{min-width:132px}.cont[_ngcontent-%COMP%]   .cart__amount[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;min-width:48px;min-height:48px;padding:16px 15px 8px 9px;margin:18px 8px 18px 16px;border-radius:10px;background-color:#f2f6f9}.cont[_ngcontent-%COMP%]   .cart__amount-badge[_ngcontent-%COMP%]{position:absolute;top:9px;right:5px;display:flex;justify-content:center;align-items:center;height:20px;width:20px;padding:0 5px 0 4px;border:solid 2px #f2f6f9;border-radius:100%;background-color:#4dabff}.cont[_ngcontent-%COMP%]   .cart__amount-badge[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:10px;font-weight:900;line-height:140%;text-align:center;color:#fff}
1.cont[_ngcontent-%COMP%]   .cart__amount[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:24px;height:24px}.cont[_ngcontent-%COMP%]   .cart__price[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%}.cont[_ngcontent-%COMP%]   .cart__price-label[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:14px;font-weight:700;line-height:160%;text-align:left;color:#6699ba}.cont[_ngcontent-%COMP%]   .cart__price-value[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:24px;font-weight:700;line-height:140%;text-align:left;color:#484848}.cont[_ngcontent-%COMP%]   .cart__button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-right:6px}.items[_ngcontent-%COMP%]{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;padding:0;background-color:#fff;box-shadow:0 0 12px 2px #09458514}.items[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{color:#e6eef3;border-top:1px solid #e6eef3;width:calc(100% + 32px);margin-left:-16px}.items__toast[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;gap:16px;padding:8px 16px;height:38px;z-index:-1}.items__toast.add[_ngcontent-%COMP%]{color:#fff;background-color:#50bf4d}.items__toast.remove[_ngcontent-%COMP%]{color:#fff;background-color:#c8102e}.items__arrow[_ngcontent-%COMP%]{width:100%;text-align:center;background-color:#fff;border-top:1px solid #e6eef3}.items__list[_ngcontent-%COMP%]{height:auto;width:100%;padding:0 20px 16px;border-bottom:1px solid #e6eef3;background-color:#fff}.items__list-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:4px;margin-top:12px}.items__list-item-name[_ngcontent-%COMP%], .items__list-item-price[_ngcontent-%COMP%], .items__list-item-included[_ngcontent-%COMP%]{font-family:Lato,sans-serif;font-size:16px;line-height:160%;text-align:left;color:#484848}.items__list-item-price[_ngcontent-%COMP%]{font-weight:700;text-align:right}.items__list-item-discount[_ngcontent-%COMP%]{color:#484848}.items__list-item-discount--value[_ngcontent-%COMP%]{color:#50bf4d}.items__list-item-discount-heading[_ngcontent-%COMP%]{font-size:16px;font-weight:700;color:#50bf4d;margin-top:8px}.items__list-item-included[_ngcontent-%COMP%]{font-size:14px;line-height:160%;color:#8a8a8a}"],data:{animation:[(0,t.hZ)("openCloseDrawer",[(0,t.wk)("open",(0,t.iF)({"transition-timing-function":"ease-in",transform:"translateY(0) translateY(-84px)",height:"100%"})),(0,t.wk)("closed",(0,t.iF)({"transition-timing-function":"ease-out",transform:"translateY(100%) translateY(-102px)",height:0})),(0,t.kY)("open <=> closed",[(0,t.i0)("0.3s")])]),(0,t.hZ)("upDownArrow",[(0,t.wk)("open",(0,t.iF)({transition:"transform  0.3s ease",transform:"rotate(180deg)"})),(0,t.wk)("closed",(0,t.iF)({"transition-timing-function":"ease",transform:"rotate(0deg)"})),(0,t.kY)("closed <=> open",[(0,t.i0)("0.3s")])]),(0,t.hZ)("upDownToast",[(0,t.wk)("open",(0,t.iF)({"transition-timing-function":"ease-out",opacity:1,transform:"translateY(-38px)"})),(0,t.wk)("closed",(0,t.iF)({"transition-timing-function":"ease-in",opacity:0,transform:"translateY(0)"})),(0,t.kY)("open <=> closed",[(0,t.i0)("0.3s")])])]}})}}return T})()},94343(ht,L,o){"use strict";o.d(L,{t:()=>C});var t=o(51203),e=o(75089),n=o(80226),c=o(44181);const f=(k,s,l,E,p,h,w)=>({"d-flex flex-column col p-0 progress-bar__step-container":!0,"progress-bar__step-container--first":k,"progress-bar__step-container--last":s,"progress-bar__step-container--current":l,"progress-bar__step-container--visited":E,"progress-bar__step-container--completed":p,"progress-bar__step-container--middle-current":h,"progress-bar__step-container--middle-completed":w}),M=k=>({width:k}),m=(k,s,l,E,p,h,w)=>({"progress-bar__step-circle--first":k,"progress-bar__step-circle--last":s,"progress-bar__step-circle--last--current":l,"progress-bar__step-circle--last--completed":E,"progress-bar__step-circle progress-bar__step-circle--single":!0,"progress-bar__step-circle--check":p,"progress-bar__step-circle--not-current-not-last":h,"progress-bar__step-circle--clickable":w}),r=(k,s)=>({"progress-bar__step-circle progress-bar__step-circle--middle-step":!0,"progress-bar__step-circle--middle-step-check":k,"progress-bar__step-circle--clickable":s}),_=(k,s,l,E,p)=>({"d-none d-md-1-block":k,"progress-bar__step-label--clickable":s,"progress-bar__step-label--last":l,"progress-bar__step-label--middle":E,"progress-bar__step-label--middle-not-current":p});function g(k,s){1&k&&t.nrm(0,"div",5)}function $(k,s){if(1&k){const l=t.RV6();t.nrm(0,"div",6),t.j41(1,"div",3),t.bIt("click",function(){n.eBV(l);
1const p=t.XpG(2),h=p.$implicit,w=p.$index,z=t.XpG();return n.Njj(z.onStepClick(w,h.status,h.code,!0))}),t.k0s(),t.nrm(2,"div",7)}if(2&k){const l=t.XpG(2).$implicit,E=t.XpG();t.R7$(),t.Y8G("ngClass",t.l_i(1,r,"checked"===l.middleStep.status,E.shouldBeClickable&&"disabled"!==l.status))}}function T(k,s){if(1&k&&(t.nVh(0,g,1,0,"div",5),t.nVh(1,$,3,4)),2&k){const l=t.XpG().$implicit;t.vxM(l.middleStep?-1:0),t.R7$(),t.vxM(l.middleStep?1:-1)}}function B(k,s){if(1&k){const l=t.RV6();t.j41(0,"span",8),t.bIt("click",function(){n.eBV(l);const p=t.XpG(),h=p.$implicit,w=p.$index,z=t.XpG();return n.Njj(z.onStepLabelClick(w,h.status,h.code,h.middleStep))}),t.EFF(1),t.k0s()}if(2&k){const l=t.XpG(),E=l.$implicit,p=l.$index,h=l.$count,w=t.XpG();t.Y8G("ngClass",t.s1E(2,_,!1===w.showLabelMobile,w.shouldBeClickable&&w.clickableLabels&&"disabled"!==E.status,p===h-1,p===w.getMiddleIndex()&&"current"===E.status,p===w.getMiddleIndex()&&"current"!==E.status||0!==p&&p!==h-1&&p!==w.getMiddleIndex())),t.R7$(),t.SpI(" ",E.label," ")}}function A(k,s){if(1&k){const l=t.RV6();t.j41(0,"li",2)(1,"div",3),t.bIt("click",function(){const p=n.eBV(l),h=p.$implicit,w=p.$index,z=t.XpG();return n.Njj(z.onStepClick(w,h.status,h.code))}),t.k0s(),t.nVh(2,T,2,2),t.nVh(3,B,2,8,"span",4),t.k0s()}if(2&k){const l=s.$implicit,E=s.$index,p=s.$count,h=t.XpG();t.Y8G("ngClass",t.sGs(5,f,0===E,E===p-1,"current"===l.status,"visited"===l.status,"completed"===l.status||"checked"===l.status,"current"===(null==l.middleStep?null:l.middleStep.status),"completed"===(null==l.middleStep?null:l.middleStep.status)||"checked"===(null==l.middleStep?null:l.middleStep.status)))("ngStyle",t.eq3(13,M,100/(h.stepList.length-1)/(0===E||E===p-1?2:1)+"%")),t.R7$(),t.Y8G("ngClass",t.sGs(15,m,0===E,E===p-1,E===p-1&&"current"==l.status,E===p-1&&"completed"==l.status,"checked"===l.status,"current"!==l.status&&E!==p-1,h.shouldBeClickable&&"disabled"!==l.status)),t.R7$(),t.vxM(0!==E?2:-1),t.R7$(),t.vxM(l.label?3:-1)}}var I=function(k){return k.Default="default",k.Compact="compact",k}(I||{});let C=(()=>{class k{constructor(){this.StepperStyleOptions=I,this.stepperStyle=I.Default,this.showLabelMobile=!1,this.shouldBeClickable=!0,this.clickableLabels=!1,this.$stepClick=new t.bkB}set stepList(l){l&&(this._stepList=l.filter(E=>!E.isHidden))}get stepList(){return this._stepList}getMiddleIndex(){return 2===this.stepList.length?null:Math.floor((this.stepList.length-1)/2)}onStepClick(l,E,p,h){this.shouldBeClickable&&E!==e.B6z.Disabled&&this.$stepClick.emit({stepId:l,stepCode:p,isMiddleStep:h,stepStatus:E})}onStepLabelClick(l,E,p,h){this.shouldBeClickable&&this.clickableLabels&&E!==e.B6z.Disabled&&this.$stepClick.emit({stepId:l,stepCode:p,isMiddleStep:h,stepStatus:E})}static{this.\u0275fac=function(E){return new(E||k)}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["conte-dw-stepper-progress-bar"]],inputs:{stepList:"stepList",stepperStyle:"stepperStyle",showLabelMobile:"showLabelMobile",shouldBeClickable:"shouldBeClickable",clickableLabels:"clickableLabels"},outputs:{$stepClick:"$stepClick"},standalone:!1,decls:4,vars:2,consts:[[1,"ui-bootstrap"],["aria-label","Stepper con indicazione del progresso",1,"row","m-0","progress-bar__container"],[3,"ngClass","ngStyle"],[3,"click","ngClass"],[1,"progress-bar__step-label",3,"ngClass"],[1,"progress-bar__step-line","progress-bar__step-line--single"],[1,"progress-bar__step-line","progress-bar__step-line--first"],[1,"progress-bar__step-line","progress-bar__step-line--last"],[1,"progress-bar__step-label",3,"click","ngClass"]],template:function(E,p){1&E&&(t.j41(0,"div",0)(1,"ul",1),t.Z7z(2,A,4,23,"li",2,t.fX1),t.k0s()()),2&E&&(t.R7$(),t.AVh("--compact-view",p.stepperStyle===p.StepperStyleOptions.Compact),t.R7$(),t.Dyx(p.stepList))},dependencies:[c.YU,c.B3],styles:[".progress-bar__container[_ngcontent-%COMP%]{position:relative;z-index:var(--stepper-progress-bar-z-index)}.progress-bar__container.--compact-view[_ngcontent-%COMP%]{--stepper-progress-bar-completed-color: linear-gradient(to top, #4dabff, #198df5);--stepper-progress-bar-current-color: linear-gradient(to top, #4dabff, #198df5);--stepper-progress-bar-current-border: 1px;--stepper-progress-bar-visited-color: linear-gradient(to top, #4dabff, #198df5);--stepper-progress-bar-visited-border: 1px solid;--stepper-progress-bar-current-circle-color: linear-gradient(to top, #4dabff, #198df5);--stepper-progress-bar-current-circle-border: 1px;--stepper-circle-not-current-not-last-z-index: -1;--stepper-circle-not-current-not-last-mobile-display: none;--stepper-circle-last-not-current-background-color: #ffffff;--stepper-circle-box-shadow: 0px 0px 8px rgba(0, 0, 0, .1);--stepper-circle-width: 8px;--stepper-circle-height: 8px;--stepper-circle-margin: 8px 0 8px;--stepper-label-color: #00558c;--stepper-label-display-mobile: none;--stepper-label-middle-display-mobile: block;--stepper-label-white-space: nowrap;--stepper-label-middle-not-current-display-desktop: none;--stepper-label-font-size-xl: 14px}@media (min-width: 768px){.progress-bar__container.--compact-view[_ngcontent-%COMP%]{--stepper-circle-margin: 9.5px 0 -30px;--stepper-step-line-position-top: 12.5px;--stepper-label-position: static}}.progress-bar__step-container[_ngcontent-%COMP%]{position:relative;align-items:center}.progress-bar__step-container--first[_ngcontent-%COMP%], .progress-bar__step-container--last[_ngcontent-%COMP%]{flex-grow:var(--stepper-progress-bar-line-flex-grow, .5)}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-line[_ngcontent-%COMP%], .progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-line[_ngcontent-%COMP%]{width:100%}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-line--single[_ngcontent-%COMP%], .progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-line--single[_ngcontent-%COMP%]{width:var(--stepper-progress-bar-line-width, 200%);right:var(--stepper-progress-bar-line-right, 0%)}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-line--first[_ngcontent-%COMP%], .progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-line--first[_ngcontent-%COMP%]{right:100%}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-line--last[_ngcontent-%COMP%], .progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-line--last[_ngcontent-%COMP%]{right:0%}.progress-bar__step-container--first[_ngcontent-%COMP%]{margin-left:var(--stepper-progress-bar-first-ml, 11.5px);align-items:var(--stepper-progress-bar-first-align, flex-start)}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-circle--single[_ngcontent-%COMP%], .progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{position:relative;
1left:var(--stepper-progress-bar-first-circle-left, -6px)}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-circle--check[_ngcontent-%COMP%]{left:var(--stepper-progress-bar-first-circle-check-left, -11.5px)}.progress-bar__step-container--first[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{text-align:var(--stepper-progress-bar-first-label-text-align, start)}.progress-bar__step-container--last[_ngcontent-%COMP%]{margin-right:var(--stepper-progress-bar-last-mr, 11.5px);align-items:var(--stepper-progress-bar-last-align, flex-end)}.progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-circle--single[_ngcontent-%COMP%], .progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{position:relative;left:var(--stepper-progress-bar-last-circle-left, 6px)}.progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-circle--check[_ngcontent-%COMP%]{left:var(--stepper-progress-bar-last-circle-check-left, 11.5px)}.progress-bar__step-container--last[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{text-align:var(--stepper-progress-bar-last-label-text-align, end)}.progress-bar__step-container--visited[_ngcontent-%COMP%]   .progress-bar__step-line--single[_ngcontent-%COMP%], .progress-bar__step-container--visited[_ngcontent-%COMP%]   .progress-bar__step-line--last[_ngcontent-%COMP%]{border:var(--stepper-progress-bar-visited-border, 1px solid #50bf4d);background:var(--stepper-progress-bar-visited-color, #50bf4d)}.progress-bar__step-container--visited[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{color:#00558c}.progress-bar__step-container--current[_ngcontent-%COMP%]   .progress-bar__step-circle--single[_ngcontent-%COMP%]{background:var(--stepper-progress-bar-current-circle-color, #ffffff);border:var(--stepper-progress-bar-current-circle-border, 2px solid #00558c)}.progress-bar__step-container--current[_ngcontent-%COMP%]   .progress-bar__step-line--single[_ngcontent-%COMP%], .progress-bar__step-container--current[_ngcontent-%COMP%]   .progress-bar__step-line--last[_ngcontent-%COMP%]{border:var(--stepper-progress-bar-current-border, 1px solid #50bf4d);background:var(--stepper-progress-bar-current-color, #50bf4d)}.progress-bar__step-container--current[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{color:var(--stepper-progress-bar-current-label-color, #00558c)}.progress-bar__step-container--completed[_ngcontent-%COMP%]   .progress-bar__step-circle--single[_ngcontent-%COMP%], .progress-bar__step-container--completed[_ngcontent-%COMP%]   .progress-bar__step-line--single[_ngcontent-%COMP%], .progress-bar__step-container--completed[_ngcontent-%COMP%]   .progress-bar__step-line--last[_ngcontent-%COMP%]{background:var(--stepper-progress-bar-completed-color, #50bf4d)}.progress-bar__step-container--completed[_ngcontent-%COMP%]   .progress-bar__step-label[_ngcontent-%COMP%]{color:var(--stepper-label-color, #50bf4d);position:var(--stepper-label-position, relative)}.progress-bar__step-container--middle-current[_ngcontent-%COMP%]   .progress-bar__step-circle--middle-step[_ngcontent-%COMP%], .progress-bar__step-container--middle-current[_ngcontent-%COMP%]   .progress-bar__step-line--first[_ngcontent-%COMP%]{background-color:#4dabff}.progress-bar__step-container--middle-completed[_ngcontent-%COMP%]   .progress-bar__step-circle--middle-step[_ngcontent-%COMP%], .progress-bar__step-container--middle-completed[_ngcontent-%COMP%]   .progress-bar__step-line--first[_ngcontent-%COMP%]{background-color:#00558c}.progress-bar__step-circle[_ngcontent-%COMP%]{margin:var(--stepper-circle-margin, 5.5px 0 13px);width:var(--stepper-circle-width, 12px);height:var(--stepper-circle-height, 12px);border-radius:50%;background-color:var(--stepper-circle-background-color, #ccdde8);transition:background-color .5s ease;z-index:var(--stepper-circle-z-index, 1);box-shadow:var(--stepper-circle-box-shadow)}.progress-bar__step-circle.progress-bar__step-circle--not-current-not-last[_ngcontent-%COMP%]{z-index:var(--stepper-circle-not-current-not-last-z-index, 1)}@media (max-width: 640px){.progress-bar__step-circle.progress-bar__step-circle--not-current-not-last[_ngcontent-%COMP%]{display:var(--stepper-circle-not-current-not-last-mobile-display, block)}}.progress-bar__step-circle.progress-bar__step-circle--last[_ngcontent-%COMP%]:not(.progress-bar__step-circle--last--current):not(.progress-bar__step-circle--last--completed){background:var(--stepper-circle-last-not-current-background-color, #ccdde8)}.progress-bar__step-circle--clickable[_ngcontent-%COMP%]{cursor:pointer}.progress-bar__step-circle--check[_ngcontent-%COMP%]{margin-top:0;margin-bottom:7.5px;width:23px;height:23px;padding:3px;color:#fff;content:url(assets/img/special-check-white.svg)}.progress-bar__step-circle--middle-step[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 6px)}@media (max-width: 480px){.progress-bar__step-circle--middle-step-check[_ngcontent-%COMP%]{right:calc(100% - 11.5px);margin-top:0;margin-bottom:7.5px;width:23px;height:23px;padding:3px;color:#fff;content:url(assets/img/special-check-white.svg)}}.progress-bar__step-line[_ngcontent-%COMP%]{position:absolute;
1top:var(--stepper-step-line-position-top, 10.5px);width:50%;height:2px;background-color:var(--stepper-step-line-background-color, #ccdde8);transition:background-color .5s ease}.progress-bar__step-line--single[_ngcontent-%COMP%]{width:100%;right:50%}.progress-bar__step-line--first[_ngcontent-%COMP%]{right:100%}.progress-bar__step-line--last[_ngcontent-%COMP%]{right:50%}.progress-bar__step-label[_ngcontent-%COMP%]{text-align:center;color:var(--stepper-step-label-color, #ccdde8);font-family:Lato,sans-serif;font-weight:700;font-size:14px;line-height:160%;transition:color .5s ease;cursor:default;white-space:var(--stepper-label-white-space, pre-line)}@media (max-width: 1140px){.progress-bar__step-label[_ngcontent-%COMP%]{font-size:var(--stepper-label-font-size-xl, 12px)}}@media (max-width: 768px){.progress-bar__step-label[_ngcontent-%COMP%]{font-size:10px}}.progress-bar__step-label--clickable[_ngcontent-%COMP%]{cursor:pointer}@media (max-width: 768px){.progress-bar__step-label[_ngcontent-%COMP%]{display:var(--stepper-label-display-mobile, block)}.progress-bar__step-label.progress-bar__step-label--middle[_ngcontent-%COMP%]{display:var(--stepper-label-middle-display-mobile)}}@media (min-width: 768px){.progress-bar__step-label[_ngcontent-%COMP%]{display:block}.progress-bar__step-label.progress-bar__step-label--middle-not-current[_ngcontent-%COMP%]{display:var(--stepper-label-middle-not-current-display-desktop, block)}}"]})}}return k})()},66104(ht,L,o){"use strict";o.d(L,{jI:()=>e,xl:()=>f.x});const e={toastMessageStyle:"blue",iconSrc:"icon-info-fill",text:""};var f=o(29082);o(94794)},92859(ht,L,o){"use strict";o.d(L,{Y:()=>A});var t=o(51203),e=o(94794),n=o(80226),c=o(44181),f=o(19699),M=o(62727);const m=I=>({"toast-message-background":I});function r(I,C){if(1&I&&t.nrm(0,"img",6),2&I){const k=t.XpG();t.Y8G("src","./assets/img/"+k.iconSrc+".svg",t.B4B)("alt",k.iconAltText)}}function _(I,C){if(1&I&&t.nrm(0,"p",8),2&I){const k=t.XpG();t.Y8G("innerHTML",k.title,t.npT)}}function g(I,C){if(1&I){const k=t.RV6();t.j41(0,"u",15),t.bIt("click",function(){n.eBV(k);const l=t.XpG();return n.Njj(l.onInlineLinkClick())}),t.EFF(1),t.k0s()}if(2&I){const k=t.XpG();t.R7$(),t.JRh(k.inlineLink)}}function $(I,C){if(1&I){const k=t.RV6();t.j41(0,"div",12)(1,"conte-dw-button",16),t.bIt("$buttonClickOutput",function(){n.eBV(k);const l=t.XpG();return n.Njj(l.onLinkClick())}),t.EFF(2),t.k0s()()}if(2&I){const k=t.XpG();t.R7$(2),t.JRh(k.link)}}function T(I,C){if(1&I){const k=t.RV6();t.j41(0,"div",13)(1,"conte-dw-button",17),t.bIt("$buttonClickOutput",function(){n.eBV(k);const l=t.XpG();return n.Njj(l.onCloseToastMessage())}),t.k0s()()}if(2&I){const k=t.XpG();t.R7$(),t.HbH(k.iconCloseClass),t.Y8G("imgSrc","./assets/img/"+k.iconCloseSrc+".svg")("text",!1)("imgAltText",k.iconCloseAltText)}}function B(I,C){if(1&I){const k=t.RV6();t.j41(0,"div",14)(1,"conte-dw-button",18),t.bIt("$buttonClickOutput",function(){n.eBV(k);const l=t.XpG();return n.Njj(l.onButtonClick())}),t.EFF(2),t.k0s()()}if(2&I){const k=t.XpG();t.R7$(2),t.JRh(k.buttonText)}}let A=(()=>{class I{constructor(){this.id="toast-message",this.toastMessageStyle="",this.iconSrc="",this.iconAltText="",this.title="",this.text="",this.inlineLink="",this.link="",this.iconCloseSrc="",this.iconCloseAltText="Chiudi",this.iconCloseClass="button",this.showButton=!1,this.buttonText="",this.centerAlignContent=!0,this.$linkClickOutput=new t.bkB,this.$closeButtonClickOutput=new t.bkB,this.$buttonClickOutput=new t.bkB,this.$inlineLinkClickOutput=new t.bkB,this.$outsideClickOutput=new t.bkB,this.$closeOutput=new t.bkB,this.$toastClickOutput=new t.bkB}set mobileCloseDelayTime(k){k&&(0,e.F)()&&(this._mobileCloseDelayTime=setTimeout(()=>{this.$closeOutput.emit(!0)},k))}cancelCloseDelayTimeout(){this._mobileCloseDelayTime&&clearTimeout(this._mobileCloseDelayTime)}onLinkClick(k){this.$linkClickOutput.emit(k)}onCloseToastMessage(k){this.$closeButtonClickOutput.emit(k),this.cancelCloseDelayTimeout()}onInlineLinkClick(k){this.$inlineLinkClickOutput.emit(k)}onButtonClick(k){this.$buttonClickOutput.emit(k)}onOutsideClick(k){this.$outsideClickOutput.emit(k),this.cancelCloseDelayTimeout()}onToastClick(){this.$toastClickOutput.emit()}static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275cmp=t.VBU({type:I,selectors:[["conte-dw-toast-message"]],inputs:{id:"id",toastMessageStyle:"toastMessageStyle",iconSrc:"iconSrc",
1iconAltText:"iconAltText",title:"title",text:"text",inlineLink:"inlineLink",link:"link",iconCloseSrc:"iconCloseSrc",iconCloseAltText:"iconCloseAltText",iconCloseClass:"iconCloseClass",isModalBehavior:"isModalBehavior",showButton:"showButton",buttonText:"buttonText",centerAlignContent:"centerAlignContent",mobileCloseDelayTime:"mobileCloseDelayTime"},outputs:{$linkClickOutput:"$linkClickOutput",$closeButtonClickOutput:"$closeButtonClickOutput",$buttonClickOutput:"$buttonClickOutput",$inlineLinkClickOutput:"$inlineLinkClickOutput",$outsideClickOutput:"$outsideClickOutput",$closeOutput:"$closeOutput",$toastClickOutput:"$toastClickOutput"},standalone:!1,decls:15,vars:17,consts:[["background",""],[1,"ui-bootstrap",3,"id"],[3,"ngClass"],["conteDwOutsideClick","",1,"toast-message",3,"$outsideClick","click","ngClass","context"],[1,"row","toast-message__container"],[1,"col","p-0","toast-message-icon-text","d-flex"],[1,"toast-message-icon",3,"src","alt"],[1,"toast-message-text"],[1,"toast-message-title","font-weight-bold",3,"innerHTML"],[1,"toast-message-text","text"],[3,"innerHTML"],["id","toast-message-inline-link",1,"link"],[1,"toast-message-link"],[1,"col-auto","pr-0","toast-message-close"],[1,"toast-message-button","text-center"],["id","toast-message-inline-link",1,"link",3,"click"],["id","toast-message-link",1,"link","little-link",3,"$buttonClickOutput"],["id","toast-message-icon-close",3,"$buttonClickOutput","imgSrc","text","imgAltText"],["id","toast-message-button",1,"button","button-primary",3,"$buttonClickOutput"]],template:function(s,l){if(1&s){const E=t.RV6();t.j41(0,"div",1)(1,"div",2,0)(3,"div",3),t.bIt("$outsideClick",function(h){return n.eBV(E),n.Njj(l.onOutsideClick(h))})("click",function(){return n.eBV(E),n.Njj(l.onToastClick())}),t.j41(4,"div",4)(5,"div",5),t.nVh(6,r,1,2,"img",6),t.j41(7,"div",7),t.nVh(8,_,1,1,"p",8),t.j41(9,"p",9),t.nrm(10,"span",10),t.nVh(11,g,2,1,"u",11),t.k0s(),t.nVh(12,$,3,1,"div",12),t.k0s()(),t.nVh(13,T,2,5,"div",13),t.k0s(),t.nVh(14,B,3,1,"div",14),t.k0s()()()}if(2&s){const E=t.sdS(2);t.Y8G("id",l.id),t.R7$(),t.Y8G("ngClass",t.eq3(15,m,l.isModalBehavior)),t.R7$(2),t.Y8G("ngClass",l.toastMessageStyle)("@.disabled",!l.isModalBehavior)("@inOutAnimation",void 0)("context",E),t.R7$(2),t.AVh("align-items-center",l.centerAlignContent),t.R7$(),t.vxM(l.iconSrc?6:-1),t.R7$(2),t.vxM(l.title?8:-1),t.R7$(2),t.Y8G("innerHTML",l.text,t.npT),t.R7$(),t.vxM(l.inlineLink?11:-1),t.R7$(),t.vxM(l.link?12:-1),t.R7$(),t.vxM(l.iconCloseSrc?13:-1),t.R7$(),t.vxM(l.showButton?14:-1)}},dependencies:[c.YU,f.Q,M.n],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.close-button[_ngcontent-%COMP%]{background:transparent;border:none;padding:0;margin:0;cursor:pointer;line-height:1}.close-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block}.link[_ngcontent-%COMP%]{color:var(--toast-message-link-color)}.toast-message[_ngcontent-%COMP%]{padding:15px 18px;border-radius:10px}.toast-message__container[_ngcontent-%COMP%]{max-width:var(--toast-message-max-width, 1200px)!important;display:flex;justify-content:flex-start;align-items:var(--toast-message-align-items, center);margin:0}.toast-message[_ngcontent-%COMP%]   .toast-message-icon-text[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:15px}.toast-message[_ngcontent-%COMP%]   .toast-message-link[_ngcontent-%COMP%]{padding-top:5px}.toast-message[_ngcontent-%COMP%]   .toast-message-close[_ngcontent-%COMP%]{flex-shrink:0;padding-left:10px}.toast-message[_ngcontent-%COMP%]   .toast-message-button[_ngcontent-%COMP%]{padding-top:20px}.toast-message[_ngcontent-%COMP%]   .toast-message-text.text[_ngcontent-%COMP%]{font-size:var(--toast-message-text-font-size, 14px);line-height:var(--toast-message-text-line-height, 160%);padding:var(--toast-message-text-padding)}.toast-message[_ngcontent-%COMP%]   u[_ngcontent-%COMP%]{cursor:pointer;font-weight:700}@media (max-width: 480px){.toast-message[_ngcontent-%COMP%]   .toast-message-icon-text[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:10px}}.text-caption[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{font-size:12px}.text-bold[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{font-weight:700}.text-grey[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#646464}.red[_ngcontent-%COMP%]{background-color:#f9e7ea}.red.title-red[_ngcontent-%COMP%]   .toast-message-title[_ngcontent-%COMP%], .red.text-red[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#c8102e}.red.link-red[_ngcontent-%COMP%]   .toast-message-link[_ngcontent-%COMP%]     .link{color:#c8102e}.dark-red[_ngcontent-%COMP%]{background-color:#c8102e}.dark-red.title-red[_ngcontent-%COMP%]   .toast-message-title[_ngcontent-%COMP%]{color:#c8102e}.dark-red.text-white[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#fff;font-weight:700}.dark-red.link-red[_ngcontent-%COMP%]   .toast-message-link[_ngcontent-%COMP%]     .link{color:#c8102e}.green[_ngcontent-%COMP%]{background-color:#dbefda}.green.text-green[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#4ab047}.valid-green[_ngcontent-%COMP%]{background-color:var(--valid-green-background, #006900)}.valid-green.text-white[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#fff;font-weight:700}.blue[_ngcontent-%COMP%]{background-color:#e6eef3}.blue.title-blue[_ngcontent-%COMP%]   .toast-message-title[_ngcontent-%COMP%]{color:#00558c}.dark-blue[_ngcontent-%COMP%]{background-color:#00558c}.dark-blue.text-dark-blue[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#ccdde8;line-height:20px}.orange[_ngcontent-%COMP%]{background-color:#ffe6bd}.orange.text-orange[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{color:#e89f27}.orange.link-grey[_ngcontent-%COMP%]   .toast-message-link[_ngcontent-%COMP%]     .link{color:#484848}.reset-radius[_ngcontent-%COMP%]{border-radius:0}.reset-margin[_ngcontent-%COMP%]{margin:0}.space-between[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{justify-content:space-between;max-width:1200px;margin:0 auto}.big-padding[_ngcontent-%COMP%]{padding:var(--big-padding, 8px 20px)}@media (min-width: 1024px){.big-padding[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}.set-width[_ngcontent-%COMP%]{width:100%;border-radius:0}.set-width[_ngcontent-%COMP%]   .justify-content-between[_ngcontent-%COMP%]{justify-content:center!important}.set-width.toast-message[_ngcontent-%COMP%]{padding:5px 10px!important}.toast-message.toast-variant-info-box[_ngcontent-%COMP%]{padding:16px}.toast-message.toast-variant-info-box[_ngcontent-%COMP%]   .toast-message__container[_ngcontent-%COMP%], .toast-message.toast-variant-info-box[_ngcontent-%COMP%]   .toast-message-icon-text[_ngcontent-%COMP%]{align-items:flex-start}.toast-message.toast-variant-info-box[_ngcontent-%COMP%]   .toast-message-icon[_ngcontent-%COMP%]{display:block}.text-align-left[_ngcontent-%COMP%]   .toast-message-text[_ngcontent-%COMP%]{text-align:left}@media (max-width: 767px){.toast-message-background[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:3;display:flex;flex-direction:column;background-color:#00000080;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:_ngcontent-%COMP%_show .5s ease-in-out;-webkit-animation:_ngcontent-%COMP%_show .5s ease-in-out;-moz-animation:show .5s ease-in-out;-o-animation:show .5s ease-in-out;transition:all .5s ease-in-out;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;overflow-y:auto;width:100%;height:100%;padding:30px 15px;z-index:1031}.toast-message-background[_ngcontent-%COMP%]   .toast-message[_ngcontent-%COMP%]{position:fixed;bottom:84px;z-index:1030;margin:24px}.toast-message[_ngcontent-%COMP%]{margin:var(--toast-message-margin-mobile, 0 20px)}.reset-margin[_ngcontent-%COMP%]{margin:0}}"],data:{animation:(0,e.Y)()}})}}return I})()},29082(ht,L,o){"use strict";o.d(L,{x:()=>M});var t=o(44181),e=o(83624),n=o(4130),c=o(80226),f=o(51203);let M=(()=>{class m{static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275mod=f.$C({type:m})}static{this.\u0275inj=c.G2t({imports:[t.MD,n.t,e.a]})}}return m})()},94794(ht,L,o){"use strict";o.d(L,{F:()=>c,Y:()=>f});var t=o(62013);const e=[(0,t.hZ)("inOutAnimation",[(0,t.kY)(":enter",[(0,t.iF)({bottom:0,opacity:0}
1),(0,t.i0)("1s ease-out",(0,t.iF)({bottom:84,opacity:1}))]),(0,t.kY)(":leave",[(0,t.iF)({bottom:84,opacity:1}),(0,t.i0)("1s ease-in",(0,t.iF)({bottom:0,opacity:0}))])])],n=[(0,t.hZ)("inOutAnimation",[(0,t.kY)(":enter",[(0,t.iF)({opacity:0}),(0,t.i0)("1s ease-out",(0,t.iF)({opacity:1}))]),(0,t.kY)(":leave",[(0,t.iF)({opacity:1}),(0,t.i0)("1s ease-in",(0,t.iF)({opacity:0}))])])],c=()=>{let M;return"function"==typeof window.matchMedia&&(M=window.matchMedia("(max-width: 767px)").matches),M},f=()=>c()?e:n},52302(ht,L,o){"use strict";o.d(L,{d:()=>I});var t=o(44181),e=o(51203),n=o(80226);const c=["track"],f=["*"];let M=(()=>{class C{constructor(){this.el=(0,n.WQX)(e.aKT),this.renderer=(0,n.WQX)(e.sFG),this.init=!0,this.sliderProgress=new e.bkB,this.activeIndex=0,this.transform="translate3d(0px, 0px, 0px)",this.transition="",this.options={},this.slides=[],this.isDragging=!1,this.startX=0,this.currentX=0,this.startTranslate=0,this.currentTranslate=0,this.animationID=0,this.onTouchStart=s=>{this.startDrag(s.touches[0].clientX)},this.onTouchMove=s=>{this.isDragging&&this.drag(s.touches[0].clientX)},this.onTouchEnd=()=>{this.endDrag()},this.onMouseDown=s=>{this.startDrag(s.clientX)},this.onMouseMove=s=>{this.isDragging&&this.drag(s.clientX)},this.onMouseUp=()=>{this.endDrag()},this.onMouseLeave=()=>{this.isDragging&&this.endDrag()}}get slider(){return this}ngAfterViewInit(){"false"!==this.init&&!1!==this.init&&this.initialize()}ngOnDestroy(){this.resizeObserver&&this.resizeObserver.disconnect(),this.removeEventListeners()}initialize(){this.updateSlides(),this.setupEventListeners(),this.updateSlidePositions(),this.options.resizeObserver&&this.setupResizeObserver(),void 0!==this.options.initialSlide&&this.slideTo(this.options.initialSlide,0)}slideTo(s,l=this.options.speed||300){this.activeIndex=Math.max(0,Math.min(s,this.slides.length-1));const p=this.getSlideWidth();let w=-this.activeIndex*(p+(this.options.spaceBetween||0));this.options.centeredSlides&&(w+=(this.el.nativeElement.offsetWidth-p)/2),this.options.slidesOffsetBefore&&(w+=this.options.slidesOffsetBefore),this.currentTranslate=w,this.setTransition(l),this.setTransform(w),setTimeout(()=>{this.sliderProgress.emit({detail:[this]})},0)}slidesPerViewDynamic(){const s=this.options.slidesPerView;if("auto"===s){const l=this.el.nativeElement.offsetWidth,E=this.getSlideWidth();return Math.floor(l/(E+(this.options.spaceBetween||0)))}return"number"==typeof s?s:1}update(){this.updateSlides(),this.updateSlidePositions(),this.slideTo(this.activeIndex,0)}destroy(){this.removeEventListeners(),this.resizeObserver&&this.resizeObserver.disconnect()}setOptions(s){this.options={...this.options,...s},this.update()}onWheel(s){if(!this.options.mousewheel)return;const l="object"==typeof this.options.mousewheel?this.options.mousewheel:{forceToAxis:!0,sensitivity:1,releaseOnEdges:!0};if(l.forceToAxis&&Math.abs(s.deltaY)<Math.abs(s.deltaX))return;s.preventDefault();const p=s.deltaX*(l.sensitivity||1);Math.abs(p)>10&&(p>0&&this.activeIndex<this.slides.length-1?this.slideTo(this.activeIndex+1):p<0&&this.activeIndex>0&&this.slideTo(this.activeIndex-1))}updateSlides(){const s=this.track.nativeElement.querySelectorAll(".conte-dw-slider-slide");this.slides=Array.from(s)}updateSlidePositions(){const s=this.options.spaceBetween||0;this.slides.forEach((l,E)=>{if("auto"===this.options.slidesPerView)this.renderer.setStyle(l,"flex-shrink","0");else{const p=this.getSlideWidth();this.renderer.setStyle(l,"width",`${p}px`),this.renderer.setStyle(l,"flex-shrink","0")}E<this.slides.length-1&&this.renderer.setStyle(l,"margin-right",`${s}px`)}
1)}getSlideWidth(){if(0===this.slides.length)return 0;if("auto"===this.options.slidesPerView)return this.slides[0]?.offsetWidth||0;const s=this.options.slidesPerView||1;return(this.el.nativeElement.offsetWidth-(this.options.spaceBetween||0)*(s-1))/s}setupEventListeners(){const s=this.track.nativeElement;s.addEventListener("touchstart",this.onTouchStart),s.addEventListener("touchmove",this.onTouchMove),s.addEventListener("touchend",this.onTouchEnd),s.addEventListener("mousedown",this.onMouseDown),s.addEventListener("mousemove",this.onMouseMove),s.addEventListener("mouseup",this.onMouseUp),s.addEventListener("mouseleave",this.onMouseLeave)}removeEventListeners(){const s=this.track.nativeElement;s.removeEventListener("touchstart",this.onTouchStart),s.removeEventListener("touchmove",this.onTouchMove),s.removeEventListener("touchend",this.onTouchEnd),s.removeEventListener("mousedown",this.onMouseDown),s.removeEventListener("mousemove",this.onMouseMove),s.removeEventListener("mouseup",this.onMouseUp),s.removeEventListener("mouseleave",this.onMouseLeave)}setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{this.update()}),this.resizeObserver.observe(this.el.nativeElement)}startDrag(s){this.isDragging=!0,this.startX=s,this.currentX=s,this.startTranslate=this.currentTranslate,this.setTransition(0),cancelAnimationFrame(this.animationID)}drag(s){if(!this.isDragging)return;this.currentX=s;const E=this.startTranslate+(this.currentX-this.startX);this.animationID=requestAnimationFrame(()=>{this.setTransform(E)})}endDrag(){if(!this.isDragging)return;this.isDragging=!1;const s=this.currentX-this.startX,l=this.getSlideWidth()/4;Math.abs(s)>l?this.slideTo(s>0&&this.activeIndex>0?this.activeIndex-1:s<0&&this.activeIndex<this.slides.length-1?this.activeIndex+1:this.activeIndex):this.slideTo(this.activeIndex)}setTransform(s){this.transform=`translate3d(${s}px, 0px, 0px)`}setTransition(s){this.transition=s>0?`transform ${s}ms ease-out`:""}static{this.\u0275fac=function(l){return new(l||C)}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["conte-dw-slider-container"]],viewQuery:function(l,E){if(1&l&&e.GBs(c,7),2&l){let p;e.mGM(p=e.lsd())&&(E.track=p.first)}},hostBindings:function(l,E){1&l&&e.bIt("wheel",function(h){return E.onWheel(h)})},inputs:{init:"init"},outputs:{sliderProgress:"sliderProgress"},ngContentSelectors:f,decls:4,vars:4,consts:[["track",""],[1,"slider-shell"],[1,"slider-track"]],template:function(l,E){1&l&&(e.NAR(),e.rj2(0,"div",1)(1,"div",2,0),e.SdG(3),e.eux()()),2&l&&(e.R7$(),e.xc7("transform",E.transform)("transition",E.transition))},styles:[".slider-shell[_ngcontent-%COMP%]{display:block;overflow:hidden;position:relative;-webkit-user-select:none;user-select:none;width:100%;height:100%}.slider-track[_ngcontent-%COMP%]{display:flex;height:100%}"]})}}return C})();var m=o(97253),r=o(67793),_=o(82305),g=o(48351),$=o(50596);let T=(()=>{class C{mergeSliderConfig(s,l){return{...s,...l??{}}}areTemplateCollectionsEquivalent(s,l){const E=s??[],p=l??[];return E.length===p.length&&E.every((h,w)=>h===p[w])}normalizeSliderAttributeKey(s){return s.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}getSliderSpacing(s,l=20){return{spaceBetween:Number(s.spaceBetween??l),offsetBefore:Number(s.slidesOffsetBefore??0),offsetAfter:Number(s.slidesOffsetAfter??0)}}hasConfigChanged(s,l){return JSON.stringify(s)!==JSON.stringify(l)}shouldRefreshOnTemplateChange(s,l){return!this.areTemplateCollectionsEquivalent(s,l)}clampSlideId(s,l){return Math.max(0,Math.min(s,l))}buildSliderTransform(s){return`translate3d(${s}px, 0px, 0px)`}findClosestSlideIndex(s,l){return s.reduce((E,p,h)=>Math.abs(p.offsetLeft-l)<Math.abs(s[E].offsetLeft-l)?h:E,0)}getClosestSlideIndexFromTranslate(s,l,E){return this.findClosestSlideIndex(s,-l+E)}resolveSliderInstance(s){const l=s?.slider;return l&&"function"==typeof l.slideTo?l:s&&"function"==typeof s.slideTo&&"function"==typeof s.slidesPerViewDynamic?s:void 0}initializeSliderElement(s,l,E){const p=this.mergeSliderConfig(l,E);return Object.assign(s,p),"function"==typeof s.initialize&&s.initialize(),p}getSpacingFromDefaultAndConfig(s,l){const E=this.mergeSliderConfig(s,l);
1return this.getSliderSpacing(E)}updateSliderConfiguration(s,l,E){const p=this.getSpacingFromDefaultAndConfig(l,E);return this.applyConfigToSliderElement(s,E),this.resolveSliderInstance(s)?.update(),p}applyConfigToSliderElement(s,l){for(const E of Object.keys(l)){const p=l[E];void 0!==p&&(s.setAttribute(this.normalizeSliderAttributeKey(String(E)),p.toString()),s[E]=p)}}getDefaultSlides(s){if(!s||"function"!=typeof s.querySelector)return[];const E=s.querySelector(".slider-cards");return E?Array.from(E.querySelectorAll(".conte-dw-slider-slide")):[]}getPointerX(s){return s instanceof MouseEvent?s.clientX:s.touches[0]?.clientX??0}getDragStartState(s,l){return{dragStartX:this.getPointerX(s),dragStartTranslateX:l}}getActiveIndexFromSliderEvent(s){const l=s,[E]=l.detail||[];return E?.activeIndex??0}getSliderFromSliderEvent(s){const l=s,[E]=l.detail||[];return E}getDefaultTranslateForSlide(s,l){return-(s-l)}getNormalizedTranslateX(s,l){return l?s:Math.round(s)}buildTransition(s){return s>0?`transform ${s}ms ease`:"none"}getDraggedTranslateX(s,l,E){return E+(s-l)}buildTranslateState(s,l,E){const p=this.getNormalizedTranslateX(s,E);return{normalizedTranslateX:p,transition:this.buildTransition(l),transform:this.buildSliderTransform(p)}}computeDefaultSlideState(s,l,E){if(0===s.length)return{hasSlides:!1,nextIndex:0,translateX:0};const h=this.clampSlideId(l,s.length-1);return{hasSlides:!0,nextIndex:h,translateX:this.getDefaultTranslateForSlide(s[h].offsetLeft,E)}}buildNormalizedSlideChangePayload(s,l){return{...l??{},snapIndex:s,activeIndex:l?.activeIndex??s}}getClosestSlideIndexFromPosition(s,l,E){const p=this.getDefaultSlides(s);if(0!==p.length)return this.getClosestSlideIndexFromTranslate(p,l,E)}computeDefaultSlideResult(s,l,E,p,h){const w=this.getDefaultSlides(s),z=this.computeDefaultSlideState(w,l,E);return z.hasSlides?{shouldEmit:!0,nextSlideIndex:z.nextIndex,translateState:this.buildTranslateState(z.translateX,p,h),payload:this.buildNormalizedSlideChangePayload(z.nextIndex)}:{shouldEmit:!1,nextSlideIndex:0,translateState:this.buildTranslateState(0,0,h)}}applySpacingState(s,l){s.defaultSpaceBetween=l.spaceBetween,s.defaultOffsetBefore=l.offsetBefore,s.defaultOffsetAfter=l.offsetAfter}applyTranslateState(s,l){return s.defaultTransition=l.transition,s.defaultTransform=l.transform,l.normalizedTranslateX}buildDragStartStateUpdate(s,l){const E=this.getDragStartState(s,l);return{isDraggingDefault:!0,defaultTransition:"none",dragStartX:E.dragStartX,dragStartTranslateX:E.dragStartTranslateX}}getClosestSlideIndexOnDragEnd(s,l,E,p){if(s)return this.getClosestSlideIndexFromPosition(l,E,p)}getDragMoveTranslateState(s,l,E,p){if(!s)return;const h=this.getDraggedTranslateX(l,E,p);return this.buildTranslateState(h,0,!0)}getSlideChangeEventState(s){const l=this.getSliderFromSliderEvent(s),E=this.getActiveIndexFromSliderEvent(s);return{activeIndex:E,payload:this.buildNormalizedSlideChangePayload(E,l)}}emitSlideChangeWithProgrammaticGate(s,l,E){s.pipe((0,_.s)(1),(0,g.w)({each:100,with:()=>(0,r.of)(!0)}),(0,$.p)(Boolean)).subscribe(()=>{E(l)})}refreshSliderLayout(s,l){Promise.resolve().then(()=>{const E=this.resolveSliderInstance(s);E?E.update():l()})}static{this.\u0275fac=function(l){return new(l||C)}}static{this.\u0275prov=n.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})();const B=["sliderContainer"];function A(C,k){if(1&C&&(e.j41(0,"div",3),e.eu8(1,4),e.k0s()),2&C){const s=k.$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",s)}}let I=(()=>{class C{constructor(){this.defaultConfig={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:20,slidesOffsetBefore:0,slidesOffsetAfter:0,centeredSlides:!0,centerInsufficientSlides:!0,navigation:!1,pagination:!1,breakpoints:{},observeParents:!1,resizeObserver:!1,centeredSlidesBounds:!0,mousewheel:{forceToAxis:!0,sensitivity:1,releaseOnEdges:!0}},this.displayBlock=!1,this.defaultTransform="translate3d(0px, 0px, 0px)",this.defaultTransition="none",this.defaultSpaceBetween=20,this.defaultOffsetBefore=0,this.defaultOffsetAfter=0,this.$onSliderInit=new e.bkB,this.$onSlideChange=new e.bkB,this.onProgrammaticSlideTo$=new m.B,this.sliderHelperService=(0,n.WQX)(T),this.currentSlideIndex=0,this.currentDefaultTranslateX=0,this.isDraggingDefault=!1,this.dragStartX=0,this.dragStartTranslateX=0}ngAfterViewInit(){const s=this.sliderRef?.nativeElement;s&&(this.sliderEl=s,this.initializeSlider(),this.onSliderReady())}
1initializeSlider(){if(!this.sliderEl)return;const s=this.sliderHelperService.initializeSliderElement(this.sliderEl,this.defaultConfig,this.config);this.applySpacingValues(this.sliderHelperService.getSpacingFromDefaultAndConfig(this.defaultConfig,s)),this.displayBlock=!0,this.sliderHelperService.refreshSliderLayout(this.sliderEl,()=>{this.applyDefaultSlide(this.currentSlideIndex,0)})}ngOnChanges(s){if(s.templates&&this.sliderRef&&this.sliderHelperService.shouldRefreshOnTemplateChange(s.templates.previousValue,s.templates.currentValue)&&this.sliderHelperService.refreshSliderLayout(this.sliderEl,()=>{this.applyDefaultSlide(this.currentSlideIndex,0)}),s.config&&this.sliderRef){const l=s.config.currentValue;this.sliderHelperService.hasConfigChanged(l,s.config.previousValue)&&(this.applySpacingValues(this.sliderHelperService.updateSliderConfiguration(this.sliderEl,this.defaultConfig,l)),this.sliderHelperService.refreshSliderLayout(this.sliderEl,()=>{this.applyDefaultSlide(this.currentSlideIndex,0)}))}}ngOnDestroy(){this.isDraggingDefault=!1,this.onProgrammaticSlideTo$.complete()}onDragMove(s){this.handleDragMove(s.clientX)}onTouchDragMove(s){s.touches?.length&&this.handleDragMove(s.touches[0].clientX)}onDragEnd(){this.completeDefaultDrag()}onTouchDragEnd(){this.completeDefaultDrag()}onSliderReady(){this.$onSliderInit.emit(this.sliderEl)}getCurrentSlide(){return this.sliderHelperService.resolveSliderInstance(this.sliderEl)?.activeIndex??this.currentSlideIndex}getSlidesPerViewDynamic(){const s=this.config?.slidesPerView||this.defaultConfig.slidesPerView;return"auto"!==s?s:this.sliderHelperService.resolveSliderInstance(this.sliderEl)?.slidesPerViewDynamic()??1}slideTo(s){s=this.sliderHelperService.clampSlideId(s,this.templates.length);const l=this.sliderHelperService.resolveSliderInstance(this.sliderEl);l?(l.slideTo(s,1e3),this.currentSlideIndex=s,this.$onSlideChange.emit(this.sliderHelperService.buildNormalizedSlideChangePayload(s,l))):this.applyDefaultSlide(s,1e3)}onSlideChange(s){const l=this.sliderHelperService.getSlideChangeEventState(s);this.currentSlideIndex=l.activeIndex,this.sliderHelperService.emitSlideChangeWithProgrammaticGate(this.onProgrammaticSlideTo$,l.payload,E=>this.$onSlideChange.emit(E))}applySpacingValues(s){this.sliderHelperService.applySpacingState(this,s)}applyDefaultSlide(s,l){const E=this.sliderHelperService.computeDefaultSlideResult(this.sliderEl,s,this.defaultOffsetBefore,l,this.isDraggingDefault);this.currentSlideIndex=E.nextSlideIndex,this.currentDefaultTranslateX=this.sliderHelperService.applyTranslateState(this,E.translateState),E.shouldEmit&&E.payload&&this.$onSlideChange.emit(E.payload)}onDragStart(s){if(this.sliderHelperService.resolveSliderInstance(this.sliderEl))return;const l=this.sliderHelperService.buildDragStartStateUpdate(s,this.currentDefaultTranslateX);this.isDraggingDefault=l.isDraggingDefault,this.defaultTransition=l.defaultTransition,this.dragStartX=l.dragStartX,this.dragStartTranslateX=l.dragStartTranslateX,s instanceof MouseEvent&&s.preventDefault()}handleDragMove(s){const l=this.sliderHelperService.getDragMoveTranslateState(this.isDraggingDefault,s,this.dragStartX,this.dragStartTranslateX);l&&(this.currentDefaultTranslateX=this.sliderHelperService.applyTranslateState(this,l))}completeDefaultDrag(){const s=this.sliderHelperService.getClosestSlideIndexOnDragEnd(this.isDraggingDefault,this.sliderEl,this.currentDefaultTranslateX,this.defaultOffsetBefore);void 0!==s&&(this.isDraggingDefault=!1,this.applyDefaultSlide(s,250))}static{this.\u0275fac=function(l){return new(l||C)}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["conte-dw-slider"]],viewQuery:function(l,E){if(1&l&&e.GBs(B,5,e.aKT),2&l){let p;e.mGM(p=e.lsd())&&(E.sliderRef=p.first)}},hostBindings:function(l,E){1&l&&e.bIt("mousemove",function(h){return E.onDragMove(h)},e.tSv)("touchmove",function(h){return E.onTouchDragMove(h)},e.tSv)("mouseup",function(){return E.onDragEnd()},e.tSv)("touchend",function(){return E.onTouchDragEnd()},e.tSv)},inputs:{templates:"templates",container:"container",config:"config"},outputs:{$onSliderInit:"$onSliderInit",$onSlideChange:"$onSlideChange"},features:[e.OA$],decls:5,vars:12,consts:[["sliderContainer",""],["init","false",1,"slider-container",3,"sliderProgress"],[1,"slider-cards",3,"mousedown","touchstart"],[1,"conte-dw-slider-slide"],[3,"ngTemplateOutlet"]],template:function(l,E){if(1&l){const p=e.RV6();e.j41(0,"conte-dw-slider-container",1,0),e.bIt("sliderProgress",function(w){return n.eBV(p),n.Njj(E.onSlideChange(w))}),e.j41(2,"div",2),e.bIt("mousedown",function(w){return n.eBV(p),n.Njj(E.onDragStart(w))})("touchstart",function(w){return n.eBV(p),n.Njj(E.onDragStart(w))}),e.Z7z(3,A,2,1,"div",3,e.Vm6),e.k0s()()}2&l&&(e.xc7("display",E.displayBlock?"flex":"none"),e.R7$(2),e.xc7("transform",E.defaultTransform)("transition",E.defaultTransition)("column-gap",E.defaultSpaceBetween,"px")("padding-left",E.defaultOffsetBefore,"px")("padding-right",E.defaultOffsetAfter,"px"),e.R7$(),e.Dyx(E.templates))},dependencies:[t.MD,t.T3,M],styles:["conte-dw-slider-container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-wrap:nowrap;overflow-x:hidden;overflow-y:visible;align-items:stretch;padding-bottom:10px}.slider-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:center;min-width:100%;cursor:grab;-webkit-user-select:none;user-select:none;box-sizing:border-box;padding-bottom:1px}.conte-dw-slider-slide[_ngcontent-%COMP%]{flex:0 0 auto;width:auto;font-size:18px;display:flex;justify-content:center;align-items:flex-start;box-sizing:border-box}"]})}}return C})()},44287(ht,L,o){"use strict";o.d(L,{t:()=>e});var t=o(51203);let e=(()=>{class n{static{this.\u0275fac=function(M){return new(M||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["conte-dw-spinner"]],standalone:!1,decls:6,vars:0,consts:[[1,"spinner"],[1,"spinner__container-animation"],["src","./assets/img/animation/logo-blu.svg",1,"spinner__logo"],["src","./assets/img/animation/te-100_.svg",1,"spinner__logo-te--transparent"],["src","./assets/img/animation/te-50_.svg",1,"spinner__logo-te"],["src","./assets/img/animation/baffo.svg",1,"spinner__logo-baffo"]],template:function(M,m){1&M&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"img",2)(3,"img",3)(4,"img",4)(5,"img",5),t.k0s()())},styles:[".spinner[_ngcontent-%COMP%]{z-index:9999;position:fixed;left:0;top:0;height:100%;width:100%;background-color:#ffffffd9;display:flex;justify-content:center;align-items:center}.spinner__container-animation[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;height:auto;width:100%}.spinner__container-animation[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;height:auto}.spinner__logo[_ngcontent-%COMP%]{position:absolute}.spinner__logo-te--transparent[_ngcontent-%COMP%]{position:absolute;animation-name:_ngcontent-%COMP%_logoTeTrasparente;animation-duration:1.6s;animation-delay:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}@keyframes _ngcontent-%COMP%_logoTeTrasparente{0%{opacity:0}
125%{opacity:1}35%{opacity:1}45%{opacity:1}55%{opacity:1}65%{opacity:1}85%{opacity:0}to{opacity:0}}.spinner__logo-te[_ngcontent-%COMP%]{position:absolute;animation-name:_ngcontent-%COMP%_logoTe;animation-duration:1.6s;animation-delay:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}@keyframes _ngcontent-%COMP%_logoTe{0%{opacity:1}25%{opacity:0}35%{opacity:0}45%{opacity:0}55%{opacity:0}65%{opacity:0}85%{opacity:1}to{opacity:1}}.spinner__logo-baffo[_ngcontent-%COMP%]{position:absolute;top:-80px;left:51.5%;transform-origin:center center;animation-name:_ngcontent-%COMP%_baffo;animation-duration:1.6s;animation-delay:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-fill-mode:forwards}@keyframes _ngcontent-%COMP%_baffo{0%{left:51.5%;top:-80px;transform:rotate(0)}25%{left:51.5%;top:-105px;transform:rotate(0)}35%{left:51.5%;top:-105px;transform:rotate(-10deg)}45%{left:51.5%;top:-105px}55%{left:51.5%;top:-105px;transform:rotate(10deg)}65%{left:51.5%;top:-105px;transform:rotate(0)}85%{left:51.5%;top:-80px;transform:rotate(0)}to{left:51.5%;top:-80px;transform:rotate(0)}}@media (max-width: 767px){.spinner__container-animation[_ngcontent-%COMP%]{width:212px}.spinner__logo-baffo[_ngcontent-%COMP%]{width:60px;top:-47px;left:55%}@keyframes baffo{0%{left:55%;top:-47px;transform:rotate(0)}25%{left:55%;top:-70px;transform:rotate(0)}35%{left:55%;top:-70px;transform:rotate(-10deg)}45%{left:55%;top:-70px}55%{left:55%;top:-70px;transform:rotate(10deg)}65%{left:55%;top:-70px;transform:rotate(0)}85%{left:55%;top:-47px;transform:rotate(0)}to{left:55%;top:-47px;transform:rotate(0)}}}"]})}}return n})()},14524(ht,L,o){"use strict";o.d(L,{U:()=>m});var t=o(51203),e=o(44181);const n=r=>({"background-image":r});function c(r,_){if(1&r&&(t.j41(0,"div",4),t.nrm(1,"img",8),t.k0s()),2&r){const g=t.XpG();t.R7$(),t.Y8G("src","./assets/img/icon-"+g.icon+".svg",t.B4B)}}function f(r,_){if(1&r&&t.nrm(0,"h5",6),2&r){const g=t.XpG();t.Y8G("innerHTML",g.title,t.npT)}}function M(r,_){if(1&r&&t.nrm(0,"p",7),2&r){const g=t.XpG();t.Y8G("innerHTML",g.subtitle,t.npT)}}let m=(()=>{class r{constructor(){this.imageTextStyle="",this.img="",this.icon="",this.title="",this.subtitle=""}static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275cmp=t.VBU({type:r,selectors:[["conte-dw-image-text"]],inputs:{imageTextStyle:"imageTextStyle",img:"img",icon:"icon",title:"title",subtitle:"subtitle"},standalone:!1,decls:8,vars:7,consts:[[1,"ui-bootstrap"],[1,"image-text","d-flex","align-items-center",3,"ngClass"],[1,"image-text-link"],[1,"image-text-img","d-flex","align-items-center","justify-content-center",3,"ngStyle"],[1,"image-text-icon"],[1,"image-text-content","d-flex","align-items-baseline","flex-md-1-row","flex-column"],[1,"image-text-title","font-weight-bold",3,"innerHTML"],[1,"image-text-subtitle","big-body","font-italic",3,"innerHTML"],[3,"src"]],template:function($,T){1&$&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.nrm(3,"div",3),t.nVh(4,c,2,1,"div",4),t.k0s(),t.j41(5,"div",5),t.nVh(6,f,1,1,"h5",6),t.nVh(7,M,1,1,"p",7),t.k0s()()()),2&$&&(t.R7$(),t.Y8G("ngClass",T.imageTextStyle),t.R7$(2),t.Y8G("ngStyle",t.eq3(5,n,"url(./assets/img/"+T.img+")")),t.R7$(),t.vxM(T.icon?4:-1),t.R7$(2),t.vxM(T.title?6:-1),t.R7$(),t.vxM(T.subtitle?7:-1))},dependencies:[e.YU,e.B3],styles:[".image-text[_ngcontent-%COMP%]   .image-text-link[_ngcontent-%COMP%]{position:relative}.image-text[_ngcontent-%COMP%]   .image-text-img[_ngcontent-%COMP%]{border-radius:50px;box-shadow:0 0 8px #0f46831a;width:60px;height:60px;background-color:#fff;background-size:cover;background-repeat:no-repeat;background-position:center}.image-text[_ngcontent-%COMP%]   .image-text-icon[_ngcontent-%COMP%]{position:absolute;bottom:-10px;right:-15px;width:40px;height:40px}.image-text[_ngcontent-%COMP%]   .image-text-subtitle[_ngcontent-%COMP%]{padding-left:5px}@media (max-width: 767px){.image-text[_ngcontent-%COMP%]   .image-text-title[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.image-text[_ngcontent-%COMP%]   .image-text-subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:160%;padding-left:0}}.dw-row[_ngcontent-%COMP%]   .image-text-link[_ngcontent-%COMP%]{margin-right:20px}.dw-column[_ngcontent-%COMP%]{flex-direction:column;justify-content:center}.dw-column[_ngcontent-%COMP%]   .image-text-link[_ngcontent-%COMP%]{margin-bottom:10px}.menu[_ngcontent-%COMP%]   .image-text-img[_ngcontent-%COMP%]{width:65px;height:65px}.menu[_ngcontent-%COMP%]   .image-text-icon[_ngcontent-%COMP%]{bottom:-10px;right:-15px;width:45px;height:45px}.menu[_ngcontent-%COMP%]   .image-text-title[_ngcontent-%COMP%]{font-size:18px;line-height:150%}.image-tooltip[_ngcontent-%COMP%]   .image-text-link[_ngcontent-%COMP%]{margin-right:8px}.image-tooltip[_ngcontent-%COMP%]   .image-text-img[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:0;background-color:transparent;box-shadow:none}.image-tooltip[_ngcontent-%COMP%]   .image-text-content[_ngcontent-%COMP%]{flex-direction:column!important}.image-tooltip[_ngcontent-%COMP%]   .image-text-title[_ngcontent-%COMP%], .image-tooltip[_ngcontent-%COMP%]   .image-text-subtitle[_ngcontent-%COMP%]{font-size:12px;line-height:160%}.image-tooltip[_ngcontent-%COMP%]   .image-text-title[_ngcontent-%COMP%]{color:#ffc159}.image-tooltip[_ngcontent-%COMP%]   .image-text-subtitle[_ngcontent-%COMP%]{font-style:normal!important;color:#646464;padding-left:0}"]})}}return r})()},44052(ht,L,o){"use strict";o.d(L,{v:()=>_});var t=o(51203),e=o(80226),n=o(83452);function c(g,$){if(1&g&&t.nrm(0,"img",2),2&g){const T=t.XpG();
1t.Y8G("src","./assets/img/icon-"+T.icon+".svg",t.B4B)}}function f(g,$){if(1&g&&t.nrm(0,"h1",5),2&g){const T=t.XpG();t.HbH(null!=T.payoffData&&T.payoffData.titleClass?null==T.payoffData?null:T.payoffData.titleClass:"title"),t.Y8G("innerHTML",T.payoffData.title,t.npT)}}function M(g,$){if(1&g){const T=t.RV6();t.j41(0,"span",8),t.bIt("click",function(){e.eBV(T);const A=t.XpG(2);return e.Njj(A.onSubtitleLinkClick())}),t.k0s()}if(2&g){const T=t.XpG(2);t.Y8G("innerHTML",T.payoffData.subtitleLink,t.npT)}}function m(g,$){if(1&g&&t.nrm(0,"conte-dw-badge",7),2&g){const T=t.XpG(2);t.Y8G("text",T.badgeConfig.text)("iconSrc",T.badgeConfig.iconSrc)("isRightIcon",T.badgeConfig.isRightIcon)("badgeType",T.badgeConfig.badgeType)}}function r(g,$){if(1&g&&(t.j41(0,"p"),t.nrm(1,"span",5),t.nVh(2,M,1,1,"span",6),t.nVh(3,m,1,4,"conte-dw-badge",7),t.k0s()),2&g){const T=t.XpG();t.HbH(null!=T.payoffData&&T.payoffData.subtitleClass?null==T.payoffData?null:T.payoffData.subtitleClass:"subtitle small-subtitle"),t.R7$(),t.Y8G("innerHTML",T.payoffData.subtitle,t.npT),t.R7$(),t.vxM(null!=T.payoffData&&T.payoffData.subtitleLink?2:-1),t.R7$(),t.vxM(T.badgeConfig?3:-1)}}let _=(()=>{class g{constructor(){this.payoffStyle="",this.payoffData={title:"",subtitle:""},this.badgeConfig=null,this.showIcon=!1,this.icon="",this.showTitle=!0,this.showSubtitle=!0,this.$subtitleLinkClickOutput=new t.bkB}onSubtitleLinkClick(){this.$subtitleLinkClickOutput.emit()}static{this.\u0275fac=function(B){return new(B||g)}}static{this.\u0275cmp=t.VBU({type:g,selectors:[["conte-dw-payoff"]],inputs:{payoffStyle:"payoffStyle",payoffData:"payoffData",badgeConfig:"badgeConfig",showIcon:"showIcon",icon:"icon",showTitle:"showTitle",showSubtitle:"showSubtitle"},outputs:{$subtitleLinkClickOutput:"$subtitleLinkClickOutput"},standalone:!1,decls:5,vars:5,consts:[[1,"ui-bootstrap"],[1,"payoff"],["alt","",3,"src"],[3,"innerHTML","class"],[3,"class"],[3,"innerHTML"],["id","payoff-subtitle-link",1,"dw-clickable","subtitle-link",3,"innerHTML"],[3,"text","iconSrc","isRightIcon","badgeType"],["id","payoff-subtitle-link",1,"dw-clickable","subtitle-link",3,"click","innerHTML"]],template:function(B,A){1&B&&(t.j41(0,"div",0)(1,"div",1),t.nVh(2,c,1,1,"img",2),t.nVh(3,f,1,3,"h1",3),t.nVh(4,r,4,5,"p",4),t.k0s()()),2&B&&(t.R7$(),t.HbH(A.payoffStyle),t.R7$(),t.vxM(A.showIcon?2:-1),t.R7$(),t.vxM(A.showTitle?3:-1),t.R7$(),t.vxM(A.showSubtitle?4:-1))},dependencies:[n.n],styles:["@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}.payoff[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--payoff-title-font-size, 28px);line-height:var(--payoff-title-line-height, 140%)}.payoff[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:#00558c;padding:var(--payoff-subtitle-padding, 3px 0 0 0);margin:var(--payoff-subtitle-margin);font-size:var(--payoff-subtitle-font-size);line-height:var(--payoff-subtitle-line-height)}.payoff[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]   .subtitle-link[_ngcontent-%COMP%]{-webkit-text-decoration:var(--payoff-subtitle-text-decoration, underline);text-decoration:var(--payoff-subtitle-text-decoration, underline)}.payoff[_ngcontent-%COMP%]   .no-days[_ngcontent-%COMP%]{font-size:20px;font-weight:700}.payoff[_ngcontent-%COMP%]   conte-dw-badge[_ngcontent-%COMP%]{display:inline-block;margin-left:8px}@media (max-width: 767px){.payoff[_ngcontent-%COMP%]{text-align:center}.payoff[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;font-size:var(--payoff-mobile-title-font-size, 20px);line-height:var(--payoff-mobile-title-line-height)}.payoff[_ngcontent-%COMP%]   .subtitle-container[_ngcontent-%COMP%]{justify-content:center;flex-wrap:wrap}.payoff[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:var(--payoff-mobile-subtitle-font-size, 14px);line-height:var(--payoff-mobile-subtitle-line-height, 160%);padding-top:10px}.payoff[_ngcontent-%COMP%]   .no-days[_ngcontent-%COMP%]{line-height:normal}}@media (max-width: 480px){.payoff[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .payoff[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{max-width:285px;margin:0 auto}}.accessibility-icon[_ngcontent-%COMP%]{--underline-background: url(assets/img/underline-blue.svg) no-repeat}.login[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;font-weight:700}.login[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:16px;line-height:160%;font-weight:700}@media (max-width: 767px){.login[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px}.login[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:14px}}@media (max-width: 480px){.login[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .login[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{max-width:100%}}.smart[_ngcontent-%COMP%]{text-align:center;max-width:100%}.smart__verify[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .smart__verify[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:#00558c}.smart__verify[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-weight:400}@media (min-width: 767px){.smart__verify[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .smart__verify[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:24px}}.smart__eligibility[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;font-weight:400}.smart__eligibility[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:20px;color:#00558c;font-weight:200;line-height:130%}.smart__eligibility.ania[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:18px;font-weight:500}.smart__questions[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;font-weight:500;color:#00558c}.smart__questions[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:18px;color:#484848;font-weight:400;line-height:150%}@media (min-width: 767px){.smart__questions[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 480px){.smart[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .smart[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{max-width:inherit;margin:0 auto}}.renewal-edit[_ngcontent-%COMP%]{text-align:center}.renewal-edit[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:14px}@media (max-width: 767px){.renewal-edit[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px}.renewal-edit[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:16px;padding-top:3px}}.title-highlighted[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700}.font-32[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:32px;line-height:130%;font-weight:700}@media (max-width: 767px){.font-32[_ngcontent-%COMP%]{text-align:center}.font-32[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;line-height:140%;font-weight:700}.font-32[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:160%;padding-top:10px}}"]})}}return g})()},92212(ht,L,o){"use strict";o.d(L,{y:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},23731(ht,L,o){"use strict";o.d(L,{a:()=>e});var t=o(51203);let e=(()=>{class n{constructor(f){this.el=f}toggleAccordion(){this.accordionTitle.classList.toggle("active"),this.accordionContent.style.maxHeight?(this.accordionContent.style.maxHeight=null,this.accordionContent.style.overflow="hidden",this.domObserver?.disconnect()):(this.accordionContent.style.maxHeight=`${this.accordionContent.scrollHeight}px`,this.accordionContent.style.overflow="visible",this.detectDomChanges(this.el.nativeElement))}open(){this.accordionContent.style.maxHeight||this.toggleAccordion()}ngOnInit(){this.accordionTitle=this.el.nativeElement.querySelector(".dw-accordion-title"),this.accordionContent=this.el.nativeElement.querySelector(".dw-accordion-content")}ngOnDestroy(){this.domObserver?.disconnect()}detectDomChanges(f){this.domObserver=new MutationObserver(()=>{this.accordionContent.style.maxHeight=this.accordionContent.style.maxHeight?`${this.accordionContent.scrollHeight}px`:null}),this.domObserver.observe(f,{childList:!0,subtree:!0})}static{this.\u0275fac=function(M){return new(M||n)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:n,selectors:[["","conteDwAccordion",""]],hostBindings:function(M,m){1&M&&t.bIt("$titleClickOutput",function(){return m.toggleAccordion()})},exportAs:["conteDwAccordion"],standalone:!1})}}return n})()},55063(ht,L,o){"use strict";o.d(L,{C:()=>t});var t=function(e){return e.GW="GW",e.SharedDataAccessCacheList="sharedDataAccessCacheList",e}(t||{})},94280(ht,L,o){"use strict";o.d(L,{H:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},43718(ht,L,o){"use strict";o.d(L,{o:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},25660(ht,L,o){"use strict";o.d(L,{i:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},21640(ht,L,o){"use strict";o.d(L,{S:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},5547(ht,L,o){"use strict";o.d(L,{W:()=>e});var t=o(51203);let e=(()=>{class n{constructor(f,M,m){this.el=f,this.renderer=M,this.env=m}
1ngOnInit(){this.env&&this.env.config?.test&&this.setAttribute(this.dataCyName?this.dataCyName:this.el.nativeElement.attributes.id.value?this.el.nativeElement.attributes.id.value:"element-with-no-name")}setAttribute(f){this.renderer.setAttribute(this.el.nativeElement,"data-cy",f)}static{this.\u0275fac=function(M){return new(M||n)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU("environment",8))}}static{this.\u0275dir=t.FsC({type:n,selectors:[["","conteDwDataCy",""]],inputs:{dataCyName:[0,"conteDwDataCy","dataCyName"]},standalone:!1})}}return n})()},28(ht,L,o){"use strict";o.d(L,{l:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},64660(ht,L,o){"use strict";o.d(L,{c:()=>t});class t{constructor(){this.inputFieldValue="",this.showAutocomplete=!1,this.autocompleteList=[]}}},37345(ht,L,o){"use strict";o.d(L,{h:()=>h});var t=o(44181),e=o(23321),n=o(92212),c=o(94280),f=o(51203),M=o(80226);let m=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})(),r=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})(),_=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})();var g=o(43718),$=o(25660),T=o(21640);let B=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})();var A=o(28);let I=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})();var C=o(18610),k=o(62864),s=o(83624),l=o(99438);let E=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})(),p=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({})}}return w})(),h=(()=>{class w{static{this.\u0275fac=function(D){return new(D||w)}}static{this.\u0275mod=f.$C({type:w})}static{this.\u0275inj=M.G2t({imports:[t.MD,e.X1,n.y,c.H,m,r,_,g.o,$.i,T.S,B,A.l,C.$,s.a,I,E,p,l.S,k.y,l.S]})}}return w})()},45453(ht,L,o){"use strict";o.d(L,{_:()=>n});var t=o(51203),e=o(59874);let n=(()=>{class c{constructor(M,m,r){this.elementRef=M,this.viewportScroller=m,this.render=r,this.scrollTolerance=20,this.isDisabled=!1,this.$hiddenStatusOutput=new t.bkB,this.mediaQuery=window.matchMedia("(max-width: 767px)")}onResize(){this.calculateOriginalBottomPosition(),!this.mediaQuery.matches&&this.isHidden&&(this.render.removeClass(this.elementRef.nativeElement,this.hideClass),this.isHidden=!1,this.$hiddenStatusOutput.emit(!1))}onScroll(){const M=this.viewportScroller.getScrollPosition()[1],m=window.innerHeight;this.mediaQuery.matches&&!this.isDisabled&&(this.originalBottomPosition+this.scrollTolerance<m+M&&M>this.scrollLimit?(this.render.addClass(this.elementRef.nativeElement,this.hideClass),this.isHidden=!0):(this.render.removeClass(this.elementRef.nativeElement,this.hideClass),this.isHidden=!1),this.$hiddenStatusOutput.emit(this.isHidden))}ngAfterViewInit(){this.calculateOriginalBottomPosition()}calculateOriginalBottomPosition(){const M=this.elementRef.nativeElement;this.originalBottomPosition=window.pageYOffset+M.getBoundingClientRect().top+M.offsetHeight}static{this.\u0275fac=function(m){return new(m||c)(t.rXU(t.aKT),t.rXU(e.Xr),t.rXU(t.sFG))}}static{this.\u0275dir=t.FsC({type:c,selectors:[["","conteDwHideOnScroll",""]],hostBindings:function(m,r){1&m&&t.bIt("resize",function(){return r.onResize()},t.tSv)("scroll",function(){return r.onScroll()},t.tSv)},inputs:{hideClass:"hideClass",scrollLimit:"scrollLimit",scrollTolerance:"scrollTolerance",isDisabled:"isDisabled"},outputs:{$hiddenStatusOutput:"$hiddenStatusOutput"},standalone:!1})}}return c})()},18610(ht,L,o){"use strict";o.d(L,{$:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},62864(ht,L,o){"use strict";o.d(L,{y:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},97620(ht,L,o){"use strict";o.d(L,{yP:()=>t.y,HW:()=>n.H,o9:()=>c.o,iJ:()=>f.i,Sc:()=>M.S,l4:()=>m.l,$f:()=>r.$,yS:()=>_.y,SH:()=>l.S,ig:()=>E.i});var t=o(92212),n=(o(55063),o(94280)),c=o(43718),f=o(25660),M=o(21640),m=o(28),r=o(18610),_=o(62864);o(75089);var l=o(99438),E=o(25815)},51947(ht,L,o){"use strict";o.d(L,{E:()=>n});var t=o(51203),e=o(10627);let n=(()=>{class c{set conteDwInputMask(M){this._maskConfig=M,this.handleMaskConfigChange(M)}get conteDwInputMask(){return this._maskConfig}constructor(M){this.elementRef=M,this.$maskedInput=new t.bkB}onInput(M){this.maskInstance?this.isMaskedValueCleared()&&this.$maskedInput.emit({target:this.elementRef.nativeElement}
1):this.$maskedInput.emit(M)}onfocus(){this.maskInstance?.updateValue()}ngOnDestroy(){this.maskInstance?.off("complete"),this.maskInstance?.destroy()}handleMaskConfigChange(M){this.maskInstance?M?this.maskInstance.updateOptions(this.transformConfigurationObject(M)):(this.maskInstance.off("complete"),this.maskInstance.destroy()):M&&(this.maskInstance=(0,e.Ay)(this.elementRef.nativeElement,this.transformConfigurationObject(M)),this.maskInstance.on("complete",m=>this.$maskedInput.emit(m)))}isMaskedValueCleared(){return""===(this.elementRef.nativeElement.value||"").replace(/[^a-zA-Z0-9]/g,"")}transformConfigurationObject(M){return{mask:M.mask,min:M.min||null,max:M.max||null,prepare:m=>(M.uppercase&&(m=m.toUpperCase()),M.lowercase&&(m=m.toLowerCase()),M.prepare&&(m=M.prepare(m)),m)}}static{this.\u0275fac=function(m){return new(m||c)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:c,selectors:[["","conteDwInputMask",""]],hostBindings:function(m,r){1&m&&t.bIt("input",function(g){return r.onInput(g)})("focus",function(){return r.onfocus()})},inputs:{conteDwInputMask:"conteDwInputMask"},outputs:{$maskedInput:"$maskedInput"},standalone:!1})}}return c})()},62727(ht,L,o){"use strict";o.d(L,{n:()=>e});var t=o(51203);let e=(()=>{class n{constructor(f){this.elementRef=f,this.isEmitting=!0,this.$outsideClick=new t.bkB}onClick(f){this.isEmitting&&!this.elementRef.nativeElement.contains(f.target)&&(!this.context||this.context.contains(f.target))&&this.$outsideClick.emit(f)}static{this.\u0275fac=function(M){return new(M||n)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:n,selectors:[["","conteDwOutsideClick",""]],hostBindings:function(M,m){1&M&&t.bIt("click",function(_){return m.onClick(_)},t.EBC)},inputs:{isEmitting:"isEmitting",context:"context"},outputs:{$outsideClick:"$outsideClick"},standalone:!1})}}return n})()},83624(ht,L,o){"use strict";o.d(L,{a:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},99438(ht,L,o){"use strict";o.d(L,{S:()=>n});var t=o(80226),e=o(51203);let n=(()=>{class c{static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=t.G2t({})}}return c})()},25815(ht,L,o){"use strict";o.d(L,{i:()=>n});var t=o(51203),e=function(c){return c[c.OnElementClick=0]="OnElementClick",c[c.OnCustomTrigger=1]="OnCustomTrigger",c}(e||{});let n=(()=>{class c{constructor(){this.scrollStrategy=e.OnCustomTrigger,this.onClick=()=>{this.scrollStrategy===e.OnElementClick&&this.scrollToFirstError()}}set customTrigger$(M){M&&(this.customTriggerSubscription=M.subscribe(()=>this.scrollToFirstError()))}ngOnDestroy(){this.customTriggerSubscription?.unsubscribe()}scrollToFirstError(){const M=document.querySelector("form .ng-invalid");M&&M.scrollIntoView({behavior:"smooth",block:"center"})}static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275dir=t.FsC({type:c,selectors:[["","conteDwScrollToFormError",""]],hostBindings:function(m,r){1&m&&t.bIt("click",function(){return r.onClick()})},inputs:{scrollStrategy:"scrollStrategy",customTrigger$:"customTrigger$"}})}}return c})()},61115(ht,L,o){},95652(ht,L,o){"use strict";o.d(L,{F:()=>W});var t=o(51203),e=o(8659),n=o(80226),c=o(44181),f=o(45319),M=o(44052),m=o(23167),r=o(32807),_=o(24792),g=o(81128),$=o(19699),T=o(22091),B=o(23321);function A(pt,ot){1&pt&&(t.j41(0,"div",3),t.nrm(1,"img",11),t.j41(2,"p",12),t.EFF(3,"Vuoi essere ricontattato da noi?"),t.k0s()())}let I=(()=>{class pt{constructor(){this.callCardStyle="",this.showHeader=!0}static{this.\u0275fac=function(et){return new(et||pt)}}static{this.\u0275cmp=t.VBU({type:pt,selectors:[["conte-dw-call-card"]],inputs:{callCardStyle:"callCardStyle",showHeader:"showHeader",formGroup:"formGroup"},standalone:!1,decls:13,vars:4,consts:[[1,"ui-bootstrap"],[3,"ngClass"],[1,"call-card","dw-card","dw-card-default"],[1,"call-card-header","d-flex","align-items-center"],[1,"call-card-content"],[1,"small-body"],[3,"formGroup"],[1,"call-card-input-field"],["inputFieldClasses","dw-input-field-login dw-input-field-renewal-edit","label","Il tuo numero di telefono","inputType","tel","inputId","numero-telefono","inputName","numero-telefono","placeholder","Inserisci telefono","formControlName","telephone",3,"valid"],[1,"call-card-button"],["
1id","call-card-button",1,"button","flex-center","button-primary"],["src","./assets/img/icon-phone.svg"],[1,"font-weight-bold"]],template:function(et,Et){1&et&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.nVh(3,A,4,0,"div",3),t.j41(4,"div",4)(5,"p",5),t.EFF(6," Controlla il tuo numero di telefono, se necessario aggiornalo e clicca su \u201cFatti richiamare\u201d. Ti contatteremo entro le prossime 4 ore lavorative. "),t.k0s(),t.j41(7,"form",6)(8,"div",7),t.nrm(9,"conte-dw-input-field",8),t.k0s()()(),t.j41(10,"div",9)(11,"conte-dw-button",10),t.EFF(12,"Fatti richiamare"),t.k0s()()()()()),2&et&&(t.R7$(),t.Y8G("ngClass",Et.callCardStyle),t.R7$(2),t.vxM(Et.showHeader?3:-1),t.R7$(4),t.Y8G("formGroup",Et.formGroup),t.R7$(2),t.Y8G("valid",null))},dependencies:[c.YU,T._,$.Q,B.qT,B.BC,B.cb,B.j4,B.JD],styles:[".call-card[_ngcontent-%COMP%]   .call-card-header[_ngcontent-%COMP%]{padding-bottom:25px}.call-card[_ngcontent-%COMP%]   .call-card-header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{flex-shrink:0;height:30px;padding-right:10px}.call-card[_ngcontent-%COMP%]   .call-card-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#4dabff}.call-card[_ngcontent-%COMP%]   .call-card-content[_ngcontent-%COMP%]{padding:0 0 25px}.call-card[_ngcontent-%COMP%]   .call-card-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#484848}.call-card[_ngcontent-%COMP%]   .call-card-input-field[_ngcontent-%COMP%]{padding-top:15px}@media (max-width: 767px){.call-card[_ngcontent-%COMP%]   .call-card-header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:25px}}.no-background[_ngcontent-%COMP%]   .dw-card[_ngcontent-%COMP%]{border-radius:0;box-shadow:none}.no-background[_ngcontent-%COMP%]   .dw-card-default[_ngcontent-%COMP%]{background:transparent;padding:0 0 5px}"]})}}return pt})();var C=o(46773);function k(pt,ot){if(1&pt&&(t.j41(0,"div"),t.nrm(1,"conte-dw-call-card",22),t.k0s()),2&pt){const gt=t.XpG();t.R7$(),t.Y8G("formGroup",gt.getFormGroup)}}function s(pt,ot){if(1&pt&&t.nrm(0,"p",14),2&pt){const gt=t.XpG();t.Y8G("ngClass",gt.instructionsClass)("innerHTML",gt.subtitleInstructions,t.npT)}}function l(pt,ot){if(1&pt&&(t.j41(0,"div",16),t.nrm(1,"conte-dw-telephone-number",23),t.k0s()),2&pt){const gt=t.XpG();t.R7$(),t.Y8G("info",gt.showPhoneInfo)("telephoneNumber",gt.defaultTelephoneNumber)}}function E(pt,ot){if(1&pt){const gt=t.RV6();t.j41(0,"div",17)(1,"conte-dw-button",24),t.bIt("$buttonClickOutput",function(){n.eBV(gt);const Et=t.XpG();return n.Njj(Et.openMail())}),t.EFF(2),t.k0s()()}if(2&pt){const gt=t.XpG();t.R7$(2),t.JRh(gt.mailInstructions)}}function p(pt,ot){if(1&pt){const gt=t.RV6();t.j41(0,"div"),t.nrm(1,"conte-dw-labels",25),t.j41(2,"conte-dw-button-form",26),t.bIt("$buttonClickOutput",function(){const Et=n.eBV(gt).$implicit,K=t.XpG(2);return n.Njj(K.onMoreInstructionsClick(Et.id))}),t.EFF(3),t.k0s()()}if(2&pt){const gt=ot.$implicit;t.R7$(),t.Y8G("showIcon",!0)("text",gt.label),t.R7$(),t.Y8G("id",gt.id),t.R7$(),t.JRh(gt.buttonLabel)}}function h(pt,ot){if(1&pt&&(t.j41(0,"div",18),t.Z7z(1,p,4,4,"div",null,t.fX1),t.k0s()),2&pt){const gt=t.XpG();t.R7$(),t.Dyx(gt.instructions)}}function w(pt,ot){if(1&pt&&t.nrm(0,"p",19),2&pt){const gt=t.XpG();t.Y8G("innerHTML",gt.textInstructions,t.npT)}}function z(pt,ot){if(1&pt&&t.nrm(0,"p",27),2&pt){const gt=t.XpG(2);t.Y8G("innerHTML",gt.titleData,t.npT)}}function v(pt,ot){if(1&pt&&t.nrm(0,"conte-dw-data-element",29),2&pt){const gt=ot.$implicit;t.Y8G("inputValue",ot.inputValue)("dataMapElement",gt)}}function D(pt,ot){if(1&pt&&(t.j41(0,"div",20),t.nVh(1,z,1,1,"p",27),t.j41(2,"conte-dw-data-grid",28),t.DNE(3,v,1,2,"ng-template",null,0,t.C5r),t.k0s()()),2&pt){const gt=t.XpG();t.R7$(),t.vxM(gt.titleData?1:-1),t.R7$(),t.Y8G("columnsXl",gt.columnsXl)("dataList",gt.contractorDataMapList)("inputData",gt.contractorInputData)}}function N(pt,ot){1&pt&&(t.j41(0,"div",21)(1,"p",30)(2,"span",31),t.EFF(3,"Hai bisogno di modificare i dati?"),t.k0s(),t.EFF(4," Contattaci al numero "),t.j41(5,"span",31),t.EFF(6,"06-45234523"),t.k0s()(),t.j41(7,"div",32)(8,"conte-dw-button",33),t.EFF(9,"Stampa"),t.k0s(),t.j41(10,"conte-dw-button",34),t.EFF(11,"Torna alle tue polizze"),t.k0s()()())}let W=(()=>{class pt{constructor(){this.goBackButtonLabel="",this.subtitleInstructions="",this.instructionsClass="instructions-subtitle small-subtitle font-italic text-center text-md-1-left",this.showPhoneNumber=!0,this.defaultTelephoneNumber=e.ee,this.showPhoneInfo=!0,this.mailInstru
1ctions="",this.textInstructions="",this.titleData="",this.showInfo=!1,this.$goBackClick=new t.bkB,this.$moreInstructionsOutput=new t.bkB}onGoBackClick(gt){this.$goBackClick.emit(gt)}onMoreInstructionsClick(gt){this.$moreInstructionsOutput.emit(gt)}openMail(){window.location.href="mailto:"+this.mailInstructions}static{this.\u0275fac=function(et){return new(et||pt)}}static{this.\u0275cmp=t.VBU({type:pt,selectors:[["conte-dw-pure-instructions"]],inputs:{goBackButtonLabel:"goBackButtonLabel",showPhoneCard:"showPhoneCard",getFormGroup:"getFormGroup",payOff:"payOff",subtitleInstructions:"subtitleInstructions",instructionsClass:"instructionsClass",showPhoneNumber:"showPhoneNumber",defaultTelephoneNumber:"defaultTelephoneNumber",showPhoneInfo:"showPhoneInfo",mailInstructions:"mailInstructions",instructions:"instructions",textInstructions:"textInstructions",titleData:"titleData",columnsXl:"columnsXl",contractorDataMapList:"contractorDataMapList",contractorInputData:"contractorInputData",showInfo:"showInfo"},outputs:{$goBackClick:"$goBackClick",$moreInstructionsOutput:"$moreInstructionsOutput"},standalone:!1,decls:22,vars:11,consts:[["DataElement",""],[1,"ui-bootstrap"],[1,"instructions-container"],[1,"dw-page-wrapper"],[1,"dw-container"],[1,"row"],["conteDwShadowOnScroll","","scrollLimit","30",1,"col-xxl-3","col-xmd-4","col-md-1-5","col-12","dw-sidebar-full-width"],[1,"dw-sidebar","sticky-top"],[1,"instructions-goback"],[3,"$clickEvent","buttonLabel"],[1,"col-xxl-9","col-xmd-8","col-md-1-7","col-12","dw-content"],[1,"instructions-content"],[1,"instructions-payoff"],["payoffStyle","title-highlighted",3,"payoffData","showSubtitle"],[3,"ngClass","innerHTML"],[1,"instructions-call","d-flex","flex-column","flex-lg-row","align-items-center","justify-content-center"],[1,"instructions-number"],[1,"instructions-sending","text-center"],[1,"instructions-labels","d-flex","flex-column"],[1,"instructions-text","big-body","font-italic","text-left",3,"innerHTML"],[1,"instructions-data","dw-card","dw-card-big"],[1,"instructions-info","text-center"],[3,"formGroup"],["iconPhone","phone",3,"info","telephoneNumber"],["id","instructions-button","imgSrc","./assets/img/icon-mail.svg","imgClass","img-left-big",1,"button","flex-center","inline","button-fourth",3,"$buttonClickOutput"],["icon","icon-ok",1,"label","label-icon-text",3,"showIcon","text"],["type","submit",1,"link","form",3,"$buttonClickOutput","id"],[1,"instruction-title-data","text-uppercase","font-italic","big-body",3,"innerHTML"],["columnsLg","3","columnsMd","2","columnsMd1","2","columnsSm","2",3,"columnsXl","dataList","inputData"],["elementClass","data-element-grid",3,"inputValue","dataMapElement"],[1,"small-body"],[1,"font-weight-bold"],[1,"instructions-info-button","d-flex","align-items-center","justify-content-center"],["id","print-button",1,"button","button-secondary"],["id","go-back-button",1,"button","button-primary"]],template:function(et,Et){1&et&&(t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7)(7,"div",8)(8,"conte-dw-go-back",9),t.bIt("$clickEvent",function(at){return Et.onGoBackClick(at)}),t.k0s()(),t.nVh(9,k,2,1,"div"),t.k0s()(),t.j41(10,"div",10)(11,"div",11)(12,"div",12),t.nrm(13,"conte-dw-payoff",13),t.k0s(),t.nVh(14,s,1,2,"p",14),t.j41(15,"div",15),t.nVh(16,l,2,2,"div",16),t.nVh(17,E,3,1,"div",17),t.nVh(18,h,3,0,"div",18),t.k0s(),t.nVh(19,w,1,1,"p",19),t.nVh(20,D,5,4,"div",20),t.nVh(21,N,12,0,"div",21),t.k0s()()()()()()()),2&et&&(t.R7$(8),t.Y8G("buttonLabel",Et.goBackButtonLabel),t.R7$(),t.vxM(Et.showPhoneCard?9:-1),t.R7$(4),t.Y8G("payoffData",Et.payOff)("showSubtitle",!(null==Et.payOff||!Et.payOff.subtitle)),t.R7$(),t.vxM(Et.subtitleInstructions?14:-1),t.R7$(2),t.vxM(Et.showPhoneNumber?16:-1),t.R7$(),t.vxM(Et.showPhoneNumber?-1:17),t.R7$(),t.vxM(null!=Et.instructions&&Et.instructions.length?18:-1),t.R7$(),t.vxM(Et.textInstructions?19:-1),t.R7$(),t.vxM(null!=Et.contractorDataMapList&&Et.contractorDataMapList.length?20:-1),t.R7$(),t.vxM(Et.showInfo?21:-1))},dependencies:[c.YU,f.j,M.v,m.N,r.H,_.I,g.M,$.Q,I,C.G],styles:[".instructions-container[_ngcontent-%COMP%]   .dw-sidebar.sticky-top[_ngcontent-%COMP%]{top:90px}.instructions-container[_ngcontent-%COMP%]   .no-days[_ngcontent-%COMP%]{padding-top:10px}.instructions-container[_ngcontent-%COMP%]   .instructions-subtitle[_ngcontent-%COMP%]{padding-top:20px}.instructions-container[_ngcontent-%COMP%]   .instructions-call[_ngcontent-%COMP%]{padding:30px 0}.instructions-container[_ngcontent-%COMP%]   .instructions-call[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1}.instructions-container[_ngcontent-%COMP%]   .instructions-labels[_ngcontent-%COMP%]{padding-left:5px}.instructions-container[_ngcontent-%COMP%]   .instructions-labels[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){padding-top:10px}.instructions-container[_ngcontent-%COMP%]   .instructions-labels[_ngcontent-%COMP%]     .label-icon-text{font-style:italic}.instructions-container[_ngcontent-%COMP%]   .instructions-text[_ngcontent-%COMP%]{padding-bottom:25px}.instructions-container[_ngcontent-%COMP%]   .dw-card-big[_ngcontent-%COMP%]{padding:40px 40px 5px}.instructions-container[_ngcontent-%COMP%]   .instruction-title-data[_ngcontent-%COMP%]{padding-bottom:30px}.instructions-container[_ngcontent-%COMP%]   .instructions-info[_ngcontent-%COMP%], .instructions-container[_ngcontent-%COMP%]   .instructions-info-button[_ngcontent-%COMP%]{padding-top:20px}.instructions-container[_ngcontent-%COMP%]   .instructions-info-button[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:10px 7px 0}@media (max-width: 1024px){.instructions-container[_ngcontent-%COMP%]   .instructions-labels[_ngcontent-%COMP%]{padding-top:30px}}@media (max-width: 767px){.instructions-container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-left:-20px;margin-right:-20px}.instructions-container[_ngcontent-%COMP%]   .dw-content[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.instructions-container[_ngcontent-%COMP%]   .instructions-subtitle[_ngcontent-%COMP%]{font-size:16px;line-height:160%}.instructions-container[_ngcontent-%COMP%]   .dw-card-big[_ngcontent-%COMP%]{padding:20px 20px 0}}@media (max-width: 370px){.instructions-container[_ngcontent-%COMP%]   .instructions-info-button[_ngcontent-%COMP%]{flex-direction:column}.instructions-container[_ngcontent-%COMP%]   .instructions-info-button[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%;padding:10px 0 0}}"]})}}return pt})()},15634(ht,L,o){"use strict";o.d(L,{L:()=>z});var t=o(51203),e=o(91328),n=o(80226),c=o(44181),f=o(42128),M=o(45319),m=o(99744),r=o(46773),_=o(17871),g=o(52483),$=o(58111);function T(v,D){if(1&v){const N=t.RV6();t.j41(0,"conte-dw-go-back",9),t.bIt("$clickEvent",function(pt){n.eBV(N);const ot=t.XpG(2);return n.Njj(ot.onGoBackClick(pt))}),t.k0s()}if(2&v){const N=t.XpG(2);t.Y8G("buttonLabel",N.goBackButtonText)}}function B(v,D){if(1&v){const N=t.RV6();t.j41(0,"conte-dw-payment-info-card",10),t.bIt("$mainCallToActionClickOutput",function(pt){n.eBV(N);const ot=t.XpG(2);return n.Njj(ot.onInfoCardMainCtaClick(pt))})("$secondaryCallToActionClickOutput",function(pt){n.eBV(N);const ot=t.XpG(2);return n.Njj(ot.onInfoCardSecondaryCtaClick(pt))}),t.k0s()}if(2&v){const N=t.XpG(2);t.Y8G("headerText",N.infoCardConfig.headerText)("priceLabel",N.infoCardConfig.priceLabel)("paymentInfo",N.infoCardConfig.paymentInfo)("mainCallToAction",N.infoCardConfig.mainCallToAction)("savedCard",N.infoCardConfig.savedCard)("vehicleInfo",N.infoCardConfig.vehicleInfo)("vehicleInfoStyle",N.infoCardConfig.vehicleInfoStyle)("privacyCheckboxInfo",N.infoCardConfig.privacyCheckboxInfo)("secondaryCallToAction",N.infoCardConfig.secondaryCallToAction)("descriptionLabels",N.infoCardConfig.descriptionLabels)("paymentSavedData",N.infoCardConfig.paymentSavedData)}}function A(v,D){if(1&v&&(t.j41(0,"div",6),t.nVh(1,T,1,1,"conte-dw-go-back",7),t.nVh(2,B,1,11,"conte-dw-payment-info-card",8),t.k0s()),2&v){const N=t.XpG();t.R7$(),t.vxM(N.goBackButtonText?1:-1),t.R7$(),t.vxM(N.infoCardConfig?2:-1)}}function I(v,D){if(1&v&&t.nrm(0,"img",12),2&v){const N=t.XpG(2);t.Y8G("src","./assets/img/"+N.headerImage,t.B4B)}}function C(v,D){1&v&&t.nrm(0,"br",15)}
1function k(v,D){if(1&v&&t.nrm(0,"conte-dw-document-list",25),2&v){const N=t.XpG(3);t.Y8G("nameImg",N.documentsInfo.documentsIconName)("title",N.documentsInfo.documentsTitleText)}}function s(v,D){1&v&&t.nrm(0,"label",26),2&v&&t.Y8G("innerHTML",D.$implicit,t.npT)}function l(v,D){if(1&v&&t.nrm(0,"conte-dw-document-list",28),2&v){const N=t.XpG(3);t.Y8G("showDashed",!0)("alignLeftSide",!0)("nameImg",N.documentsInfo.instructionIconName)("title",N.documentsInfo.instructionTitleText)("documentList",N.documentsInfo.instructionList)("direction",N.documentListDirection.HORIZONTAL)}}function E(v,D){if(1&v){const N=t.RV6();t.j41(0,"conte-dw-button-form",31),t.bIt("$buttonClickOutput",function(pt){n.eBV(N);const ot=t.XpG(3);return n.Njj(ot.onDocumentButtonClick(pt))}),t.EFF(1),t.k0s()}if(2&v){const N=t.XpG(3);t.Y8G("imgSrc",N.documentsButtonImage?"./assets/img/"+N.documentsButtonImage:null),t.R7$(),t.SpI(" ",N.documentsButtonText," ")}}function p(v,D){if(1&v&&(t.j41(0,"div",18)(1,"div",24),t.nVh(2,k,1,2,"conte-dw-document-list",25),t.Z7z(3,s,1,1,"label",26,t.fX1),t.k0s(),t.j41(5,"div",27),t.nVh(6,l,1,6,"conte-dw-document-list",28),t.j41(7,"div",29),t.nVh(8,E,2,2,"conte-dw-button-form",30),t.k0s()()()),2&v){const N=t.XpG(2);t.R7$(2),t.vxM(N.documentsInfo.documentsTitleText?2:-1),t.R7$(),t.Dyx(N.documentsInfo.documentsDescription),t.R7$(3),t.vxM(N.documentsInfo.instructionTitleText||N.documentsInfo.instructionList?6:-1),t.R7$(2),t.vxM(N.documentsButtonText?8:-1)}}function h(v,D){if(1&v&&(t.j41(0,"div",23),t.nrm(1,"conte-dw-certified-quality-banner",32),t.k0s()),2&v){const N=t.XpG(2);t.R7$(),t.Y8G("mainTitle",N.qualityBannerInfo.mainTitle)("mainSubtitle",N.qualityBannerInfo.mainSubtitle)("assistanceTitle",N.qualityBannerInfo.assistanceTitle)("firstCardTitle",N.qualityBannerInfo.firstCardTitle)("firstCardImage",N.qualityBannerInfo.firstCardImage)("firstCardSubtitle",N.qualityBannerInfo.firstCardSubtitle)("secondCardTitle",N.qualityBannerInfo.secondCardTitle)("secondCardImage",N.qualityBannerInfo.secondCardImage)("secondCardSubtitle",N.qualityBannerInfo.secondCardSubtitle)}}function w(v,D){if(1&v&&(t.j41(0,"div",11),t.nVh(1,I,1,1,"img",12),t.j41(2,"label",13),t.nrm(3,"span",14),t.nVh(4,C,1,0,"br",15),t.nrm(5,"span",16),t.k0s(),t.nrm(6,"label",17),t.k0s(),t.nVh(7,p,9,3,"div",18),t.j41(8,"div",19),t.nrm(9,"conte-dw-section-header",20),t.j41(10,"div",21),t.nrm(11,"conte-dw-data-table",22),t.k0s()(),t.nVh(12,h,2,9,"div",23)),2&v){const N=t.XpG();t.R7$(),t.vxM(N.headerImage?1:-1),t.R7$(2),t.Y8G("innerHTML",N.titleText,t.npT),t.R7$(),t.vxM(N.titleText&&N.subtitleText?4:-1),t.R7$(),t.Y8G("innerHTML",(N.titleText?" ":"")+N.subtitleText,t.npT),t.R7$(),t.Y8G("innerHTML",N.descriptionText,t.npT),t.R7$(),t.vxM(N.documentsInfo?7:-1),t.R7$(2),t.Y8G("titleText",N.summaryTitle),t.R7$(2),t.Y8G("breakpointsConfig",N.summaryBreakpointsConfig)("elementList",N.elementList),t.R7$(),t.vxM(N.qualityBannerInfo?12:-1)}}let z=(()=>{class v{constructor(){this.documentListDirection=e.$,this.summaryBreakpointsConfig={default:12,lg:3},this.$goBackClick=new t.bkB,this.$infoCardMainCtaClick=new t.bkB,this.$infoCardSecondaryCtaClick=new t.bkB,this.$documentButtonClick=new t.bkB}onGoBackClick(N){this.$goBackClick.emit(N)}onInfoCardMainCtaClick(N){this.$infoCardMainCtaClick.emit(N)}onInfoCardSecondaryCtaClick(N){this.$infoCardSecondaryCtaClick.emit(N)}onDocumentButtonClick(N){this.$documentButtonClick.emit(N)}static{this.\u0275fac=function(W){return new(W||v)}}static{this.\u0275cmp=t.VBU({type:v,selectors:[["conte-dw-pure-send-documents-instructions"]],inputs:{showGoBackButton:"showGoBackButton",goBackButtonText:"goBackButtonText",infoCardConfig:"infoCardConfig",headerImage:"headerImage",titleText:"titleText",subtitleText:"subtitleText",descriptionText:"descriptionText",documentsInfo:"documentsInfo",documentsButtonImage:"documentsButtonImage",documentsButtonText:"documentsButtonText",summaryTitle:"summaryTitle",summaryBreakpointsConfig:"summaryBreakpointsConfig",elementList:"elementList",qualityBannerInfo:"qualityBannerInfo"},outputs:{$goBackClick:"$goBackClick",$infoCardMainCtaClick:"$infoCardMainCtaClick",$infoCardSecondaryCtaClick:"$infoCardSecondaryCtaClick",$documentButtonClick:"$documentButtonClick"},standalone:!1,decls:8,vars:3,consts:[["sidebar",""],["centralCol",""],[1,"send-document__main-container"],[3,"isCentralColumnFullWidth"],["sidebar","",3,"ngTemplateOutlet"],["central-column","",3,"ngTemplateOutlet"],[1,"send-document__side-container"],[3,"buttonLabel"],[1,"d-none","d-md-1-block",3,"headerText","priceLabel","paymentInfo","mainCallToAction","savedCard","vehicleInfo","vehicleInfoStyle","privacyCheckboxInfo","secondaryCallToAction","descriptionLabels","paymentSavedData"],[3,"$clickEvent","buttonLabel"],[1,"d-none","d-md-1-block",3,"$mainCallToActionClickOutput","$secondaryCallToActionClickOutput","headerText","priceLabel","paymentInfo","mainCallToAction","savedCard","vehicleInfo","vehicleInfoStyle","privacyCheckboxInfo","secondaryCallToAction","descriptionLabels","paymentSavedData"],[1,"send-document__header"],["alt","",1,"d-block","d-md-1-none","m-auto","send-document__header-image",3,"src"],[1,"text-center","text-md-1-left","send-document__header-titles-container"],[1,"w-100","text-center","text-md-1-left","send-document__header-title",3,"innerHTML"],[1,"d-md-1-none"],[1,"w-100","text-center","text-md-1-left","send-document__header-subtitle",3,"innerHTML"],[1,"w-100","text-center","text-md-1-left","send-document__header-description",3,"innerHTML"],[1,"send-document__documents-info-container"],[1,"send-document__summary-container"],[3,"titleText"],[1,"send-document__summary-table-container"],[3,"breakpointsConfig","elementList"],[1,"send-document__quality-banner-container"],[1,"send-document__documents-list-container"],[3,"nameImg","title"],[1,"w-100","send-document__documents-description",3,"innerHTML"],[1,"send-document__documents-instru
1ctions-container"],["size","xxl","typeList","green","orderType","numeric",3,"showDashed","alignLeftSide","nameImg","title","documentList","direction"],[1,"d-flex","d-md-1-none","justify-content-center","send-document__documents-button-container"],["imgClass","img-left",1,"button","form","flex-center","inline","button-primary","button-fixed-padding",3,"imgSrc"],["imgClass","img-left",1,"button","form","flex-center","inline","button-primary","button-fixed-padding",3,"$buttonClickOutput","imgSrc"],[3,"mainTitle","mainSubtitle","assistanceTitle","firstCardTitle","firstCardImage","firstCardSubtitle","secondCardTitle","secondCardImage","secondCardSubtitle"]],template:function(W,pt){if(1&W&&(t.j41(0,"div",2)(1,"conte-dw-step-page-container",3),t.eu8(2,4)(3,5),t.k0s()(),t.DNE(4,A,3,2,"ng-template",null,0,t.C5r)(6,w,13,10,"ng-template",null,1,t.C5r)),2&W){const ot=t.sdS(5),gt=t.sdS(7);t.R7$(),t.Y8G("isCentralColumnFullWidth",!0),t.R7$(),t.Y8G("ngTemplateOutlet",ot),t.R7$(),t.Y8G("ngTemplateOutlet",gt)}},dependencies:[c.T3,f.C,M.j,m.u,e.d,r.G,_.U,g.u,$.M],styles:[".send-document__main-container[_ngcontent-%COMP%]{padding-top:20px;font-family:Lato,sans-serif;font-weight:400}.send-document__side-container[_ngcontent-%COMP%]{position:sticky;top:90px}.send-document__header[_ngcontent-%COMP%]{padding:0 16px}.send-document__header-image[_ngcontent-%COMP%]{width:160px}.send-document__header-title[_ngcontent-%COMP%], .send-document__header-subtitle[_ngcontent-%COMP%]{color:#00558c;font-size:32px;line-height:130%}.send-document__header-description[_ngcontent-%COMP%]{margin-top:4px;color:#484848;font-size:20px;line-height:150%}.send-document__documents-info-container[_ngcontent-%COMP%]{margin-top:24px;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 0 12px 2px #09458514}.send-document__documents-list-container[_ngcontent-%COMP%]{padding:24px 32px;background:#f9fcff;box-shadow:inset 0 -1px #e6eef3}.send-document__documents-description[_ngcontent-%COMP%]{margin-top:12px;color:#484848;font-size:16px;line-height:160%}.send-document__documents-instructions-container[_ngcontent-%COMP%]{padding:24px 32px}.send-document__summary-container[_ngcontent-%COMP%]{margin-top:40px;background:#fff;border-radius:10px;box-shadow:0 0 12px 2px #09458514}.send-document__summary-table-container[_ngcontent-%COMP%]{padding:12px 16px 20px}.send-document__quality-banner-container[_ngcontent-%COMP%]{margin:40px 0 20px}@media (max-width: 767px){.send-document__main-container[_ngcontent-%COMP%]{padding-top:0}.send-document__side-container[_ngcontent-%COMP%]{padding-bottom:20px}.send-document__header-titles-container[_ngcontent-%COMP%]{margin-top:8px}.send-document__header-title[_ngcontent-%COMP%]{color:#4dabff;font-size:24px;line-height:140%;font-weight:700}.send-document__header-subtitle[_ngcontent-%COMP%]{font-size:24px;line-height:140%}.send-document__header-description[_ngcontent-%COMP%]{margin-top:32px;font-size:16px;line-height:160%}.send-document__documents-info-container[_ngcontent-%COMP%]{margin:24px 16px}.send-document__documents-list-container[_ngcontent-%COMP%]{background:none;padding:24px}.send-document__documents-button-container[_ngcontent-%COMP%]{margin:24px 0 2px}.send-document__documents-instructions-container[_ngcontent-%COMP%]{padding:24px}.send-document__summary-container[_ngcontent-%COMP%]{margin:24px 16px;--section-header-title-font-size: 20px;--section-header-title-line-height: 150%}.send-document__summary-table-container[_ngcontent-%COMP%]{padding:8px 16px}.send-document__quality-banner-container[_ngcontent-%COMP%]{margin:24px 0 20px;--certified-quality-banner-background-color: none;--certified-quality-banner-border: none;--certified-quality-banner-border-radius: 0}}"]})}}return v})()},42128(ht,L,o){"use strict";o.d(L,{C:()=>m});var t=o(75089),e=o(51203),n=o(44181);const c=[[["","header",""]],[["","central-column",""]],[["","right-column",""]],[["","sidebar",""]]],f=["[header]","[central-column]","[right-column]","[sidebar]"];function M(r,_){1&r&&(e.j41(0,"div",2),e.SdG(1,3),e.k0s())}let m=(()=>{class r{constructor(){this._mainContentPosition=t.Fg2.FullWithSidebar,this.stepPageMainContentPosition=t.Fg2}get mainContentPosition(){return this._mainContentPosition}set mainContentPosition(g){g&&(this._mainContentPosition=g)}static{this.\u0275fac=function($){return new($||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["conte-dw-step-page-container"]],inputs:{hideSidebar:"hideSidebar",isCentralColumnFullWidth:"isCentralColumnFullWidth",mainContentPosition:"mainContentPosition"},standalone:!1,ngContentSelectors:f,decls:11,vars:4,consts:[[1,"ui-bootstrap"],[1,"dw-page-wrapper","dw-container","row","p-0","step-page-container__main-container"],[1,"col-xxl-3","col-md-1-4","col-12","step-page-container__sidebar-container"],[1,"step-page-container__main-content-container",3,"ngClass"],[1,"row","m-0"],[1,"step-page-container__header-container","col-12","p-0"],[1,"p-0",3,"ngClass"]],template:function($,T){1&$&&(e.NAR(c),e.j41(0,"div",0)(1,"div",1),e.nVh(2,M,2,0,"div",2),e.j41(3,"div",3)(4,"div",4)(5,"div",5),e.SdG(6),e.k0s(),e.j41(7,"div",6),e.SdG(8,1),e.k0s(),e.j41(9,"div",6),e.SdG(10,2),e.k0s()()()()()),2&$&&(e.R7$(2),e.vxM(T.hideSidebar?-1:2),e.R7$(),e.Y8G("ngClass",T.hideSidebar?T.stepPageMainContentPosition.Full:T.mainContentPosition),e.R7$(4),e.Y8G("ngClass",T.isCentralColumnFullWidth?"col-12":"col-xxl-7 col-12"),e.R7$(2),e.Y8G("ngClass",T.isCentralColumnFullWidth?"col-12":"col-xxl-5 col-12"))},dependencies:[n.YU],styles:[".ui-bootstrap[_ngcontent-%COMP%]{background-color:#f2f6f9}.ui-bootstrap[_ngcontent-%COMP%]{background-color:var(--error-container-background)}.step-page-container__sidebar-container[_ngcontent-%COMP%], .step-page-container__main-content-container[_ngcontent-%COMP%]{padding:0}.step-page-container__header-container[_ngcontent-%COMP%]{position:var(--header-container-position);top:var(--header-container-top);background-color:var(--header-container-background);z-index:var(--header-container-z-index)}@media (min-width: 768px) and (max-width: 1304px){.step-page-container__main-container[_ngcontent-%COMP%]{margin:0 1.25rem 5rem}}@media (min-width: 768px){.step-page-container__sidebar-container[_ngcontent-%COMP%]{padding:0 16px 4.75rem 0}}@media (min-width: 768px) and (min-width: 1305px){.step-page-container__sidebar-container[_ngcontent-%COMP%]{padding:0 16px 9.75rem 0}}@media (min-width: 768px){.step-page-container__main-content-container[_ngcontent-%COMP%]{padding:0 0 0 8px}}@media (min-width: 768px) and (min-width: 1305px){.step-page-container__main-content-container[_ngcontent-%COMP%]{padding:var(--step-page-main-container-padding, 0 0 5rem 8rem)}}"]})}}return r})()},42315(ht,L,o){"use strict";o.d(L,{s:()=>c});var t=o(44181),e=o(80226),n=o(51203);let c=(()=>{class f{static{this.\u0275fac=function(r){return new(r||f)}}static{this.\u0275mod=n.$C({type:f})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return f})()},23483(ht,L,o){"use strict";o.d(L,{_:()=>e});var t=o(51203);let e=(()=>{class n{transform(f){return f?"S\xec":"No"}static{this.\u0275fac=function(M){return new(M||n)}}static{this.\u0275pipe=t.EJ8({name:"conTeBoolean",type:n,pure:!0,standalone:!1})}}return n})()},32727(ht,L,o){"use strict";o.d(L,{Z:()=>M});var t=o(44181),n=(o(34295),o(37754)),c=o(80226),f=o(51203);let M=(()=>{class m{static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275mod=f.$C({type:m})}static{this.\u0275inj=c.G2t({imports:[t.MD,n.h.forChild()]})}}return m})()},95819(ht,L,o){"use strict";o.d(L,{v:()=>M});var t=o(44181),n=(o(34295),o(51203)),c=o(5787),f=o(80226);let M=(()=>{class m{static{this.\u0275fac=function(g){return new(g||m)}}static{this.\u0275mod=n.$C({type:m})}static{this.\u0275inj=f.G2t({providers:[c.T,{provide:n.xe9,useValue:"it-IT"}],imports:[t.MD]})}}return m})()},5787(ht,L,o){"use strict";o.d(L,{T:()=>n});var t=o(44181),e=o(51203);let n=(()=>{class c{transform(M,m="1.2-2",r=!0){return r?"\u20ac "+(0,t.ZV)(M,"it-IT",m):(0,t.ZV)(M,"it-IT",m)+" \u20ac"}static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275pipe=e.EJ8({name:"conTeCurrency",type:c,pure:!0,standalone:!1})}}return c})()},15555(ht,L,o){"use strict";o.d(L,{_:()=>f});var t=o(44181),e=o(15699),n=o(80226),c=o(51203);let f=(()=>{class M{static{this.\u0275fac=function(_){return new(_||M)}}static{this.\u0275mod=c.$C({type:M})}static{this.\u0275inj=n.G2t({providers:[t.PV,e.w],imports:[t.MD]})}}return M})()},15699(ht,L,o){"use strict";o.d(L,{w:()=>c});var t=o(44181),e=o(75089),n=o(51203);let c=(()=>{class f{constructor(m){this.titleCasePipe=m}transform(m,r="date",_="it-IT"){let g;m||(m=0),"number"==typeof m&&(g=m),m&&"function"==typeof m.getTime&&(g=m.getTime()),m&&m.year&&(g=new e.Qnl(m).getTime());const B=this.titleCasePipe.transform((0,t.Yq)(g,"dd MMMM yyyy",_)),A=`h:${(0,t.Yq)(g,"HH.mm",_)}`;return"dateTime"===r?`${B} ${A.replace("23.59","24.00")}`:"time"===r?A:B}static{this.\u0275fac=function(r){return new(r||f)(n.rXU(t.PV,16))}}static{this.\u0275pipe=n.EJ8({name:"conTeDate",type:f,pure:!0,standalone:!1})}}return f})()},46287(ht,L,o){"use strict";o.d(L,{C:()=>n});var t=o(37754),e=o(51203);let n=(()=>{class c{transform(M){return(0,t.ZA)(M)}static{this.\u0275fac=function(m){return new(m||c)}}static{this.\u0275pipe=e.EJ8({name:"conTeStringDefined",type:c,pure:!0,standalone:!1})}}return c})()},91360(ht,L,o){"use strict";o.d(L,{st:()=>t.s,_g:()=>e._,vK:()=>c.v,T:()=>f.T,_m:()=>M._,wp:()=>m.w,w2:()=>$,C3:()=>T,Ab:()=>A});var t=o(42315),e=o(23483),c=(o(32727),o(95819)),f=o(5787),M=o(15555),m=o(15699),r=o(44181),_=o(51203),g=o(80226);let $=(()=>{class I{static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275mod=_.$C({type:I})}static{this.\u0275inj=g.G2t({imports:[r.MD]})}}return I})(),T=(()=>{class I{static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275mod=_.$C({type:I})}static{this.\u0275inj=g.G2t({imports:[r.MD]})}}return I})();o(46287);let A=(()=>{class I{static{this.\u0275fac=function(s){return new(s||I)}}static{this.\u0275mod=_.$C({type:I})}static{this.\u0275inj=g.G2t({})}}return I})()},53581(ht,L,o){"use strict";o.d(L,{Y:()=>_}),o(34295),o(70472);var n=o(42315),c=o(32727),f=o(95819),M=o(15555),m=o(51203),r=o(80226);let _=(()=>{class g{static{this.\u0275fac=function(B){return new(B||g)}}static{this.\u0275mod=m.$C({type:g})}
1static{this.\u0275inj=r.G2t({imports:[n.s,f.v,M._,c.Z]})}}return g})()},76941(ht,L,o){"use strict";o.d(L,{y:()=>t});class t{}},81383(ht,L,o){"use strict";o.d(L,{V:()=>f});var t=o(53515),e=o(31058),n=o(76941),c=o(80226);let f=(()=>{class M{constructor(r){this.config=r,r?.apiCustomHeaders&&(this._headers=r.apiCustomHeaders),r?.apiName&&(this._apiName=r.apiName)}post({apiName:r=this._apiName,uri:_,body:g,methodCustomHeaders:$}){if(!r)throw new Error("ApiName must be provided");return(0,e.H)(t.n.post(r,_,{body:g,headers:{...this._headers,...$}}))}get({apiName:r=this._apiName,uri:_,methodCustomHeaders:g}){if(!r)throw new Error("ApiName must be provided");return(0,e.H)(t.n.get(r,_,{headers:{...this._headers,...g}}))}delete({apiName:r=this._apiName,uri:_,methodCustomHeaders:g}){if(!r)throw new Error("ApiName must be provided");return(0,e.H)(t.n.del(r,_,{headers:{...this._headers,...g}}))}put({apiName:r=this._apiName,uri:_,body:g,methodCustomHeaders:$}){if(!r)throw new Error("ApiName must be provided");return(0,e.H)(t.n.put(r,_,{body:g,headers:{...this._headers,...$}}))}getSanitizedAxiosError(r){let g=r;return r.stack&&(g={message:r.message,name:r.name,code:r.code||""}),g}static{this.\u0275fac=function(_){return new(_||M)(c.KVO(n.y,8))}}static{this.\u0275prov=c.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},60611(ht,L,o){"use strict";o.d(L,{k:()=>t});class t{}},64415(ht,L,o){"use strict";o.d(L,{D:()=>M});var t=o(12378),e=o(60611),n=o(80226),c=o(59681);let M=(()=>{class m{constructor(_,g){this.config=_,this.http=g,this._baseUrl="/pc/service",_?.baseUrl&&(this._baseUrl=_.baseUrl)}post(_,g,$){const T={id:"",jsonrpc:"2.0",method:g,params:this.processBody(_)};return this.http.post(`${this._baseUrl}/${$}`,T).pipe((0,t.T)(B=>B.result))}postNoMap(_,g,$){const T={id:"",jsonrpc:"2.0",method:g,params:this.processBody(_)};return this.http.post(`${this._baseUrl}/${$}`,T)}get(_){return this.http.get(`${this._baseUrl}/${_}`).pipe((0,t.T)(g=>g.result))}processBody(_){return _?Array.isArray(_)?_:[_]:[]}static{this.\u0275fac=function(g){return new(g||m)(n.KVO(e.k,8),n.KVO(c.Qq))}}static{this.\u0275prov=n.jDH({token:m,factory:m.\u0275fac})}}return m})()},2708(ht,L,o){"use strict";o.d(L,{oy:()=>T,IO:()=>D,aC:()=>ot});var t=o(44181),e=o(76936),n=o(48894),c=o(35491),f=o(50741);const M=(0,c.VP)("[Router] Go",(0,c.xk)()),m=(0,c.VP)("[Router] Back"),r=(0,c.VP)("[Router] Forward");var _=o(80226),g=o(51364),$=o(78468);let T=(()=>{class gt{constructor(Et,K,at){this.actions$=Et,this.router=K,this.location=at,this.goEffect$=(0,e.EH)(()=>this.actions$.pipe((0,e.gp)(M),(0,f.M)(Bt=>{this.router.navigate(Bt.path,Bt.extras)})),{dispatch:!1}),this.backEffect$=(0,e.EH)(()=>this.actions$.pipe((0,e.gp)(m),(0,f.M)(()=>this.location.back())),{dispatch:!1}),this.forwardEffect$=(0,e.EH)(()=>this.actions$.pipe((0,e.gp)(r),(0,f.M)(()=>this.location.forward())),{dispatch:!1})}static{this.\u0275fac=function(K){return new(K||gt)(_.KVO(e.En),_.KVO(g.Ix),_.KVO($.aZ))}}static{this.\u0275prov=_.jDH({token:gt,factory:gt.\u0275fac})}}return gt})();const A=(0,c.UX)("router"),I=(0,c.Mz)(A,gt=>{let et=gt?.state?.root,Et={};for(;et?.firstChild;)et=et.firstChild,Et={...Et,...et.params};return Et}),k=(0,c.Mz)(A,gt=>{let et=gt?.state?.root,Et={};for(;et?.firstChild;)et=et.firstChild,Et={...Et,...et.data};return Et});(0,n._u)(A);let D=(()=>{class gt{constructor(Et){this.store=Et,this.routeNestedParams$=this.store.pipe((0,c.Lt)(I)),this.routeNestedData$=this.store.pipe((0,c.Lt)(k))}routeNestedParam(Et){return this.store.pipe((0,c.Lt)((gt=>(0,c.Mz)(I,et=>et&&et[gt]))(Et)))}dispatchNavigation(Et,K){this.store.dispatch(M({path:Et,extras:K}))}dispatchBackNavigation(){this.store.dispatch(m())}dispatchForwardNavigation(){this.store.dispatch(r())}static{this.\u0275fac=function(K){return new(K||gt)(_.KVO(c.il))}}static{this.\u0275prov=_.jDH({token:gt,factory:gt.\u0275fac})}}return gt})();var N=o(51203);let W=(()=>{class gt{static{this.\u0275fac=function(K){return new(K||gt)}}static{this.\u0275mod=N.$C({type:gt})}static{this.\u0275inj=_.G2t({providers:[T,D],imports:[t.MD,c.md.forRoot({router:n.C_}),e.Vm.forRoot([T]),n.hO.forRoot()]})}}return gt})();var pt=o(11509);let ot=(()=>{class gt{static{this.\u0275fac=function(K){return new(K||gt)}}static{this.\u0275mod=N.$C({type:gt})}static{this.\u0275inj=_.G2t({providers:[pt.oy],imports:[W,e.Vm.forFeature
1([pt.oy])]})}}return gt})()},60401(ht,L,o){"use strict";o.d(L,{R2:()=>e.R2,SV:()=>m,h:()=>t.h,c$:()=>t.c$});var t=o(31628),e=o(88768),n=o(59681),c=o(76997),f=o(80226),M=o(51203);let m=(()=>{class r{constructor(g){this.translationService=g;const $=g.currentLang;g.currentLang="",g.use($)}static forChild(g){return{ngModule:r,providers:[{provide:t.Wr,useFactory:$=>new c.s($,g,".json"),deps:[n.Qq]}]}}static{this.\u0275fac=function($){return new($||r)(f.KVO(t.c$))}}static{this.\u0275mod=M.$C({type:r})}static{this.\u0275inj=f.G2t({imports:[t.h.forChild({extend:!0}),t.h]})}}return r})()},88768(ht,L,o){"use strict";o.d(L,{R2:()=>r});var t=o(59681),e=o(80226),n=o(31628),c=o(51203);const f=new e.nKC("FEATURE_TRANSLATION_LOADERS");function m(_){return[{provide:f,useFactory:(g,$)=>function M(_,g,$){return()=>{const T=$.currentLang||$.defaultLang||"it-IT",B=`${_}${T}.json?cb=${Date.now()}`;g.get(B).subscribe({next:A=>{$.setTranslation(T,A,!0)},error:A=>{console.warn(`Unable to load translations for the feature at path: ${B}`,A)}})}}(_,g,$),deps:[t.Qq,n.c$],multi:!0}]}let r=(()=>{class _{constructor($){this.loaders=$,this.loaders?.forEach(T=>T())}static forFeature($){return{ngModule:_,providers:m($)}}static{this.\u0275fac=function(T){return new(T||_)(e.KVO(f,8))}}static{this.\u0275mod=c.$C({type:_})}static{this.\u0275inj=e.G2t({})}}return _})()},28955(ht,L,o){"use strict";o.d(L,{Ar:()=>gn,y:()=>Wn,Bg:()=>Ae,oG:()=>xe,An:()=>Fe,Qg:()=>tt,Re:()=>oe});var t=o(35491);const e=(0,t.VP)("[Modal] Open Modal",(0,t.xk)()),n=(0,t.VP)("[Modal] Open Component Modal",(0,t.xk)()),c=(0,t.VP)("[Modal] Open Modal Success",(0,t.xk)()),f=(0,t.VP)("[Modal] Close Modal"),M=(0,t.VP)("[Modal] Close Modal Success"),m=(0,t.VP)("[Modal] Dismiss Modal"),r=(0,t.VP)("[Modal] Dismiss Modal Success"),_=(0,t.VP)("[Modal] Update Modal Component options",(0,t.xk)()),g="modal",T=(0,t.vy)({isOpen:!1},(0,t.on)(e,bt=>({...bt,isOpen:!1})),(0,t.on)(c,(bt,{modalClassName:le})=>({...bt,isOpen:!0,modalClassName:le??null})),(0,t.on)(M,bt=>({...bt,isOpen:!1,modalClassName:null})),(0,t.on)(r,bt=>({...bt,isOpen:!1,modalClassName:null}))),B=(0,t.VP)("[ScreenSize] Load Screen Size"),A=(0,t.VP)("[ScreenSize] Load Screen Size Success",(0,t.xk)()),I=(0,t.VP)("[ScreenSize] Load Screen Size Failure",(0,t.xk)()),C="screen_size",s=(0,t.vy)({screenWidth:0,screenType:{xsmall:!1,small:!1,medium:!1,medium_max:!1,large:!1,xlarge:!1,handset:!1,tablet:!1,web:!1,handsetPortrait:!1,tabletPortrait:!1,webPortrait:!1,handsetLandscape:!1,tabletLandscape:!1,webLandscape:!1}},(0,t.on)(A,(bt,{screenWidth:le,screenType:$t})=>({...bt,screenWidth:le,screenType:$t})),(0,t.on)(I,(bt,{error:le})=>({...bt,error:le}))),E=(0,t.VP)("[Spinner] Start Spinner"),p=(0,t.VP)("[Spinner] Stop Spinner"),h="spinner",z=(0,t.vy)({isOn:!1},(0,t.on)(E,bt=>({...bt,isOn:!0})),(0,t.on)(p,bt=>({...bt,isOn:!1}))),D="[Util Ui - Stepper]",W=`${D} Add Step!`,pt=`${D} Remove Step!`,ot=`${D} Go Next Step!`,gt=`${D} Go Previous Step!`,et=`${D} Go Specific Step!`,Et=`${D} Set Current Step!`,K=`${Et} By Code!`,at=`${D} Reset State!`,Bt=`${D} Stepper inside Header!`,_t=(0,t.VP)(`${D} Set Steps!`,(0,t.xk)()),st=(0,t.VP)(W,(0,t.xk)()),Ut=(0,t.VP)(pt,(0,t.xk)()),ft=(0,t.VP)(ot,(0,t.xk)()),zt=(0,t.VP)(gt,(0,t.xk)()),jt=(0,t.VP)(et,(0,t.xk)()),Nt=(0,t.VP)(Et,(0,t.xk)()),Dt=(0,t.VP)(K,(0,t.xk)()),pe=(0,t.VP)(at),Lt=(0,t.VP)(Bt),fe=(bt,le,$t,ie)=>{const Ve=U(bt);return ie?Ve[le].middleStep=$t:Ve.splice(le,0,$t),Ve},St=(bt,le,$t)=>{const ie=U(bt);return $t?delete ie[le].middleStep:ie.splice(le,1),ie},Xt=(bt,le="completed")=>{const $t=U(bt),ie=y($t),Ve=$t[ie.index];if(ie.isMiddle)Ve.middleStep&&(Ve.middleStep.status=le),Ve.status="current";else{Ve.status=le;const On=ie.index+1;On<=$t.length-1?$t[On]=G($t[On],"current"):$t[ie.index]=G($t[ie.index],"completed")}return $t},S=(bt,le="todo")=>{const $t=U(bt),ie=y($t),Ve=$t[ie.index];if(!ie.isMiddle&&Ve.middleStep)Ve.status=le,Ve.middleStep.status="current";else{ie.isMiddle?Ve.middleStep&&(Ve.middleStep.status=le):Ve.status=le;const On=ie.index-1;On>=0&&($t[On].status="current")}return $t},vt=(bt,le,$t="completed",ie={preserveCurrent:!1,isMiddle:!1,resetFollowing:{enabled:!1,resetStatus:"todo"}})=>{const Ve=[...bt.map((Zn,so)=>{let go=so<=le?$t:Zn.status||"todo";ie.preserveCurrent&&"current"===Zn.status&&(go=so+1<bt.length&&!["disabled","todo"].includes(bt[so+1].status)?"completed":"visited"),ie.resetFollowing?.enabled&&(go=so<=le?$t:ie.resetFollowing.resetStatus);const q={...Zn,status:go};return Zn.middleStep&&(q.middleStep={...Zn.middleStep,status:go}),q})],On=Ve[le];return ie.isMiddle?(On.middleStep&&(On.middleStep.status="current"),On.status="todo"):On.status="current",Ve},y=bt=>{const le=bt.findIndex(({status:Ve,middleStep:On})=>"current"===Ve||"current"===On?.status),$t=-1!==le&&"current"===bt[le].middleStep?.status;return{step:-1!==le?$t?bt[le].middleStep:bt[le]:{},index:le,isMiddle:$t}},U=bt=>[...bt.map(le=>{const $t={...le};return le.middleStep&&($t.middleStep={...le.middleStep}),$t})],G=(bt,le)=>{const $t={...bt};return $t.middleStep?$t.middleStep.status=le:$t.status=le,$t},dt=(bt,le)=>bt.map(($t,ie)=>({...$t,status:ie===le?"current":ie<le?"completed":"todo"}));function ut(bt,le){const $t=bt.findIndex(ie=>ie.code===le);return dt(bt,$t)}const yt="stepperFeature",Re={steps:[]},Pe=(0,t.vy)(Re,(0,t.on)(_t,(bt,{steps:le})=>({...bt,steps:[...le]})),(0,t.on)(st,(bt,{stepPosition:le,step:$t,isMiddle:ie})=>({...bt,steps:fe(bt.steps,le,$t,ie)}
1)),(0,t.on)(Ut,(bt,{stepPosition:le,isMiddle:$t})=>({...bt,steps:St(bt.steps,le,$t)})),(0,t.on)(ft,(bt,{status:le})=>({...bt,steps:Xt(bt.steps,le)})),(0,t.on)(zt,(bt,{status:le})=>({...bt,steps:S(bt.steps,le)})),(0,t.on)(jt,(bt,{status:le,stepPosition:$t,optionalConfigs:ie})=>({...bt,steps:vt(bt.steps,$t,le,ie)})),(0,t.on)(Nt,(bt,{stepIndex:le})=>({...bt,steps:dt(bt.steps,le)})),(0,t.on)(Dt,(bt,{stepCode:le})=>({...bt,steps:ut(bt.steps,le)})),(0,t.on)(pe,()=>({...Re})),(0,t.on)(Lt,bt=>({...bt,stepperInsideHeader:!0}))),oe="uiFeature",wt=(0,t.UX)(oe),tt={[g]:T,[C]:function l(bt,le){return s(bt,le)},[yt]:function qe(bt,le){return Pe(bt,le)},[h]:function v(bt,le){return z(bt,le)}};var H=o(80226),nt=o(76936),V=o(19362),Gt=o(67793),Yt=o(45198),ge=o(12378),se=o(50741),He=o(50596),sn=o(73328);let Ae=(()=>{class bt{get currentModalReference(){return this._currentModalReference}constructor($t,ie){this.modalsMap=$t,this.modalService=ie,this.outputSubscriptionsMap=new Map([]),this._currentModalReference=null}ngOnDestroy(){this.clearOutputSubscriptions()}open($t,ie,Ve){if(this.currentModalReference||this.dismiss(),this.modalsMap&&this.modalsMap[$t])return this.openComponent(this.modalsMap[$t],ie,Ve);throw new Error(`Modal component not found, please provide the list of modal components at root level as the following example:\n      ...\n      providers: [\n        { provide: 'ModalsComponentMap', useValue: { '${$t}': ${$t} } },\n      ]\n      ...`)}openComponent($t,ie,Ve){if(this.currentModalReference||this.dismiss(),$t)return this._currentModalReference=this.modalService.open($t,Ve),this.fillModalComponentOptions(ie),this.currentModalReference;throw new Error("Modal component not found, please provide a component")}isModalOpen(){return!!this.currentModalReference}updateModalComponentOptions($t){if($t?.inputs)for(const ie in $t.inputs)this.assignModalInput(ie,$t.inputs[ie]);if($t?.outputs)for(const ie of Object.keys($t.outputs))this.outputSubscriptionsMap.get(ie)?.unsubscribe(),this.outputSubscriptionsMap.delete(ie),this.outputSubscriptionsMap.set(ie,this.subscribeModalOutput(ie,$t.outputs[ie]))}close($t){this.currentModalReference&&(this.currentModalReference.close($t),this._currentModalReference=null,this.clearOutputSubscriptions())}dismiss($t){this.currentModalReference&&(this.currentModalReference.dismiss($t),this._currentModalReference=null,this.clearOutputSubscriptions())}fillModalComponentOptions($t){if($t?.inputs)for(const ie in $t.inputs)this.assignModalInput(ie,$t.inputs[ie]);if($t?.builders)for(const ie in $t.builders)this.currentModalReference.componentInstance[ie]=$t.builders[ie]();if($t?.outputs)for(const ie of Object.keys($t.outputs))this.outputSubscriptionsMap.set(ie,this.subscribeModalOutput(ie,$t.outputs[ie]))}subscribeModalOutput($t,ie){const On=this.currentModalReference.componentInstance[$t]?.subscribe?.(ie);if(On?.unsubscribe)return On;throw new Error(`Output "${$t}" is not subscribable.`)}clearOutputSubscriptions(){for(const $t of this.outputSubscriptionsMap.values())$t.unsubscribe();this.outputSubscriptionsMap.clear()}assignModalInput($t,ie){if(this.isIgnorablePseudoInputName($t))return;const Ve=this.currentModalReference?._contentRef?.componentRef;Ve?.setInput?Ve.setInput($t,ie):this.currentModalReference.componentInstance[$t]=ie}isIgnorablePseudoInputName($t){return/^\d+$/.test($t)}static{this.\u0275fac=function(ie){return new(ie||bt)(H.KVO("ModalsComponentMap",8),H.KVO(sn.Bq))}}static{this.\u0275prov=H.jDH({token:bt,factory:bt.\u0275fac,providedIn:"root"})}}return bt})(),gn=(()=>{class bt{constructor(){this.actions$=(0,H.WQX)(nt.En),this.modalService=(0,H.WQX)(Ae),this.onOpenModal$=(0,nt.EH)(()=>this.actions$.pipe((0,nt.gp)(e),(0,Yt.n)($t=>this.modalService.open($t.modalClassName,$t.modalComponentOptions).shown.pipe((0,ge.T)(()=>c({modalClassName:$t.modalClassName})))))),this.onOpenComponent$=(0,nt.EH)(()=>this.actions$.pipe((0,nt.gp)(n),(0,Yt.n)($t=>this.modalService.openComponent($t.modalClass,$t.modalComponentOptions).shown.pipe((0,ge.T)(()=>c({})))))),this.onCloseModal$=(0,nt.EH)(()=>this.actions$.pipe((0,nt.gp)(f),(0,Yt.n)(()=>(0,V.h)(this.modalService.currentModalReference.hidden,(0,Gt.of)(!0))),(0,se.M)($t=>{$t&&this.modalService.close()}),(0,He.p)($t=>!$t),(0,ge.T)(()=>M()))),this.onDismissModal$=(0,nt.EH)(()=>this.actions$.pipe((0,nt.gp)(m),(0,Yt.n)(()=>(0,V.h)(this.modalService.currentModalReference?.hidden,(0,Gt.of)(!0))),(0,se.M)($t=>{$t&&this.modalService.dismiss()}),(0,He.p)($t=>!$t),(0,ge.T)(()=>r()))),this.onUpdateModalComponentOptions$=(0,nt.EH)(()=>this.actions$.pipe((0,nt.gp)(_),(0,se.M)($t=>this.modalService.updateModalComponentOptions($t.modalComponentOptions))),{dispatch:!1})}static{this.\u0275fac=function(ie){return new(ie||bt)}}static{this.\u0275prov=H.jDH({token:bt,factory:bt.\u0275fac})}}return bt})();const hn=(0,t.Mz)(wt,bt=>bt?.modal),Hn=(0,t.Mz)(hn,bt=>bt?.isOpen),rn=(0,t.Mz)(hn,bt=>bt?.modalClassName);let Wn=(()=>{class bt{constructor(){this.store=(0,H.WQX)(t.il),this.isOpen$=this.store.select(Hn).pipe((0,ge.T)($t=>$t??!1)),this.modalClassName$=this.store.select(rn).pipe((0,ge.T)($t=>$t??null))}
1loadOpenModal($t,ie){this.store.dispatch(e({modalClassName:$t,modalComponentOptions:ie}))}loadOpenComponent($t,ie){this.store.dispatch(n({modalClass:$t,modalComponentOptions:ie}))}loadCloseModal(){this.store.dispatch(f())}loadDismissModal(){this.store.dispatch(m())}loadUpdateModalComponentOptions($t){this.store.dispatch(_({modalComponentOptions:$t}))}static{this.\u0275fac=function(ie){return new(ie||bt)}}static{this.\u0275prov=H.jDH({token:bt,factory:bt.\u0275fac})}}return bt})();(0,t.UX)(C);const bn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.xsmall),mn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.small),cn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.medium),Ln=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.medium_max),tn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.large),je=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.xlarge),Jn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.handset),An=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.tablet),dn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.web),$n=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.handsetPortrait),vn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.tabletPortrait),zn=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.webPortrait),on=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.handsetLandscape),mo=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.tabletLandscape),to=(0,t.Mz)(wt,bt=>bt.screen_size.screenType.webLandscape),co=(0,t.Mz)(wt,bt=>bt.screen_size.screenWidth),We=(0,t.Mz)(wt,bt=>bt.screen_size.error);let xe=(()=>{class bt{constructor($t){this.store=$t,this.matchXSmall=this.store.pipe((0,t.Lt)(bn)),this.matchSmall=this.store.pipe((0,t.Lt)(mn)),this.matchMedium=this.store.pipe((0,t.Lt)(cn)),this.matchMediumMax=this.store.pipe((0,t.Lt)(Ln)),this.matchLarge=this.store.pipe((0,t.Lt)(tn)),this.matchXLarge=this.store.pipe((0,t.Lt)(je)),this.matchHandset=this.store.pipe((0,t.Lt)(Jn)),this.matchTablet=this.store.pipe((0,t.Lt)(An)),this.matchWeb=this.store.pipe((0,t.Lt)(dn)),this.matchHandsetPortrait=this.store.pipe((0,t.Lt)($n)),this.matchTabletPortrait=this.store.pipe((0,t.Lt)(vn)),this.matchWebPortrait=this.store.pipe((0,t.Lt)(zn)),this.matchHandsetLandscape=this.store.pipe((0,t.Lt)(on)),this.matchTabletLandscape=this.store.pipe((0,t.Lt)(mo)),this.matchWebLandscape=this.store.pipe((0,t.Lt)(to)),this.screenWidth=this.store.pipe((0,t.Lt)(co)),this.matchError=this.store.pipe((0,t.Lt)(We))}dispatch($t){this.store.dispatch($t)}dispatchLoadScreenSize(){this.store.dispatch(B())}static{this.\u0275fac=function(ie){return new(ie||bt)(H.KVO(t.il))}}static{this.\u0275prov=H.jDH({token:bt,factory:bt.\u0275fac})}}return bt})();const Tt=(0,t.Mz)(wt,bt=>bt.stepperFeature),Qe=(0,t.Mz)(Tt,bt=>bt.steps),At=(0,t.Mz)(Tt,bt=>y(bt.steps).step),Jt=(0,t.Mz)(Tt,bt=>y(bt.steps).index),de=(0,t.Mz)(Tt,bt=>bt.stepperInsideHeader||!1),$e=(0,t.Mz)(Tt,bt=>((bt,le)=>100/le*(bt+1))(y(bt.steps).index,bt.steps.length));let Fe=(()=>{class bt{constructor($t){this.store=$t,this.getCurrentStepIndex$=this.store.select(Jt),this.getCurrentStep$=this.store.select(At),this.getSteps$=this.store.select(Qe),this.getCalculatedProgress$=this.store.select($e),this.getIsStepperInsideHeader$=this.store.select(de)}setSteps($t){this.store.dispatch(_t({steps:$t}))}addStep($t,ie,Ve){this.store.dispatch(st({stepPosition:$t,step:ie,isMiddle:Ve}))}removeStep($t,ie){this.store.dispatch(Ut({stepPosition:$t,isMiddle:ie}))}goToNextStep($t="completed"){this.store.dispatch(ft({status:$t}))}goToPreviousStep($t="todo"){this.store.dispatch(zt({status:$t}))}positionStepperInsideHeader(){this.store.dispatch(Lt())}goToStep($t,ie="completed",Ve){this.store.dispatch(jt({stepPosition:$t,status:ie,optionalConfigs:Ve}))}resetState(){this.store.dispatch(pe())}setCurrentStep($t){this.store.dispatch(Nt({stepIndex:$t}))}setCurrentStepByCode($t){this.store.dispatch(Dt({stepCode:$t}))}static{this.\u0275fac=function(ie){return new(ie||bt)(H.KVO(t.il))}}static{this.\u0275prov=H.jDH({token:bt,factory:bt.\u0275fac})}}return bt})()},58500(){},46846(ht){"use strict";ht.exports={rE:"8.0.0"}}},ht=>{ht.O(0,[4121],()=>ht(ht.s=49156)),ht.O()}]);

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.