PageSourceSearch

https://hou.la/chunk-FHMBY6UZ.js

js hou.la collected 2026-09-25 03:32:15 UTC 92,920 bytes, 136 lines download raw bytes

1import{a as kt}from"./chunk-WWOUFWDU.js";import{a as ni}from"./chunk-GA2ZYG54.js";import{a as ti}from"./chunk-EY3EI5WB.js";import{a as Zt}from"./chunk-YNLOAIGA.js";import{a as ei}from"./chunk-SKIM55WQ.js";import{a as ii}from"./chunk-5UXNYF7M.js";import{a as at}from"./chunk-IKQR3USM.js";import{a as Kt}from"./chunk-RH57MTTG.js";import{a as Ft,b as Pt}from"./chunk-URVIZL7P.js";import{e as et,f as tt,g as it,i as nt}from"./chunk-ZV7NG4F4.js";import{a as Ze,b as Xe}from"./chunk-DJ5AJG3T.js";import"./chunk-6EF6RNOO.js";import"./chunk-T3DWPM4S.js";import"./chunk-K6QYQNRN.js";import{a as Yt}from"./chunk-QIOURN4K.js";import{a as Bt,b as Wt}from"./chunk-KYVCMV2E.js";import"./chunk-HWZZ5RQT.js";import"./chunk-ZNR7QNVV.js";import{a as te,b as he,d as Se}from"./chunk-IRE2CVIC.js";import"./chunk-JS6LICOA.js";import{a as Qt}from"./chunk-GQ2RX7RJ.js";import{a as Ye}from"./chunk-WF4KZOYP.js";import{a as $t,b as jt}from"./chunk-M6YDMVQ7.js";import{a as qt}from"./chunk-OTMVSU27.js";import{b as Ut}from"./chunk-VRHU7RMY.js";import{a as Je}from"./chunk-EB6TJ75L.js";import"./chunk-QI7CEGT6.js";import{a as fe,b as Gt}from"./chunk-6ND7557V.js";import{C as _t,D as Ct,E as gt,a as ot,c as rt,e as O,g as lt,h as st,l as pt,m as dt,q as ct,s as mt,z as ut}from"./chunk-FOJCKIWO.js";import"./chunk-6DXFCF2C.js";import{a as Mt}from"./chunk-NBMUSEX4.js";import{a as bt,b as Nt}from"./chunk-3AIY57KH.js";import"./chunk-AB6CKZTE.js";import{a as Xt,b as Jt}from"./chunk-5SQFN2EX.js";import{b as zt,c as Ht}from"./chunk-H66TAOKK.js";import"./chunk-Z64D265S.js";import{a as Dt}from"./chunk-K5O3OQFW.js";import{c as Ot,d as we,g as xe,i as ye}from"./chunk-2DRXLVRR.js";import{c as Vt,e as Lt}from"./chunk-RQJZECR4.js";import"./chunk-G3G5OK6Q.js";import{a as Rt}from"./chunk-AERMLNF3.js";import"./chunk-QHMYZ6SM.js";import{a as It}from"./chunk-PJPLTBJX.js";import{c as ge}from"./chunk-DLIVM562.js";import{b as St}from"./chunk-CV2ZWZQE.js";import{c as Ce}from"./chunk-H4HD3LNW.js";import{H as vt,Q as Et,X as Tt,aa as _e,ga as wt,ha as xt,i as ft,ia as yt,ja as ee,k as ht,ka as z,l as At,la as ae}from"./chunk-AQEWHUN5.js";import{c as $e,d as je,e as qe}from"./chunk-YQZAETCE.js";import{o as ze,r as He,s as Qe,x as Ke}from"./chunk-EO42E46J.js";import"./chunk-3QVSKJ3X.js";import{I as J,J as We,c as Y,p as Z,s as X,y as me,z as ue}from"./chunk-ERUCNOOT.js";import{$b as w,Ba as ve,Cc as I,Dc as k,Ec as D,Fa as Re,Fc as q,Gc as V,Hc as Ee,Ib as N,Ic as Pe,Jb as c,Lb as de,Mb as U,Nb as Q,Qb as v,Qc as p,Rc as d,Sb as ke,Sc as K,Tb as ie,Ub as ne,Uc as Ge,Vb as r,Wb as o,Xb as u,Xc as Be,Y as Me,Yb as F,Z as oe,Zb as P,_ as re,_a as se,_b as R,cd as $,da as L,db as i,dd as Te,fc as A,gc as m,hc as De,ib as M,ic as ce,jc as Ve,la as f,lc as b,ma as h,mc as Le,na as Oe,nc as y,oc as S,p as H,pa as B,sb as W,sc as Ue,tb as pe,tc as s,uc as E,va as le,vb as Ie,vc as _,wb as j,wc as Fe,yb as g}from"./chunk-DBE7WQEG.js";import{a as Ne,g as x}from"./chunk-W7GRJBO5.js";var ai=(()=>{class t extends It{pathId;ngOnInit(){this.pathId="url(#"+Tt()+")"}static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275cmp=W({type:t,selectors:[["EyeSlashIcon"]],features:[j],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.
162183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(l,a){l&1&&(Oe(),r(0,"svg",0)(1,"g"),u(2,"path",1),o(),r(3,"defs")(4,"clipPath",2),u(5,"rect",3),o()()()),l&2&&(Q(a.getClassNames()),N("aria-label",a.ariaLabel)("aria-hidden",a.ariaHidden)("role",a.role),i(),N("clip-path",a.pathId),i(3),c("id",a.pathId))},encapsulation:2})}return t})();var ui=["header"],_i=["title"],Ci=["subtitle"],gi=["content"],fi=["footer"],hi=["*",[["p-header"]],[["p-footer"]]],Ai=["*","p-header","p-footer"];function vi(t,n){t&1&&R(0)}function Ei(t,n){if(t&1&&(r(0,"div",8),ce(1,1),g(2,vi,1,0,"ng-container",6),o()),t&2){let e=m();i(2),c("ngTemplateOutlet",e.headerTemplate||e._headerTemplate)}}function Ti(t,n){if(t&1&&(F(0),s(1),P()),t&2){let e=m(2);i(),E(e.header)}}function wi(t,n){t&1&&R(0)}function xi(t,n){if(t&1&&(r(0,"div",9),g(1,Ti,2,1,"ng-container",10)(2,wi,1,0,"ng-container",6),o()),t&2){let e=m();i(),c("ngIf",e.header&&!e._titleTemplate&&!e.titleTemplate),i(),c("ngTemplateOutlet",e.titleTemplate||e._titleTemplate)}}function yi(t,n){if(t&1&&(F(0),s(1),P()),t&2){let e=m(2);i(),E(e.subheader)}}function Si(t,n){t&1&&R(0)}function bi(t,n){if(t&1&&(r(0,"div",11),g(1,yi,2,1,"ng-container",10)(2,Si,1,0,"ng-container",6),o()),t&2){let e=m();i(),c("ngIf",e.subheader&&!e._subtitleTemplate&&!e.subtitleTemplate),i(),c("ngTemplateOutlet",e.subtitleTemplate||e._subtitleTemplate)}}function Ni(t,n){t&1&&R(0)}function Mi(t,n){t&1&&R(0)}function Oi(t,n){if(t&1&&(r(0,"div",12),ce(1,2),g(2,Mi,1,0,"ng-container",6),o()),t&2){let e=m();i(2),c("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}var Ri=({dt:t})=>`
2.p-card {
3    background: ${t("card.background")};
4    color: ${t("card.color")};
5    box-shadow: ${t("card.shadow")};
6    border-radius: ${t("card.border.radius")};
7    display: flex;
8    flex-direction: column;
9}
10
11.p-card-caption {
12    display: flex;
13    flex-direction: column;
14    gap: ${t("card.caption.gap")};
15}
16
17.p-card-body {
18    padding: ${t("card.body.padding")};
19    display: flex;
20    flex-direction: column;
21    gap: ${t("card.body.gap")};
22}
23
24.p-card-title {
25    font-size: ${t("card.title.font.size")};
26    font-weight: ${t("card.title.font.weight")};
27}
28
29.p-card-subtitle {
30    color: ${t("card.subtitle.color")};
31}
32`,Ii={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"},oi=(()=>{class t extends _e{name="card";theme=Ri;classes=Ii;static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275prov=oe({token:t,factory:t.\u0275fac})}return t})();var ki=(()=>{class t extends Ce{header;subheader;set style(e){Et(this._style(),e)||this._style.set(e)}styleClass;headerFacet;footerFacet;headerTemplate;titleTemplate;subtitleTemplate;contentTemplate;footerTemplate;_headerTemplate;_titleTemplate;_subtitleTemplate;_contentTemplate;_footerTemplate;_style=ve(null);_componentStyle=L(oi);getBlockableElement(){return this.el.nativeElement.children[0]}templates;
32ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this._headerTemplate=e.template;break;case"title":this._titleTemplate=e.template;break;case"subtitle":this._subtitleTemplate=e.template;break;case"content":this._contentTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275cmp=W({type:t,selectors:[["p-card"]],contentQueries:function(l,a,C){if(l&1&&(b(C,xt,5),b(C,yt,5),b(C,ui,4),b(C,_i,4),b(C,Ci,4),b(C,gi,4),b(C,fi,4),b(C,ee,4)),l&2){let T;y(T=S())&&(a.headerFacet=T.first),y(T=S())&&(a.footerFacet=T.first),y(T=S())&&(a.headerTemplate=T.first),y(T=S())&&(a.titleTemplate=T.first),y(T=S())&&(a.subtitleTemplate=T.first),y(T=S())&&(a.contentTemplate=T.first),y(T=S())&&(a.footerTemplate=T.first),y(T=S())&&(a.templates=T)}},inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},features:[q([oi]),j],ngContentSelectors:Ai,decls:9,vars:10,consts:[[3,"ngClass","ngStyle"],["class","p-card-header",4,"ngIf"],[1,"p-card-body"],["class","p-card-title",4,"ngIf"],["class","p-card-subtitle",4,"ngIf"],[1,"p-card-content"],[4,"ngTemplateOutlet"],["class","p-card-footer",4,"ngIf"],[1,"p-card-header"],[1,"p-card-title"],[4,"ngIf"],[1,"p-card-subtitle"],[1,"p-card-footer"]],template:function(l,a){l&1&&(De(hi),r(0,"div",0),g(1,Ei,3,1,"div",1),r(2,"div",2),g(3,xi,3,2,"div",3)(4,bi,3,2,"div",4),r(5,"div",5),ce(6),g(7,Ni,1,0,"ng-container",6),o(),g(8,Oi,3,1,"div",7),o()()),l&2&&(Q(a.styleClass),c("ngClass","p-card p-component")("ngStyle",a._style()),N("data-pc-name","card"),i(),c("ngIf",a.headerFacet||a.headerTemplate||a._headerTemplate),i(2),c("ngIf",a.header||a.titleTemplate||a._titleTemplate),i(),c("ngIf",a.subheader||a.subtitleTemplate||a._subtitleTemplate),i(3),c("ngTemplateOutlet",a.contentTemplate||a._contentTemplate),i(),c("ngIf",a.footerFacet||a.footerTemplate||a._footerTemplate))},dependencies:[J,Z,X,ue,me,z],encapsulation:2,changeDetection:0})}return t})(),li=(()=>{class t{static \u0275fac=function(l){return new(l||t)};static \u0275mod=pe({type:t});static \u0275inj=re({imports:[ki,z,z]})}return t})();var Di=["content"],Vi=["footer"],Li=["header"],Ui=["clearicon"],Fi=["hideicon"],Pi=["showicon"],Gi=["input"],Bi=()=>({class:"p-password-toggle-mask-icon p-password-mask-icon"}),Wi=(t,n)=>({showTransitionParams:t,hideTransitionParams:n}),zi=t=>({value:"visible",params:t}),Hi=t=>({width:t});function Qi(t,n){if(t&1){let e=w();r(0,"TimesIcon",8),A("click",function(){f(e);let a=m(2);return h(a.clear())}),o()}t&2&&N("data-pc-section","clearIcon")}function Ki(t,n){}function $i(t,n){t&1&&g(0,Ki,0,0,"ng-template")}function ji(t,n){if(t&1){let e=w();F(0),g(1,Qi,1,1,"TimesIcon",7),r(2,"span",8),A("click",function(){f(e);let a=m();return h(a.clear())}),g(3,$i,1,0,null,9),o(),P()}if(t&2){let e=m();i(),c("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),i(),N("data-pc-section","clearIcon"),i(),c("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function qi(t,n){if(t&1){let e=w();r(0,"EyeSlashIcon",12),A("click",function(){f(e);let a=m(3);
32return h(a.onMaskToggle())}),o()}t&2&&N("data-pc-section","hideIcon")}function Yi(t,n){}function Zi(t,n){t&1&&g(0,Yi,0,0,"ng-template")}function Xi(t,n){if(t&1){let e=w();r(0,"span",13),A("click",function(){f(e);let a=m(3);return h(a.onMaskToggle())}),g(1,Zi,1,0,null,14),o()}if(t&2){let e=m(3);i(),c("ngTemplateOutlet",e.hideIconTemplate||e._hideIconTemplate)("ngTemplateOutletContext",V(2,Bi))}}function Ji(t,n){if(t&1&&(F(0),g(1,qi,1,1,"EyeSlashIcon",10)(2,Xi,2,3,"span",11),P()),t&2){let e=m(2);i(),c("ngIf",!e.hideIconTemplate&&!e._hideIconTemplate),i(),c("ngIf",e.hideIconTemplate||e._hideIconTemplate)}}function en(t,n){if(t&1){let e=w();r(0,"EyeIcon",12),A("click",function(){f(e);let a=m(3);return h(a.onMaskToggle())}),o()}t&2&&N("data-pc-section","showIcon")}function tn(t,n){}function nn(t,n){t&1&&g(0,tn,0,0,"ng-template")}function an(t,n){if(t&1){let e=w();r(0,"span",13),A("click",function(){f(e);let a=m(3);return h(a.onMaskToggle())}),g(1,nn,1,0,null,9),o()}if(t&2){let e=m(3);i(),c("ngTemplateOutlet",e.showIconTemplate||e._showIconTemplate)}}function on(t,n){if(t&1&&(F(0),g(1,en,1,1,"EyeIcon",10)(2,an,2,1,"span",11),P()),t&2){let e=m(2);i(),c("ngIf",!e.showIconTemplate&&!e._showIconTemplate),i(),c("ngIf",e.showIconTemplate||e._showIconTemplate)}}function rn(t,n){if(t&1&&(F(0),g(1,Ji,3,2,"ng-container",5)(2,on,3,2,"ng-container",5),P()),t&2){let e=m();i(),c("ngIf",e.unmasked),i(),c("ngIf",!e.unmasked)}}function ln(t,n){t&1&&R(0)}function sn(t,n){t&1&&R(0)}function pn(t,n){if(t&1&&(F(0),g(1,sn,1,0,"ng-container",9),P()),t&2){let e=m(2);i(),c("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)}}function dn(t,n){if(t&1&&(r(0,"div",17)(1,"div",18),u(2,"div",3),p(3,"mapper"),o(),r(4,"div",19),s(5),o()()),t&2){let e=m(2);i(),N("data-pc-section","meter"),i(),c("ngClass",K(3,6,e.meter,e.strengthClass))("ngStyle",Ee(9,Hi,e.meter?e.meter.width:"")),N("data-pc-section","meterLabel"),i(2),N("data-pc-section","info"),i(),E(e.infoText)}}function cn(t,n){t&1&&R(0)}function mn(t,n){if(t&1){let e=w();r(0,"div",15,1),A("click",function(a){f(e);let C=m();return h(C.onOverlayClick(a))})("@overlayAnimation.start",function(a){f(e);let C=m();return h(C.onAnimationStart(a))})("@overlayAnimation.done",function(a){f(e);let C=m();return h(C.onAnimationEnd(a))}),g(2,ln,1,0,"ng-container",9)(3,pn,2,1,"ng-container",16)(4,dn,6,11,"ng-template",null,2,Ge)(6,cn,1,0,"ng-container",9),o()}if(t&2){let e=Ue(5),l=m();c("@overlayAnimation",Ee(9,zi,Pe(6,Wi,l.showTransitionOptions,l.hideTransitionOptions))),N("data-pc-section","panel"),i(2),c("ngTemplateOutlet",l.headerTemplate||l._headerTemplate),i(),c("ngIf",l.contentTemplate||l._contentTemplate)("ngIfElse",e),i(3),c("ngTemplateOutlet",l.footerTemplate||l._footerTemplate)}}var un=({dt:t})=>`
33.p-password {
34    display: inline-flex;
35    position: relative;
36}
37
38.p-password .p-password-overlay {
39    min-width: 100%;
40}
41
42.p-password-meter {
43    height: ${t("password.meter.height")};
44    background: ${t("password.meter.background")};
45    border-radius: ${t("password.meter.border.radius")};
46}
47
48.p-password-meter-label {
49    height: 100%;
50    width: 0;
51    transition: width 1s ease-in-out;
52    border-radius: ${t("password.meter.border.radius")};
53}
54
55.p-password-meter-weak {
56    background: ${t("password.strength.weak.background")};
57}
58
59.p-password-meter-medium {
60    background: ${t("password.strength.medium.background")};
61}
62
63.p-password-meter-strong {
64    background: ${t("password.strength.strong.background")};
65}
66
67.p-password-fluid {
68    display: flex;
69}
70
71.p-password-fluid .p-password-input {
72    width: 100%;
73}
74
75.p-password-input::-ms-reveal,
76.p-password-input::-ms-clear {
77    display: none;
78}
79
80.p-password-overlay {
81    position: absolute;
82    padding: ${t("password.overlay.padding")};
83    background: ${t("password.overlay.background")};
84    color: ${t("password.overlay.color")};
85    border: 1px solid ${t("password.overlay.border.color")};
86    box-shadow: ${t("password.overlay.shadow")};
87    border-radius: ${t("password.overlay.border.radius")};
88}
89
90.p-password-content {
91    display: flex;
92    flex-direction: column;
93    gap: ${t("password.content.gap")};
94}
95
96.p-password-toggle-mask-icon {
97    inset-inline-end: ${t("form.field.padding.x")};
98    color: ${t("password.icon.color")};
99    position: absolute;
100    top: 50%;
101    margin-top: calc(-1 * calc(${t("icon.size")} / 2));
102    width: ${t("icon.size")};
103    height: ${t("icon.size")};
104}
105
106.p-password:has(.p-password-toggle-mask-icon) .p-password-clear-icon,
107.p-password:has(.p-password-toggle-mask-icon) .p-password-input {
108    padding-inline-end: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")});
109}
110
111/* For PrimeNG */
112p-password.ng-invalid.ng-dirty .p-inputtext {
113    border-color: ${t("inputtext.invalid.border.color")};
114}
115
116p-password.ng-invalid.ng-dirty .p-inputtext:enabled:focus {
117    border-color: ${t("inputtext.focus.border.color")};
118}
119
120p-password.ng-invalid.ng-dirty .p-inputtext::placeholder {
121    color: ${t("inputtext.invalid.placeholder.color")};
122}
123
124.p-password-clear-icon {
125    position: absolute;
126    top: 50%;
127    margin-top: -0.5rem;
128    cursor: pointer;
129    inset-inline-end: ${t("form.field.padding.x")};
130    color: ${t("form.field.icon.color")};
131}
132
133.p-password-fluid-directive {
134    width:100%
135}
136`,_n={root:({instance:t})=>({position:t.appendTo==="self"?"relative":void 0})},Cn={root:({instance:t})=>({"p-password p-component p-inputwrapper":!0,"p-inputwrapper-filled":t.filled(),"p-variant-filled":'instance.variant === "filled" || instance.config.inputVariant() === "filled" || instance.config.inputStyle() === "filled"',"p-inputwrapper-focus":t.focused,"p-password-fluid":t.hasFluid}),pcInput:"p-password-input",maskIcon:"p-password-toggle-mask-icon p-password-mask-icon",unmaskIcon:"p-password-toggle-mask-icon p-password-unmask-icon",overlay:"p-password-overlay p-component",content:"p-password-content",meter:"p-password-meter",meterLabel:({instance:t})=>`p-password-meter-label ${t.meter?"p-password-meter-"+t.meter.strength:""}`,meterText:"p-password-meter-text"},si=(()=>{class t extends _e{name="password";theme=un;classes=Cn;inlineStyles=_n;static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275prov=oe({token:t,factory:t.\u0275fac})}return t})();var gn=(()=>{class t{transform(e,l,...a){return l(e,...a)}static \u0275fac=function(l){return new(l||t)};static \u0275pipe=Ie({name:"mapper",type:t,pure:!0})}return t})(),fn={provide:ot,useExisting:Me(()=>Ae),multi:!0},Ae=(()=>{class t extends Ce{ariaLabel;fluid;ariaLabelledBy;label;disabled;promptLabel;mediumRegex="^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})";strongRegex="^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})";weakLabel;mediumLabel;maxLength;strongLabel;inputId;feedback=!0;appendTo;toggleMask;size;inputStyleClass;styleClass;style;inputStyle;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";autocomplete;placeholder;showClear=!1;autofocus;variant;tabindex;onFocus=new le;onBlur=new le;onClear=new le;input;contentTemplate;footerTemplate;headerTemplate;clearIconTemplate;hideIconTemplate;showIconTemplate;templates;_contentTemplate;_footerTemplate;_headerTemplate;_clearIconTemplate;_hideIconTemplate;_showIconTemplate;overlayVisible=!1;meter;infoText;focused=!1;unmasked=!1;mediumCheckRegExp;strongCheckRegExp;resizeListener;scrollHandler;overlay;value=null;onModelChange=()=>{};onModelTouched=()=>{};translationSubscription;_componentStyle=L(si);get hasFluid(){let l=this.el.nativeElement.closest("p-fluid");return this.fluid||!!l}overlayService=L(wt);ngOnInit(){super.ngOnInit(),this.infoText=this.promptText(),this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.updateUI(this.value||"")})}
136ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"hideicon":this._hideIconTemplate=e.template;break;case"showicon":this._showIconTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}onAnimationStart(e){switch(e.toState){case"visible":this.overlay=e.element,ge.set("overlay",this.overlay,this.config.zIndex.overlay),this.appendContainer(),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener();break;case"void":this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null;break}}onAnimationEnd(e){switch(e.toState){case"void":ge.clear(e.element);break}}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.overlay):this.document.getElementById(this.appendTo).appendChild(this.overlay))}alignOverlay(){this.appendTo?(this.overlay.style.minWidth=ht(this.input.nativeElement)+"px",ft(this.overlay,this.input.nativeElement)):At(this.overlay,this.input.nativeElement)}onInput(e){this.value=e.target.value,this.onModelChange(this.value)}onInputFocus(e){this.focused=!0,this.feedback&&(this.overlayVisible=!0),this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.onModelTouched(),this.onBlur.emit(e)}onKeyUp(e){if(this.feedback){let l=e.target.value;if(this.updateUI(l),e.code==="Escape"){this.overlayVisible&&(this.overlayVisible=!1);return}this.overlayVisible||(this.overlayVisible=!0)}}updateUI(e){let l=null,a=null;switch(this.testStrength(e)){case 1:l=this.weakText(),a={strength:"weak",width:"33.33%"};break;case 2:l=this.mediumText(),a={strength:"medium",width:"66.66%"};break;case 3:l=this.strongText(),a={strength:"strong",width:"100%"};break;default:l=this.promptText(),a=null;break}this.meter=a,this.infoText=l}
136onMaskToggle(){this.unmasked=!this.unmasked}onOverlayClick(e){this.overlayService.add({originalEvent:e,target:this.el.nativeElement})}testStrength(e){let l=0;return this.strongCheckRegExp.test(e)?l=3:this.mediumCheckRegExp.test(e)?l=2:e.length&&(l=1),l}writeValue(e){e===void 0?this.value=null:this.value=e,this.feedback&&this.updateUI(this.value||""),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}bindScrollListener(){Y(this.platformId)&&(this.scrollHandler||(this.scrollHandler=new St(this.input.nativeElement,()=>{this.overlayVisible&&(this.overlayVisible=!1)})),this.scrollHandler.bindScrollListener())}bindResizeListener(){if(Y(this.platformId)&&!this.resizeListener){let e=this.document.defaultView;this.resizeListener=this.renderer.listen(e,"resize",()=>{this.overlayVisible&&!vt()&&(this.overlayVisible=!1)})}}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}containerClass(e){return{"p-password p-component p-inputwrapper":!0,"p-input-icon-right":e}}get rootClass(){return this._componentStyle.classes.root({instance:this})}inputFieldClass(e){return{"p-password-input":!0,"p-disabled":e}}strengthClass(e){return`p-password-meter-label p-password-meter${e?.strength?`-${e.strength}`:""}`}filled(){return this.value!=null&&this.value.toString().length>0}promptText(){return this.promptLabel||this.getTranslation(ae.PASSWORD_PROMPT)}weakText(){return this.weakLabel||this.getTranslation(ae.WEAK)}mediumText(){return this.mediumLabel||this.getTranslation(ae.MEDIUM)}strongText(){return this.strongLabel||this.getTranslation(ae.STRONG)}restoreAppend(){this.overlay&&this.appendTo&&(this.appendTo==="body"?this.renderer.removeChild(this.document.body,this.overlay):this.document.getElementById(this.appendTo).removeChild(this.overlay))}inputType(e){return e?"text":"password"}getTranslation(e){return this.config.getTranslation(e)}clear(){this.value=null,this.onModelChange(this.value),this.writeValue(this.value),this.onClear.emit()}ngOnDestroy(){this.overlay&&(ge.clear(this.overlay),this.overlay=null),this.restoreAppend(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275cmp=W({type:t,selectors:[["p-password"]],contentQueries:function(l,a,C){if(l&1&&(b(C,Di,4),b(C,Vi,4),b(C,Li,4),b(C,Ui,4),b(C,Fi,4),b(C,Pi,4),b(C,ee,4)),l&2){let T;y(T=S())&&(a.contentTemplate=T.first),y(T=S())&&(a.footerTemplate=T.first),y(T=S())&&(a.headerTemplate=T.first),y(T=S())&&(a.clearIconTemplate=T.first),y(T=S())&&(a.hideIconTemplate=T.first),y(T=S())&&(a.showIconTemplate=T.first),y(T=S())&&(a.templates=T)}},viewQuery:function(l,a){if(l&1&&Le(Gi,5),l&2){let C;y(C=S())&&(a.input=C.first)}},inputs:{ariaLabel:"ariaLabel",fluid:[2,"fluid","fluid",$],ariaLabelledBy:"ariaLabelledBy",label:"label",disabled:[2,"disabled","disabled",$],promptLabel:"promptLabel",mediumRegex:"mediumRegex",strongRegex:"strongRegex",weakLabel:"weakLabel",mediumLabel:"mediumLabel",maxLength:[2,"maxLength","maxLength",Te],strongLabel:"strongLabel",inputId:"inputId",feedback:[2,"feedback","feedback",$],appendTo:"appendTo",toggleMask:[2,"toggleMask","toggleMask",$],size:"size",inputStyleClass:"inputStyleClass",styleClass:"styleClass",style:"style",inputStyle:"inputStyle",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",autocomplete:"autocomplete",placeholder:"placeholder",showClear:[2,"showClear","showClear",$],autofocus:[2,"autofocus","autofocus",$],variant:"variant",tabindex:[2,"tabindex","tabindex",Te]},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClear:"onClear"},features:[q([fn,si]),j],decls:8,vars:34,consts:[["input",""],["overlay",""],["content",""],[3,"ngClass","ngStyle"],["pInputText","",3,"input","focus","blur","keyup","disabled","pSize","ngClass","ngStyle","value","variant","pAutoFocus"],[4,"ngIf"],["class","p-password-overlay p-component",3,"click",4,"ngIf"],["class","p-password-clear-icon",3,"click",4,"ngIf"],[1,"p-password-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-password-toggle-mask-icon p-password-mask-icon",3,"click",4,"ngIf"],[3,"click",4,"ngIf"],[1,"p-password-toggle-mask-icon","p-password-mask-icon",3,"click"],[3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-password-overlay","p-component",3,"click"],[4,"ngIf","ngIfElse"],[1,"p-password-content"],[1,"p-password-meter"],[1,"p-password-meter-text"]],template:function(l,a){if(l&1){let C=w();r(0,"div",3)(1,"input",4,0),p(3,"mapper"),p(4,"mapper"),A("input",function(G){return f(C),h(a.onInput(G))})("focus",function(G){return f(C),h(a.onInputFocus(G))})("blur",function(G){return f(C),h(a.onInputBlur(G))})("keyup",function(G){return f(C),h(a.onKeyUp(G))}),o(),g(5,ji,4,3,"ng-container",5)(6,rn,3,2,"ng-container",5)(7,mn,7,11,"div",6),o()}l&2&&(Q(a.styleClass),c("ngClass",a.rootClass)("ngStyle",a.style),N("data-pc-name","password")("data-pc-section","root"),i(),Q(a.inputStyleClass),c("disabled",a.disabled)("pSize",a.size)("ngClass",K(3,28,a.disabled,a.inputFieldClass))("ngStyle",a.inputStyle)("value",a.value)("variant",a.variant)("pAutoFocus",a.autofocus),N("label",a.label)("aria-label",a.ariaLabel)("aria-labelledBy",a.ariaLabelledBy)("id",a.inputId)("tabindex",a.tabindex)("type",K(4,31,a.unmasked,a.inputType))("placeholder",a.placeholder)("autocomplete",a.autocomplete)("maxlength",a.maxLength)("data-pc-section","input"),i(4),c("ngIf",a.showClear&&a.value!=null),i(),c("ngIf",a.toggleMask),i(),c("ngIf",a.overlayVisible))},dependencies:[J,Z,X,ue,me,fe,Rt,Dt,ai,kt,gn,z],encapsulation:2,data:{animation:[Ot("overlayAnimation",[ye(":enter",[xe({o
136pacity:0,transform:"scaleY(0.8)"}),we("{{showTransitionParams}}")]),ye(":leave",[we("{{hideTransitionParams}}",xe({opacity:0}))])])]},changeDetection:0})}return t})(),pi=(()=>{class t{static \u0275fac=function(l){return new(l||t)};static \u0275mod=pe({type:t});static \u0275inj=re({imports:[Ae,z,z]})}return t})();var An=()=>({width:"480px"}),vn=()=>({"max-width":"280px"}),En=()=>({standalone:!0}),di=()=>({width:"400px"}),Tn=()=>({width:"440px"}),wn=()=>({add:"1"}),xn=(t,n)=>n.key,mi=(t,n)=>n.id;function yn(t,n){t&1&&u(0,"app-widget-loading")}function Sn(t,n){if(t&1){let e=w();r(0,"app-widget-api-error",27),A("retry",function(){f(e);let a=m();return h(a.loadUser())}),o()}}function bn(t,n){t&1&&(r(0,"div",32),u(1,"i",114),o())}function Nn(t,n){if(t&1&&u(0,"img",33),t&2){let e=m(2);c("src",e.activeWorkspace.avatarUrl,se)("alt",e.activeWorkspace.name||e.user.email)}}function Mn(t,n){if(t&1&&(r(0,"span",34),s(1),o()),t&2){let e=m(2);i(),E(e.getAvatarInitials())}}function On(t,n){if(t&1){let e=w();r(0,"button",115),p(1,"translate"),A("click",function(){f(e);let a=m(2);return h(a.removeAvatar())}),u(2,"i",116),o()}if(t&2){let e=m(2);Ve("pTooltip",d(1,3,"MANAGER.ACCOUNT.AVATAR_DELETE_TITLE")),c("disabled",e.avatarDeleting),i(2),c("ngClass",e.avatarDeleting?"pi-spin pi-spinner":"pi-times")}}function Rn(t,n){if(t&1&&u(0,"p-tag",55),t&2){let e=m(2);c("severity",e.getRoleSeverity(e.user.role))("value",e.getRoleLabel(e.user.role))}}function In(t,n){t&1&&(r(0,"span",56),s(1,"-"),o())}function kn(t,n){if(t&1&&(r(0,"div",51)(1,"label",52),s(2),p(3,"translate"),o(),r(4,"div",54),u(5,"p-tag",55),o()()),t&2){let e=m(2);i(2),E(d(3,3,"MANAGER.ACCOUNT.STATUS")),i(3),c("severity",e.getStatusSeverity(e.user.status))("value",e.getStatusLabel(e.user.status))}}function Dn(t,n){t&1&&(r(0,"span",57),u(1,"i",117)(2,"p-tag",118),o())}function Vn(t,n){t&1&&(r(0,"span",57),u(1,"i",119)(2,"p-tag",120),p(3,"translate"),o()),t&2&&(i(2),c("value",d(3,1,"MANAGER.ACCOUNT.EMAIL_PASSWORD")))}function Ln(t,n){t&1&&u(0,"p-tag",59)}function Un(t,n){t&1&&u(0,"p-tag",60)}function Fn(t,n){t&1&&(r(0,"span",56),s(1,"-"),o())}function Pn(t,n){if(t&1&&(s(0),p(1,"localizedDate")),t&2){let e=m(2);_(" ",K(1,1,e.user.createdAt,"dd MMMM yyyy")," ")}}function Gn(t,n){t&1&&s(0," - ")}function Bn(t,n){if(t&1&&(s(0),p(1,"localizedDate")),t&2){let e=m(2);_(" ",K(1,1,e.user.updatedAt,"dd MMMM yyyy")," ")}}function Wn(t,n){t&1&&s(0," - ")}function zn(t,n){if(t&1){let e=w();r(0,"div",50)(1,"div",51)(2,"label",52),s(3),p(4,"translate"),o(),r(5,"p",53),s(6),o()(),r(7,"div",51)(8,"label",52),s(9),p(10,"translate"),o(),r(11,"p",53),s(12),o()()(),r(13,"button",121),A("click",function(){f(e);let a=m(2);return h(a.startEditProfile())}),u(14,"i",122),s(15),p(16,"translate"),o()}if(t&2){let e=m(2);i(3),E(d(4,5,"MANAGER.ACCOUNT.FIRST_NAME")),i(3),_(" ",e.user.firstName||"-"," "),i(3),E(d(10,7,"MANAGER.ACCOUNT.LAST_NAME")),i(3),_(" ",e.user.lastName||"-"," "),i(3),_(" ",d(16,9,"MANAGER.ACCOUNT.EDIT_PROFILE")," ")}}function Hn(t,n){t&1&&u(0,"i",131)}function Qn(t,n){if(t&1){let e=w();r(0,"form",1),A("ngSubmit",function(){f(e);let a=m(2);return h(a.onProfileSubmit())}),r(1,"div",44)(2,"div",123)(3,"label",124),s(4),p(5,"translate"),o(),u(6,"input",125),p(7,"translate"),o(),r(8,"div",123)(9,"label",126),s(10),p(11,"translate"),o(),u(12,"input",127),p(13,"translate"),o()(),r(14,"div",128)(15,"button",129),g(16,Hn,1,0,"i",130),s(17),p(18,"translate"),o(),r(19,"button",100),A("click",function(){f(e);let a=m(2);return h(a.cancelEditProfile())}),s(20),p(21,"translate"),o()()()}if(t&2){let e=m(2);c("formGroup",e.profileForm),i(4),E(d(5,11,"MANAGER.ACCOUNT.FIRST_NAME")),i(2),c("placeholder",d(7,13,"MANAGER.ACCOUNT.FIRST_NAME_PLACEHOLDER")),i(4),E(d(11,15,"MANAGER.ACCOUNT.LAST_NAME")),i(2),c("placeholder",d(13,17,"MANAGER.ACCOUNT.LAST_NAME_PLACEHOLDER")),i(3),c("disabled",e.profileForm.pristine||e.profileSubmitting)("loading",e.profileSubmitting),i(),c("ngIf",!e.profileSubmitting),i(),_(" ",d(18,19,"MANAGER.ACCOUNT.SAVE_PROFILE")," "),i(2),c("disabled",e.profileSubmitting),i(),_(" ",d(21,21,"MANAGER.ACCOUNT.CANCEL")," ")}}function Kn(t,n){t&1&&(r(0,"div",68),u(1,"i",132),o())}function $n(t,n){t&1&&(r(0,"p",69),s(1),p(2,"translate"),o()),t&2&&(i(),_(" ",d(2,1,"MANAGER.ACCOUNT.ADDRESSES_EMPTY")," "))}function jn(t,n){t&1&&(u(0,"p-tag",137),p(1,"translate")),t&2&&c("value",d(1,2,"MANAGER.ADDRESSES.DEFAULT"))("rounded",!0)}function qn(t,n){if(t&1&&(r(0,"div",138),s(1),o()),t&2){let e=m().$implicit;i(),_(" ",e.label," ")}}function Yn(t,n){if(t&1&&(r(0,"div",140),s(1),o()),t&2){let e=m().$implicit;i(),_(" ",e.line2," ")}}function Zn(t,n){if(t&1&&(r(0,"div",140),s(1),o()),t&2){let e=m().$implicit,l=m(3);i(),_(" ",l.getCountryName(e.country)," ")}}function Xn(t,n){if(t&1&&(r(0,"div",141),u(1,"i",151),s(2),o()),t&2){let e=m().$implicit;i(2),_("",e.phone," ")}}function Jn(t,n){t&1&&(u(0,"p-tag",143),p(1,"translate")),t&2&&c("value",d(1,2,"MANAGER.ADDRESSES.TYPE_SHIPPING"))("rounded",!0)}function ea(t,n){t&1&&(u(0,"p-tag",144),p(1,"translate")),t&2&&c("value",d(1,2,"MANAGER.ADDRESSES.TYPE_BILLING"))("rounded",!0)}function ta(t,n){if(t&1){let e=w();r(0,"button",147),p(1,"translate"),A("click",function(){f(e);let a=m().$implicit,C=m(3);return h(C.setDefaultAddress(a))}),u(2,"i",152),o()}t&2&&c("pTooltip",d(1,1,"MANAGER.ADDRESSES.SET_DEFAULT"))}function ia(t,n){if(t&1){let e=w();r(0,"div",134)(1,"div",136),g(2,jn,2,4,"p-tag",137)(3,qn,2,1,"div",138),r(4,"div",139),s(5),o(),r(6,"div",140),s(7),o(),g(8,Yn,2,1,"div",140),r(9,"div",140),s(10),o(),g(11,Zn,2,1,"div",140)(12,Xn,3,1,"div",141),r(13,"div",142),g(14,Jn,2,4,"p-tag",143)(15,ea,2,4,"p-tag",144),o(),r(16,"div",145),g(17,ta,3,3,"button",146),r(18,"button",147),p(19,"translate"),A("click",function(){let a=f(e).$implicit,C=m(3);return h(C.openEditAddress(a))}),u(20,"i",148),o(),r(21,"button",149),p(22,"translate"),A("click",function(){let a=f(e).$implicit,C=m(3);return h(C.removeAddress(a))}),u(23,"i",150),o()()()()}if(t&2){let e=n.$implicit;i(),de("address-card--default",e.isDefault),i(),v(e.isDefault?2:-1),i(),v(e.label?3:-1),i(2),_(" ",e.fullName," "),i(2),_(" ",e.line1," "),i(),v(e.line2?8:-1),i(2),Fe(" ",e.postalCode," ",e.city," "),i(),v(e.country?11:-1),i(),v(e.phone?12:-1),i(2),v(e.isShipping?14:-1),i(),v(e.isBilling?15:-1),i(2),v(e.isDefault?-1:17),i(),c("pTooltip",d(19,16,"COMMON.EDIT")),i(3),c("pTooltip",d(22,18,"COMMON.DELETE"))}}function na(t,n){t&1&&(r(0,"div",135),s(1),p(2,"translate"),o()),t&2&&(i(),_(" ",d(2,1,"MANAGER.ADDRESSES.LIMIT_REACHED")," "))}
136function aa(t,n){if(t&1&&(r(0,"div",133),ie(1,ia,24,20,"div",134,mi),o(),g(3,na,3,3,"div",135)),t&2){let e=m(2);i(),ne(e.addresses),i(2),v(e.addresses.length>=10?3:-1)}}function oa(t,n){if(t&1&&(r(0,"span",153),u(1,"span",154),r(2,"span",155),s(3),o()()),t&2){let e=m().$implicit;i(),c("ngClass","fp-"+e.flagCode),i(2),E(e.label)}}function ra(t,n){if(t&1&&g(0,oa,4,2,"span",153),t&2){let e=n.$implicit;v(e?0:-1)}}function la(t,n){if(t&1&&(r(0,"span",153),u(1,"span",154),r(2,"span",155),s(3),o()()),t&2){let e=n.$implicit;i(),c("ngClass","fp-"+e.flagCode),i(2),E(e.label)}}function sa(t,n){if(t&1){let e=w();r(0,"div",78)(1,"div")(2,"span",156),s(3),p(4,"translate"),o(),r(5,"small",157),s(6),p(7,"translate"),o()(),r(8,"p-inputSwitch",158),A("ngModelChange",function(a){let C=f(e).$implicit,T=m(2);return h(T.toggleNotifPref(C.key,a))}),o()()}if(t&2){let e=n.$implicit,l=m(2);i(3),E(d(4,4,e.labelKey)),i(3),E(d(7,6,e.descKey)),i(2),c("ngModel",l.getNotifPref(e.key))("disabled",l.notifSaving[e.key])}}function pa(t,n){if(t&1&&(u(0,"img",160),p(1,"translate")),t&2){let e=m(3);c("src",e.activeWorkspace.avatarUrl,se)("alt",d(1,2,"MANAGER.ACCOUNT.GOOGLE_TITLE"))}}function da(t,n){t&1&&u(0,"i",167)}function ca(t,n){if(t&1){let e=w();r(0,"button",165),A("click",function(){f(e);let a=m(3);return h(a.unlinkGoogle())}),g(1,da,1,0,"i",166),s(2),p(3,"translate"),o()}if(t&2){let e=m(3);c("disabled",e.googleUnlinking)("loading",e.googleUnlinking),i(),c("ngIf",!e.googleUnlinking),i(),_(" ",d(3,4,"MANAGER.ACCOUNT.UNLINK_GOOGLE")," ")}}function ma(t,n){t&1&&(r(0,"div",164),u(1,"i",92),s(2),p(3,"translate"),o()),t&2&&(i(2),_(" ",d(3,1,"MANAGER.ACCOUNT.UNLINK_GOOGLE_WARNING")," "))}function ua(t,n){if(t&1&&(r(0,"div",159),g(1,pa,2,4,"img",160),r(2,"div")(3,"p",161),u(4,"i",162),s(5),p(6,"translate"),o(),r(7,"small",56),s(8),o()()(),g(9,ca,4,6,"button",163)(10,ma,4,3,"div",164)),t&2){let e=m(2);i(),v(e.activeWorkspace!=null&&e.activeWorkspace.avatarUrl?1:-1),i(4),_(" ",d(6,4,"MANAGER.ACCOUNT.GOOGLE_LINKED")," "),i(3),E(e.user.googleEmail),i(),v(e.canUnlinkGoogle?9:10)}}function _a(t,n){if(t&1){let e=w();r(0,"p",168),s(1),p(2,"translate"),o(),r(3,"app-widget-google-signin-button",169),p(4,"translate"),A("googleSignIn",function(){f(e);let a=m(2);return h(a.linkGoogle())}),o()}if(t&2){let e=m(2);i(),_(" ",d(2,3,"MANAGER.ACCOUNT.LINK_GOOGLE_DESC")," "),i(2),c("text",d(4,5,"MANAGER.ACCOUNT.LINK_GOOGLE_BUTTON"))("loading",e.googleLinking)}}function Ca(t,n){if(t&1){let e=w();r(0,"div",159)(1,"span",170),u(2,"i",171),s(3),p(4,"translate"),o(),r(5,"span",140),s(6),p(7,"translate"),o()(),r(8,"div",128)(9,"button",172),A("click",function(){f(e);let a=m(2);return h(a.showRegen2faDialog=!0)}),u(10,"i",173),s(11),p(12,"translate"),o(),r(13,"button",174),A("click",function(){f(e);let a=m(2);return h(a.showDisable2faDialog=!0)}),u(14,"i",175),s(15),p(16,"translate"),o()()}t&2&&(i(3),E(d(4,4,"MANAGER.ACCOUNT.TWO_FACTOR.ACTIVE")),i(3),E(d(7,6,"MANAGER.ACCOUNT.TWO_FACTOR.ACTIVE_DESCRIPTION")),i(5),_("",d(12,8,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_CODES")," "),i(4),_("",d(16,10,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE")," "))}function ga(t,n){t&1&&u(0,"app-widget-loading",185),t&2&&(U("white"),c("loading",!0))}function fa(t,n){t&1&&(u(0,"i",171),s(1),p(2,"translate")),t&2&&(i(),_("",d(2,1,"MANAGER.ACCOUNT.TWO_FACTOR.VERIFY")," "))}function ha(t,n){if(t&1){let e=w();r(0,"p",93),s(1),p(2,"translate"),o(),r(3,"div",176),u(4,"qrcode",177),o(),r(5,"div",2)(6,"label",178),s(7),p(8,"translate"),o(),r(9,"div",179),u(10,"input",180),o()(),r(11,"div",2)(12,"label",181),s(13),p(14,"translate"),o(),r(15,"input",182),D("ngModelChange",function(a){f(e);let C=m(2);return k(C.twoFactorVerifyCode,a)||(C.twoFactorVerifyCode=a),h(a)}),A("keyup.enter",function(){f(e);let a=m(2);return h(a.confirm2faSetup())}),o()(),r(16,"div",128)(17,"button",183),A("click",function(){f(e);let a=m(2);return h(a.confirm2faSetup())}),g(18,ga,1,3,"app-widget-loading",86)(19,fa,3,3),o(),r(20,"button",184),A("click",function(){f(e);let a=m(2);return h(a.finish2faSetup())}),s(21),p(22,"translate"),o()()}if(t&2){let e=m(2);i(),_(" ",d(2,11,"MANAGER.ACCOUNT.TWO_FACTOR.SCAN_QR_DESCRIPTION")," "),i(3),c("qrdata",e.twoFactorQrUrl)("width",200)("errorCorrectionLevel","M"),i(3),E(d(8,13,"MANAGER.ACCOUNT.TWO_FACTOR.MANUAL_KEY")),i(3),c("value",e.twoFactorSecret),i(3),E(d(14,15,"MANAGER.ACCOUNT.TWO_FACTOR.ENTER_CODE")),i(2),I("ngModel",e.twoFactorVerifyCode),i(2),c("disabled",e.twoFactorVerifying||e.twoFactorVerifyCode.length<6),i(),v(e.twoFactorVerifying?18:19),i(3),_(" ",d(22,17,"COMMON.CANCEL")," ")}}function Aa(t,n){if(t&1&&(r(0,"div",187)(1,"code",189),s(2),o()()),t&2){let e=n.$implicit;i(2),E(e)}}function va(t,n){if(t&1){let e=w();r(0,"div",186),u(1,"i",92),s(2),p(3,"translate"),o(),r(4,"div",9),ie(5,Aa,3,1,"div",187,ke),o(),r(7,"button",188),A("click",function(){f(e);let a=m(2);return h(a.finish2faSetup())}),u(8,"i",171),s(9),p(10,"translate"),o()}if(t&2){let e=m(2);i(2),_(" ",d(3,2,"MANAGER.ACCOUNT.TWO_FACTOR.BACKUP_WARNING")," "),i(3),ne(e.twoFactorBackupCodes),i(4),_("",d(10,4,"MANAGER.ACCOUNT.TWO_FACTOR.DONE")," ")}}function Ea(t,n){if(t&1){let e=w();r(0,"p",93),s(1),p(2,"translate"),o(),r(3,"button",172),A("click",function(){f(e);let a=m(2);return h(a.start2faSetup())}),u(4,"i",190),s(5),p(6,"translate"),o()}t&2&&(i(),_(" ",d(2,2,"MANAGER.ACCOUNT.TWO_FACTOR.DESCRIPTION")," "),i(4),_("",d(6,4,"MANAGER.ACCOUNT.TWO_FACTOR.ENABLE")," "))}function Ta(t,n){t&1&&u(0,"app-widget-loading",185),t&2&&(U("white"),c("loading",!0))}function wa(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE")," ")}function xa(t,n){t&1&&u(0,"app-widget-loading",185),t&2&&(U("white"),c("loading",!0))}function ya(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_CODES")," ")}function Sa(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.PASSWORD_REQUIRED")," ")}function ba(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.PASSWORD_MIN_LENGTH")," ")}function Na(t,n){if(t&1&&(r(0,"small",193),g(1,Sa,2,3)(2,ba,2,3),o()),t&2){let e,l=m(3);i(),v(!((e=l.passwordForm.get("newPassword"))==null||e.errors==null)&&e.errors.required?1:!((e=l.passwordForm.get("newPassword"))==null||e.errors==null)&&e.errors.minlength?2:-1)}}function Ma(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.CONFIRM_REQUIRED")," ")}function Oa(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.PASSWORD_MISMATCH")," ")}function Ra(t,n){if(t&1&&(r(0,"small",193),g(1,Ma,2,3)(2,Oa,2,3),o()),t&2){let e,l=m(3);i(),v(!((e=l.passwordForm.get("confirmPassword"))==null||e.errors==null)&&e.errors.required?1:!((e=l.passwordForm.get("confirmPassword"))==null||e.errors==null)&&e.errors.mismatch?2:-1)}}function Ia(t,n){t&1&&u(0,"i",198)}function ka(t,n){if(t&1){let e=w();r(0,"form",1),A("ngSubmit",function(){f(e);let a=m(2);return h(a.onPasswordSubmit())}),r(1,"div",44)(2,"div",123)(3,"label",191),s(4),p(5,"translate"),o(),u(6,"p-password",192),p(7,"translate"),g(8,Na,3,1,"small",193),o(),r(9,"div",123)(10,"label",194),s(11),p(12,"translate"),o(),u(13,"p-password",195),g(14,Ra,3,1,"small",193),o()(),r(15,"div",44)(16,"div",38)(17,"button",196),g(18,Ia,1,0,"i",197),s(19),p(20,"translate"),o()()()()}if(t&2){let e,l,a=m(2);c("formGroup",a.passwordForm),i(4),E(d(5,14,"MANAGER.ACCOUNT.NEW_PASSWORD")),i(2),c("toggleMask",!0)("feedback",!0)("promptLabel",d(7,16,"MANAGER.ACCOUNT.ENTER_PASSWORD")),i(2),v((e=a.passwordForm.get("newPassword"))!=null&&e.touched&&((e=a.passwordForm.get("newPassword"))!=null&&e.errors)?8:-1),i(3),E(d(12,18,"MANAGER.ACCOUNT.CONFIRM_PASSWORD")),i(2),c("toggleMask",!0)("feedback",!1),i(),v((l
136=a.passwordForm.get("confirmPassword"))!=null&&l.touched&&((l=a.passwordForm.get("confirmPassword"))!=null&&l.errors)?14:-1),i(3),c("disabled",a.passwordForm.invalid||a.passwordSubmitting)("loading",a.passwordSubmitting),i(),c("ngIf",!a.passwordSubmitting),i(),_(" ",d(20,20,"MANAGER.ACCOUNT.SEND_CODE")," ")}}function Da(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.CODE_REQUIRED")," ")}function Va(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.CODE_MIN_LENGTH")," ")}function La(t,n){if(t&1&&(r(0,"small",193),g(1,Da,2,3)(2,Va,2,3),o()),t&2){let e,l=m(3);i(),v(!((e=l.verificationForm.get("code"))==null||e.errors==null)&&e.errors.required?1:!((e=l.verificationForm.get("code"))==null||e.errors==null)&&e.errors.minlength?2:-1)}}function Ua(t,n){t&1&&u(0,"i",131)}function Fa(t,n){if(t&1){let e=w();r(0,"div",199),u(1,"i",200),s(2),p(3,"translate"),r(4,"strong"),s(5),o()(),r(6,"form",1),A("ngSubmit",function(){f(e);let a=m(2);return h(a.onVerificationSubmit())}),r(7,"div",44)(8,"div",123)(9,"label",201),s(10),p(11,"translate"),o(),u(12,"input",202),p(13,"translate"),g(14,La,3,1,"small",193),o()(),r(15,"div",44)(16,"div",203)(17,"button",196),g(18,Ua,1,0,"i",130),s(19),p(20,"translate"),o(),r(21,"button",204),A("click",function(){f(e);let a=m(2);return h(a.cancelVerification())}),s(22),p(23,"translate"),o()()()()}if(t&2){let e,l=m(2);i(2),_(" ",d(3,12,"MANAGER.ACCOUNT.CODE_SENT")," "),i(3),E(l.user.email),i(),c("formGroup",l.verificationForm),i(4),E(d(11,14,"MANAGER.ACCOUNT.VERIFICATION_CODE")),i(2),c("placeholder",d(13,16,"MANAGER.ACCOUNT.ENTER_CODE")),i(2),v((e=l.verificationForm.get("code"))!=null&&e.touched&&((e=l.verificationForm.get("code"))!=null&&e.errors)?14:-1),i(3),c("disabled",l.verificationForm.invalid||l.passwordSubmitting)("loading",l.passwordSubmitting),i(),c("ngIf",!l.passwordSubmitting),i(),_(" ",d(20,18,"MANAGER.ACCOUNT.VALIDATE_CHANGE")," "),i(2),c("disabled",l.passwordSubmitting),i(),_(" ",d(23,20,"MANAGER.ACCOUNT.CANCEL")," ")}}function Pa(t,n){t&1&&u(0,"i",95)}function Ga(t,n){if(t&1&&u(0,"img",33),t&2){let e=m().$implicit;c("src",e.avatarUrl,se)("alt",e.name)}}function Ba(t,n){if(t&1&&(r(0,"span",210),s(1),o()),t&2){let e=m().$implicit;i(),E((e.name||"?")[0].toUpperCase())}}function Wa(t,n){if(t&1){let e=w();r(0,"div",208),A("click",function(){let a=f(e).$implicit,C=m(3);return h(C.navigateToWorkspace(a))}),r(1,"div",209),g(2,Ga,1,2,"img",33)(3,Ba,2,1,"span",210),o(),r(4,"div",211)(5,"span",212),s(6),o(),r(7,"div",213),u(8,"p-tag",214),o()(),u(9,"i",215),o()}if(t&2){let e=n.$implicit,l=m(3);i(2),v(e.avatarUrl?2:3),i(4),E(e.name),i(2),c("severity",l.getWorkspaceRoleSeverity(e.role))("value",l.getWorkspaceRoleLabel(e.role))}}function za(t,n){if(t&1&&(r(0,"div",46)(1,"div",47)(2,"h3",104),u(3,"i",205),s(4),p(5,"translate"),o(),r(6,"p",93),s(7),p(8,"translate"),o(),r(9,"div",206),ie(10,Wa,10,4,"div",207,mi),o()()()),t&2){let e=m(2);i(4),_(" ",d(5,2,"MANAGER.ACCOUNT.TEAM_WORKSPACES_TITLE")," "),i(3),_(" ",d(8,4,"MANAGER.ACCOUNT.TEAM_WORKSPACES_DESC")," "),i(3),ne(e.teamWorkspaces)}}function Ha(t,n){if(t&1){let e=w();r(0,"div",28)(1,"div",29)(2,"div",30)(3,"div",31),A("click",function(){f(e);let a=m();return h(a.triggerAvatarUpload())}),g(4,bn,2,0,"div",32)(5,Nn,1,2,"img",33)(6,Mn,2,1,"span",34),r(7,"div",35),u(8,"i",36),o()(),g(9,On,3,5,"button",37),o()(),r(10,"div",38)(11,"span",39),u(12,"i",40),s(13),p(14,"translate"),o(),r(15,"p",41),s(16),p(17,"translate"),o(),r(18,"p",42),u(19,"i",43),s(20),p(21,"translate"),o()()(),r(22,"div",44)(23,"div",45)(24,"div",46)(25,"div",47)(26,"h2",48),u(27,"i",49),s(28),p(29,"translate"),o(),r(30,"div",50)(31,"div",51)(32,"label",52),s(33),p(34,"translate"),o(),r(35,"p",53),s(36),o()(),r(37,"div",51)(38,"label",52),s(39),p(40,"translate"),o(),r(41,"div",54),g(42,Rn,1,2,"p-tag",55)(43,In,2,0,"span",56),o()(),g(44,kn,6,5,"div",51),r(45,"div",51)(46,"label",52),s(47),p(48,"translate"),o(),r(49,"div",54),g(50,Dn,3,0,"span",57)(51,Vn,4,3,"span",57),o()(),r(52,"div",51)(53,"label",52),s(54),p(55,"translate"),o(),r(56,"div",58),g(57,Ln,1,0,"p-tag",59)(58,Un,1,0,"p-tag",60)(59,Fn,2,0,"span",56),o()(),r(60,"div",51)(61,"label",52),s(62),p(63,"translate"),o(),r(64,"p",54),g(65,Pn,2,4)(66,Gn,1,0),o()(),r(67,"div",51)(68,"label",52),s(69),p(70,"translate"),o(),r(71,"p",54),g(72,Bn,2,4)(73,Wn,1,0),o()()()()(),r(74,"div",46)(75,"div",47)(76,"h2",48),u(77,"i",61),s(78),p(79,"translate"),o(),g(80,zn,17,11)(81,Qn,22,23,"form",62),o()(),r(82,"div",46)(83,"div",47)(84,"div",63)(85,"h2",64),u(86,"i",65),s(87),p(88,"translate"),o(),r(89,"button",66),A("click",function(){f(e);let a=m();return h(a.openCreateAddress())}),u(90,"i",67),s(91),p(92,"translate"),o()(),g(93,Kn,2,0,"div",68)(94,$n,3,3,"p",69)(95,aa,4,1),o()(),r(96,"div",46)(97,"div",47)(98,"h2",70),u(99,"i",71),s(100),p(101,"translate"),o(),r(102,"p",72),s(103),p(104,"translate"),o(),r(105,"p-select",73),D("ngModelChange",function(a){f(e);let C=m();return k(C.selectedLanguage,a)||(C.selectedLanguage=a),h(a)}),A("onChange",function(a){f(e);let C=m();return h(C.switchLanguage(a.value))}),g(106,ra,1,1,"ng-template",74)(107,la,4,2,"ng-template",75),o()()(),r(108,"div",46)(109,"div",47)(110,"h2",70),u(111,"i",76),s(112),p(113,"translate"),o(),r(114,"p",72),s(115),p(116,"translate"),o(),r(117,"div",77),ie(118,sa,9,8,"div",78,xn),o()()(),r(120,"div",46)(121,"div",47)(122,"h2",48),u(123,"i",79),s(124),p(125,"translate"),o(),g(126,ua,11,6)(127,_a,5,7),o()(),r(128,"div",46)(129,"div",47)(130,"h2",48),u(131,"i",80),s(132),p(133,"translate"),o(),g(134,Ca,17,12)(135,ha,23,19)(136,va,11,6)(137,Ea,7,6),o()(),r(138,"p-dialog",81),p(139,"translate"),D("visibleChange",function(a){f(e);let C=m();
136return k(C.showDisable2faDialog,a)||(C.showDisable2faDialog=a),h(a)}),r(140,"p",2),s(141),p(142,"translate"),o(),r(143,"input",82),D("ngModelChange",function(a){f(e);let C=m();return k(C.twoFactorDisableCode,a)||(C.twoFactorDisableCode=a),h(a)}),A("keyup.enter",function(){f(e);let a=m();return h(a.disable2fa())}),o(),r(144,"div",83)(145,"button",84),A("click",function(){f(e);let a=m();return h(a.showDisable2faDialog=!1)}),s(146),p(147,"translate"),o(),r(148,"button",85),A("click",function(){f(e);let a=m();return h(a.disable2fa())}),g(149,Ta,1,3,"app-widget-loading",86)(150,wa,2,3),o()()(),r(151,"p-dialog",81),p(152,"translate"),D("visibleChange",function(a){f(e);let C=m();return k(C.showRegen2faDialog,a)||(C.showRegen2faDialog=a),h(a)}),r(153,"p",2),s(154),p(155,"translate"),o(),r(156,"input",87),D("ngModelChange",function(a){f(e);let C=m();return k(C.twoFactorRegenCode,a)||(C.twoFactorRegenCode=a),h(a)}),A("keyup.enter",function(){f(e);let a=m();return h(a.regenerateBackupCodes())}),o(),r(157,"div",83)(158,"button",84),A("click",function(){f(e);let a=m();return h(a.showRegen2faDialog=!1)}),s(159),p(160,"translate"),o(),r(161,"button",88),A("click",function(){f(e);let a=m();return h(a.regenerateBackupCodes())}),g(162,xa,1,3,"app-widget-loading",86)(163,ya,2,3),o()()(),r(164,"div",46)(165,"div",47)(166,"h2",48),u(167,"i",89),s(168),p(169,"translate"),o(),g(170,ka,21,22,"form",62)(171,Fa,24,22),o()(),r(172,"div",90)(173,"div",47)(174,"h2",91),u(175,"i",92),s(176),p(177,"translate"),o(),r(178,"p",93),s(179),p(180,"translate"),o(),r(181,"button",94),A("click",function(){f(e);let a=m();return h(a.showDeleteConfirm=!0)}),u(182,"i",95),s(183),p(184,"translate"),o()()(),r(185,"p-dialog",96),p(186,"translate"),D("visibleChange",function(a){f(e);let C=m();return k(C.showDeleteConfirm,a)||(C.showDeleteConfirm=a),h(a)}),r(187,"div",2)(188,"p",97),s(189),p(190,"translate"),o(),r(191,"ul",98)(192,"li"),s(193),p(194,"translate"),o(),r(195,"li"),s(196),p(197,"translate"),o(),r(198,"li"),s(199),p(200,"translate"),o()()(),r(201,"div",2)(202,"label",3),s(203),p(204,"translate"),o(),r(205,"input",99),p(206,"translate"),D("ngModelChange",function(a){f(e);let C=m();return k(C.deleteConfirmText,a)||(C.deleteConfirmText=a),h(a)}),o()(),r(207,"div",83)(208,"button",100),A("click",function(){f(e);let a=m();return a.showDeleteConfirm=!1,h(a.deleteConfirmText="")}),s(209),p(210,"translate"),o(),r(211,"button",101),A("click",function(){f(e);let a=m();return h(a.confirmDeleteAccount())}),g(212,Pa,1,0,"i",102),s(213),p(214,"translate"),o()()()(),r(215,"div",103)(216,"div",46)(217,"div",47)(218,"h3",104),u(219,"i",105),s(220),p(221,"translate"),o(),r(222,"p",93),s(223),p(224,"translate"),o(),r(225,"a",106),u(226,"i",107),s(227),p(228,"translate"),u(229,"i",108),o()()(),g(230,za,12,6,"div",46),r(231,"div",46)(232,"div",47)(233,"h3",104),u(234,"i",109),s(235),p(236,"translate"),o(),r(237,"p",93),s(238),p(239,"translate"),o(),r(240,"a",110),u(241,"i",111),s(242),p(243,"translate"),o(),r(244,"a",112),u(245,"i",113),s(246),p(247,"translate"),o()()()()()}if(t&2){let e=m();i(3),de("uploading",e.avatarUploading),i(),v(e.avatarUploading?4:e.activeWorkspace!=null&&e.activeWorkspace.avatarUrl?5:6),i(5),v(e.hasCu
136stomAvatar?9:-1),i(4),_(" ",d(14,96,"MANAGER.ACCOUNT.TITLE")," "),i(3),_(" ",d(17,98,"MANAGER.ACCOUNT.SUBTITLE")," "),i(4),_(" ",d(21,100,"MANAGER.ACCOUNT.AVATAR_HINT")," "),i(8),_(" ",d(29,102,"MANAGER.ACCOUNT.INFO_TITLE")," "),i(5),E(d(34,104,"MANAGER.ACCOUNT.EMAIL")),i(3),_(" ",e.user.email," "),i(3),E(d(40,106,"MANAGER.ACCOUNT.ROLE")),i(3),v(e.user.role?42:43),i(2),v(e.user.status?44:-1),i(3),E(d(48,108,"MANAGER.ACCOUNT.CONNECTED_VIA")),i(3),v(e.user.lastAuthType==="google"?50:51),i(4),E(d(55,110,"MANAGER.ACCOUNT.AVAILABLE_METHODS")),i(3),v(e.user.hasPassword?57:-1),i(),v(e.user.googleEmail?58:-1),i(),v(!e.user.hasPassword&&!e.user.googleEmail?59:-1),i(3),E(d(63,112,"MANAGER.ACCOUNT.MEMBER_SINCE")),i(3),v(e.user.createdAt?65:66),i(4),E(d(70,114,"MANAGER.ACCOUNT.LAST_UPDATED")),i(3),v(e.user.updatedAt?72:73),i(6),_(" ",d(79,116,"MANAGER.ACCOUNT.PROFILE_TITLE")," "),i(2),v(e.editingProfile?81:80),i(7),_(" ",d(88,118,"MANAGER.ACCOUNT.ADDRESSES_TITLE")," "),i(2),c("disabled",e.addresses.length>=10),i(2),_(" ",d(92,120,"MANAGER.ADDRESSES.BTN_ADD")," "),i(2),v(e.addressesLoading?93:e.addresses.length===0?94:95),i(7),_(" ",d(101,122,"MANAGER.ACCOUNT.LANG_TITLE")," "),i(3),_(" ",d(104,124,"MANAGER.ACCOUNT.LANG_DESC")," "),i(2),U(V(186,vn)),c("options",e.languages),I("ngModel",e.selectedLanguage),c("ngModelOptions",V(187,En)),i(7),_(" ",d(113,126,"MANAGER.ACCOUNT.NOTIF_TITLE")," "),i(3),_(" ",d(116,128,"MANAGER.ACCOUNT.NOTIF_DESC")," "),i(3),ne(e.notificationCategories),i(6),_(" ",d(125,130,"MANAGER.ACCOUNT.GOOGLE_TITLE")," "),i(2),v(e.user.googleEmail?126:127),i(6),_(" ",d(133,132,"MANAGER.ACCOUNT.TWO_FACTOR.TITLE")," "),i(2),v(e.user.twoFactorEnabled&&e.twoFactorSetupStep==="idle"?134:e.twoFactorSetupStep==="qrcode"?135:e.twoFactorSetupStep==="backup"?136:137),i(4),U(V(188,di)),c("header",d(139,134,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE_TITLE")),I("visible",e.showDisable2faDialog),c("modal",!0),i(3),_(" ",d(142,136,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE_DESCRIPTION")," "),i(2),I("ngModel",e.twoFactorDisableCode),i(3),_(" ",d(147,138,"COMMON.CANCEL")," "),i(2),c("disabled",e.twoFactorDisabling||!e.twoFactorDisableCode),i(),v(e.twoFactorDisabling?149:150),i(2),U(V(189,di)),c("header",d(152,140,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_TITLE")),I("visible",e.showRegen2faDialog),c("modal",!0),i(3),_(" ",d(155,142,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_DESCRIPTION")," "),i(2),I("ngModel",e.twoFactorRegenCode),i(3),_(" ",d(160,144,"COMMON.CANCEL")," "),i(2),c("disabled",e.twoFactorRegenerating||!e.twoFactorRegenCode),i(),v(e.twoFactorRegenerating?162:163),i(6),_(" ",d(169,146,"MANAGER.ACCOUNT.CHANGE_PASSWORD")," "),i(2),v(e.passwordStep==="form"?170:171),i(6),_(" ",d(177,148,"MANAGER.ACCOUNT.DANGER_ZONE_TITLE")," "),i(3),_(" ",d(180,150,"MANAGER.ACCOUNT.DELETE_ACCOUNT_DESC")," "),i(2),c("disabled",e.deleting),i(2),_(" ",d(184,152,"MANAGER.ACCOUNT.DELETE_ACCOUNT")," "),i(2),U(V(190,Tn)),c("header",d(186,154,"MANAGER.ACCOUNT.DELETE_CONFIRM_TITLE")),I("visible",e.showDeleteConfirm),c("modal",!0)("closable",!0),i(4),_(" ",d(190,156,"MANAGER.ACCOUNT.DELETE_CONFIRM_TEXT")," "),i(4),_(" ",d(194,158,"MANAGER.ACCOUNT.DELETE_CONFIRM_ITEM1")," "),i(3),_(" ",d(197,160,"MANAGER.ACCOUNT.DELETE_CONFIRM_ITEM2")," "),i(3),_(" ",d(200,162,"MANAGER.ACCOUNT.DELETE_CONFIRM_ITEM3")," "),i(4),E(d(204,164,"MANAGER.ACCOUNT.DELETE_CONFIRM_INPUT_LABEL")),i(2),I("ngModel",e.deleteConfirmText),c("placeholder",d(206,166,"MANAGER.ACCOUNT.DELETE_CONFIRM_PLACEHOLDER")),i(3),c("disabled",e.deleting),i(),_(" ",d(210,168,"MANAGER.ACCOUNT.CANCEL")," "),i(2),c("disabled",e.deleteConfirmText!=="SUPPRIMER"||e.deleting)("loading",e.deleting),i(),c("ngIf",!e.deleting),i(),_(" ",d(214,170,"MANAGER.ACCOUNT.DELETE_ACCOUNT")," "),i(7),_(" ",d(221,172,"MANAGER.ACCOUNT.PURCHASES_TITLE")," "),i(3),_(" ",d(224,174,"MANAGER.ACCOUNT.PURCHASES_DESC")," "),i(4),_(" ",d(228,176,"MANAGER.ACCOUNT.PURCHASES_LINK")," "),i(3),v(e.teamWorkspaces.length>0?230:-1),i(5),_(" ",d(236,178,"MANAGER.ACCOUNT.LOGOUT_TITLE")," "),i(3),_(" ",d(239,180,"MANAGER.ACCOUNT.LOGOUT_DESC")," "),i(2),c("queryParams",V(191,wn)),i(2),_(" ",d(243,182,"AUTH.ADD_ACCOUNT")," "),i(4),_(" ",d(247,184,"MANAGER.ACCOUNT.LOGOUT_BUTTON")," ")}}function Qa(t,n){t&1&&(r(0,"div",2)(1,"div",18),u(2,"p-inputSwitch",216),r(3,"span",20),s(4),p(5,"translate"),o()()()),t&2&&(i(4),E(d(5,1,"MANAGER.ADDRESSES.SET_DEFAULT")))}We(ei);var ci=class t{constructor(n,e,l,a,C,T,G,Ka,$a,ja){this.userService=n;this.loginService=e;this.toastService=l;this.fb=a;this.route=C;this.translate=T;this.router=G;this.workspaceService=Ka;this.addressService=$a;this.confirmService=ja;this.passwordForm=this.fb.group({newPassword:["",[O.required,O.minLength(8)]],confirmPassword:["",[O.required]]},{validators:this.passwordMatchValidator}),this.profileForm=this.fb.group({firstName:[""],lastName:[""]}),this.verificationForm=this.fb.group({code:["",[O.required,O.minLength(6)]]}),this.addressForm=this.fb.group({label:[""],fullName:["",O.required],phone:["",O.required],line1:["",O.required],line2:[""],city:["",O.required],state:[""],postalCode:["",O.required],country:["FR",O.required],isDefault:[!1],isShipping:[!0],isBilling:[!0]}),this.passwordBridge=he(this.passwordForm,{preset:te()}),this.verificationBridge=he(this.verificationForm,{preset:te()}),this.addressFormBridge=he(this.addressForm,{preset:te()}),this.selectedLanguage=this.languageService.currentOption()}platformId=L(Re);languageService=L(at);formHelper=L(Qt);getCountryName=ti;user=null;loading=!0;error=null;passwordForm;passwordBridge;passwordSubmitting=!1;passwordStep="form";profileForm;editingProfile=!1;profileSubmitting=!1;googleUnlinking=!1;googleLinking=!1;showDeleteConfirm=!1;deleteConfirmText="";deleting=!1;verificationForm;verificationBridge;IUserRole=Ze;IUserStatus=Xe;activeWorkspace=null;teamWorkspaces=[];WorkspacePlan=et;WorkspaceRole=tt;twoFactorSetupStep="idle";twoFactorSecret="";twoFactorQrUrl="";twoFactorBackupCodes=[];twoFactorVerifyCode="";twoFactorVerifying=!1;twoFactorDisableCode="";twoFactorDisabling=!1;showDisable2faDialog=!1;twoFactorRegenCode="";twoFactorRegenerating=!1;showRegen2faDialog=!1;avatarUploading=!1;avatarDeleting=!1;addresses=[];addressesLoading=!0;showAddressDialog=!1;editingAddress=null;addressSaving=!1;addressForm;addressFormBridge;countryOptions=[{label:"France",value:"FR"},{label:"Belgique",value:"BE"},{label:"Suisse",value:"CH"},{label:"Canada",value:"CA"},{label:"Luxembourg",value:"LU"},{label:"Monaco",value:"MC"},{label:"Allemagne",value:"DE"},{label:"Espagne",value:"ES"},{label:"Italie",value:"IT"},{label:"Pays-Bas",value:"NL"},{label:"Portugal",value:"PT"},{label:"Royaume-Uni",value:"GB"},{label:"Etats-Unis",value:"US"},{label:"Maroc",value:"MA"},{label:"Tunisie",value:"TN"},{label:"Algerie",value:"DZ"},{label:"Senegal",value:"SN"},{label:"Cote d'Ivoire",value:"CI"}];get languages(){return this.languageService.languages}selectedLanguage;notificationCategories=[{key:"links",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_LINKS",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_LINKS_DESC"},{key:"weekly_report",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_WEEKLY",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_WEEKLY_DESC"},{key:"support",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_SUPPORT",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_SUPPORT_DESC"},{key:"bio_page",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_BIO",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_BIO_DESC"},{key:"shop_orders",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_ORDERS",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_ORDERS_DESC"},{key:"shop_products",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_PRODUCTS",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_PRODUCTS_DESC"},{key:"disputes",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_DISPUTES",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_DISPUTES_DESC"}];notifSaving={};ngOnInit(){this.loadUser(),this.loadWorkspaces(),this.loadAddresses(),this.handleGoogleCallback()}switchLanguage(n){return x(this,null,function*(){this.selectedLanguage=n,yield this.languageService.setLanguage(n.code),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.LANG_SAVED"),detail:this.translate.instant("MANAGER.ACCOUNT.LANG_SAVED_DETAIL"),life:3e3})})}getNotifPref(n){let e=this.user?.emailNotificationPreferences;return e?e[n]!==!1:!0}toggleNotifPref(n,e){return x(this,null,function*(){if(this.user){this.notifSaving[n]=!0;try{let l=Ne({},this.user.emailNotificationPreferences||{});l[n]=e,this.user=yield this.userService.updateEmailNotificationPreferences(l),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.NOTIF_SAVED"),life:3e3})}catch{this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.NOTIF_ERROR"),life:5e3})}finally{this.notifSaving[n]=!1}}})}handleGoogleCallback(){this.route.queryParams.subscribe(n=>{if(n.google_linked==="true"&&(this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_LINKED"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_LINKED_DETAIL"),life:5e3}),this.userService.clearCache(),this.loadUser()),n.error){let e=this.getGoogleErrorKey(n.error);this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:e?this.translate.instant(e):n.error,life:5e3})}})}getGoogleErrorKey(n){return{missing_user:"MANAGER.ACCOUNT.TOAST_SESSION_EXPIRED",access_de
136nied:"MANAGER.ACCOUNT.TOAST_GOOGLE_CANCELLED","This Google account is already linked to another user":"MANAGER.ACCOUNT.TOAST_GOOGLE_ALREADY_LINKED"}[n]||null}loadUser(){return x(this,null,function*(){this.loading=!0,this.error=null;try{let n=yield this.userService.getMe({refresh:!0});this.user=yield H(n),this.user?.lang&&(this.languageService.applyLocal(this.user.lang),this.selectedLanguage=this.languageService.currentOption())}catch{this.error="load",this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_LOAD_ERROR"),life:5e3})}finally{this.loading=!1}})}loadWorkspaces(){return x(this,null,function*(){try{let n=yield this.workspaceService.listWorkspaces(!0);this.activeWorkspace=n.find(e=>e.id===this.workspaceService.activeWorkspaceId)||null,this.teamWorkspaces=n.filter(e=>e.type==="team")}catch{}})}getWorkspaceRoleLabel(n){switch(n){case"owner":return this.translate.instant("MANAGER.ACCOUNT.WS_ROLE_OWNER");case"member":return this.translate.instant("MANAGER.ACCOUNT.WS_ROLE_MEMBER");case"viewer":return this.translate.instant("MANAGER.ACCOUNT.WS_ROLE_VIEWER");default:return n}}startEditProfile(){this.profileForm.patchValue({firstName:this.user?.firstName||"",lastName:this.user?.lastName||""}),this.profileForm.markAsPristine(),this.editingProfile=!0}cancelEditProfile(){this.editingProfile=!1}onProfileSubmit(){return x(this,null,function*(){if(!this.profileForm.pristine){this.profileSubmitting=!0;try{let n={firstName:this.profileForm.value.firstName||"",lastName:this.profileForm.value.lastName||""};this.user=yield this.userService.updateProfile(n),this.editingProfile=!1,this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_PROFILE_SAVED"),life:3e3})}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||n?.message,life:5e3})}finally{this.profileSubmitting=!1}}})}getWorkspaceRoleSeverity(n){switch(n){case"owner":return"warn";case"member":return"info";case"viewer":return"secondary";default:return"info"}}getPlanLabel(n){return n?n.charAt(0).toUpperCase()+n.slice(1):"Free"}getPlanSeverity(n){switch(n){case"business":return"warn";case"pro":return"success";default:return"secondary"}}navigateToWorkspace(n){this.workspaceService.setActiveWorkspace(n.id),this.router.navigate(["/studio/workspace"])}passwordMatchValidator(n){let e=n.get("newPassword"),l=n.get("confirmPassword");return e&&l&&e.value!==l.value&&l.setErrors({mismatch:!0}),null}onPasswordSubmit(){return x(this,null,function*(){if(!this.passwordForm.invalid){this.passwordSubmitting=!0;try{yield this.loginService.updatePassword(this.user.email,this.passwordForm.value.newPassword),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_CODE_SENT"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_CODE_SENT_DETAIL"),life:5e3}),this.passwordStep="verification"}catch(n){n?.error&&this.passwordBridge.applyApiErrors(n.error),this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.formHelper.mapApiErrorC
136ode(n?.error)||this.passwordBridge.firstErrorSignal()?.message||n?.error?.message||n?.message,life:5e3})}finally{this.passwordSubmitting=!1}}})}onVerificationSubmit(){return x(this,null,function*(){if(!this.verificationForm.invalid){this.passwordSubmitting=!0;try{yield this.loginService.updatePasswordVerification(this.verificationForm.value.code),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_PASSWORD_CHANGED"),life:5e3}),this.formHelper.resetForm(this.passwordForm),this.formHelper.resetForm(this.verificationForm),this.passwordStep="form"}catch(n){n?.error&&this.verificationBridge.applyApiErrors(n.error),this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.formHelper.mapApiErrorCode(n?.error)||this.verificationBridge.firstErrorSignal()?.message||n?.error?.message||n?.message,life:5e3})}finally{this.passwordSubmitting=!1}}})}cancelVerification(){this.passwordStep="form",this.formHelper.resetForm(this.verificationForm)}getRoleSeverity(n){switch(n){case"admin":return"danger";case"pro":return"success";default:return"info"}}getStatusSeverity(n){switch(n){case"active":return"success";case"pending email verification":return"warn";case"bloqued":return"danger";default:return"info"}}getRoleLabel(n){switch(n){case"admin":return this.translate.instant("MANAGER.ACCOUNT.ROLE_ADMIN");case"pro":return this.translate.instant("MANAGER.ACCOUNT.ROLE_PRO");default:return this.translate.instant("MANAGER.ACCOUNT.ROLE_USER")}}getStatusLabel(n){switch(n){case"active":return this.translate.instant("MANAGER.ACCOUNT.STATUS_ACTIVE");case"pending email verification":return this.translate.instant("MANAGER.ACCOUNT.STATUS_PENDING");case"bloqued":return this.translate.instant("MANAGER.ACCOUNT.STATUS_BLOCKED");default:return n}}linkGoogle(){this.googleLinking=!0,this.loginService.linkGoogleAccount()}unlinkGoogle(){this.googleUnlinking=!0,this.userService.unlinkGoogle().subscribe({next:()=>{this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_UNLINKED"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_UNLINKED_DETAIL"),life:5e3}),this.userService.clearCache(),this.loadUser(),this.googleUnlinking=!1},error:n=>{let e=Se(n?.error,te()),l=e.length>0?e[0].message:n?.error?.message||n?.message;this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:l,life:5e3}),this.googleUnlinking=!1}})}getAvatarInitials(){if(this.activeWorkspace?.name){let n=this.activeWorkspace.name.trim().split(/\s+/);return n.length>=2?`${n[0][0]}${n[1][0]}`.toUpperCase():this.activeWorkspace.name[0].toUpperCase()}return this.user?.firstName&&this.user?.lastName?`${this.user.firstName[0]}${this.user.lastName[0]}`.toUpperCase():this.user?.firstName?this.user.firstName[0].toUpperCase():this.user?.email?.[0]?.toUpperCase()||"?"}triggerAvatarUpload(){if(!Y(this.platformId))return;let n=document.createElement("input");n.type="file",n.accept="image/jpeg,image/png,image/webp,image/gif",n.onchange=e=>{let l=e.target.files?.[0];l&&this.onAvatarSelected(l)},n.click()}onAvatarSelected(n){return x(this,null,function*(){if(n.size>8388608){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_TOO_LARGE"),life:5e3});return}if(!["image/jpeg","image/png","image/webp","image/gif"].includes(n.type)){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_INVALID_TYPE"),life:5e3});return}this.avatarUploading=!0;try{this.user=yield this.userService.uploadAvatar(n),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_UPLOADED"),life:3e3})}catch(a){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:a?.error?.message||this.translate.instant("MANAGER.ACCOUNT.AVATAR_UPLOAD_ERROR"),life:5e3})}finally{this.avatarUploading=!1}})}removeAvatar(){return x(this,null,function*(){if(yield this.confirmService.confirm({message:this.translate.instant("MANAGER.ACCOUNT.AVATAR_DELETE_CONFIRM"),header:this.translate.instant("MANAGER.ACCOUNT.AVATAR_DELETE_TITLE"),severity:"danger",acceptLabel:this.translate.instant("COMMON.DELETE"),rejectLabel:this.translate.instant("COMMON.CANCEL")})){this.avatarDeleting=!0;try{this.user=yield this.userService.deleteAvatar(),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_DELETED"),life:3e3})}catch(e){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:e?.error?.message||this.translate.instant("COMMON.ERROR"),life:5e3})}finally{this.avatarDeleting=!1}}})}get hasCustomAvatar(){return!1}get canUnlinkGoogle(){return this.user?.hasPassword===!0}confirmDeleteAccount(){this.deleteConfirmText==="SUPPRIMER"&&(this.deleting=!0,this.userService.deleteAccount().subscribe({next:()=>{this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ACCOUNT_DELETED"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_ACCOUNT_DELETED_DETAIL"),life:5e3}),Y(this.platformId)&&localStorage.removeItem("access_token"),this.router.navigate(["/"])},error:n=>{let e=Se(n?.error,te()),l=e.length>0?e[0].message:n?.error?.message||n?.message;this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:l,life:5e3}),this.deleting=!1}}))}loadAddresses(){return x(this,null,function*(){this.addressesLoading=!0;try{this.addresses=yield H(this.addressService.getAll())}catch{}finally{this.addressesLoading=!1}})}openCreateAddress(){this.editingAddress=null;
136let n=[this.user?.firstName,this.user?.lastName].filter(Boolean).join(" "),e=this.addresses.length===0;this.addressForm.reset({country:"FR",isDefault:e,isShipping:!0,isBilling:!0,fullName:n}),this.showAddressDialog=!0}openEditAddress(n){this.editingAddress=n,this.addressForm.patchValue({label:n.label||"",fullName:n.fullName,phone:n.phone||"",line1:n.line1,line2:n.line2||"",city:n.city,state:n.state||"",postalCode:n.postalCode,country:n.country,isDefault:n.isDefault,isShipping:n.isShipping??!0,isBilling:n.isBilling??!0}),this.showAddressDialog=!0}saveAddress(){return x(this,null,function*(){if(this.addressForm.invalid)return;let n=this.addressForm.value;if(!n.isShipping&&!n.isBilling){this.toastService.add({severity:"warn",summary:this.translate.instant("MANAGER.ADDRESSES.TYPE_LABEL"),detail:this.translate.instant("MANAGER.ADDRESSES.TYPE_REQUIRED"),life:4e3});return}this.addressSaving=!0;try{this.editingAddress?(yield H(this.addressService.update(this.editingAddress.id,n)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.UPDATED"),life:3e3})):(yield H(this.addressService.create(n)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.CREATED"),life:3e3})),this.showAddressDialog=!1,this.loadAddresses()}catch(e){e?.error&&this.addressFormBridge.applyApiErrors(e.error),this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.addressFormBridge.firstErrorSignal()?.message||e?.error?.message||this.translate.instant("COMMON.ERROR"),life:5e3})}finally{this.addressSaving=!1}})}removeAddress(n){return x(this,null,function*(){if(yield this.confirmService.confirm({message:this.translate.instant("MANAGER.ADDRESSES.DELETE_CONFIRM"),header:this.translate.instant("MANAGER.ADDRESSES.DELETE_TITLE"),severity:"danger",acceptLabel:this.translate.instant("COMMON.DELETE"),rejectLabel:this.translate.instant("COMMON.CANCEL")}))try{yield H(this.addressService.remove(n.id)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.DELETED"),life:3e3}),this.loadAddresses()}catch{this.toastService.add({severity:"error",summary:this.translate.instant("COMMON.ERROR"),life:5e3})}})}setDefaultAddress(n){return x(this,null,function*(){try{yield H(this.addressService.setDefault(n.id)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.SET_DEFAULT_OK"),life:3e3}),this.loadAddresses()}catch{this.toastService.add({severity:"error",summary:this.translate.instant("COMMON.ERROR"),life:5e3})}})}start2faSetup(){return x(this,null,function*(){try{let n=yield this.userService.setup2fa();this.twoFactorSecret=n.secret,this.twoFactorQrUrl=n.otpauthUrl,this.twoFactorBackupCodes=n.backupCodes,this.twoFactorSetupStep="qrcode"}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("COMMON.ERROR"),life:5e3})}})}confirm2faSetup(){return x(this,null,function*(){if(!(!this.twoFactorVerifyCode||this.twoFactorVerifyCode.length<6)){this.twoFactorVerifying=!0;try{yield this.userService.confirm2fa(this.twoFactorVerifyCode),this.twoFactorSetupStep="backup",this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.ENABLED_OK"),life:3e3}),this.userService.clearCache(),this.loadUser()}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.INVALID_CODE"),life:5e3})}finally{this.twoFactorVerifying=!1}}})}finish2faSetup(){this.twoFactorSetupStep="idle",this.twoFactorSecret="",this.twoFactorQrUrl="",this.twoFactorBackupCodes=[],this.twoFactorVerifyCode=""}disable2fa(){return x(this,null,function*(){if(this.twoFactorDisableCode){this.twoFactorDisabling=!0;try{yield this.userService.disable2fa(this.twoFactorDisableCode),this.showDisable2faDialog=!1,this.twoFactorDisableCode="",this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.DISABLED_OK"),life:3e3}),this.userService.clearCache(),this.loadUser()}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.INVALID_CODE"),life:5e3})}finally{this.twoFactorDisabling=!1}}})}regenerateBackupCodes(){return x(this,null,function*(){if(this.twoFactorRegenCode){this.twoFactorRegenerating=!0;try{this.twoFactorBackupCodes=yield this.userService.regenerateBackupCodes(this.twoFactorRegenCode),this.showRegen2faDialog=!1,this.twoFactorRegenCode="",this.twoFactorSetupStep="backup",this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.BACKUP_REGENERATED"),life:3e3})}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.INVALID_CODE"),life:5e3})}finally{this.twoFactorRegenerating=!1}}})}static \u0275fac=function(e){return new(e||t)(M(Ye),M(nt),M(Je),M(_t),M(ze),M($e),M(He),M(it),M(ni),M(Yt))};static \u0275cmp=W({type:t,selectors:[["app-view-manager-account"]],features:[q([{provide:Be,useValue:"fr-FR"}])],decls:80,vars:65,consts:[[3,"visibleChange","visible","modal","draggable","resizable","header","closable"],[3,"ngSubmit","formGroup"],[1,"mb-3"],[1,"form-label","small","fw-medium"],["type","text","pInputText","","formControlName","label",1,"w-100",3,"placeholder"],["type","text","pInputText","","formControlName","fullName",1,"w-100"],["type","tel","pInputText","","formControlName","phone",1,"w-100"],["type","text","pInputText","","formControlName","line1",1,"w-100"],["type","text","pInputText","","formControlName","line2",1,"w-100"],[1,"row","mb-3"],[1,"col-4"],["type","text","pInputText","","formControlName","postalCode",1,"w-100"],[1,"col-8"],["type","text","pInputText","","formControlName","city",1,"w-100"],["type","text","pInputText","","formControlName","state",1,"w-100"],["formControlName","country","optionLabel","label","optionValue","value","filterBy","label",1,"w-100",3,"options","placeholder","filter"],[1,"form-label","small","fw-medium","mb-2"],[1,"d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center","gap-2"],["formControlName","isShipping"],[1,"small"],[1,"pi","pi-truck","me-1"],["formControlName","isBilling"],[1,"pi","pi-file","me-1"],[1,"d-flex","justify-content-end","gap-2","mt-4"],["type","button","pButton","",1,"p-button-outlined","p-button-secondary",3,"click"],["type","submit","pButton","",3,"loading"],[3,"retry"],[1,"row","mb-4","align-items-center"],[1,"col-auto"],[1,"account-avatar-wrapper"],[1,"account-avatar",3,"click"],[1,"avatar-spinner"],["referrerpolicy","no-referrer",1,"rounded-circle",3,"src","alt"],[1,"avatar-initials"],[1,"avatar-overlay"],[1,"pi","pi-camera"],["tooltipPosition","right",1,"avatar-delete-btn",3,"disabled","pTooltip"],[1,"col"],[1,"text-light","fs-6"],[1,"pi","pi-user","me-2"],[1,"text-muted","mb-0","small"],[1,"text-muted","mb-0","small","mt-1","avatar-hint"],[1,"pi","pi-info-circle","me-1"],[1,"row"],[1,"col-12","col-lg-8"],[1,"card","mb-4"],[1,"card-body"],[1,"fs-5","fw-semibold","mb-4"],[1,"pi","pi-user","me-2","text-primary"],[1,"info-grid"],[1,"info-item"],[1,"info-label"],[1,"info-value","fw-medium"],[1,"info-value"],[3,"severity","value"],[1,"text-muted"],[1,"d-inline-flex","align-items-center","gap-2"],[1,"info-value","d-flex","align-items-center","gap-2","flex-wrap"],["severity","secondary","value","Email"],["severity","secondary","value","Google"],[1,"pi","pi-id-card","me-2","text-primary"],[3,"formGroup"],[1,"d-flex","justify-content-between","align-items-center","mb-3"],[1,"fs-5","fw-semibold","mb-0"],[1,"pi","pi-map-marker","me-2","text-primary"],["type","button","pButton","",1,"p-button-outlined","p-button-sm",3,"click","disabled"],[1,"pi","pi-plus","me-2"],[1,"text-center","py-3"],[1,"text-muted","small","mb-0"],[1,"fs-5","fw-semibold","mb-2"],[1,"pi","pi-globe","me-2","text-primary"],[1,"text-muted","small","mb-4"],["o
136ptionLabel","label","styleClass","w-100",3,"ngModelChange","onChange","options","ngModel","ngModelOptions"],["pTemplate","selectedItem"],["pTemplate","item"],[1,"pi","pi-envelope","me-2","text-primary"],[1,"notification-prefs"],[1,"d-flex","align-items-center","justify-content-between","py-2","border-bottom"],[1,"pi","pi-google","me-2","text-danger"],[1,"pi","pi-shield","me-2","text-primary"],[3,"visibleChange","header","visible","modal"],["type","text","maxlength","9","placeholder","000000","autocomplete","one-time-code",1,"form-control","mb-3",3,"ngModelChange","keyup.enter","ngModel"],[1,"d-flex","justify-content-end","gap-2"],["pButton","",1,"p-button-text",3,"click"],["pButton","",1,"p-button-danger",3,"click","disabled"],[3,"loading","style"],["type","text","maxlength","6","placeholder","000000","autocomplete","one-time-code",1,"form-control","mb-3",3,"ngModelChange","keyup.enter","ngModel"],["pButton","",1,"p-button-primary",3,"click","disabled"],[1,"pi","pi-lock","me-2","text-primary"],[1,"card","card-danger","mb-4"],[1,"fs-5","fw-semibold","mb-2","text-danger"],[1,"pi","pi-exclamation-triangle","me-2"],[1,"text-muted","small","mb-3"],["type","button","pButton","",1,"p-button-danger","p-button-outlined","p-button-sm",3,"click","disabled"],[1,"pi","pi-trash","me-2"],[3,"visibleChange","header","visible","modal","closable"],[1,"mb-2"],[1,"text-muted","small","ps-3"],["type","text","pInputText","",1,"w-100",3,"ngModelChange","ngModel","placeholder"],["type","button","pButton","",1,"p-button-secondary","p-button-sm",3,"click","disabled"],["type","button","pButton","",1,"p-button-danger","p-button-sm",3,"click","disabled","loading"],["class","pi pi-trash me-2",4,"ngIf"],[1,"col-12","col-lg-4"],[1,"fs-6","fw-semibold","mb-3"],[1,"pi","pi-shopping-bag","me-2","text-primary"],["routerLink","/studio/purchases",1,"d-flex","align-items-center","text-decoration-none","text-primary","fw-medium"],[1,"pi","pi-shopping-bag","me-2"],[1,"pi","pi-arrow-right","ms-auto"],[1,"pi","pi-power-off","me-2","text-muted"],["routerLink","/login","pButton","",1,"p-button-outlined","p-button-sm","w-100","mb-2",3,"queryParams"],[1,"pi","pi-user-plus","me-2"],["routerLink","/logout","pButton","",1,"p-button-outlined","p-button-danger","p-button-sm","w-100"],[1,"pi","pi-power-off","me-2"],[1,"pi","pi-spin","pi-spinner"],["tooltipPosition","right",1,"avatar-delete-btn",3,"click","disabled","pTooltip"],[1,"pi",3,"ngClass"],[1,"pi","pi-google","text-danger"],["severity","danger","value","Google"],[1,"pi","pi-envelope","text-primary"],["severity","info",3,"value"],["type","button","pButton","",1,"p-button-outlined","p-button-sm","mt-3",3,"click"],[1,"pi","pi-pencil","me-2"],[1,"col-12","col-md-6","mb-3"],["for","firstName",1,"form-label"],["type","text","pInputText","","id","firstName","formControlName","firstName",1,"w-100",3,"placeholder"],["for","lastName",1,"form-label"],["type","text","pInputText","","id","lastName","formControlName","lastName",1,"w-100",3,"placeholder"],[1,"d-flex","gap-2"],["type","submit","pButton","",1,"p-button-primary","p-button-sm",3,"disabled","loading"],["class","pi pi-check me-2",4,"ngIf"],[1,"pi","pi-check","me-2"],[1,"pi","pi-spin","pi-spinner","text-muted"],[1,"row","g-3"],[1,"col-12","col-md-6"],[1,"text-muted","small","text-center","mt-3"],[1,"address-card","p-3"],["severity","success",1,"address-card__badge",3,"value","rounded"],[1,"fw-semibold","mb-1","small"],[1,"fw-semibold","small"],[1,"text-muted","small"],[1,"text-muted","small","mt-1"],[1,"d-flex","gap-1","mt-2","flex-wrap"],["severity","info","styleClass","text-xs",3,"value","rounded"],["severity","warn","styleClass","text-xs",3,"value","rounded"],[1,"d-flex","justify-content-end","gap-1","mt-2"],["type","button","pButton","",1,"p-button-text","p-button-secondary","p-button-sm",3,"pTooltip"],["type","button","pButton","",1,"p-button-text","p-button-secondary","p-button-sm",3,"click","pTooltip"],[1,"pi","pi-pencil"],["type","button","pButton","",1,"p-button-text","p-button-danger","p-button-sm",3,"click","pTooltip"],[1,"pi","pi-trash"],[1,"pi","pi-phone","me-1"],[1,"pi","pi-star"],[1,"d-flex","align-items-center"],[1,"fp","fp-rounded",3,"ngClass"],[1,"ms-2"],[1,"fw-medium"],[1,"d-block","text-muted"],[3,"ngModelChange","ngModel","disabled"],[1,"d-flex","align-items-center","mb-3"],["referrerpolicy","no-referrer",1,"rounded-circle","me-3",2,"width","48px","height","48px","object-fit","cover",3,"src","alt"],[1,"mb-0","fw-medium"],[1,"pi","pi-check-circle","text-success","me-2"],["type","button","pButton","",1,"p-button-danger","p-button-outlined","p-button-sm",3,"disabled","loading"],[1,"alert","alert-warning","mb-0","py-2","small"],["type","button","pButton","",1,"p-button-danger","p-button-outlined","p-button-sm",3,"click","disabled","loading"],["class","pi pi-times me-2",4,"ngIf"],[1,"pi","pi-times","me-2"],[1,"text-muted","mb-3"],[3,"googleSignIn","text","loading"],[1,"badge","bg-success","me-2"],[1,"pi","pi-check","me-1"],["pButton","",1,"p-button-outlined","p-button-sm",3,"click"],[1,"pi","pi-refresh","me-1"],["pButton","",1,"p-button-outlined","p-button-danger","p-button-sm",3,"click"],[1,"pi","pi-times","me-1"],[1,"text-center","mb-3"],[3,"qrdata","width","errorCorrectionLevel"],[1,"form-label","small","text-muted"],[1,"input-group"],["type","text","readonly","",1,"form-control","form-control-sm","font-monospace",3,"value"],[1,"form-label"],["type","text","maxlength","6","placeholder","000000","autocomplete","one-time-code",1,"form-control",3,"ngModelChange","keyup.enter","ngModel"],["pButton","",1,"p-button-primary","p-button-sm",3,"click","disabled"],["pButton","",1,"p-button-text","p-button-sm",3,"click"],[3,"loading"],[1,"alert","alert-warning","mb-3"],[1,"col-6","col-md-4","mb-1"],["pButton","",1,"p-button-primary","p-button-sm",3,"click"],[1,"d-block","text-center","p-1","bg-light","rounded"],[1,"pi","pi-shield","me-1"],["for","newPassword",1,"form-label"],["id","newPassword","formControlName","newPassword","styleClass","w-100","inputStyleClass","w-100",3,"toggleMask","feedback","promptLabel"],[1,"text-danger"],["for","confirmPassword",1,"form-label"],["id","confirmPassword","formControlName","confirmPassword","styleClass","w-100","inputStyleClass","w-100",3,"toggleMask","feedback"],["type","submit","pButton","",1,"p-button-primary",3,"disabled","loading"],["class","pi pi-envelope me-2",4,"ngIf"],[1,"pi","pi-envelope","me-2"],[1,"alert","alert-info","border","mb-4"],[1,"pi","pi-info-circle","me-2"],["for","code",1,"form-label"],["type","text","pInputText","","id","code","formControlName","code",1,"w-100",3,"placeholder"],[1,"col","d-flex","gap-2"],["type","button","pButton","",1,"p-button-secondary",3,"click","disabled"],[1,"pi","pi-users","me-2","text-primary"],[1,"workspace-list"],[1,"workspace-item"],[1,"workspace-item",3,"click"],[1,"workspace-item-avatar"],[1,"workspace-item-initials"],[1,"workspace-item-info"],[1,"workspace-item-name"],[1,"d-flex","align-items-center","gap-1","mt-1"],["styleClass","text-xs",3,"severity","value"],[1,"pi","pi-chevron-right","text-muted","ms-auto"],["formControlName","isDefault"]],template:function(e,l){e&1&&(r(0,"div"),g(1,yn,1,0,"app-widget-loading")(2,Sn,1,0,"app-widget-api-error")(3,Ha,248,192),o(),r(4,"p-dialog",0),p(5,"translate"),D("visibleChange",function(C){return k(l.showAddressDialog,C)||
136(l.showAddressDialog=C),C}),r(6,"form",1),A("ngSubmit",function(){return l.saveAddress()}),r(7,"div",2)(8,"label",3),s(9),p(10,"translate"),o(),u(11,"input",4),p(12,"translate"),o(),r(13,"div",2)(14,"label",3),s(15),p(16,"translate"),o(),u(17,"input",5),o(),r(18,"div",2)(19,"label",3),s(20),p(21,"translate"),o(),u(22,"input",6),o(),r(23,"div",2)(24,"label",3),s(25),p(26,"translate"),o(),u(27,"input",7),o(),r(28,"div",2)(29,"label",3),s(30),p(31,"translate"),o(),u(32,"input",8),o(),r(33,"div",9)(34,"div",10)(35,"label",3),s(36),p(37,"translate"),o(),u(38,"input",11),o(),r(39,"div",12)(40,"label",3),s(41),p(42,"translate"),o(),u(43,"input",13),o()(),r(44,"div",2)(45,"label",3),s(46),p(47,"translate"),o(),u(48,"input",14),o(),r(49,"div",2)(50,"label",3),s(51),p(52,"translate"),o(),u(53,"p-select",15),p(54,"translate"),o(),r(55,"div",2)(56,"label",16),s(57),p(58,"translate"),o(),r(59,"div",17)(60,"div",18),u(61,"p-inputSwitch",19),r(62,"span",20),u(63,"i",21),s(64),p(65,"translate"),o()(),r(66,"div",18),u(67,"p-inputSwitch",22),r(68,"span",20),u(69,"i",23),s(70),p(71,"translate"),o()()()(),g(72,Qa,6,3,"div",2),r(73,"div",24)(74,"button",25),A("click",function(){return l.showAddressDialog=!1}),s(75),p(76,"translate"),o(),r(77,"button",26),s(78),p(79,"translate"),o()()()()),e&2&&(i(),v(l.loading?1:l.error?2:l.user?3:-1),i(3),U(V(64,An)),I("visible",l.showAddressDialog),c("modal",!0)("draggable",!1)("resizable",!1)("header",d(5,30,l.editingAddress?"MANAGER.ADDRESSES.EDIT_TITLE":"MANAGER.ADDRESSES.ADD_TITLE"))("closable",!0),i(2),c("formGroup",l.addressForm),i(3),E(d(10,32,"MANAGER.ADDRESSES.LABEL")),i(2),c("placeholder",d(12,34,"MANAGER.ADDRESSES.LABEL_PH")),i(4),_("",d(16,36,"MANAGER.ADDRESSES.FULL_NAME")," *"),i(5),_("",d(21,38,"MANAGER.ADDRESSES.PHONE")," *"),i(5),_("",d(26,40,"MANAGER.ADDRESSES.LINE1")," *"),i(5),E(d(31,42,"MANAGER.ADDRESSES.LINE2")),i(6),_("",d(37,44,"MANAGER.ADDRESSES.POSTAL_CODE")," *"),i(5),_("",d(42,46,"MANAGER.ADDRESSES.CITY")," *"),i(5),E(d(47,48,"MANAGER.ADDRESSES.STATE")),i(5),_("",d(52,50,"MANAGER.ADDRESSES.COUNTRY")," *"),i(2),c("options",l.countryOptions)("placeholder",d(54,52,"MANAGER.ADDRESSES.COUNTRY"))("filter",!0),i(4),_("",d(58,54,"MANAGER.ADDRESSES.TYPE_LABEL")," *"),i(7),E(d(65,56,"MANAGER.ADDRESSES.TYPE_SHIPPING")),i(6),E(d(71,58,"MANAGER.ADDRESSES.TYPE_BILLING")),i(2),v(l.addresses.length>0||l.editingAddress?72:-1),i(3),_(" ",d(76,60,"COMMON.CANCEL")," "),i(2),c("loading",l.addressSaving),i(),_(" ",d(79,62,l.editingAddress?"COMMON.SAVE":"MANAGER.ADDRESSES.BTN_ADD")," "))},dependencies:[J,Z,X,Ct,dt,rt,lt,st,ut,pt,gt,ct,mt,Lt,Vt,ee,Gt,fe,Ut,li,Zt,jt,$t,pi,Ae,Nt,bt,Ht,zt,Pt,Ft,Ke,Qe,qe,je,Wt,Bt,Jt,Xt,Mt,qt,ii,Kt],styles:[".card[_ngcontent-%COMP%]{border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000d;transition:box-shadow .2s}.card[_ngcontent-%COMP%]:hover{box-shadow:0 2px 8px #00000014}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding:1.5rem}.card.card-danger[_ngcontent-%COMP%]{border-color:#dc35454d;background-color:#dc354505}.account-avatar-wrapper[_ngcontent-%COMP%]{position:relative;display:inline-block}.account-avatar[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;transition:opacity .2s}.account-avatar[_ngcontent-%COMP%]:hover   .avatar-overlay[_ngcontent-%COMP%]{opacity:1}.account-avatar.uploading[_ngcontent-%COMP%]{pointer-events:none;opacity:.7}.account-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.account-avatar[_ngcontent-%COMP%]   .avatar-initials[_ngcontent-%COMP%]{color:#fff;font-size:1.2rem;font-weight:600;letter-spacing:1px}.avatar-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;border-radius:50%}.avatar-overlay[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#fff;font-size:1.1rem}.avatar-spinner[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#fff;font-size:1.4rem}.avatar-delete-btn[_ngcontent-%COMP%]{position:absolute;top:-4px;right:-4px;width:20px;height:20px;border-radius:50%;border:2px solid #fff;background:#ef4444;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .2s,transform .15s}.avatar-delete-btn[_ngcontent-%COMP%]:hover{background:#dc2626;transform:scale(1.1)}.avatar-delete-btn[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.6}.avatar-delete-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.55rem}.avatar-hint[_ngcontent-%COMP%]{font-size:.75rem;opacity:.65}.lang-button[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.5rem 1rem;border:2px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s;font-size:.9rem;font-weight:500}.lang-button[_ngcontent-%COMP%]:hover{border-color:#667eea;background:#667eea0a}.lang-button.active[_ngcontent-%COMP%]{border-color:#667eea;background:#667eea14;box-shadow:0 0 0 1px #667eea33}.lang-button[_ngcontent-%COMP%]   .fp[_ngcontent-%COMP%]{font-size:1.2rem}[_nghost-%COMP%]     .p-password{width:100%}[_nghost-%COMP%]     .p-password .p-password-input{width:100%}[_nghost-%COMP%]     .p-inputtext{width:100%}.info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.info-item[_ngcontent-%COMP%]{padding:.875rem 1rem;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9}.info-item[_ngcontent-%COMP%]:nth-child(2n){border-right:none}.info-item[_ngcontent-%COMP%]:nth-last-child(1), .info-item[_ngcontent-%COMP%]:nth-last-child(2):nth-child(odd){border-bottom:none}.info-item[_ngcontent-%COMP%]:last-child:nth-child(odd){border-right:none}.info-label[_ngcontent-%COMP%]{display:block;font-size:.75rem;font-weight:500;color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.375rem}.info-value[_ngcontent-%COMP%]{font-size:.9rem;color:#1e293b;margin:0}.workspace-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0}.workspace-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:8px;
136cursor:pointer;transition:background .15s}.workspace-item[_ngcontent-%COMP%]:hover{background:#667eea0f}.workspace-item-avatar[_ngcontent-%COMP%]{width:36px;height:36px;min-width:36px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center}.workspace-item-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.workspace-item-initials[_ngcontent-%COMP%]{color:#fff;font-size:.8rem;font-weight:600}.workspace-item-info[_ngcontent-%COMP%]{flex:1;min-width:0}.workspace-item-name[_ngcontent-%COMP%]{display:block;font-size:.85rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575.98px){.info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.info-item[_ngcontent-%COMP%]{border-right:none!important}.info-item[_ngcontent-%COMP%]:last-child{border-bottom:none}}.address-card[_ngcontent-%COMP%]{border:1px solid #e2e8f0;border-radius:10px;background:#fff;position:relative;transition:box-shadow .2s}.address-card[_ngcontent-%COMP%]:hover{box-shadow:0 2px 8px #0000000f}.address-card--default[_ngcontent-%COMP%]{border-color:var(--p-green-300, #86efac);background:#22c55e08}.address-card__badge[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px}"]})};export{ci as ViewManagerAccountComponent};

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.