PageSourceSearch

https://app.conte.it/areaclienti/2822.7e5714c9a713610c.js

js conte.it collected 2026-09-24 18:40:04 UTC 32,289 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkselfcarearea=self.webpackChunkselfcarearea||[]).push([[2822],{2822(L,_,a){a.d(_,{ClaimRoutingModule:()=>ae});var c=a(16317),f=a(75089),C=a(21285),s=a(59681),T=a(76941),o=a(80226);let d=(()=>{class n{constructor(e,i){this.config=e,this.http=i,e?.apiName&&(this._apiName=e.apiName)}get({apiName:e=this._apiName,uri:i}){if(!e)throw new Error("ApiName must be provided");return this.http.get(`/${e}${i}`)}post({apiName:e=this._apiName,uri:i,body:l}){if(!e)throw new Error("ApiName must be provided");return console.warn("Warning you are using a service created for testing purposes"),this.http.post(`/${e}${i}`,l)}static{this.\u0275fac=function(i){return new(i||n)(o.KVO(T.y,8),o.KVO(s.Qq))}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var p=a(81383),t=a(51203);let g=(()=>{class n{static forRoot(e){return{ngModule:n,providers:[{provide:p.V,useFactory:(i,l,E)=>i.config.mockEnabled?new d(l,E):new p.V(l),deps:["environment",T.y,s.Qq]},{provide:T.y,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=o.G2t({providers:[p.V]})}}return n})();var v=a(60401),h=a(76936),b=a(35491),r=a(44181),M=a(51364),k=a(11509),A=a(72471),nt=a(73328),B=a(23321),$=a(31628);const P_PRIMARY="button button-primary full",P_SECONDARY="button button-secondary full",P_MAIN="button button-main full";var u=function(n){return n.Manage="manage",n.DiscoverRenewal="discoverRenewal",n.DiscoverRenewalProposals="discoverRenewalProposals",n.RenewNow="renewNow",n.OtherOffers="otherOffers",n.Purchase="purchase",n.Suspension="suspension",n.ReactivateNow="reactivateNow",n.PurchaseRenewal="purchaseRenewal",n.PhonePurchase="phonePurchase",n.PurchaseInstructions="purchaseInstructions",n.Edit="edit",n.EditCoverages="editCoverages",n.EditQuote="editQuote",n.Proceed="proceed",n.GoBackToPolicies="goBackToPolicies",n}(u||{});const at=Object.values(u).reduce((n,m)=>(n[m]=`${m}-button`,n),{}),ot={[u.Manage]:P_SECONDARY+" d-block d-md-1-none",[u.DiscoverRenewal]:P_PRIMARY,[u.DiscoverRenewalProposals]:P_PRIMARY,[u.RenewNow]:P_PRIMARY,[u.OtherOffers]:"button button-tertiary full",[u.Purchase]:P_MAIN,[u.PurchaseInstructions]:P_PRIMARY,[u.Suspension]:P_MAIN,[u.ReactivateNow]:P_MAIN,[u.PurchaseRenewal]:P_MAIN,[u.PhonePurchase]:P_PRIMARY,[u.Edit]:P_SECONDARY,[u.EditCoverages]:P_SECONDARY,[u.EditQuote]:P_SECONDARY,[u.Proceed]:P_PRIMARY+" d-none d-md-1-block",[u.GoBackToPolicies]:P_PRIMARY},it={[u.Manage]:"Gestisci",[u.DiscoverRenewal]:"Scopri il rinnovo",[u.DiscoverRenewalProposals]:"Scopri le proposte di rinnovo",[u.RenewNow]:"Rinnova ora",[u.OtherOffers]:"Altre offerte",[u.Purchase]:"Acquista",[u.PurchaseInstructions]:"Istruzioni acquisto",[u.Suspension]:"Sospendi ora",[u.ReactivateNow]:"Riattiva ora",[u.PurchaseRenewal]:"Acquista rinnovo",[u.PhonePurchase]:"Acquisto telefonico",[u.Edit]:"Modifica",[u.EditCoverages]:"Modifica garanzie",[u.EditQuote]:"Modifica preventivo",[u.Proceed]:"Procedi",[u.GoBackToPolicies]:"Torna alle polizze"},H={[u.DiscoverRenewalProposals]:n=>({labelText:n}),[u.RenewNow]:()=>({imgRight:!0,imgSrc:"./assets/img/icon-arrow-white.svg",imgClass:"img-right"})};var ct=a(32807),st=a(19272),rt=a(19699),j=a(46773),lt=a(81128),dt=a(72463),pt=a(45453);function mt(n,m){if(1&n&&(t.j41(0,"div",8),t.nrm(1,"conte-dw-labels",9),t.k0s()),2&n){const e=m.$implicit;t.R7$(),t.HbH("label label-status "+e.color),t.Y8G("text",e.description)}}function ut(n,m){if(1&n&&(t.j41(0,"div",3),t.DNE(1,mt,2,3,"div",7),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Y8G("ngForOf",e.statuses)}}function Ct(n,m){if(1&n&&(t.j41(0,"div",4)(1,"div",8),t.nrm(2,"p",10),t.nI1(3,"translate"),t.k0s()()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("innerHTML",t.bMT(3,1,e.title),t.npT)}}function ft(n,m){if(1&n&&t.nrm(0,"conte-dw-data-element",13),2&n){const e=m.$implicit;t.Y8G("inputValue",m.inputValue)("dataMapElement",e)}}function ht(n,m){if(1&n&&(t.qex(0),t.nrm(1,"div",11),t.j41(2,"conte-dw-data-list",12),t.DNE(3,ft,1,2,"ng-template",null,0,t.C5r),t.k0s(),t.bVm()),2&n){const e=m.$implicit,i=t.XpG();t.R7$(2),t.Y8G("withTitle",!!e.titleClass)("titleClass",e.titleClass?e.titleClass:"")("dataListClass",i.dataListClass+" "+e.dataListClass)("dataList",e.dataMapList)("inputData",e.inputData)}}function Tt(n,m){if(1&n){const e=t.RV6();t.j41(0,"div",15)(1,"a",16),t.bIt("click",function(l){const E=o.eBV(e).$implicit,y=t.XpG(2);return o.Njj(y.onManageActionClick({event:l,encryptedNumber:E.encryptedNumber,buttonVisibilityCode:E.buttonVisibilityCode,actionId:E.id}))}),t.nrm(2,"img",17),t.j41(3,"p",18),t.EFF(4),t.k0s()()()}if(2&n){const e=m.$implicit;t.R7$(2),t.Y8G("src","./assets/img/"+e.image+".svg",t.B4B),t.R7$(2),t.SpI(" ",e.name," ")}}function vt(n,m){if(1&n&&(t.qex(0),t.nrm(1,"div",11),t.j41(2,"div",14),t.Z7z(3,Tt,5,2,"div",15,t.Vm6),t.k0s(),t.bVm()),2&n){const e=t.XpG();t.R7$(3),t.Dyx(e.actionsListMap)}}function gt(n,m){if(1&n){const e=t.RV6();t.j41(0,"conte-dw-button-form",22),t.bIt("$buttonClickOutput",function(l){o.eBV(e);const E=t.XpG().$implicit,y=t.XpG(2);return o.Njj(y.onActionClick(l,E.id))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.HbH(e.class),t.Y8G("name",e.id)("value",e.label)("id",e.id),t.R7$(),t.SpI(" ",e.label," ")}}function Et(n,m){if(1&n){const e=t.RV6();t.j41(0,"conte-dw-button",23),t.bIt("$buttonClickOutput",function(l){o.eBV(e);const E=t.XpG().$implicit,y=t.XpG(2);return o.Njj(y.onActionClick(l,E.id))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.HbH(e.class),t.Y8G("id",e.id)("imgRight",(null==e.extraProps?null:e.extraProps.imgRight)??!1)("imgSrc",(null==e.extraProps?null:e.extraProps.imgSrc)??"")("imgClass",(null==e.extraProps?null:e.extraProps.imgClass)??"")("labelText",(null==e.extraProps?null:e.extraProps.labelText)??""),t.R7$(),t.SpI(" ",e.label," ")}}function bt(n,m){if(1&n&&(t.qex(0),t.nVh(1,gt,2,6,"conte-dw-button-form",20)(2,Et,2,8,"conte-dw-button",21),t.bVm()),2&n){const e=m.$implicit;t.R7$(),t.vxM("button-form"===e.type?1:2)}}function _t(n,m){if(1&n&&(t.qex(0),t.nrm(1,"div",11),t.j41(2,"div",19),t.Z7z(3,bt,3,1,"ng-container",null,t.Vm6),t.k0s(),t.bVm()),2&n){const e=t.XpG();t.R7$(3),t.Dyx(e.mappedButtons)}}function Pt(n,m){if(1&n&&(t.j41(0,"div",6),t.nrm(1,"conte-dw-checkbox",24),t.k0s()),2&n){const e=t.XpG();t.Y8G("scrollLimit",20),t.R7$(),t.Y8G("label",e.privacyCheckbox.label)("formControl",e.privacyCheckbox.formControl)("text",e.privacyCheckbox.additionalText)}}let St=(()=>{class n{constructor(){this.scrollTolerance=20,this.actionClick=new t.bkB,this.manageActionClick=new t.bkB}get mappedButtons(){return(this.buttons||[]).map(e=>({id:at[e],label:it[e],class:ot[e],type:e===u.Proceed?"button-form":"button",...H[e]&&{extraProps:H[e](this.extraLabelText)}}))}onManageActionClick(e){this.manageActionClick.emit(e)}onActionClick(e,i){const l=i.replace("-button","");this.actionClick.emit({event:e,buttonKey:l})}ngOnDestroy(){this.actionClick.complete(),this.manageActionClick.complete()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["conte-dw-info-card"]],inputs:{statuses:"statuses",title:"title",dataListClass:"dataListClass",infoDataMapLists:"infoDataMapLists",actionsListMap:"actionsListMap",privacyCheckbox:"privacyCheckbox",scrollTolerance:"scrollTolerance",extraLabelText:"extraLabelText",buttons:"buttons"},outputs:{actionClick:"actionClick",manageActionClick:"manageActionClick"},decls:10,vars:7,consts:[["DataElement",""],[1,"ui-bootstrap"],[1,"dw-card","dw-card-default"],["id","info-card-status",1,"row","mb-2"],["id","info-card-title",1,"row"],["conteDwHideOnScroll","","id","info-card-content","hideClass","dw-info-hide",3,"scrollLimit","scrollTolerance"],["conteDwHideOnScroll","","hideClass","dw-info-hide",1,"info-card-checkbox",3,"scrollLimit"],["class","col col-auto",4,"ngFor","ngForOf"],[1,"col","col-auto"],[3,"text"],[1,"small-body","font-weight-bold",3,"innerHTML"],[1,"dw-line"],[3,"withTitle","titleClass","dataListClass","dataList","inputData"],["elementClass","data-element-list",3,"inputValue","dataMapElement"],["id","info-card-footer",1,"row"],[1,"col-6","d-flex","justify-content-center"],[1,"d-flex","flex-column","align-items-center",3,"click"],[3,"src"],[1,"small-caption","font-weight-bold","text-uppercase","text-center"],["id","info-card-button",1,"row"],["type","submit",3,"name","value","class","id"],[3,"class","id","imgRight","imgSrc","imgClass","labelText"],["type","submit",3,"$buttonClickOutput","name","value","id"],[3,"$buttonClickOutput","id","imgRight","imgSrc","imgClass","labelText"],["conteDwDataCy","checkbox-privacy","checkboxStyle","checkbox-border checkbox-privacy","inputId","privacy","inputName","privacy",3,"label","formControl","text"]],template:function(i,l){1&i&&(t.j41(0,"div",1)(1,"div",2),t.nVh(2,ut,2,1,"div",3),t.nVh(3,Ct,4,3,"div",4),t.j41(4,"div",5),t.Z7z(5,ht,5,5,"ng-container",null,t.Vm6),t.k0s(),t.nVh(7,vt,5,0,"ng-container"),t.nVh(8,_t,5,0,"ng-container"),t.nVh(9,Pt,2,4,"div",6),t.k0s()()),2&i&&(t.R7$(2),t.vxM(null!=l.statuses&&l.statuses.length?2:-1),t.R7$(),t.vxM(l.title?3:-1),t.R7$(),t.Y8G("scrollLimit",20)("scrollTolerance",l.scrollTolerance),t.R7$(),t.Dyx(l.infoDataMapLists),t.R7$(2),t.vxM(l.actionsListMap?7:-1),t.R7$(),t.vxM(l.mappedButtons.length?8:-1),t.R7$(),t.vxM(null!=l.privacyCheckbox&&l.privacyCheckbox.formControl?9:-1))},dependencies:[r.MD,r.Sq,A.Yam,ct.H,A.Ze,st.q,A.tmq,rt.Q,A.neF,j.G,A.$wQ,lt.M,A.q4,dt.P,B.X1,B.BC,B.l_,A.$fC,pt._,$.h,$.D9],styles:[".dw-card[_ngcontent-%COMP%]{--data-element-list-label-font-size: 14px;--data-element-list-label-line-height: 160%;--data-element-list-value-font-size: 14px;--data-element-list-value-line-height: 160%}.info-card-footer[_ngcontent-%COMP%]{margin-top:10px}.info-card-footer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-top:25px}.info-card-footer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-last-child(-n+2){margin-bottom:10px}.info-card-footer[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:96px}.info-card-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:110px;color:#00558c80;margin-top:3px;letter-spacing:.5px}  .button{display:block}@media (max-width: 1024px){.info-card-footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{letter-spacing:0px}}@media (max-width: 767px){.info-card-footer[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})}}return n})();const U_goBackButton={id:"go-back-button",class:"button-secondary"},U_proceedButton={id:"proceed-button",class:"button-primary"};var It=a(45319);const yt=["*"],Rt=n=>({$implicit:n});function xt(n,m){if(1&n){const e=t.RV6();t.j41(0,"div",6)(1,"conte-dw-go-back",16),t.bIt("$clickEvent",function(l){o.eBV(e);const E=t.XpG();return o.Njj(E.onGoBackClick(l))}),t.k0s()()}if(2&n){const e=t.XpG();t.R7$(),t.Y8G("buttonLabel",e.mappedLabels.goBackButtonLabel)}}function Dt(n,m){if(1&n&&(t.nrm(0,"div",9),t.nI1(1,"translate")),2&n){const e=t.XpG();t.Y8G("innerHTML",t.bMT(1,1,e.labels.subtitle),t.npT)}}function Nt(n,m){1&n&&t.eu8(0)}function Ot(n,m){if(1&n&&t.eu8(0,15),2&n){const e=m.$implicit;t.XpG();const i=t.sdS(22);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.eq3(2,Rt,e))}}function kt(n,m){if(1&n){const e=t.RV6();t.j41(0,"conte-dw-info-card",18),t.bIt("manageActionClick",function(l){o.eBV(e);const E=t.XpG(2);return o.Njj(E.onInfoCardManageActionClick(l))})("actionClick",function(l){o.eBV(e);const E=t.XpG(2);return o.Njj(E.onInfoCardActionClick(l))}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("statuses",e.infoCard.statuses)("title",e.infoCard.title)("dataListClass",e.infoCard.dataListClass)("infoDataMapLists",e.infoCard.infoDataMapLists)("actionsListMap",e.infoCard.actionsListMap)("privacyCheckbox",e.infoCard.privacyCheckbox)("scrollTolerance",e.infoCard.scrollTolerance)("extraLabelText",e.infoCard.extraLabelText)("buttons",e.infoCard.buttons)}}function Bt(n,m){if(1&n&&t.DNE(0,kt,1,9,"conte-dw-info-card",17),2&n){const e=t.XpG();t.Y8G("ngIf",e.infoCard)}}function $t(n,m){if(1&n){const e=t.RV6();t.j41(0,"conte-dw-button-form",19),t.bIt("$buttonClickOutput",function(l){const E=o.eBV(e).$implicit;return o.Njj(E.value.onClick(l))}),t.EFF(1),t.k0s()}if(2&n){const e=m.$implicit;t.HbH("button form full "+e.value.class),t.Y8G("value",e.value.label)("id",e.value.id),t.R7$(),t.SpI(" ",e.value.label," ")}}let wt=(()=>{class n{constructor(){this.buttons={},this.showGoBackButton=!0,this.goBackClick=new t.bkB,this.proceedClick=new t.bkB,this.infoCardManageActionClick=new t.bkB,this.infoCardActionClick=new t.bkB}get mappedButtons(){return function Lt(n,m){return{...n.goBackButton&&{goBackButton:{...U_goBackButton,label:n.goBackButton,onClick:m.onGoBackClick}},...n.proceedButton&&{proceedButton:{...U_proceedButton,label:n.proceedButton,onClick:m.onProceedClick}}}}(this.buttons,{onGoBackClick:e=>this.onGoBackClick(e),onProceedClick:e=>this.onProceedClick(e)})}get mappedLabels(){return function Mt(n){return{...n,goBackButtonLabel:n?.goBackButtonLabel??"Torna alle polizze"}}(this.labels)}onGoBackClick(e){this.goBackClick.emit(e)}onProceedClick(e){this.proceedClick.emit(e)}onInfoCardManageActionClick(e){this.infoCardManageActionClick.emit(e)}onInfoCardActionClick(e){this.infoCardActionClick.emit(e)}ngOnDestroy(){this.goBackClick.complete(),this.proceedClick.complete(),this.infoCardManageActionClick.complete(),this.infoCardActionClick.complete()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["conte-dw-flow-layout"]],inputs:{labels:"labels",buttons:"buttons",infoCard:"infoCard",showGoBackButton:"showGoBackButton"},outputs:{goBackClick:"goBackClick",proceedClick:"proceedClick",infoCardManageActionClick:"infoCardManageActionClick",infoCardActionClick:"infoCardActionClick"},ngContentSelectors:yt,decls:23,vars:8,consts:[["infoCardTemplate",""],["buttonTemplate",""],[1,"ui-bootstrap"],[1,"dw-page-wrapper","flow-container"],[1,"dw-container","p-0-under-md"],[1,"row","m-0","mb-4"],[1,"back-button","col-xxl-3","col-xmd-4","col-md-1-5","col-12","p-0-under-md","sticky-top"],[1,"title-subtitle","col-xxl-9","col-xmd-8","col-md-1-7","col-12","text-center","text-md-left","font-weight-bold","align-self-center"],[1,"title",3,"innerHTML"],[1,"subtitle",3,"innerHTML"],[1,"row","m-0"],[1,"info-card","col-xxl-3","col-xmd-4","col-md-1-5","col-12","d-none","d-md-1-block"],[4,"ngTemplateOutlet"],[1,"content","col-xxl-9","col-xmd-8","col-md-1-7","col-12","p-0-under-md"],[1,"buttons","col-xxl-9","col-xmd-8","col-md-1-7","col-12","p-0-under-md","offset-xxl
1-3","offset-xmd-4","offset-md-1-5","mt-4"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"$clickEvent","buttonLabel"],[3,"statuses","title","dataListClass","infoDataMapLists","actionsListMap","privacyCheckbox","scrollTolerance","extraLabelText","buttons","manageActionClick","actionClick",4,"ngIf"],[3,"manageActionClick","actionClick","statuses","title","dataListClass","infoDataMapLists","actionsListMap","privacyCheckbox","scrollTolerance","extraLabelText","buttons"],["type","submit","name","submit",3,"$buttonClickOutput","value","id"]],template:function(i,l){if(1&i&&(t.NAR(),t.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),t.nVh(4,xt,2,1,"div",6),t.j41(5,"div",7),t.nrm(6,"div",8),t.nI1(7,"translate"),t.nVh(8,Dt,2,3,"div",9),t.k0s()(),t.j41(9,"div",10)(10,"div",11),t.DNE(11,Nt,1,0,"ng-container",12),t.k0s(),t.j41(12,"div",13),t.SdG(13),t.k0s()(),t.j41(14,"div",10)(15,"div",14),t.Z7z(16,Ot,1,4,"ng-container",15,t.Vm6),t.nI1(18,"keyvalue"),t.k0s()()()()(),t.DNE(19,Bt,1,1,"ng-template",null,0,t.C5r)(21,$t,2,5,"ng-template",null,1,t.C5r)),2&i){const E=t.sdS(20);t.R7$(4),t.vxM(l.showGoBackButton?4:-1),t.R7$(2),t.Y8G("innerHTML",t.bMT(7,4,l.labels.title),t.npT),t.R7$(2),t.vxM(l.labels.subtitle?8:-1),t.R7$(3),t.Y8G("ngTemplateOutlet",E),t.R7$(5),t.Dyx(t.bMT(18,6,l.mappedButtons))}},dependencies:[r.MD,r.bT,r.T3,A.y6m,It.j,St,A.neF,j.G,nt.UN,v.h,r.lG,$.D9],styles:[".flow-container[_ngcontent-%COMP%]{--go-back-md-mb: 0}.flow-container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:first-child{min-height:64px}.flow-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--flow-container-title-font, 32px);line-height:var(--flow-container-title-line-height, 36px)}.flow-container[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{margin-top:var(--flow-container-subtitle-mt, 10px);font-size:var(--flow-container-subtitle-font, 20px)}.flow-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;justify-content:var(--flow-container-buttons-justify, space-between)}@media (max-width: 768px){.flow-container[_ngcontent-%COMP%]     .dw-card-go-back{background-color:var(--flow-container-card-go-back-md-bg-color, transparent)}.flow-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{box-shadow:var(--flow-container-title-md-box-shadow, 0 -2px 10px 2px rgba(31, 94, 202, .1));background-color:var(--flow-container-title-md-bg-color, #ffffff);padding:var(--flow-container-title-md-padding, 20px 20px 25px);word-wrap:var(--flow-container-title-md-word-wrap, break-word);text-align:var(--flow-container-title-md-text-align, left)}}"],changeDetection:0})}}return n})();var I=a(37657),Ft=a(74683),x=a(50596),w=a(45198),Vt=a(31476),G=a(48857),D=a(50741),R=a(12378),Ht=a(15510),N=a(82305),S=a(2878);let X=(()=>{class n{constructor(){this.translateService=(0,o.WQX)(v.c$)}getLabels(e){return this.translateService.get([S.S.TITLE,S.S.BACK_BUTTON],{claimNumber:e.summary.claimNumber??""}).pipe((0,R.T)(i=>({title:i[S.S.TITLE],goBackButtonLabel:i[S.S.BACK_BUTTON]})))}getSidebarData(e){return this.translateService.get([S.S.SIDEBAR.TITLE,S.S.SIDEBAR.FIELDS.PLATE_NUMBER,S.S.SIDEBAR.FIELDS.VEHICLE,S.S.SIDEBAR.FIELDS.LOSS_DATE,S.S.SIDEBAR.FIELDS.COVERAGE],{claimNumber:e.summary.claimNumber??""}).pipe((0,R.T)(i=>({title:i[S.S.SIDEBAR.TITLE],dataListClass:"policy-info",infoDataMapLists:[{dataMapList:[{label:i[S.S.SIDEBAR.FIELDS.PLATE_NUMBER],type:f.UNT.String,variableName:"licensePlate"},{label:i[S.S.SIDEBAR.FIELDS.VEHICLE],type:f.UNT.String,variableName:"vehicle"},{label:i[S.S.SIDEBAR.FIELDS.LOSS_DATE],type:f.UNT.Date,variableName:"lossDate"},{label:i[S.S.SIDEBAR.FIELDS.COVERAGE],type:f.UNT.String,variableName:"coverage"}],inputData:{licensePlate:e.summary.vehicle.licensePlate,vehicle:e.summary.vehicle.model,lossDate:e.summary.lossDate,coverage:e.summary.coverage.description}}]})))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac})}}return n})();var Y=a(20855),O=a(14882);const W=(0,b.VP)("[Claim Tabs Header] Update Tab",n=>n),Q=(0,b.VP)("[Claim Tabs Header] Reset State");var jt=a(37754);const z=C.kL,J={tabs:[{id:C.RZ.Details,label:S.S.TABS_HEADER.DETAILS,selected:!1}]},Gt=(0,jt._J)(J,(0,b.on)(W,(n,{tabId:m})=>({...n,tabs:n.tabs.map(e=>({...e,selected:e.id===m}))})),(0,b.on)(Q,()=>J));function Xt(n,m){return Gt(n,m)}const Yt=(0,b.UX)(z),Wt=(0,b.Mz)(Yt,n=>n.tabs);let F=(()=>{class n{constructor(){this.store=(0,o.WQX)(b.il),this.getTabs$=this.store.select(Wt)}updateTab(e){this.store.dispatch(W({tabId:e}))}resetState(){this.store.dispatch(Q())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac})}}return n})();function Qt(n,m){if(1&n){const e=t.RV6();t.j41(0,"div",2)(1,"conte-dw-tabs-header",3),t.bIt("$tabClickOutput",function(l){o.eBV(e);const E=t.XpG(2);return o.Njj(E.onTabClick(l))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("tabs",e.tabs)("visibility",e.headerVisibility)}}function zt(n,m){if(1&n){const e=t.RV6();t.j41(0,"conte-dw-flow-layout",1),t.bIt("goBackClick",function(){o.eBV(e);const l=t.XpG();return o.Njj(l.onGoBackClick())}),t.nVh(1,Qt,2,2,"div",2),t.nrm(2,"router-outlet"),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("labels",e.labels)("infoCard",e.infoCardData),t.R7$(),t.vxM(e.tabs.length>1?1:-1)}}let Jt=(()=>{class n extends Ft.tH{constructor(){super(...arguments),this.routerFacade=(0,o.WQX)(k.IO),this.activatedRoute=(0,o.WQX)(M.nX),this.claimFacade=(0,o.WQX)(O.t),this.claimTabsHeaderFacade=(0,o.WQX)(F),this.service=(0,o.WQX)(X),this.utilsService=(0,o.WQX)(Y.T),this.headerVisibility=A.wLg.MobileOverflowX}ngOnInit(){this.setClaimUiData(),this.subscribeTabsUpdates(),this.trackPageView(),this.trackEvent()}ngOnDestroy(){super.ngOnDestroy(),this.claimFacade.resetClaimState(),this.claimTabsHeaderFacade.resetState()}
1onGoBackClick(){this.routerFacade.dispatchNavigation([I.EV.Home,I.Rv.Claims])}onTabClick(e){this.claimTabsHeaderFacade.updateTab(e)}setClaimUiData(){this.claimFacade.getClaim$.pipe((0,x.p)(Boolean),(0,w.n)(e=>(0,Vt.p)({labels:this.service.getLabels(e),infoCardData:this.service.getSidebarData(e)})),(0,G.Q)(this.componentIsDestroyed())).subscribe(({labels:e,infoCardData:i})=>{this.labels=e,this.infoCardData=i})}subscribeTabsUpdates(){this.claimTabsHeaderFacade.getTabs$.pipe((0,D.M)(e=>this.tabs=e),(0,R.T)(e=>e.find(i=>i.selected)?.id),(0,x.p)(e=>!!e),(0,Ht.F)(),(0,G.Q)(this.componentIsDestroyed())).subscribe(e=>{this.routerFacade.dispatchNavigation([e],{relativeTo:this.activatedRoute})})}trackPageView(){this.claimFacade.getVehicleType$.pipe((0,N.s)(1)).subscribe(e=>{this.utilsService.trackPageView({vehicleType:e,creationNode:I.JB.vo,pageName:I.JB.O6,businessType:I.JB.q8.pageView.businessType})})}trackEvent(){this.claimFacade.getClaim$.pipe((0,x.p)(Boolean),(0,N.s)(1),(0,R.T)(e=>e.summary.claimNumber)).subscribe(e=>{this.utilsService.trackPageEvent(I.JB.n5,I.JB.q8.event.action,`${I.JB.q8.event.label.claimNumber}${e}`)})}static{this.\u0275fac=(()=>{let e;return function(l){return(e||(e=t.xGo(n)))(l||n)}})()}static{this.\u0275cmp=t.VBU({type:n,selectors:[["conte-dw-claim-main-container"]],features:[t.Vt3],decls:1,vars:1,consts:[[3,"labels","infoCard"],[3,"goBackClick","labels","infoCard"],["id","header_container"],[3,"$tabClickOutput","tabs","visibility"]],template:function(i,l){1&i&&t.nVh(0,zt,3,3,"conte-dw-flow-layout",0),2&i&&t.vxM(l.infoCardData&&l.labels?0:-1)},dependencies:[r.MD,v.h,M.n3,A.$,wt],styles:["conte-dw-flow-layout[_ngcontent-%COMP%]{--flow-container-title-font: 28px}conte-dw-flow-layout[_ngcontent-%COMP%]   #header_container[_ngcontent-%COMP%]{margin-bottom:24px}@media (max-width: 768px){conte-dw-flow-layout[_ngcontent-%COMP%]   #header_container[_ngcontent-%COMP%]{margin-top:24px}}"]})}}return n})(),Z=(()=>{class n{constructor(){this.claimFacade=(0,o.WQX)(O.t),this.claimTabsHeaderFacade=(0,o.WQX)(F),this.router=(0,o.WQX)(M.Ix)}resolve(e){const i=this.router.currentNavigation()?.extras.state?.user;return this.claimFacade.loaded$.pipe((0,D.M)(l=>{!l&&i?.taxID&&this.claimFacade.loadClaim(i.taxID,e.params.cryptedClaimId)}),(0,x.p)(l=>!!l),(0,N.s)(1),(0,w.n)(()=>this.claimTabsHeaderFacade.getTabs$),(0,D.M)(l=>{l.find(y=>y.selected)||this.claimTabsHeaderFacade.updateTab(C.RZ.Details)}),(0,R.T)(()=>!0))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac})}}return n})(),K=(()=>{class n{constructor(){this.claimFacade=(0,o.WQX)(O.t)}resolve(){return this.claimFacade.getClaim$.pipe((0,x.p)(e=>!!e),(0,N.s)(1))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac})}}return n})();var Zt=a(70633),Kt=a(66971),q=function(n){return n.Base="claims-service/sca",n.GetClaim="claims-service/sca/claim",n}(q||{});let tt=(()=>{class n{constructor(){this.apiService=(0,o.WQX)(p.V)}getClaim(e,i){return this.apiService.post({uri:q.GetClaim,body:{taxId:e,cryptedClaimId:i}})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac})}}return n})();var qt=a(90373),te=a(67793),V=a(97044);let ee=(()=>{class n{constructor(){this.actions$=(0,o.WQX)(h.En),this.spinnerFacade=(0,o.WQX)(k.ec),this.service=(0,o.WQX)(tt),this.routerFacade=(0,o.WQX)(k.IO),this.loadClaim$=(0,h.EH)(()=>this.actions$.pipe((0,h.gp)(V.RP),(0,D.M)(()=>this.spinnerFacade.dispatchStartSpinner()),(0,w.n)(e=>this.service.getClaim(e.userTaxID,e.cryptedClaimId).pipe((0,R.T)(i=>(0,V._f)({claim:i.data})),(0,qt.W)(i=>(this.routerFacade.dispatchNavigation(["error"]),(0,te.of)((0,V.FR)({error:i})))),(0,D.M)(()=>this.spinnerFacade.dispatchStopSpinner())))))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=o.jDH({token:n,factory:n.\u0275fac})}}return n})();var et=a(38787);const ne=[{path:":cryptedClaimId",resolve:{loadClaim:Z},component:Jt,children:[{path:C.RZ.Details,resolve:{claim:K},loadComponent:()=>a.e(4287).then(a.bind(a,34287)).then(n=>n.DetailsComponent)},{path:"**",loadComponent:()=>a.e(2463).then(a.bind(a,32463)).then(n=>n.DefaultComponent)}]}];let ae=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=o.G2t({providers:[Z,K,X,tt,Zt.K,Kt.l,Y.T,O.t,F],imports:[b.md.forFeature
1(et.gZ,et.Ff),b.md.forFeature(z,Xt),h.Vm.forFeature([ee]),g.forRoot({apiName:f.L3L.ApiCenter}),v.SV.forChild("translate/features/claim-feature/"),c.iI.forChild(ne)]})}}return n})()},2878(L,_,a){a.d(_,{S:()=>g});const c="claimFeature",f=`${c}.sidebar`,C=`${f}.fields`,s=`${c}.tabsHeader`,T=`${c}.sections.details`,o=`${T}.main`,d=`${T}.expertise`,p=`${T}.vehicles`,t=`${T}.claimInfo`,g={_PATH:c,TITLE:`${c}.title`,BACK_BUTTON:`${c}.backButton`,SIDEBAR:{_PATH:f,TITLE:`${f}.title`,FIELDS:{_PATH:C,PLATE_NUMBER:`${C}.plateNumber`,VEHICLE:`${C}.vehicle`,LOSS_DATE:`${C}.lossDate`,COVERAGE:`${C}.coverage`}},TABS_HEADER:{_PATH:s,OVERVIEW:`${s}.overview`,DOCUMENTS:`${s}.documents`,HANDLE:`${s}.handle`,DETAILS:`${s}.details`},SECTIONS:{DETAILS:{_PATH:T,DESCRIPTION:`${T}.description`,MAIN:{_PATH:o,TITLE:`${o}.title`,POLICY_NUMBER:`${o}.policyNumber`,LIABILITY_STATUS:`${o}.liabilityStatus`,ADJUSTER:`${o}.adjuster`,PAYMENT_TYPE:`${o}.paymentType`},EXPERTISE:{_PATH:d,TYPE:`${d}.type`,NAME:`${d}.name`,ADDRESS:`${d}.address`,EMAIL:`${d}.email`,PHONE:`${d}.phone`},VEHICLES:{_PATH:p,TYPE:`${p}.type`,LICENSE_PLATE:`${p}.licensePlate`,MAKE:`${p}.make`,MODEL:`${p}.model`,THIRD_PARTY_LICENSE_PLATE:`${p}.thirdPartyLicensePlate`},CLAIM_INFO:{_PATH:t,LOSS_DATE:`${t}.lossDate`,LOSS_PROVINCE:`${t}.lossProvince`,REPORT_DATE:`${t}.reportDate`,COVERAGE:`${t}.coverage`,AUTHORITY_PRESENCE:`${t}.authorityPresence`,INJURY_PRESENCE:`${t}.injuryPresence`}}}}},79562(L,_,a){a.d(_,{fB:()=>f,Us:()=>C,C$:()=>s});var c=a(21285);const f=[c.r3.Main,c.r3.Expertise,c.r3.Vehicles,c.r3.ClaimInfo],C={[c.r3.Main]:Object.values(c.nl),[c.r3.Expertise]:Object.values(c.$H),[c.r3.Vehicles]:Object.values(c.jN),[c.r3.ClaimInfo]:Object.values(c.E0)},s={[c.r3.Main]:c.Hi,[c.r3.Expertise]:c.J$,[c.r3.Vehicles]:c.TK,[c.r3.ClaimInfo]:c.ks}},70633(L,_,a){a.d(_,{K:()=>d});var c=a(80226),f=a(21285),C=a(60401),s=a(79562),T=a(2878),o=a(66971);let d=(()=>{class p{constructor(){this.mapperHelperService=(0,c.WQX)(o.l),this.translateService=(0,c.WQX)(C.c$)}getSections(g,v){const h=this.getClaimData(g),b=this.translateService.instant(T.S.SECTIONS.DETAILS._PATH);return{key:v,title:b[v].title,...b[v].description&&{description:b[v].description},fields:this.mapperHelperService.mapFieldsForSection(v,s.Us[v],b,s.C$[v],h),data:h[v]}}getClaimData(g){return{[f.r3.Main]:this.mapperHelperService.mapMainSection(g),[f.r3.Expertise]:this.mapperHelperService.mapExpertiseSection(g),[f.r3.Vehicles]:this.mapperHelperService.mapVehiclesSection(g),[f.r3.ClaimInfo]:this.mapperHelperService.mapClaimInfoSection(g)}}static{this.\u0275fac=function(v){return new(v||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac})}}return p})()},66971(L,_,a){a.d(_,{l:()=>C});var c=a(21285),f=a(80226);let C=(()=>{class s{mapMainSection(o){const{summary:d,details:p}=o;return{[c.nl.PolicyNumber]:d.policyNumber,[c.nl.LiabilityStatus]:p.liabilityStatus,[c.nl.Adjuster]:p.adjuster,[c.nl.PaymentType]:p.paymentType}}mapExpertiseSection(o){const{expertise:d}=o.details;return{[c.$H.Type]:d?.type,[c.$H.Phone]:d?.expertPhone,[c.$H.Address]:d?.expertAddress,[c.$H.Email]:d?.expertEmail,[c.$H.Name]:d?.expertName}}mapVehiclesSection(o){const{summary:d,details:p}=o,{vehicle:t}=d;return{[c.jN.Type]:t.type.description,[c.jN.LicensePlate]:t.licensePlate,[c.jN.Model]:t.model,[c.jN.ThirdPartyLicensePlate]:p.thirdPartyLicensePlate}}mapClaimInfoSection(o){const{summary:d,details:p}=o;return{[c.E0.LossDate]:d.lossDate,[c.E0.LossProvince]:p.lossProvince,[c.E0.ReportDate]:p.reportDate,[c.E0.Coverage]:d.coverage.description,[c.E0.InjuryPresence]:p.injuryPresence,[c.E0.AuthorityPresence]:p.authorityPresence}}mapFieldsForSection(o,d,p,t,g){return d.map(h=>({label:p[o][h],type:t[h],variableName:h})).filter(h=>(h=>
1null!=g[o][h])(h.variableName))}static{this.\u0275fac=function(d){return new(d||s)}}static{this.\u0275prov=f.jDH({token:s,factory:s.\u0275fac})}}return s})()},20855(L,_,a){a.d(_,{T:()=>s});var c=a(80226),f=a(79608),C=a(37657);let s=(()=>{class T{constructor(){this.googleAnalyticsService=(0,c.WQX)(f.p)}trackPageView(d){this.googleAnalyticsService.trackPageView({vehicleType:d.vehicleType??C.JB.x3,creationNode:d.creationNode??C.JB.x3,appName:d.appName??C.JB.PA,version:d.version??C.JB.qN,pageName:d.pageName,businessType:d.businessType})}trackPageEvent(d,p,t,g){this.googleAnalyticsService.trackEvent(d,p,t,void 0,g)}static{this.\u0275fac=function(p){return new(p||T)}}static{this.\u0275prov=c.jDH({token:T,factory:T.\u0275fac})}}return T})()},97044(L,_,a){a.d(_,{FR:()=>s,RP:()=>f,X7:()=>T,_f:()=>C});var c=a(35491);const f=(0,c.VP)("[Claim] Load Claim",o=>o),C=(0,c.VP)("[Claim] Load Claim Success",o=>o),s=(0,c.VP)("[Claim] Load Claim Failure",o=>o),T=(0,c.VP)("[Claim] Reset Claim State")},14882(L,_,a){a.d(_,{t:()=>v});var c=a(80226),f=a(35491),C=a(97044),s=a(75089),T=a(38787);const o=(0,f.UX)(T.gZ),d=(0,f.Mz)(o,h=>h.loaded),p=(0,f.Mz)(o,h=>h.claim),t=(0,f.Mz)(p,h=>h?g(h.summary.vehicle.type.code):void 0),g=h=>{switch(h){case"motorcycle":case"scooter_ey":return s.$OU.Motorcycle;case"moped_AIT":return s.$OU.Moped;default:return s.$OU.Car}};let v=(()=>{class h{constructor(){this.store=(0,c.WQX)(f.il),this.loaded$=this.store.select(d),this.getClaim$=this.store.select(p),this.getVehicleType$=this.store.select(t)}loadClaim(r,M){this.store.dispatch(C.RP({userTaxID:r,cryptedClaimId:M}))}resetClaimState(){this.store.dispatch(C.X7())}static{this.\u0275fac=function(M){return new(M||h)}}static{this.\u0275prov=c.jDH({token:h,factory:h.\u0275fac})}}return h})()},38787(L,_,a){a.d(_,{Ff:()=>p,gZ:()=>T});var c=a(21285),f=a(37754),C=a(35491),s=a(97044);const T=c.St,o={loaded:!1},d=(0,f._J)(o,(0,C.on)(s.RP,t=>({...t,loaded:!1,error:null})),(0,C.on)(s._f,(t,{claim:g})=>({...t,loaded:!0,claim:g})),(0,C.on)(s.FR,(t,{error:g})=>({...t,error:g})),(0,C.on)(s.X7,()=>o));function p(t,g){return d(t,g)}},21285(L,_,a){a.d(_,{St:()=>c,kL:()=>f,RZ:()=>C,E0:()=>v,$H:()=>d,nl:()=>T,r3:()=>b,jN:()=>t,ks:()=>h,J$:()=>p,Hi:()=>o,TK:()=>g});const c="claim",f="claimTabsHeader";var C=function(r){return r.Overview="panoramica",r.Documents="documenti",r.Handle="gestisci",r.Details="dettagli",r}(C||{}),s=a(75089),T=function(r){return r.PolicyNumber="policyNumber",r.LiabilityStatus="liabilityStatus",r.Adjuster="adjuster",r.PaymentType="paymentType",r}(T||{});const o={[T.PolicyNumber]:s.UNT.String,[T.LiabilityStatus]:s.UNT.String,[T.Adjuster]:s.UNT.String,[T.PaymentType]:s.UNT.String};var d=function(r){return r.Type="type",r.Name="expertName",r.Address="expertAddress",r.Email="expertEmail",r.Phone="expertPhone",r}(d||{});const p={[d.Type]:s.UNT.String,[d.Name]:s.UNT.String,[d.Address]:s.UNT.String,[d.Email]:s.UNT.String,[d.Phone]:s.UNT.String};var t=function(r){return r.Type="type",r.LicensePlate="licensePlate",r.Model="model",r.ThirdPartyLicensePlate="thirdPartyLicensePlate",r}(t||{});const g={[t.Type]:s.UNT.String,[t.LicensePlate]:s.UNT.String,[t.Model]:s.UNT.String,[t.ThirdPartyLicensePlate]:s.UNT.String};var v=function(r){return r.LossDate="lossDate",r.LossProvince="lossProvince",r.ReportDate="reportDate",r.Coverage="coverage",r.InjuryPresence="injuryPresence",r.AuthorityPresence="authorityPresence",r}(v||{});const h={[v.LossDate]:s.UNT.Date,[v.LossProvince]:s.UNT.String,[v.ReportDate]:s.UNT.Date,[v.Coverage]:s.UNT.String,[v.InjuryPresence]:s.UNT.Boolean,[v.AuthorityPresence]:s.UNT.Boolean};var b=function(r){return r.Main="main",r.Expertise="expertise",r.Vehicles="vehicles",r.ClaimInfo="claimInfo",r}(b||{})}}]);

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.