1import{a as N}from"./chunk-5RDBXRE2.js";import{a as O}from"./chunk-CW53SE66.js";import"./chunk-XAHXBAJ7.js";import"./chunk-2DSTGCWU.js";import"./chunk-WPVTI3WB.js";import"./chunk-CYXQR2DA.js";import"./chunk-E26ALHDT.js";import{c as j}from"./chunk-FRBHRZOY.js";import{a as E}from"./chunk-UTIVRVH6.js";import"./chunk-SWC74NX2.js";import"./chunk-DAK2FLJU.js";import"./chunk-MHTY3KN3.js";import"./chunk-OTWL73Z2.js";import"./chunk-BPVCY473.js";import{p as V}from"./chunk-7JTZQVPF.js";import"./chunk-BUNWKZWJ.js";import"./chunk-IYFXPVC3.js";import"./chunk-6UTO3W7C.js";import"./chunk-MBN4JPYD.js";import"./chunk-4IZPDSD3.js";import{Aa as g,La as k,Qa as y,Xa as A,c as B,cb as L,d as S,r as x,va as C}from"./chunk-NCBJQMIW.js";import{$b as w,Db as b,Ec as D,Ib as T,Jc as f,Lc as _,ac as I,ed as P,fc as s,fd as v,gc as c,hc as l,lb as a,oa as u,pa as h,qc as z,vc as p,xb as n,xc as m}from"./chunk-VFADHBOQ.js";function R(r,F){if(r&1){let e=z();c(0,"div",2)(1,"nss-button",5),p("click",function(){u(e);let i=m();return h(i.onClose())}),f(2),P(3,"translate"),l()(),c(4,"terzeparti-pratica",6),p("itemChanged",function(i){u(e),m();let o=D(6);return h(o.updateItemLocale(i))}),l()}if(r&2){let e=m();a(),s("fullWidth",!0)("isOutline",!0),a(),_(" ",v(3,4,"common_backToPrevious")," "),a(2),s("guid",e.guidId)}}var ie=(()=>{class r extends L{backToAreaPersonale(){let e=null;try{e=this.breadcrumbService.getBreadcrumbAreaPersonale()?.Link??null}catch(t){e=null}e&&this.router.navigate([e])}constructor(e,t,i,o,d,W){super(e,t,i,o),this.context=e,this.title=t,this.translate=i,this.router=o,this.breadcrumbService=d,this.startupService=W,this._showDetail=!1,this.currentLocationPathName="",this.currentLocationPathName=window.location.pathname,this.setBreadcrumb()}openDetail(e){let t=k.AreaPersonale_TerzeParti_Pratiche+"/"+e.guid;this.guidId=e.guid,g.setBrowserAddressBarValue(t,()=>{this.onClose()}),this.showDetail(!0)}onClose(){g.setBrowserAddressBarValue(this.currentLocationPathName,null),this.showDetail(!1)}setBreadcrumb(){this._showDetail?this.breadcrumbService.applyBreadcrumbAreaPersonale(C.Pratiche,this.localizedStrings.breadcrumb_detail):this.breadcrumbService.applyBreadcrumbAreaPersonale(C.Pratiche,"")}showDetail(e){this._showDetail=e,this.goTopPage(),this.setBreadcrumb(),this.pageContainer?.showImage&&this.pageContainer.showImage(!e)}static{this.\u0275fac=function(t){return new(t||r)(n(x),n(y),n(B),n(A),n(j),n(V))}}static{this.\u0275cmp=b({type:r,selectors:[["terzeparti-pratiche-page"]],features:[T],decls:8,vars:7,consts:[["list",""],[3,"hidden"],[1,"mb-5"],["faIcon","fa-home",3,"click","fullWidth","isOutline"],[3,"openDetail"],["faIcon","fa-chevron-left",3,"click","fullWidth","isOutline"],[3,"itemChanged","guid"]],template:function(t,i){t&1&&(c(0,"div",1)(1,"div",2)(2,"nss-button",3),p("click",function(){return i.backToAreaPersonale()}),f(3),P(4,"translate"),l()(),c(5,"terzeparti-pratiche",4,0),p("openDetail",function(d){return i.openDetail(d)}),l()(),w(7,R,5,6)),t&2&&(s("hidden",i._showDetail),a(2),s("fullWidth",!0)("isOutline",!0),a(),_(" ",v(4,5,"areaPersonaleSelector_backToPersonalArea")," "),a(4),I(i._showDetail?7:-1))},dependencies:[N,E,O,S],encapsulation:2})}}return r})();export{ie as TerzePartiPratichePageComponent};
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.