1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[4461],{55645(L,w,t){t.d(w,{z:()=>_});var s=t(85802),P=t(7673),h=t(68018),i=t(46062),y=t(96354),x=t(35547);let _=(()=>{class m{translate=(0,s.WQX)(h.c$);transform(n,v){let e="";return n&&(n.type===i.eE.PersonalPhonebook||n.type===i.eE.CompanyPhonebook||n.type===i.eE.DepartmentPhonebook||n.type===i.eE.Extension)&&(n.phones.mobile===v?e="_i18n.MobileNumber":n.phones.mobile2===v?e="_i18n.ContactData0":n.phones.home===v?e="_i18n.ContactData1":n.phones.business===v?e="_i18n.ContactData3":n.phones.business2===v&&(e="_i18n.ContactData4")),e?this.translate.stream(e).pipe((0,y.T)(M=>`(${M})`)):(0,P.of)("")}static \u0275fac=function(v){return new(v||m)};static \u0275pipe=x.EJ8({name:"contactPhoneType",type:m,pure:!0})}return m})()},97684(L,w,t){t.d(w,{U:()=>v});var s=t(85802),P=t(40605),h=t(96354),i=t(97647);let y=(()=>{class e{durationTimer$;constructor(){this.durationTimer$=(0,P.Y)(1e3).pipe((0,h.T)(()=>Date.now()),(0,i.u)())}static \u0275fac=function(p){return new(p||e)};static \u0275prov=s.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var x=t(67374),_=t.n(x),m=t(99172),d=t(49769),n=t(35547);let v=(()=>{class e{startedAt;duration;constructor(){const A=(0,s.WQX)(y);this.duration=A.durationTimer$.pipe((0,m.Z)(Date.now()),(0,h.T)(p=>{const u=this.startedAt;if(void 0===u||!Number.isFinite(u))return"";const z=Math.max(0,p-u),T=_().duration(z,"milliseconds");return T.asHours()>=1?T.format("HH:mm:ss"):T.format("mm:ss")}),(0,m.Z)(""))}static \u0275fac=function(p){return new(p||e)};static \u0275cmp=n.VBU({type:e,selectors:[["duration"]],inputs:{startedAt:"startedAt"},decls:2,vars:3,template:function(p,u){1&p&&(n.EFF(0),n.nI1(1,"async")),2&p&&n.JRh(n.bMT(1,1,u.duration))},dependencies:[d.Jj],encapsulation:2,changeDetection:0})}return e})()},38278(L,w,t){t.d(w,{z:()=>D});var s=t(85802),P=t(16444),h=t(38601),i=t(46870),y=t(67374),x=t.n(y),_=t(46062),m=t(2693),d=t(68018),n=t(1211),v=t(84572),e=t(27468),M=t(7673),A=t(35060),p=t(99437),u=t(96354),z=t(25558),T=t(88141),S=t(44652),R=t(50644);let D=(()=>{class N{myPhoneService=(0,s.WQX)(P.gx);translateService=(0,s.WQX)(d.c$);contactService=(0,s.WQX)(S.D);modalService=(0,s.WQX)(h.B);audioConferences$=this.myPhoneService.myPhoneSession.pipe((0,z.n)(o=>o.conferences$.pipe((0,u.T)(a=>N.convertToWrapers(a)),(0,T.M)(a=>this.updateIsStarted(a,o.timeSync.delta)),(0,p.W)(a=>(this.modalService.error(a),(0,M.of)([]))))),(0,R.H9)());privateConference$=this.myPhoneService.myPhoneSession.pipe((0,z.n)(o=>o.myInfo.PrivateConference$),(0,z.n)(o=>{const a=o.Items;return a.length>0?i.C.forPrivateConference(this.translateService,a):(0,M.of)(null)}),(0,R.H9)());getAudioConferenceObservable(o){return o||console.error(`getAudioConferenceObservable: confId='${o}' is not a number`,o),this.audioConferences$.pipe((0,z.n)(a=>{const l=a.find(g=>g.audioConference.Id===o);return l?(0,M.of)(l):A.t}),(0,R.H9)())}buildVmList(o){return o.length>0?(0,e.p)(o.map(a=>N.buildSimpleParticipantVm(this.contactService,a.Number,a.DisplayName).pipe((0,u.T)(l=>(l.model=a,l))))).pipe((0,u.T)(a=>(N.updateVisibility(a),a)),(0,u.T)(a=>a.filter(l=>l.IsVisible))):(0,M.of)([])}static buildSimpleParticipantVm(o,a,l){return o.requestContactByNumber(a).pipe((0,u.T)(g=>{const C=new m.J;return C.Number=a,g.isDummy?(C.IsExtension=!1,C.Name=l):(C.IsExtension=g.type===_.eE.Extension&&g.bridgeId===_.Ij,C.Name=g.firstNameLastName||g.company||"",g.emailAddress&&(C.Email=g.emailAddress)),C}))}getScheduledConferenceDetailsObservable(o){return this.getAudioConferenceObservable(o).pipe((0,z.n)(l=>{const g=new n.VWt;return g.Id=l.audioConference.ScheduleID,g.PinCode=l.audioConference.PinCode,this.myPhoneService.get(g).pipe((0,p.W)(()=>(0,M.of)(new n.Kf$({EmailBody:""}))))}))}getScheduledConferenceParticipantsObservable(o){return(0,v.z)([o,this.myPhoneService.myPhoneSession]).pipe((0,z.n)(([a])=>{const l=a.InternalParticipants?(0,e.p)(a.InternalParticipants.split(",").map(E=>N.buildSimpleParticipantVm(this.contactService,E,""))).pipe((0,R.H9)()):(0,M.of)([]),g=a.CallToExternalNumbers?(0,e.p)(a.CallToExternalNumbers.split(",").map(E=>N.buildSimpleParticipantVm(this.contactService,E,""))).pipe((0,R.H9)()):(0,M.of)([]),C=(0,v.z)([g,l]).pipe((0,u.T)(([E,W])=>E.concat(W))),f=C.pipe((0,z.n)(E=>{const W=new Set;
1E.forEach(K=>{W.add(K.Email)});let $=(0,M.of)([]);if(a.webMeetingScheduleState&&a.webMeetingScheduleState.Type!==n.Wfq.AudioConference)a.webMeetingScheduleState.Participants&&a.webMeetingScheduleState.Participants.Items&&($=(0,M.of)(a.webMeetingScheduleState.Participants.Items.filter(U=>!W.has(U.Email)).map(U=>new m.J({Email:U.Email,Name:U.Name}))));else{const K=(a.Emails?a.Emails.split(","):[]).filter(U=>!W.has(U));$=K.length>0?(0,e.p)(K.map(U=>this.contactService.requestContactByEmail(U).pipe((0,u.T)(X=>{const F=new m.J;return F.Email=U,X.isDummy||(F.Name=X.firstNameLastName,F.Number=X.extensionNumber),F})))):(0,M.of)([])}return $}),(0,R.H9)());return(0,v.z)([C,f]).pipe((0,u.T)(([E,W])=>E.concat(W)))}),(0,p.W)(a=>(console.log(a),(0,M.of)([]))))}static isGoodStatus(o){return o!==n.su0.DISCONNECTED&&o!==n.su0.FAILEDTOREACH}static updateVisibility(o){o.forEach(a=>{if(N.isGoodStatus(a.model.Status))a.IsVisible=!0;else{const l=o.filter(C=>C.Number===a.Number);a.IsVisible=!l.some(C=>N.isGoodStatus(C.model.Status))&&l.pop()===a}})}getAudioConferenceParticipantViewModels(o){return this.getAudioConferenceObservable(o).pipe((0,z.n)(a=>this.buildVmList(a.audioOrPrivateParticipants.filter(l=>!!l.Number))))}privateConferenceParticipants$=this.privateConference$.pipe((0,z.n)(o=>this.buildVmList(o?o.audioOrPrivateParticipants:[])));static convertToWrapers(o){if(void 0===o.Items||0===o.Items.length)return[];const l=x()().subtract(2,"days");return o.Items.filter(g=>(g=>!g.StartAt&&g.IsActive)(g)||x().utc(g.StartAt).isSameOrAfter(l)).map(g=>g.Type===n.Wfq.Mixed||g.Type===n.Wfq.WebMeeting?i.C.forWebmeeting(g):i.C.forAudioConference(g))}updateIsStarted(o,a){const l=x()();o.forEach(g=>{if(g.audioConference.IsScheduled){const C=x().utc(g.audioConference.StartAt).local();g.isStarted=x()(l).add(a,"milliseconds").isAfter(C)}else g.isStarted=!0})}addConferenceParticipant(o,a){const l=new n.Wyw;return l.method="add",l.member=o,l.pin=a,this.myPhoneService.get(l).pipe((0,p.W)(g=>(this.modalService.error(g),(0,M.of)(!1))))}sendRequestChangeConference(o,a){return a&&(o.pin=a),this.myPhoneService.get(o).pipe((0,p.W)(l=>(this.modalService.error(l),(0,M.of)(!1))))}callConferenceParticipant(o,a){const l=new n.Wyw;l.method="add",l.member=o.Number,this.sendRequestChangeConference(l,a.getPinCode()).subscribe({next:g=>{void 0!==g&&(g.Success||(this.modalService.error("$Message :{response.Message} Error Code :{response.ErrorCode}"),console.log(g.Message),console.log(g.ErrorCode)))},error:g=>{this.modalService.error(g)}})}dropConferenceParticipant(o,a){const l=new n.Wyw;l.method="drop",l.member=o.Id.toString(),this.sendRequestChangeConference(l,a.getPinCode()).subscribe({next:g=>{void 0!==g&&(g.Success||this.modalService.error("$Message :{response.Message} Error Code :{response.ErrorCode}"))},error:g=>{this.modalService.error(g)}})}toggleMuteParticipant(o,a){const l=new n.Wyw;l.method="mute",l.member=o.Id.toString(),l.mute=o.Status!==n.su0.MUTED?"1":"0",this.sendRequestChangeConference(l,a.getPinCode()).subscribe({next:C=>{void 0!==C&&(C.Success||(this.modalService.error("$Message :{response.Message} Error Code :{response.ErrorCode}"),console.log(C.Message),console.log(C.ErrorCode)))},error:C=>{this.modalService.error(C)}})}joinLinkObservable(o){return(0,v.z)([this.myPhoneService.myPhoneSession,o]).pipe((0,u.T)(([a,l])=>{const g=l.webMeetingScheduleState?.JoinLink;if(g){const C=new URL(g);return new URL(C.pathname,a.domainUrl).href}return""}))}getColorClassByStatus(o){switch(o){case n.su0.CONNECTED:case n.su0.MUTED:case n.su0.HELDBYCONFERENCE:case n.su0.HELDBYPARTICIPANT:case n.su0.JOINING:return"normalStatus";case n.su0.FAILEDTOREACH:case n.su0.DISCONNECTED:return"failedStatus";default:return""}}getTextByStatus(o){switch(o){case n.su0.CONNECTED:return"_i18n.Connected";case n.su0.MUTED:return"_i18n.Muted";case n.su0.HELDBYCONFERENCE:return"_i18n.HeldByConference";case n.su0.HELDBYPARTICIPANT:return"_i18n.HeldByParticipant";case n.su0.JOINING:return"_i18n.Joining";case n.su0.FAILEDTOREACH:return"_i18n.FailedToReach";case n.su0.DISCONNECTED:return"_i18n.DisConnected";default:return""}}static \u0275fac=function(a){return new(a||N)};static \u0275prov=s.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},46870(L,w,t){t.d(w,{C:()=>x});var s=t(96354),P=t(67374),h=t.n(P),i=t(11082),y=function(_){return _[_.privateConf=0]="privateConf",_[_.audioConf=1]="audioConf",_[_.webMeeting=2]="webMeeting",_[_.newConf=3]="newConf",_}(y||{});class x{payloadType;payload;privateConfName;_startAtDate;_endAtDate;get label(){return this.isAudio||this.isWebMeeting?this.audioConference.Name:this.isPrivate?this.privateConfName:this.isNew?"_i18n.NewConference":""}getPinCode(){return this.audioConference&&this.audioConference.PinCode}get routerLink(){return this.isAudio||this.isWebMeeting?[i.VJ,this.audioConference.Id]:this.isPrivate?[i.OW]:this.isNew?[i.i0]:[]}get routerNavigateParams(){return this.routerLink}get startAtDate(){return this._startAtDate||(this.isAudio||this.isWebMeeting)&&this.audioConference.StartAt&&(this._startAtDate=h().utc(this.audioConference.StartAt)),this._startAtDate}get endAtDate(){return this._endAtDate||(this.isAudio||this.isWebMeeting)&&this.audioConference.EndAt&&(this._endAtDate=h().utc(this.audioConference.EndAt)),this._endAtDate}get startAt(){const m=this.startAtDate;return m?m.local().format(i.i$):""}get isActive(){return!!this.isPrivate||!(!this.isAudio&&!this.isWebMeeting)&&this.audioConference.IsActive}get description(){return this.isAudio||this.isWebMeeting?this.audioConference.Description:""}get audioOrPrivateParticipants(){if(this.isPrivate)return this.privateConferenceParticipants;if(this.isAudio||this.isWebMeeting){const m=this.audioConference.Participants;if(m&&m.Items)return this.audioConference.Participants.Items}return[]}get isPrivate(){return this.payloadType===y.privateConf}get isScheduled(){return this.audioConference.IsScheduled}get isWebMeeting(){return this.payloadType===y.webMeeting}get isAudio(){return this.payloadType===y.audioConf}get isNew(){return this.payloadType===y.newConf}isStarted=!1;get audioConference(){return this.payload}get privateConferenceParticipants(){return this.payload}static newWrapper(m,d){const n=new x;return n.payloadType=m,n.payload=d,n}static forPrivateConference(m,d){return m.get("_i18n.ConfPrivateConferenceTitle").pipe((0,s.T)(n=>
1{const v=x.newWrapper(y.privateConf,d);return v.privateConfName=n,v}))}static forAudioConference(m){return x.newWrapper(y.audioConf,m)}static forWebmeeting(m){return x.newWrapper(y.webMeeting,m)}hasSameContent(m){return!(this.payloadType!==m.payloadType||!this.isPrivate&&!this.isNew&&(this.isAudio||this.isWebMeeting?this.audioConference.Id!==m.audioConference.Id:(console.error("Unexpected input hasSameContent",this,m),1)))}}},11082(L,w,t){t.d(w,{A3:()=>h,Hk:()=>_,OW:()=>d,VJ:()=>n,i$:()=>y,i0:()=>x,mT:()=>P,od:()=>m,os:()=>i,wH:()=>v});var s=t(1211),P=function(e){return e[e.WebMeeting=0]="WebMeeting",e[e.Webinar=1]="Webinar",e}(P||{});const h=[{value:P.WebMeeting,name:"WebMeeting"},{value:P.Webinar,name:"Webinar (Classroom)"}],i=[{value:s.oKl.Google,name:"Google"},{value:s.oKl.Office365,name:"Office365"},{value:s.oKl.Outlook,name:"Outlook Online"},{value:s.oKl.IcsFile,name:"iCal"},{value:s.oKl.Tcx,name:"3CX (direct eMail)"}],y="YYYY-MM-DD HH:mm:ss",x="/conferences/schedule/new",_="/conferences",m="/conferences/schedule",d="/conferences/schedule/private",n="/conferences/schedule",v="Instant Meeting"},51078(L,w,t){t.d(w,{X:()=>R});var s=t(96354),P=t(23294),h=t(25558),i=t(99172),y=t(44668),x=t(96697),_=t(85802),m=t(38278),d=t(46870),n=t(16444),v=t(68018),e=t(7673);let M=(()=>{class D{privateConference$;constructor(){const b=(0,_.WQX)(n.gx),o=(0,_.WQX)(v.c$);this.privateConference$=b.myPhoneSession.pipe((0,h.n)(a=>a.myInfo.PrivateConference$),(0,h.n)(a=>{const l=D.extractParticipants(a);return l.length>0?d.C.forPrivateConference(o,l).pipe((0,s.T)(g=>[g])):(0,e.of)([])}))}static extractParticipants(b){return b&&b.Items?b.Items:[]}static \u0275fac=function(o){return new(o||D)};static \u0275prov=_.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();var A=t(67374),p=t.n(A),u=t(84572),z=t(40605);const T=new Date(9999,12,31,23,59,59,9999999),S=p()(T);let R=(()=>{class D{allConferences$;anyConferences$;anyActivePrivateOrAudio$;IsMyPrivateConferenceActive$;sortedConferences$;constructor(){const b=(0,_.WQX)(m.z),o=(0,_.WQX)(M),a=(0,_.WQX)(n.gx);this.allConferences$=(0,u.z)([o.privateConference$,b.audioConferences$]).pipe((0,s.T)(f=>{const[E,W]=f;return E.concat(W)})),this.anyConferences$=this.allConferences$.pipe((0,s.T)(f=>f.length>0)),this.anyActivePrivateOrAudio$=this.allConferences$.pipe((0,s.T)(f=>f.some(E=>E.isActive&&(E.isPrivate||E.isAudio)))),this.IsMyPrivateConferenceActive$=a.myPhoneSession.pipe((0,s.T)(f=>f.myInfo.Number),(0,P.F)(),(0,h.n)(f=>this.allConferences$.pipe((0,s.T)(E=>E.some(W=>W.isActive&&this.isPrivateConfPin(W.getPinCode(),f)))))),this.sortedConferences$=(0,u.z)([this.allConferences$,(0,z.Y)(1e4).pipe((0,i.Z)(0))]).pipe((0,s.T)(f=>{const[E]=f;return((f,E)=>{f.sort((W,$)=>D.conferencesComparator(W,$,E))})(E,p()()),E}),(0,y.t)({refCount:!0,bufferSize:1}))}isPrivateConfPin(b,o){return b.startsWith("*")&&b.substring(1)===o}checkAnyConferences(){return this.anyConferences$.pipe((0,x.s)(1))}static normalize(b){return b<0?-1:b>0?1:0}testForConferencesComparator(b,o,a){return D.conferencesComparator(b,o,a)}static conferencesComparator(b,o,a){const l=b,g=o;if(null==l||null==g)return 0;const C=l.startAtDate||S,f=g.startAtDate||S;return l.isActive&&g.isActive?D.normalize(C.diff(f)):l.isActive?-1:g.isActive?1:C.isSameOrAfter(a)&&f.isSameOrAfter(a)?D.normalize(C.diff(f)):C.isSameOrBefore(a)&&f.isSameOrBefore(a)?D.normalize(f.diff(C)):C.isAfter(a)&&f.isBefore(a)?-1:1}static \u0275fac=function(o){return new(o||D)};static \u0275prov=_.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},2693(L,w,t){t.d(w,{J:()=>s});class s{constructor(h){h&&Object.assign(this,h)}Name;Email;Number;IsExtension;IsVisible;toString=()=>{let h="",i="";return this.Name?(h=this.Name,i=[this.Number,this.Email].filter(y=>y).join(", ")):this.Number?(h=this.Number,i=this.Email):this.Email&&(h=this.Email),i?`${h} (${i})`:h};model}},19543(L,w,t){t.d(w,{R:()=>d,b:()=>n});var s=t(85802),P=t(43462),h=t(7673),i=t(25558),y=t(68018),x=t(2122),_=t(96354),m=t(35547);let d=(()=>{class v{translate=(0,s.WQX)(y.c$);transform(M){return n(M,this.translate)}static \u0275fac=function(A){return new(A||v)};static \u0275pipe=m.EJ8({name:"userProfile",type:v,pure:!0})}return v})();function n(v,e){return v?v.identity.pipe((0,i.n)(M=>{const{isBusy:A,isRegistered:p,profile:u}=M;if(!u)return(0,h.of)("");if(A)return e.stream("_i18n.InCall");if(!p&&u.internalName)return e.stream("_i18n.NotRegistered").pipe((0,_.T)(T=>
1[T,u.status].filter(Boolean).join(", ")));if(u.status.trim())return(0,h.of)(u.status);if(u.internalName===P.SB.Custom1||u.internalName===P.SB.Custom2)return(0,h.of)(u.name||u.internalName);const z=x._.nonCustomProfileNames[u.internalName];return z?e.stream(z):(0,h.of)("")})):(0,h.of)("")}},3013(L,w,t){t.d(w,{B:()=>a});var s=t(85802),P=t(44652),h=t(12426),i=t(92771),y=t(84572),x=t(57786),_=t(7673),m=t(1211),d=t(33971),n=t(50644),v=t(16444),e=t(23935),M=t(38601),A=t(7881),p=t(99437),u=t(70152),z=t(23294),T=t(96354),S=t(31943),R=t(99172),D=t(25558),N=t(88141),b=t(96106);const o=Object.freeze({contacts:[],error:"",status:"ok"});let a=(()=>{class l{contactSearcher=(0,s.WQX)(P.D);localStorage=(0,s.WQX)(h.sj);myPhone=(0,s.WQX)(v.gx);modalService=(0,s.WQX)(M.B);count=20;search$=new i.m(1);myPhoneSession$=this.myPhone.myPhoneSession;searcher=new e.e;sortingType$=this.myPhoneSession$.pipe((0,d.b$)(this.localStorage),(0,n.H9)());searchChanged$=this.search$.pipe((0,u.B)(b.tN),(0,z.F)(),(0,n.H9)());getContacts(C){return this.searchChanged$.pipe((0,D.n)(f=>this.findLocalContacts$(C,f)),(0,N.M)(({error:f})=>{f&&this.modalService.error(f)}),(0,T.T)(({contacts:f})=>f))}getCrmContacts(C){return this.searchChanged$.pipe((0,D.n)(f=>f&&C.contextRequestHasCRM()?this.findCrmContacts$(C,f).pipe((0,R.Z)(o)):(0,_.of)(o)))}findLocalContacts$(C,f){return f?(0,y.z)([this.myPhoneSession$,this.sortingType$]).pipe((0,D.n)(([E,W])=>this.contactSearcher.requestContact(this.contactSearcher.requestFactory({Input:f,Offset:0,Count:this.count,SortBy:W},C)).pipe((0,D.n)($=>(0,x.h)(E.contactDeleted$,(0,_.of)($)).pipe((0,S.S)((j,K)=>K instanceof m.Bve?(j.Entries.some(U=>U.Id===K.Id)&&(j.TotalCount--,j.Entries=j.Entries.filter(U=>U.Id!==K.Id)),j):K instanceof m.OeX?K:j,new m.OeX))),(0,T.T)(({Entries:$})=>({status:"ok",error:"",contacts:this.searcher.search($.map(j=>E.createMergedContact(j)),f,C.merge({vMailCode:E.systemParameters.VmailDialCode}))})),(0,p.W)($=>(0,_.of)({status:"error",error:(0,A.PE)($),contacts:[]}))))):(0,_.of)(o)}findCrmContacts$(C,f){return f&&C.contextRequestHasCRM()?this.contactSearcher.requestCrmContact(new m.Nhk({InputString:f,MaxContactCount:this.count})).pipe((0,T.T)(E=>({status:E.status,error:E.error,contacts:this.searcher.search(E.contacts,f,C)}))):(0,_.of)(o)}static \u0275fac=function(f){return new(f||l)};static \u0275prov=s.jDH({token:l,factory:l.\u0275fac})}return l})()},72032(L,w,t){t.d(w,{U:()=>h});var s=t(35547),P=t(85802);let h=(()=>{class i{static \u0275fac=function(_){return new(_||i)};static \u0275cmp=s.VBU({type:i,selectors:[["app-google-mono-custom-icon"],["","app-google-mono-custom-icon",""]],decls:9,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 48 48"],["id","a","d","M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z"],["id","b"],[0,"xlink","href","#a","overflow","visible"],["clip-path","url(#b)","d","M0 37V11l17 13z"],["clip-path","url(#b)","d","M0 11l17 13 7-6.1L48 14V0H0z"],["clip-path","url(#b)","d","M0 37l30-23 7.9 1L48 0v48H0z"],["clip-path","url(#b)","d","M48 48L17 24l-4-3 35-10z"]],template:function(_,m){1&_&&(P.qSk(),s.rj2(0,"svg",0)(1,"defs"),s.Hgh(2,"path",1),s.eux(),s.rj2(3,"clipPath",2),s.Hgh(4,"use",3),s.eux(),s.Hgh(5,"path",4)(6,"path",5)(7,"path",6)(8,"path",7),s.eux())},encapsulation:2})}return i})()},19859(L,w,t){t.d(w,{v:()=>h});var s=t(35547),P=t(85802);let h=(()=>{class i{static \u0275fac=function(_){return new(_||i)};static \u0275cmp=s.VBU({type:i,selectors:[["app-phone-alt-solid-icon"],["","app-phone-alt-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","m497.39 361.8-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"]],template:function(_,m){1&_&&(P.qSk(),s.rj2(0,"svg",0),s.Hgh(1,"path",1),s.eux())},encapsulation:2})}return i})()},2122(L,w,t){t.d(w,{_:()=>M});var s=t(85802),P=t(16444),h=t(68018),i=t(1211),y=t(84572),x=t(7673),_=t(99172),m=t
1(99437),d=t(96354),n=t(25558),v=t(43462),e=t(50644);class M{myPhone=(0,s.WQX)(P.gx);translate=(0,s.WQX)(h.c$);static nonCustomProfileNames={[v.SB.Available]:"_i18n.Available",[v.SB.Away]:"_i18n.Away",[v.SB.OutOfOffice]:"_i18n.DND",[v.SB.Exceptions]:"_i18n.Exceptions"};static sortedVisibleProfileNames=[v.SB.Available,v.SB.Away,v.SB.OutOfOffice,v.SB.Custom1,v.SB.Custom2,v.SB.Exceptions];myPhoneSession$=this.myPhone.myPhoneSessionInit$.pipe((0,_.Z)(void 0),(0,n.n)(()=>this.myPhone.myPhoneSession));myInfo$=this.myPhoneSession$.pipe((0,n.n)(p=>p.myInfo$),(0,e.H9)());forwardingAndExceptionsProfiles$=this.myInfo$.pipe((0,d.T)(({MyProfiles:p})=>p),this.sortAndFilterProfiles(),(0,e.H9)());forwardingProfiles$=this.forwardingAndExceptionsProfiles$.pipe((0,d.T)(p=>p.filter(u=>u.Name!==v.SB.Exceptions)),(0,e.H9)());currentStatus$=(0,y.z)([this.myInfo$,this.forwardingProfiles$]).pipe((0,d.T)(([p,u])=>{const z=p.HasCurrentProfileOverride?p.CurrentProfileOverride:p.CurrentProfile;return z?u.find(T=>T.Id===z):void 0}),(0,e.H9)());profileDisplayNames$=(0,y.z)([this.translate.stream(Object.values(M.nonCustomProfileNames)),this.myPhoneSession$.pipe((0,n.n)(p=>p.systemParameters$))]).pipe((0,d.T)(([p,u])=>M.sortedVisibleProfileNames.reduce((z,T)=>{const S=M.nonCustomProfileNames[T];return z[T]=S?p[S]:(0,v.md)(T,"",u),z},{})),(0,e.ug)());selectStatus$(p){return this.myPhone.get(new i.mko({ProfileId:p}))}selectStatus(p){this.myPhone.get(new i.mko({ProfileId:p})).subscribe({error:u=>{console.log(u)}})}getExtensionForwardingProfiles$(p){return p?this.myPhone.get(new i.HfB({TargetExtension:p})).pipe((0,d.T)(u=>u.Profiles),this.sortAndFilterProfiles(),(0,d.T)(u=>u.filter(z=>z.Name!==v.SB.Exceptions)),(0,m.W)(()=>(0,x.of)([]))):(0,x.of)([])}setProfileStatus$(p,u){return this.updateProfile$(new i.Fdx({Id:p.Id,CustomMessage:u}))}updateProfile$(p,u){return this.myPhone.get(new i.vXy({TargetExtension:u,Update:new i.gJe({Action:i.X2v.Updated,Items:[new i.Fdx({...p,Action:i.X2v.Updated})]})}))}sortAndFilterProfiles(){return p=>p.pipe((0,d.T)(u=>{const z=u?.Items;return z?M.sortedVisibleProfileNames.map(T=>z.find(S=>S.Name===T)).filter(Boolean):[]}))}static \u0275fac=function(u){return new(u||M)};static \u0275prov=s.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}},23935(L,w,t){t.d(w,{e:()=>_});var s=t(73042),P=t(46062),h=t(94681),i=t(58369),y=t(27199);class _{numberProviders;constructor(){this.numberProviders=[],this.numberProviders.push((d,n)=>new i.Q(i.i.internalNumber,d,d.phones.extension)),this.numberProviders.push((d,n)=>n.vMailCode&&function x(m,d){return d.vMailCode&&m.isVoicemailEnabled}(d,n)?new i.Q(i.i.voicemail,d,n.vMailCode+d.phones.extension,d.phones.extension):new i.Q(i.i.none,d)),this.numberProviders.push((d,n)=>new i.Q(i.i.externalNumber,d,n.useNativeMobile?(0,y.b)(d.nativeMobileNumber):d.sanitizedPhones.mobile,n.useNativeMobile?d.nativeMobileNumber:d.phones.mobile)),this.numberProviders.push((d,n)=>new i.Q(i.i.externalNumber,d,d.sanitizedPhones.mobile2,d.phones.mobile2)),this.numberProviders.push((d,n)=>new i.Q(i.i.externalNumber,d,d.sanitizedPhones.home,d.phones.home)),this.numberProviders.push((d,n)=>new i.Q(i.i.externalNumber,d,d.sanitizedPhones.business,d.phones.business)),this.numberProviders.push((d,n)=>new i.Q(i.i.externalNumber,d,d.sanitizedPhones.business2,d.phones.business2)),this.numberProviders.push((d,n)=>new i.Q(i.i.email,d,d.emailAddress,d.emailAddress))}search(d,n,v){const e=[],M=(n=n?n.toLowerCase():"")?n.replace(new RegExp("\\D","g"),""):"";for(const A of d){const p=A.firstNameLastName,u=this.getMetricFromParts(n,A.firstNameLastName)+this.getMetricFromParts(n,A.lastNameFirstName),z=this.getMetric(n,A.emailAddress),T=this.getMetricFromParts(n,A.company),S=Math.max(u,z,T),R=new Set;this.numberProviders.forEach((D,N)=>{let b=D(A,v);if(v.converter&&(b=v.converter(b)),b.type===i.i.none||v.resultFilter&&!v.resultFilter(b))return;const o=b.searchText;if(void 0!==o&&!s.Q.isNullOrEmpty(o)){let a;if(a=S>0?S:s.Q.isNullOrEmpty(M)?0:this.getMetric(M,o),a>0){const l=b.assignResult+b.type;if(R.has(l))return;R.add(l),void 0!==A.isRegistered&&(a+=.3,A.bridgeId===P.Ij&&(a+=.4));
1const E=new h.q({name:p,number:b.assignResult,contact:A,isEmail:b.type===i.i.email,isVoicemail:b.type===i.i.voicemail,phoneOrder:N});e.push(E)}}})}return e}getMetric(d,n){if(!d)return 1;if(void 0===n||s.Q.isNullOrEmpty(n))return 0;const v=n.toLowerCase().indexOf(d);return v<0?0:v>0?1:2}getMetricFromParts(d,n){if(!d)return 1;if(void 0===n||s.Q.isNullOrEmpty(n))return 0;const v=d.split(" ");let e=0;for(const M of v){if(e>0)break;const A=n.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase(),p=M.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),""),u=A.indexOf(p);e=u<0?0:u>0?1:2}return e}}},94681(L,w,t){t.d(w,{n:()=>i,q:()=>h});var s=t(20039);const P={name:"",number:"",contact:void 0,isEmail:!1,isVoicemail:!1,phoneOrder:0};class h extends((0,s.mS)(P)){constructor(x){super(x?{...x,name:x.name?x.name:x.number}:void 0)}}const i=new h},62175(L,w,t){t.d(w,{f:()=>q});var s=t(85802),P=t(17705),h=t(32271),i=t(68739),y=t(1211),x=t(49769),_=t(25558),m=t(96354),d=t(16444),n=t(49629),v=t(89079),e=t(35547);let M=(()=>{class c{static \u0275fac=function(O){return new(O||c)};static \u0275cmp=e.VBU({type:c,selectors:[["app-office365-custom-icon"],["","app-office365-custom-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 25.46 32"],["d","M16.427 24.974V5.765l-.742.268L7.98 8.82c-.715.259-1.195.75-1.441 1.468-.085.25-.113.51-.113.774 0 3.423.005 6.847-.002 10.27-.002.892-.408 1.577-1.18 2.016-.868.493-1.75.961-2.635 1.425-.637.335-1.267.286-1.841-.143-.46-.343-.669-.824-.666-1.4.004-.751.001-1.503.001-2.254 0-4 .002-8-.002-12 0-.746.198-1.423.644-2.022.268-.36.598-.652.99-.875 1.592-.907 3.183-1.817 4.775-2.725L11.387.572A3.52 3.52 0 0 1 12.932.11c.47-.
103.916.072 1.362.199C17.196 1.135 20.1 1.95 23 2.783c1.178.338 1.936 1.119 2.275 2.298.08.28.103.572.103.865l-.001 20.172c0 .923-.326 1.715-.984 2.362-.402.396-.888.652-1.431.807-2.882.82-5.763 1.64-8.644 2.466-.367.105-.735.204-1.119.206-.42.003-.837-.045-1.22-.221a14.568 14.568 0 0 1-1.073-.56 2193.075 2193.075 0 0 1-5.332-3.023 1.69 1.69 0 0 1-.517-2.51c.343-.448.812-.67 1.38-.67h9.989z"]],template:function(O,B){1&O&&(s.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return c})();var A=t(72032),p=t(19543),u=t(46062),z=t(43849),T=t(38052),S=t(73801),R=t(58689),D=t(8516),N=t(7673);function b(c,I){if(1&c&&(e.j41(0,"div",2),e.EFF(1),e.k0s()),2&c){const r=e.XpG(2);e.xc7("background-color",r.color()),e.R7$(),e.SpI(" ",I," ")}}function o(c,I){if(1&c){const r=e.RV6();e.j41(0,"img",5),e.bIt("error",function(){s.eBV(r);const B=e.XpG(3);return s.Njj(B.profilePictureLoadingFailed())}),e.k0s()}if(2&c){const r=e.XpG(2);e.Y8G("alt",r.bestPhone)("src",I,e.B4B)}}function a(c,I){if(1&c&&(e.j41(0,"div",6),e.nrm(1,"lucide-icon",7),e.k0s()),2&c){const r=e.XpG(2),O=e.XpG();e.AVh("not-colorful",!O.colorfulDefault())("group-contact",r.isGroupContact),e.R7$(),e.Y8G("img",r.isGroupContact?O.Users:O.User)}}function l(c,I){if(1&c&&e.nVh(0,o,1,2,"img",3)(1,a,2,5,"div",4),2&c){let r;const O=e.XpG(2);e.vxM((r=O.profileImage())?0:1,r)}}function g(c,I){1&c&&(e.j41(0,"span",8),e.EFF(1,"AI"),e.k0s())}function C(c,I){1&c&&e.nrm(0,"i",10),2&c&&e.HbH(e.VkB("status-indicator ",I))}function f(c,I){1&c&&(e.j41(0,"span",11),e.EFF(1,"CRM"),e.k0s())}function E(c,I){1&c&&e.nrm(0,"app-office365-custom-icon",12)}function W(c,I){1&c&&e.nrm(0,"app-google-mono-custom-icon",13)}function $(c,I){if(1&c&&e.nrm(0,"lucide-icon",14),2&c){const r=e.XpG(7);e.Y8G("img",r.Contact)}}function j(c,I){if(1&c&&e.nrm(0,"lucide-icon",15),2&c){const r=e.XpG(7);e.Y8G("img",r.Users)}}function K(c,I){if(1&c&&e.nrm(0,"lucide-icon",16),2&c){const r=e.XpG(7);e.Y8G("img",r.Building)}}function U(c,I){if(1&c&&e.nVh(0,$,1,1,"lucide-icon",14)(1,j,1,1,"lucide-icon",15)(2,K,1,1,"lucide-icon",16),2&c){let r;const O=e.XpG(5),B=e.XpG();e.vxM((r=O.type)===B.AppContactType.PersonalPhonebook?0:r===B.AppContactType.DepartmentPhonebook?1:r===B.AppContactType.CompanyPhonebook?2:-1)}}function X(c,I){if(1&c&&e.nVh(0,U,3,1),2&c){const r=e.XpG(4);e.vxM(r.isDummy||r.isGroupContact?-1:0)}}function F(c,I){if(1&c&&e.nVh(0,f,2,0,"span",11)(1,E,1,0,"app-office365-custom-icon",12)(2,W,1,0,"app-google-mono-custom-icon",13)(3,X,1,1),2&c){let r;const O=e.XpG(3),B=e.XpG();e.vxM((r=O.addedBy)===B.ContactAddedByEnum.AB_Crm?0:r===B.ContactAddedByEnum.AB_Office365?1:r===B.ContactAddedByEnum.AB_Google?2:r===B.ContactAddedByEnum.AB_Tcx?3:-1)}}function G(c,I){if(1&c&&e.nVh(0,C,1,3,"i",9)(1,F,4,1),2&c){let r;const O=e.XpG(3);e.vxM((r=O.statusCssClassName())?0:1,r)}}function V(c,I){if(1&c&&e.nVh(0,g,2,0,"span",8)(1,G,2,1),2&c){const r=e.XpG();e.vxM(r.isAIAgent?0:1)}}function Q(c,I){if(1&c&&(e.j41(0,"div",0),e.nI1(1,"userProfile"),e.nI1(2,"async"),e.nVh(3,b,2,3,"div",1)(4,l,2,1),e.nVh(5,V,2,1),e.k0s()),2&c){let r;const O=e.XpG();e.Y8G("title",O.title()||e.bMT(2,5,e.bMT(1,3,I))),e.R7$(3),e.vxM((r=O.avatarLetters())?3:4,r),e.R7$(2),e.vxM(O.indicators()?5:-1)}}function Y(c,I){1&c&&e.nrm(0,"img",17),2&c&&e.Y8G("src",I,e.B4B)}function J(c,I){if(1&c&&(e.j41(0,"div",6),e.nrm(1,"lucide-icon",7),e.k0s()),2&c){const r=e.XpG(2);e.AVh("not-colorful",!r.colorfulDefault()),e.R7$(),e.Y8G("img",r.User)}}function k(c,I){if(1&c&&(e.j41(0,"div",0),e.nVh(1,Y,1,1,"img",17)(2,J,2,3,"div",18),e.k0s()),2&c){let r;const O=e.XpG();e.Y8G("title",O.title()),e.R7$(),e.vxM((r=O.profileImage())?1:2,r)}}const Z=[z,T,S];let q=(()=>{class c{myPhone=(0,s.WQX)(d.gx);_isNewDesign=(0,s.WQX)(R.T);newDesign=(0,P.hFB)(void 0);size=(0,P.hFB)("m");ext=(0,P.hFB)();contactImage=(0,P.hFB)();indicators=(0,P.hFB)(!0);allowLetters=(0,P.hFB)(!0);colorfulDefault=(0,P.hFB)(!0);title=(0,P.hFB)("");isNewDesign=(0,h.EW)(()=>this.newDesign()??this._isNewDesign());extIdentity=(0,v.ot)((0,v.br)(this.ext).pipe((0,_.n)(r=>r?r.identity:(0,N.of)(null)),(0,m.T)(r=>({ext:r}))),{initialValue:{ext:null}});containerClass=(0,h.EW)(()=>{const r=this.statusCssClassName();return["avatar-size-"+this.size(),r,r?"with-status-indicator":"",this.isNewDesign()?"new-design":""].join(" ")});statusCssClassName=(0,h.EW)(()=>this.extIdentity().ext?.statusCssClassName);profileImage=(0,h.EW)(()=>{const r=this.contactImage(),O=this.extIdentity().ext?.profilePicture??r,B=this.isNewDesign(),H=this.colorfulDefault();return!B||O&&!Z.includes(O)?O||(H?T:S):null});color=(0,h.EW)(()=>{const O=this.extIdentity().ext?.avatarColor,B=this.isNewDesign();return O&&B&&O===i.YV?void 0:O});ContactAddedByEnum=y.xBw;AppContactType=u.eE;isLastFirst=(0,v.ot)(this.myPhone.myPhoneSession.pipe((0,_.n)(r=>r.systemParameters$),(0,m.T)(r=>r.IsLastFirst)));failedProfilePicture=(0,s.vPA)(null);avatarLetters=(0,h.EW)(()=>{const r=this.extIdentity().ext,O=this.isLastFirst(),B=this.allowLetters(),H=this.failedProfilePicture();return!r||!B||!r.hasAvatarLetters||r.profilePicture&&r.profilePicture!==H?"":[...O?[r.lastName,r.firstName]:[r.firstName,r.lastName],r.company].map(tt=>
1tt?.replace(n.y,"")[0]).filter(Boolean).slice(0,2).join("")});profilePictureLoadingFailed(){this.failedProfilePicture.set(this.profileImage())}User=D.KJW;Users=D.zWC;Building=D.tIP;Contact=D.Bve;static \u0275fac=function(O){return new(O||c)};static \u0275cmp=e.VBU({type:c,selectors:[["app-avatar"]],hostVars:2,hostBindings:function(O,B){2&O&&e.HbH(B.containerClass())},inputs:{newDesign:[1,"newDesign"],size:[1,"size"],ext:[1,"ext"],contactImage:[1,"contactImage"],indicators:[1,"indicators"],allowLetters:[1,"allowLetters"],colorfulDefault:[1,"colorfulDefault"],title:[1,"title"]},decls:2,vars:1,consts:[[1,"avatar-container",3,"title"],["data-qa","avatar-letters",1,"avatar-content",3,"background-color"],["data-qa","avatar-letters",1,"avatar-content"],["data-qa","profile-image",1,"avatar-content",3,"alt","src"],["data-qa","profile-image",1,"avatar-content",3,"not-colorful","group-contact"],["data-qa","profile-image",1,"avatar-content",3,"error","alt","src"],["data-qa","profile-image",1,"avatar-content"],[3,"img"],["data-qa","ai-agent",1,"added-by-external","text-icon"],["data-qa","status-indicator",3,"class"],["data-qa","status-indicator"],["data-qa","added-by-crm",1,"added-by-external","text-icon"],["data-qa","added-by-office-365",1,"added-by-external"],["data-qa","added-by-google",1,"added-by-external"],["data-qa","personal-contact",1,"added-by-external",3,"img"],["data-qa","department-contact",1,"added-by-external",3,"img"],["data-qa","company-contact",1,"added-by-external",3,"img"],["alt","","data-qa","profile-image",1,"avatar-content",3,"src"],["data-qa","profile-image",1,"avatar-content",3,"not-colorful"]],template:function(O,B){if(1&O&&e.nVh(0,Q,6,7,"div",0)(1,k,3,2,"div",0),2&O){let H;e.vxM((H=B.extIdentity().ext)?0:1,H)}},dependencies:[M,A.U,D.flO,D.WGl,x.Jj,p.R],styles:["[_nghost-%COMP%]:not(.new-design).avatar-size-xs{width:35px;height:35px;flex:none;display:block;white-space:nowrap;margin-right:var(--spacer-xs);position:relative;isolation:isolate}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .status-indicator[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.new-design).avatar-size-xs .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--small-font-size);font-weight:400;color:var(--text-secondary);border-radius:0;--svg-size: calc(21px + max((35px - 80px) * .8, 0px)) ;--svg-color: currentColor}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: 17.5px }[_nghost-%COMP%]:not(.new-design).avatar-size-xs img[_ngcontent-%COMP%]{object-fit:cover}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .status-indicator[_ngcontent-%COMP%]{display:block;width:10px;height:10px;background:var(--status-indicator-color);border-radius:0;border:none}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 6px );--addedby-padding: max(1px, calc((10px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -3px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:0;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:0}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xs{padding:1px}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-content[_ngcontent-%COMP%]{border-radius:50%;border:2px solid var(--status-indicator-color)}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xs .status-indicator[_ngcontent-%COMP%]{display:none}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xs .added-by-external[_ngcontent-%COMP%]{border-radius:25%}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xs .added-by-external.text-icon[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .avatar-content[_ngcontent-%COMP%]:not(img){background-color:#58666e}[_nghost-%COMP%]:not(.new-design).avatar-size-xs .added-by-external[_ngcontent-%COMP%]{--addedby-padding: 0;--addedby-position: 0}[_nghost-%COMP%]:not(.new-design).avatar-size-s{width:var(--avatar-size-s);height:var(--avatar-size-s);flex:none;display:block;white-space:nowrap;margin-right:var(--spacer-xs);position:relative;isolation:isolate}[_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%]:not(.new-design).avatar-size-s .status-indicator[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.new-design).avatar-size-s .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}[_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size-sm);font-weight:400;color:var(--text-secondary);border-radius:0;--svg-size: calc(var(--avatar-size-s) * .6 + max((var(--avatar-size-s) - 80px) * .8, 0px));--svg-color: currentColor}[_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: calc(var(--avatar-size-s) / 2)}[_nghost-%COMP%]:not(.new-design).avatar-size-s img[_ngcontent-%COMP%]{object-fit:cover}[_nghost-%COMP%]:not(.new-design).avatar-size-s .status-indicator[_ngcontent-%COMP%]{display:block;width:8px;height:8px;background:var(--status-indicator-color);border-radius:0;border:none}[_nghost-%COMP%]:not(.new-design).avatar-size-s .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 4px );--addedby-padding: max(1px, calc((8px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -2px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:0;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}[_nghost-%COMP%]:not(.new-design).avatar-size-s .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:0}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-s{padding:1px}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-content[_ngcontent-%COMP%]{border-radius:50%;border:2px solid var(--status-indicator-color)}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-s .status-indicator[_ngcontent-%COMP%]{display:none}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-s .added-by-external[_ngcontent-%COMP%]{border-radius:25%}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-s .added-by-external.text-icon[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]:not(.new-design).avatar-size-s .avatar-content[_ngcontent-%COMP%]:not(img){background-color:#58666e}[_nghost-%COMP%]:not(.new-design).avatar-size-s .added-by-external[_ngcontent-%COMP%]{--addedby-padding: 0;--addedby-position: 0}[_nghost-%COMP%]:not(.new-design).avatar-size-m{width:var(--avatar-size);height:var(--avatar-size);flex:none;display:block;white-space:nowrap;margin-right:var(--spacer-xs);position:relative;isolation:isolate}[_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%]:not(.new-design).avatar-size-m .status-indicator[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.new-design).avatar-size-m .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}[_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size);font-weight:400;color:var(--text-secondary);border-radius:0;--svg-size: calc(var(--avatar-size) * .6 + max((var(--avatar-size) - 80px) * .8, 0px));--svg-color: currentColor}[_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: calc(var(--avatar-size) / 2)}[_nghost-%COMP%]:not(.new-design).avatar-size-m img[_ngcontent-%COMP%]{object-fit:cover}[_nghost-%COMP%]:not(.new-design).avatar-size-m .status-indicator[_ngcontent-%COMP%]{display:block;width:12px;height:12px;background:var(--status-indicator-color);border-radius:0;border:none}[_nghost-%COMP%]:not(.new-design).avatar-size-m .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 8px );--addedby-padding: max(1px, calc((12px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -2px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:0;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}[_nghost-%COMP%]:not(.new-design).avatar-size-m .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:0}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-m{padding:2px}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-content[_ngcontent-%COMP%]{border-radius:50%;border:3px solid var(--status-indicator-color)}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-m .status-indicator[_ngcontent-%COMP%]{display:none}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-m .added-by-external[_ngcontent-%COMP%]{border-radius:25%}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-m .added-by-external.text-icon[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]:not(.new-design).avatar-size-m .avatar-content[_ngcontent-%COMP%]:not(img){background-color:#58666e}[_nghost-%COMP%]:not(.new-design).avatar-size-m .added-by-external[_ngcontent-%COMP%]{--addedby-padding: 0;--addedby-position: 0}[_nghost-%COMP%]:not(.new-design).avatar-size-l{width:80px;height:80px;flex:none;display:block;white-space:nowrap;margin-right:var(--spacer-xs);position:relative;isolation:isolate}[_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%]:not(.new-design).avatar-size-l .status-indicator[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.new-design).avatar-size-l .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}[_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size-lg);font-weight:400;color:var(--text-secondary);border-radius:0;--svg-size: calc(48px + max((80px - 80px) * .8, 0px)) ;--svg-color: currentColor}[_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: 40px }[_nghost-%COMP%]:not(.new-design).avatar-size-l img[_ngcontent-%COMP%]{object-fit:cover}[_nghost-%COMP%]:not(.new-design).avatar-size-l .status-indicator[_ngcontent-%COMP%]{display:block;width:16px;height:16px;background:var(--status-indicator-color);border-radius:0;border:none}[_nghost-%COMP%]:not(.new-design).avatar-size-l .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 12px );--addedby-padding: max(1px, calc((16px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -4px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:0;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}[_nghost-%COMP%]:not(.new-design).avatar-size-l .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:0}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-l{padding:2px}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-content[_ngcontent-%COMP%]{border-radius:50%;border:4px solid var(--status-indicator-color)}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-l .status-indicator[_ngcontent-%COMP%]{display:none}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-l .added-by-external[_ngcontent-%COMP%]{border-radius:25%}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-l .added-by-external.text-icon[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]:not(.new-design).avatar-size-l .avatar-content[_ngcontent-%COMP%]:not(img){background-color:#58666e}[_nghost-%COMP%]:not(.new-design).avatar-size-l .added-by-external[_ngcontent-%COMP%]{--addedby-padding: 0;--addedby-position: 0}[_nghost-%COMP%]:not(.new-design).avatar-size-xl{width:var(--avatar-size-xl);height:var(--avatar-size-xl);flex:none;display:block;white-space:nowrap;margin-right:var(--spacer-xs);position:relative;isolation:isolate}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .status-indicator[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.new-design).avatar-size-xl .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size-lg);font-weight:400;color:var(--text-secondary);border-radius:0;--svg-size: calc(var(--avatar-size-xl) * .6 + max((var(--avatar-size-xl) - 80px) * .8, 0px));--svg-color: currentColor}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: calc(var(--avatar-size-xl) / 2)}[_nghost-%COMP%]:not(.new-design).avatar-size-xl img[_ngcontent-%CO
1MP%]{object-fit:cover}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .status-indicator[_ngcontent-%COMP%]{display:block;width:16px;height:16px;background:var(--status-indicator-color);border-radius:0;border:none}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 12px );--addedby-padding: max(1px, calc((16px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -4px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:0;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:0}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xl{padding:2px}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-content[_ngcontent-%COMP%]{border-radius:50%;border:4px solid var(--status-indicator-color)}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xl .status-indicator[_ngcontent-%COMP%]{display:none}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xl .added-by-external[_ngcontent-%COMP%]{border-radius:25%}.avatar-style-circle [_nghost-%COMP%]:not(.new-design).avatar-size-xl .added-by-external.text-icon[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .avatar-content[_ngcontent-%COMP%]:not(img){background-color:#58666e}[_nghost-%COMP%]:not(.new-design).avatar-size-xl .added-by-external[_ngcontent-%COMP%]{--addedby-padding: 0;--addedby-position: 0}.new-design.avatar-size-xs[_nghost-%COMP%]{width:28px;height:28px;flex:none;display:block;white-space:nowrap;margin-right:0;position:relative;isolation:isolate}.new-design.avatar-size-xs[_nghost-%COMP%] .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}.new-design.avatar-size-xs[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%], .new-design.avatar-size-xs[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:-2px;right:-2px}.new-design.avatar-size-xs[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--small-font-size);font-weight:400;color:var(--text-secondary);border-radius:50%;--svg-size: calc(16.8px + max((28px - 80px) * .8, 0px)) ;--svg-color: currentColor}.new-design.avatar-size-xs[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}.new-design.avatar-size-xs[_nghost-%COMP%] .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}.new-design.avatar-size-xs[_nghost-%COMP%] .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: 14px }.new-design.avatar-size-xs[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}.new-design.avatar-size-xs[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%]{display:block;width:10px;height:10px;background:var(--status-indicator-color);border-radius:50%;border:1.5px solid var(--current-background, var(--bg-primary))}.new-design.avatar-size-xs[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 6px );--addedby-padding: max(1px, calc((10px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -3px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:50%;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}.new-design.avatar-size-xs[_nghost-%COMP%] .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:4px}.new-design.avatar-size-s[_nghost-%COMP%]{width:var(--avatar-size-s);height:var(--avatar-size-s);flex:none;display:block;white-space:nowrap;margin-right:0;position:relative;isolation:isolate}.new-design.avatar-size-s[_nghost-%COMP%] .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}.new-design.avatar-size-s[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%], .new-design.avatar-size-s[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:-2px;right:-2px}.new-design.avatar-size-s[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size);font-weight:400;color:var(--text-secondary);border-radius:50%;--svg-size: calc(var(--avatar-size-s) * .6 + max((var(--avatar-size-s) - 80px) * .8, 0px));--svg-color: currentColor}.new-design.avatar-size-s[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}.new-design.avatar-size-s[_nghost-%COMP%] .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}.new-design.avatar-size-s[_nghost-%COMP%] .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: calc(var(--avatar-size-s) / 2)}.new-design.avatar-size-s[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}.new-design.avatar-size-s[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%]{display:block;width:12px;height:12px;background:var(--status-indicator-color);border-radius:50%;border:1.5px solid var(--current-background, var(--bg-primary))}.new-design.avatar-size-s[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 8px );--addedby-padding: max(1px, calc((12px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -4px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:50%;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}.new-design.avatar-size-s[_nghost-%COMP%] .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:4px}.new-design.avatar-size-m[_nghost-%COMP%]{width:var(--avatar-size);height:var(--avatar-size);flex:none;display:block;white-space:nowrap;margin-right:0;position:relative;isolation:isolate}.new-design.avatar-size-m[_nghost-%COMP%] .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}.new-design.avatar-size-m[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%], .new-design.avatar-size-m[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:-1px;right:-1px}.new-design.avatar-size-m[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size);font-weight:400;color:var(--text-secondary);border-radius:50%;--svg-size: calc(var(--avatar-size) * .6 + max((var(--avatar-size) - 80px) * .8, 0px));--svg-color: currentColor}.new-design.avatar-size-m[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}.new-design.avatar-size-m[_nghost-%COMP%] .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}.new-design.avatar-size-m[_nghost-%COMP%] .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: calc(var(--avatar-size) / 2)}.new-design.avatar-size-m[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}.new-design.avatar-size-m[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%]{display:block;width:12px;height:12px;background:var(--status-indicator-color);border-radius:50%;border:1.5px solid var(--current-background, var(--bg-primary))}.new-design.avatar-size-m[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 8px );--addedby-padding: max(1px, calc((12px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -5px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:50%;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}.new-design.avatar-size-m[_nghost-%COMP%] .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:4px}.new-design.avatar-size-l[_nghost-%COMP%]{width:64px;
1height:64px;flex:none;display:block;white-space:nowrap;margin-right:0;position:relative;isolation:isolate}.new-design.avatar-size-l[_nghost-%COMP%] .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}.new-design.avatar-size-l[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%], .new-design.avatar-size-l[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:-4px;right:-4px}.new-design.avatar-size-l[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size-lg);font-weight:400;color:var(--text-secondary);border-radius:50%;--svg-size: calc(38.4px + max((64px - 80px) * .8, 0px)) ;--svg-color: currentColor}.new-design.avatar-size-l[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}.new-design.avatar-size-l[_nghost-%COMP%] .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}.new-design.avatar-size-l[_nghost-%COMP%] .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: 32px }.new-design.avatar-size-l[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}.new-design.avatar-size-l[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%]{display:block;width:20px;height:20px;background:var(--status-indicator-color);border-radius:50%;border:2px solid var(--current-background, var(--bg-primary))}.new-design.avatar-size-l[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 16px );--addedby-padding: max(1px, calc((20px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -6px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:50%;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}.new-design.avatar-size-l[_nghost-%COMP%] .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:4px}.new-design.avatar-size-xl[_nghost-%COMP%]{width:var(--avatar-size-xl);height:var(--avatar-size-xl);flex:none;display:block;white-space:nowrap;margin-right:0;position:relative;isolation:isolate}.new-design.avatar-size-xl[_nghost-%COMP%] .avatar-container[_ngcontent-%COMP%]{width:100%;height:100%}.new-design.avatar-size-xl[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%], .new-design.avatar-size-xl[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{position:absolute;bottom:-0;right:-0}.new-design.avatar-size-xl[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:var(--font-size-lg);font-weight:400;color:var(--text-secondary);border-radius:50%;--svg-size: calc(var(--avatar-size-xl) * .6 + max((var(--avatar-size-xl) - 80px) * .8, 0px));--svg-color: currentColor}.new-design.avatar-size-xl[_nghost-%COMP%] .avatar-content[_ngcontent-%COMP%]:not(img){background-color:var(--status-off)}.new-design.avatar-size-xl[_nghost-%COMP%] .avatar-content.not-colorful[_ngcontent-%COMP%]{background-color:transparent;color:var(--status-off)}.new-design.avatar-size-xl[_nghost-%COMP%] .avatar-content.group-contact[_ngcontent-%COMP%]{--svg-size: calc(var(--avatar-size-xl) / 2)}.new-design.avatar-size-xl[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}.new-design.avatar-size-xl[_nghost-%COMP%] .status-indicator[_ngcontent-%COMP%]{display:block;width:20px;height:20px;background:var(--status-indicator-color);border-radius:50%;border:2px solid var(--current-background, var(--bg-primary))}.new-design.avatar-size-xl[_nghost-%COMP%] .added-by-external[_ngcontent-%COMP%]{--svg-size: max(12px, 16px );--addedby-padding: max(1px, calc((20px - var(--svg-size)) / 2));--addedby-size: calc(var(--svg-size) + var(--addedby-padding) * 2);--addedby-position: calc(-1*min(3px, -10px + var(--addedby-size) / 2)) ;--svg-color: currentColor;--svg-vertical-align: top;background:var(--avatar-status-icon-bg, var(--bg-primary));color:var(--avatar-status-icon-color, var(--text-primary));line-height:1;font-size:max(8px,var(--addedby-size) - 4px);font-weight:var(--font-weight-bold);border-radius:50%;padding:var(--addedby-padding);opacity:.8;bottom:var(--addedby-position);right:var(--addedby-position)}.new-design.avatar-size-xl[_nghost-%COMP%] .added-by-external.text-icon[_ngcontent-%COMP%]{padding:1px 2px;border-radius:4px}"]})}return c})()},40605(L,w,t){t.d(w,{Y:()=>h});var s=t(43236),P=t(1807);function h(i=0,y=s.E){return i<0&&(i=0),(0,P.O)(i,i,y)}}}]);
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.