1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[1583],{85478(z,S,l){l.d(S,{peopleRoutes:()=>Hn});var m=l(70271),h=l(36647),V=l(98764),b=l(61318),a=l(66563),x=l(37580),c=l(7511),R=l(56607),T=l(83305),F=l(46264),B=l(10715),g=l(34456),X=l(37485),u=l(59034),y=l(83835),$=l(76832),I=l(19999),N=l(75797),f=l(59452),p=l(48503),P=l(35442),d=l(57095),v=l(12826),M=l(3977),D=l(38396),Y=l(62793),Z=l(34024),K=l(72231),E=l(77067),tt=l(74085),j=l(54195),nt=l(2654),et=l(67994),ot=l(46901),G=l(79748),it=l(83575),L=l(96281),O=l(86309),at=l(97603),k=l(49074),lt=l(19548),ct=l(94706),st=l(5838),_=l(47039),rt=l(4040),t=l(36124);const pt=()=>({exact:!0}),dt=(e,r)=>r.routeLink;function mt(e,r){1&e&&(t.j41(0,"h3",0),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.JRh(t.bMT(2,1,"_i18n.Team")))}function _t(e,r){if(1&e){const n=t.RV6();t.j41(0,"button",14),t.nI1(1,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.newChat())}),a.qSk(),t.nrm(2,"svg",15),t.k0s()}2&e&&t.Y8G("title",t.bMT(1,1,"_i18n.NewChat"))}function Ct(e,r){if(1&e){const n=t.RV6();t.j41(0,"button",7),t.nI1(1,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.newCall())}),a.qSk(),t.nrm(2,"svg",8),t.k0s(),a.joV(),t.j41(3,"button",9),t.nI1(4,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.newConferenceCall())}),a.qSk(),t.nrm(5,"svg",10),t.k0s(),t.nVh(6,_t,3,3,"button",11),a.joV(),t.j41(7,"button",12),t.nI1(8,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.newContact())}),a.qSk(),t.nrm(9,"svg",13),t.k0s()}if(2&e){t.XpG();const n=t.r8f(3);t.Y8G("title",t.bMT(1,4,"_i18n.NewCall")),t.R7$(3),t.Y8G("title",t.bMT(4,6,"_i18n.Conference")),t.R7$(3),t.vxM(n?6:-1),t.R7$(),t.Y8G("title",t.bMT(8,8,"_i18n.NewContact"))}}function ht(e,r){if(1&e){const n=t.RV6();t.j41(0,"li",22)(1,"a",26),t.bIt("click",function(){a.eBV(n);const i=t.XpG(3);return a.Njj(i.newChat())}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}2&e&&(t.R7$(2),t.JRh(t.bMT(3,1,"_i18n.NewChat")))}function gt(e,r){if(1&e){const n=t.RV6();t.j41(0,"ul",21),t.nVh(1,ht,4,3,"li",22),t.j41(2,"li",22)(3,"a",23),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.newCall())}),t.EFF(4),t.nI1(5,"translate"),t.k0s()(),t.j41(6,"li",22)(7,"a",24),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.newContact())}),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"li",22)(11,"a",25),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.meet())}),t.EFF(12),t.nI1(13,"translate"),t.k0s()()()}if(2&e){t.XpG(2);const n=t.r8f(3);t.R7$(),t.vxM(n?1:-1),t.R7$(3),t.JRh(t.bMT(5,4,"_i18n.NewCall")),t.R7$(4),t.JRh(t.bMT(9,6,"_i18n.NewContact")),t.R7$(4),t.JRh(t.bMT(13,8,"_i18n.Meet"))}}function ut(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",16)(1,"button",17),a.qSk(),t.nrm(2,"svg",18),t.k0s(),t.DNE(3,gt,14,10,"ul",19),t.k0s(),a.joV(),t.j41(4,"field-checkbox",20),t.nI1(5,"translate"),t.mxI("ngModelChange",function(i){a.eBV(n);const s=t.XpG();return t.DH7(s.showPersonalContacts,i)||(s.showPersonalContacts=i),a.Njj(i)}),t.k0s()}if(2&e){const n=t.XpG();t.R7$(4),t.Y8G("title",t.mNQ(t.bMT(5,5,n.showPersonalContacts()?"_i18n.HidePersonalContacts":"_i18n.ShowPersonalContacts")))("switch",!0),t.R50("ngModel",n.showPersonalContacts),t.Y8G("icon",n.addressBookIcon)}}function vt(e,r){1&e&&(a.qSk(),t.nrm(0,"svg",28))}function ft(e,r){if(1&e&&(t.j41(0,"button",27),t.nVh(1,vt,1,0,":svg:svg",28),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&e){t.XpG();const n=t.r8f(0);t.HbH(t.VkB("btn ",n?"btn-border":"btn-plain")),t.R7$(),t.vxM(n?1:-1),t.R7$(),t.SpI(" ",t.bMT(3,5,"_i18n.All")," ")}}function bt(e,r){1&e&&(a.qSk(),t.nrm(0,"svg",28))}function xt(e,r){if(1&e){const n=t.RV6();t.j41(0,"li",22)(1,"a",33),t.bIt("click",function(){const i=a.eBV(n).$implicit,s=t.XpG(3);return a.Njj(s.peopleLink.set(i.routeLink))}),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}if(2&e){const n=r.$implicit;t.R7$(),t.Y8G("routerLink",n.routeLink)("routerLinkActiveOptions",t.lJ4(5,pt)),t.R7$(),t.SpI(" ",t.bMT(3,3,n.displayName)," ")}}function wt(e,r){if(1&e&&(t.j41(0,"ul",32),t.Z7z(1,xt,4,6,"li",22,dt),t.k0s()),2&e){const n=t.XpG(2),o=t.r8f(0);t.AVh("dropdown-menu-right",!o),t.R7$(),t.Dyx(n.departmentFilterOptions())}}function Pt(e,r){if(1&e&&(t.j41(0,"div",5)(1,"button",29),t.nVh(2,bt,1,0,":svg:svg",28),t.nrm(3,"app-route-title",3
10),t.k0s(),t.DNE(4,wt,3,2,"ul",31),t.k0s()),2&e){t.XpG();const n=t.r8f(0);t.R7$(),t.HbH(t.VkB("btn ",n?"btn-border":"btn-plain"," dropdown-toggle minw-px-50")),t.R7$(),t.vxM(n?2:-1)}}function Mt(e,r){if(1&e){const n=t.RV6();t.SS7(0),t.j41(1,"button",34),t.nI1(2,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.r8f(0),s=t.XpG();return a.Njj(s.showPersonalContacts.set(!i))}),a.qSk(),t.nrm(3,"svg",35),t.EFF(4),t.nI1(5,"translate"),t.k0s(),a.joV(),t.j41(6,"div",36)(7,"button",37),t.nI1(8,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.tileSize.set("l"))}),a.qSk(),t.nrm(9,"svg",38),t.k0s(),a.joV(),t.j41(10,"button",39),t.nI1(11,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.tileSize.set("m"))}),a.qSk(),t.nrm(12,"svg",40),t.k0s(),a.joV(),t.j41(13,"button",41),t.nI1(14,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.tileSize.set("s"))}),a.qSk(),t.nrm(15,"svg",42),t.k0s()(),a.joV(),t.j41(16,"button",43),t.nI1(17,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG();return a.Njj(i.goToSettings())}),a.qSk(),t.nrm(18,"svg",44),t.k0s()}if(2&e){const n=t.XpG(),o=t.bH3(n.showPersonalContacts());t.R7$(),t.HbH(t.VkB("btn ",o?"btn-primary":"btn-border")),t.Y8G("title",t.bMT(2,19,o?"_i18n.HidePersonalContacts":"_i18n.ShowPersonalContacts")),t.R7$(3),t.SpI(" ",t.bMT(5,21,"_i18n.Contacts")," "),t.R7$(3),t.AVh("active","l"===n.tileSize()),t.Y8G("title",t.mNQ(t.bMT(8,23,"_i18n.DefaultView"))),t.R7$(3),t.AVh("active","m"===n.tileSize()),t.Y8G("title",t.mNQ(t.bMT(11,25,"_i18n.ComfortableView"))),t.R7$(3),t.AVh("active","s"===n.tileSize()),t.Y8G("title",t.mNQ(t.bMT(14,27,"_i18n.CompactView"))),t.R7$(3),t.Y8G("title",t.bMT(17,29,"_i18n.View"))}}let A=(()=>{class e{dialerService=(0,a.WQX)(at.$);myPhone=(0,a.WQX)(R.gx);router=(0,a.WQX)(T.Ix);peopleService=(0,a.WQX)($.Z);phoneService=(0,a.WQX)(M.u);phonebookLocalService=(0,a.WQX)(D.Ou);localStorageService=(0,a.WQX)(X.sj);isNewDesign=(0,a.WQX)(L.T);peopleLink=(0,O.I)(u.Hh.SavePeople,u.lX);getGroupPresentation=E.O;searchControl=new g.MJ(this.peopleService.lastSearchedText,{nonNullable:!0});hiddenGroups$=(0,P.lB)(this.localStorageService,u.Hh.HiddenGroups,[]).pipe((0,m.T)(n=>function kt(e){return e.map(r=>{const[n,o]=r.split("@");return{bridgeId:n,groupId:o}})}(n)));bridges$=(0,y.tp)(this.myPhone.myPhoneSession,this.hiddenGroups$).pipe((0,lt.H9)());people$;presenceSorting$=this.myPhone.myPhoneSession.pipe((0,d.b$)(this.localStorageService));isChatEnabled$=this.myPhone.myPhoneSession.pipe((0,h.n)(n=>n.chatIsAllowed$));showPersonalContacts=(0,O.I)(u.Hh.ShowPersonalContacts,!1);showUnregistered=(0,O.I)(u.Hh.ShowUnregisteredExtensions,!0);tileSize=(0,O.I)(u.Hh.PeopleTileSize,"l");departmentFilterOptions=(0,k.ot)((0,I.z)([this.bridges$,(0,k.br)(this.showUnregistered)]).pipe((0,m.T)(([n,o])=>n.flatMap(i=>it.P.groupsSort(i.groups).filter(s=>!s.isFavorite()&&!s.isHidden&&(o||s.contactsMap.getContacts().some(C=>C.isRegistered))).map(s=>({routeLink:`/people/${i.id}/${s.id}`,displayName:(0,E.O)(i,s)})))),(0,m.T)(n=>[{routeLink:"/people",displayName:"_i18n.All"},{routeLink:"/people/favorites",displayName:"_i18n.Favorites"},...n])),{initialValue:[]});addressBookIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M96 0C60.7 0 32 28.7 32 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H96zM208 288h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80zM496 192c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V336z"/></svg>\n';Video=_.W8S;get limitIncrement(){return(0,x.naY)()?40:100}limit=this.limitIncrement;limit$=new N.t(this.limit);personalContacts$=(0,P.lB)(this.localStorageService,u.Hh.ShowPersonalContacts,!1).pipe((0,h.n)(n=>n?this.phonebookLocalService.getContactBulk("",(0,f.of)(Y.o.personalPhonebook()),(0,d.Jd)(this.myPhone.myPhoneSession),"/people").pi
1pe((0,m.T)(o=>({items:o.Entries.map(i=>B.KA.create(i)),totalCount:o.TotalCount}))):(0,f.of)({items:[],totalCount:0})));constructor(){const n=(0,a.WQX)(T.nX);let o;if(n.snapshot.data.showAllUnique)o=this.bridges$.pipe(y.nu);else if(n.snapshot.data.showFavorites)o=this.myPhone.myPhoneSession.pipe(y.dI);else{const i=n.params.pipe((0,V.M)(()=>{this.limit=this.limitIncrement}));o=(0,I.z)([i,this.bridges$]).pipe((0,h.n)(C=>{const[w,H]=C;return this.getContactsOfGroupObservable(H,w.bridgeId,w.groupId)}),(0,b.W)(()=>(this.router.navigate(u.lX),(0,f.of)([]))))}this.people$=this.myPhone.myPhoneSession.pipe((0,h.n)(i=>(0,I.z)([(0,nt.XP)(this.searchControl),i.myPrimaryDepartmentId$]).pipe((0,h.n)(([s,C])=>(this.peopleService.lastSearchedText=s,s?this.whenSearch(i,s):this.whenNoSearch(o)))))),(0,a.QZP)(()=>{const i=this.departmentFilterOptions().map(s=>s.routeLink);(0,c.O8)(()=>{const s=this.peopleLink(),C="string"==typeof s?s:s.join("/"),w="/"+(n.snapshot.pathFromRoot?.flatMap(H=>H.url).join("/")??"");i.includes(C)||this.peopleLink.set(u.lX),i.includes(w)||this.router.navigate(u.lX,{queryParamsHandling:"merge"})})})}whenSearch(n,o){return this.phonebookLocalService.getContactBulk(o,(0,f.of)(Y.o.allPersons()),this.presenceSorting$,"/people").pipe((0,m.T)(i=>({items:i.Entries.map(s=>n.createMergedContact(s)),totalCount:i.TotalCount})),(0,m.T)(i=>({extensions:[],persons:i})))}whenNoSearch(n){return(0,I.z)([this.personalContacts$,n]).pipe((0,m.T)(([o,i])=>({persons:o,extensions:i})))}showMoreContacts(n){switch(n){case"extensions":this.limit+=this.limitIncrement,this.limit$.next(this.limit);break;case"contacts":this.phonebookLocalService.showMore()}}newChat(){this.router.navigate(["/people/chat/create"])}newCall(){this.dialerService.makeNewCall()}newConferenceCall(){this.dialerService.makeNewConferenceCall()}meet(){this.router.navigate([ct.i0])}newContact(){this.router.navigate(["contacts/new",""])}getContactsOfGroupObservable(n,o,i){const s=n.find(w=>w.id===o);if(void 0===s)throw new Error("_i18n.BridgeNotFound");const C=s.groupsMap[i];if(void 0===C)throw new Error("_i18n.BridgeNotFound");return C.contactsMap$.pipe((0,m.T)(w=>w.getContacts()))}onEnterPressed(){const n=(0,d.t9)(this.searchControl.value);v.Q.isNullOrEmpty(n)||this.phoneService.call(n,!1)}goToSettings(){this.router.navigate(["/settings/view"])}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["ng-component"]],hostAttrs:[1,"d-flex","flex-column","h-100","w-100","bg"],hostVars:1,hostBindings:function(o,i){2&o&&t.BMQ("data-qa","people")},features:[t.Jv_([Z.P,D.Ou])],decls:17,vars:25,consts:[[1,"aside-align","d-flex","align-items-center","m-0"],["placeholder","_i18n.SearchPeopleOrEnterNumber","data-qa","search-bar",3,"keydown.enter","formControl"],["search-prepend","",1,"d-flex","align-items-center","gap-1"],["search-append","",1,"d-flex","align-items-center","gap-2","mw-0","flex-wrap"],["type","button","data-qa","departments-filter-disabled","disabled","",3,"class"],["dropdown","","placement","bottom right","data-qa","departments-filter",1,"d-flex","mw-0"],[1,"scrollable",3,"showMoreContactsClicked","presenceSorting","extensionsLimit","showUnregistered","isChatEnabled","peopleList","tileSize"],["type","button","data-qa","new-call",1,"btn","btn-border","btn-icon",3,"click","title"],["lucidePhone",""],["type","button","data-qa","new-conference-call",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideDualHandset",""],["type","button","data-qa","new-chat",1,"btn","btn-border","btn-icon",3,"title"],["type","button","data-qa","new-contact",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideUserPlus",""],["type","button","data-qa","new-chat",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideMessageCircle",""],["dropdown","","data-qa","add-new"],["dropdownToggle","","type","button","data-qa","create-menu-toggle",1,"btn","btn-plain","btn-icon"],["lucidePlus",""],["id","dropdown-alignment-new-ui","class","dropdown-menu","role","menu","data-qa","dropdown",4,"dropdownMenu"],["data-qa","personal-contacts-toggle",1,"mb-0",3,"ngModelChange","switch","ngModel","title","icon"],["id","dropdown-alignment-new-ui","role","menu","data-qa","dropdown",1,"dropdown-menu"],["role","menuitem"],["data-qa","new-call",1,"dropdown-item",3,"click"],["data-qa","new-contact",1,"dropdown-item",3,"click"],["data-qa","new-meet",1,"dropdown-item",3,"click"],["data-qa","new-chat",1,"dropdown-item",3,"click"],["type","button","data-qa","departments-filter-disabled","disabled",""],["lucideFunnel",""],["id","button-alignment-new-ui","dropdownToggle","","type","button","data-qa","toggle"],[1,"text-truncate"],["id","dropdown-alignment-filter","class","dropdown-menu","role","menu","data-qa","dropdown",3,"dropdown-menu-right",4,"dropdownMenu"],["id","dropdown-alignment-filter","role","menu","data-qa","dropdown",1,"dropdown-menu"],["routerLinkActive","selected",1,"dropdown-item",3,"click","routerLink","routerLinkActiveOptions"],["type","button","data-qa","show-personal-toggle",3,"click","title"],["lucideContact",""],[1,"buttons-split-group"],["type","button","data-qa","gridView",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideGrid3x3",""],["type","button","data-qa","semiCompactView",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideTable",""],["type","button","data-qa","compactView",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideList",""],["type","button","data-qa","settings",1,"btn","btn-border","btn-icon",3,"click","title"],["lucideSettings",""]],template:function(o,i){if(1&o&&(t.SS7(0),t.j41(1,"div"),t.nVh(2,mt,3,3,"h3",0),t.SS7(3),t.nI1(4,"async"),t.j41(5,"search-bar",1),t.bIt("keydown.enter",function(){return i.onEnterPressed()}),t.j41(6,"div",2),t.nVh(7,Ct,10,10)(8,ut,6,7),t.k0s(),t.j41(9,"div",3),t.nVh(10,ft,4,7,"button",4)(11,Pt,5,4,"div",5),t.nVh(12,Mt,19,31),t.k0s()()(),t.j41(13,"people-list",6),t.nI1(14,"async"),t.nI1(15,"async"),t.nI1(16,"async"),t.bIt("showMoreContactsClicked",function(C){return i.showMoreContacts(C)}),t.k0s()),2&o){const s=t.bH3(i.isNewDesign());t.R7$(),t.HbH(s?"px-3 pb-4 border-bottom":""),t.R7$(),t.vxM(s?2:-1),t.R7$();const C=t.bH3(t.bMT(4,16,i.isChatEnabled$));t.R7$(2),t.Y8G("formControl",i.searchControl),t.R7$(),t.AVh("gap-2",s),t.R7$(),t.vxM(s?7:8),t.R7$(3),t.vxM(i.searchControl.value?10:11),t.R7$(2),t.vxM(s?12:-1),t.R7$(),t.Y8G("presenceSorting",t.bMT(14,19,i.presenceSorting$))("extensionsLimit",t.bMT(15,21,i.limit$))("showUnregistered",i.showUnregistered())("isChatEnabled",C)("peopleList",t.bMT(16,23,i.people$))("tileSize",s?i.tileSize():"l")}},dependencies:[tt.L,g.X1,g.BC,g.l_,j.Kk,j.UL,j.hs,rt.l,g.YN,g.vS,ot.T,F.Wk,K.t,F.wQ,et.t,_.TOI,_.fdq,_.jkh,_.Zcc,_.OEX,_.Zrk,_.lyC,_.IVA,_.l9w,_.w06,st.k,G.Jj,p.D9],encapsulation:2})}return e})();var Vt=l(20183),Tt=l(64334),Q=l(533),It=l(270),jt=l(86292),St=l(90048),Rt=l(42148),U=l(58938),yt=l(82630),$t=l(46053),Ft=l(6738),Gt=l(84205),Ot=l(52308),Bt=l(63648),Xt=l(66042),W=l(37745);const J=(e,r)=>r.value.Id;function Nt(e,r){if(1&e){const n=t.RV6();t.j41(0,"li",10)(1,"a",11),t.bIt("click",function(){const i=a.eBV(n).$implicit,s=t.XpG(3);return a.Njj(s.onItemSelected(i))}),a.qSk(),t.nrm(2,"svg",12),a.joV(),t.nrm(3,"span",13),t.nI1(4,"async"),t.nI1(5,"translate"),t.k0s()()}if(2&e){const n=r.$implicit,o=t.XpG(3);t.R7$(),t.AVh("focus",n===o.selectedItem),t.R7$(),t.Y8G("lucideIcon",o.Icons[n.value.Name]),t.R7$(),t.Y8G("truncatedText",t.bMT(5,7,t.bMT(4,5,n.label$))),t.BMQ("data-qa",n===o.selectedItem?"profile-name":null)}}function Et(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"h4",4),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",5)(5,"app-manage-contact-button",6),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.savePendingChanges())}),t.k0s(),t.j41(6,"app-button-close-x",7),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);
1return a.Njj(i.closed.emit())}),t.k0s()()(),t.j41(7,"div",8)(8,"ul",9),t.Z7z(9,Nt,6,9,"li",10,J),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(2),t.JRh(t.bMT(3,4,"_i18n.TitlePresence")),t.R7$(3),t.Y8G("visible",n.isNewDesign())("icon",n.SaveIcon)("disabled",!n.canSavePendingChanges),t.R7$(4),t.Dyx(n.dropdownItems)}}function Lt(e,r){if(1&e){const n=t.RV6();t.j41(0,"li",10)(1,"a",21),t.bIt("click",function(){const i=a.eBV(n).$implicit,s=t.XpG(4);return a.Njj(s.onItemSelected(i))}),t.EFF(2),t.nI1(3,"async"),t.nI1(4,"translate"),t.k0s()()}if(2&e){const n=r.$implicit,o=t.XpG(4);t.R7$(),t.AVh("focus",n===o.selectedItem),t.R7$(),t.SpI(" ",t.bMT(4,5,t.bMT(3,3,n.label$))," ")}}function At(e,r){if(1&e&&(t.j41(0,"ul",20),t.Z7z(1,Lt,5,7,"li",10,J),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Dyx(n.dropdownItems)}}function Ht(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",0)(1,"span",14),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",15)(5,"button",16)(6,"span",17),t.EFF(7),t.nI1(8,"async"),t.nI1(9,"translate"),t.k0s()(),t.DNE(10,At,3,0,"ul",18),t.k0s(),t.j41(11,"button",19),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.savePendingChanges())}),t.EFF(12),t.nI1(13,"translate"),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(2),t.JRh(t.bMT(3,4,"_i18n.Profile")),t.R7$(5),t.JRh(t.bMT(9,8,t.bMT(8,6,n.selectedItem.label$))),t.R7$(4),t.Y8G("disabled",!n.canSavePendingChanges),t.R7$(),t.SpI(" ",t.bMT(13,10,"_i18n.Save")," ")}}function zt(e,r){if(1&e&&(t.nVh(0,Et,11,6)(1,Ht,14,12,"div",0),t.j41(2,"div",1),t.nrm(3,"app-forwarding-profile-editor",2),t.k0s()),2&e){const n=t.XpG();t.vxM(n.isNewDesign()?0:1),t.R7$(3),t.Y8G("formControl",n.profileControl)("extensionInfo",n.extensionInfo)("showValidation",!0)}}let Dt=(()=>{class e{cd=(0,a.WQX)(x.gRc);fwdProfilesService=(0,a.WQX)(Ft._);modalService=(0,a.WQX)(Q.B);destroyRef=(0,a.WQX)(a.abz);isNewDesign=(0,a.WQX)(L.T);refreshProfiles$=new Gt.B;dropdownItems;selectedItem;originalProfile=null;profileControl=new g.MJ(null);contact;closed=(0,x.CGW)();Icons=Bt.a;extensionInfo;ngOnInit(){this.extensionInfo={MobileNumber:this.contact.nativeMobileNumber,Number:this.contact.extensionNumber},this.refreshProfiles$.pipe((0,h.n)(()=>this.fwdProfilesService.getExtensionForwardingProfiles$(this.extensionInfo.Number)),(0,k.pQ)(this.destroyRef)).subscribe(n=>{const o=n.map(s=>({value:s,label$:s.CustomName?(0,f.of)(s.CustomName):this.fwdProfilesService.profileDisplayNames$.pipe((0,m.T)(C=>C[s.Name]))})),i=this.selectedItem&&o.find(s=>s.value.Id===this.selectedItem.value.Id)||o[0];this.dropdownItems=o,this.onItemSelected(i)}),this.destroyRef.onDestroy(()=>{this.savePendingChanges()}),this.refreshProfiles$.next()}onItemSelected(n){this.selectedItem&&this.selectedItem.value.Id!==n.value.Id&&this.savePendingChanges(),this.selectedItem=n,this.originalProfile=(0,U.qt)(n.value,this.extensionInfo.MobileNumber),this.profileControl.setValue(this.originalProfile,{emitEvent:!1}),this.profileControl.markAsPristine(),this.profileControl.markAsUntouched(),this.cd.markForCheck()}get canSavePendingChanges(){const{value:n,valid:o,pristine:i}=this.profileControl;return this.originalProfile&&n&&o&&!i}savePendingChanges(){if(!this.canSavePendingChanges)return;const n=this.profileControl.value,o=this.originalProfile,i=n.Exceptions?{Exceptions:n.Exceptions}:(0,$t.v)(o,(0,U.am)(n,this.extensionInfo.MobileNumber));i&&this.fwdProfilesService.updateProfile$({Id:o.Id,...i},this.extensionInfo.Number).subscribe({next:()=>this.refreshProfiles$.next(),error:s=>this.modalService.error(s)})}SaveIcon=_._iz;static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-people-contact-call-forwarding"]],inputs:{contact:"contact"},outputs:{closed:"closed"},decls:1,vars:1,consts:[[1,"aside-align","border-bottom","d-flex","align-items-center","px-4","gap-1"],[1,"mx-4","mt-4","lg-scrollable","flex-grow-1"],[3,"formControl","extensionInfo","showValidation"],[1,"d-flex","w-100","justify-content-between","align-items-baseline","mb-4","px-4"],[1,"mb-0","me-auto"],[1,"d-flex","align-items-center","gap-2","me-2"],["text","_i18n.Save","data-qa","save",3,"click","visible","icon","disabled"],[3,"click"],[1,"overflow-x-auto","overflow-y-hidden","w-100","px-4","fitting-height","flex-shrink-0"],[1,"forwarding-tabs"],["role","menuitem"],[1,"d-flex","align-items-center","px-4","forwarding-tab",3,"click"],[3,"lucideIcon"],[3,"truncatedText"],[1,"text-lg"],["dropdown","",1,"btn-group","m-0","h4","bg-tiles","mw-0"],["type","button","dropdownToggle","",1,"btn","btn-plain","dropdown-toggle","mw-0"],["data-qa","profile-name",1,"text-truncate"],["class","dropdown-menu mw-0",4,"dropdownMenu"],["data-qa","save","type","button",1,"btn","btn-primary",3,"click","disabled"],[1,"dropdown-menu","mw-0"],[1,"dropdown-item","text-truncate",3,"click"]],template:function(o,i){1&o&&t.nVh(0,zt,4,4),2&o&&t.vxM(i.dropdownItems?0:-1)},dependencies:[yt.F,g.X1,g.BC,g.l_,j.Kk,j.UL,j.hs,_.jEf,Xt.W,Ot.N,W.d,p.D9,G.Jj],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;max-width:900px;height:100%}[_nghost-%COMP%] app-page{border-right:none;border-bottom:none}[_nghost-%COMP%] .dropdown-item.focus[_ngcontent-%COMP%]{background:var(--bg-primary-active)}
1.new-design [_nghost-%COMP%]{padding:var(--spacer-l) 0}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%]{margin:0!important}[_nghost-%COMP%] .fitting-height[_ngcontent-%COMP%]{min-height:fit-content;overflow-y:hidden}","[_nghost-%COMP%]{height:100%}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%]{background:var(--bg-primary-hover);border-radius:var(--border-radius);padding:var(--spacer-xs);display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;justify-content:stretch;align-items:stretch;width:100%;min-width:0;gap:var(--spacer-xs);list-style:none;margin:0 0 var(--spacer-xl)}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:auto}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%] .forwarding-tab[_ngcontent-%COMP%]{border-radius:var(--border-radius);display:flex;flex-direction:column;gap:var(--spacer-xs);align-items:center;justify-content:center;padding:0 var(--spacer-s);height:var(--aside-folded-nav-height);cursor:pointer;--svg-color: currentColor}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%] .forwarding-tab[_ngcontent-%COMP%]:hover, .new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%] .forwarding-tab.focus[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--background) 95%,white 5%)}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%] .forwarding-tab.focus[_ngcontent-%COMP%]{cursor:default}.new-design [_nghost-%COMP%] .forwarding-tabs[_ngcontent-%COMP%] .forwarding-tab[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{max-width:180px}"],changeDetection:0})}return e})();var Yt=l(54035);let Qt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-phone-arrow-up-right-solid-icon"],["","app-phone-arrow-up-right-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M295 183l135-135L384 48c-13.3 0-24-10.7-24-24s10.7-24 24-24L488 0c13.3 0 24 10.7 24 24l0 104c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-46.1L329 217c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9zM117.5 1.4c19.4-5.3 39.7 4.6 47.4 23.2l40 96c6.8 16.3 2.1 35.2-11.6 46.3L144 207.3c33.3 70.4 90.3 127.4 160.7 160.7L345 318.7c11.2-13.7 30-18.4 46.3-11.6l96 40c18.6 7.7 28.5 28 23.2 47.4l-24 88C481.8 499.9 466 512 448 512C200.6 512 0 311.4 0 64C0 46 12.1 30.2 29.5 25.4l88-24z"]],template:function(o,i){1&o&&(a.qSk(),t.rj2(0,"svg",0),t.Hgh(1,"path",1),t.eux())},encapsulation:2})}return e})(),Ut=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-user-pen-solid-icon"],["","app-user-pen-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 512"],["d","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l293.1 0c-3.1-8.8-3.7-18.4-1.4-27.8l15-60.1c2.8-11.3 8.6-21.5 16.8-29.7l40.3-40.3c-32.1-31-75.7-50.1-123.9-50.1l-91.4 0zm435.5-68.3c-15.6-15.6-40.9-15.6-56.6 0l-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4zM375.9 417c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5 .2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4L576.1 358.7l-71-71L375.9 417z"]],template:function(o,i){1&o&&(a.qSk(),t.rj2(0,"svg",0),t.Hgh(1,"path",1),t.eux())},encapsulation:2})}return e})();var Wt=l(59058);let Jt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-mobile-android-alt-light-icon"],["","app-mobile-android-alt-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 320 512"],["d","M224 96v240H96V96h128m48-96H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM48 480c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16h224c8.8 0 16 7.2 16 16v416c0 8.8-7.2 16-16 16H48zM244 64H76c-6.6 0-12 5.4-12 12v280c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12zm-48 352h-72c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h72c6.6 0 12-5.4 12-12v-8c0-6.6-5.4-12-12-12z"]],template:function(o,i){1&o&&(a.qSk(),t.rj2(0,"svg",0),t.Hgh(1,"path",1),t.eux())},encapsulation:2})}return e})(),Zt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-phone-alt-light-icon"],["","app-phone-alt-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M493.09 351.3 384.7 304.8a31.36 31.36 0 0 0-36.5 8.9l-44.1 53.9A350 350 0 0 1 144.5 208l53.9-44.1a31.35 31.35 0 0 0 8.9-36.49l-46.5-108.5A31.33 31.33 0 0 0 125 .81L24.2 24.11A31.05 31.05 0 0 0 0 54.51C0 307.8 205.3 512 457.49 512A31.23 31.23 0 0 0 488 487.7L511.19 387a31.21 31.21 0 0 0-18.1-35.7zM456.89 480C222.4 479.7 32.3 289.7 32.1 55.21l99.6-23 46 107.39-72.8 59.5C153.3 302.3 209.4 358.6 313 407.2l59.5-72.8 107.39 46z"]],template:function(o,i){1&o&&(a.qSk(),t.rj2(0,"svg",0),t.Hgh(1,"path",1),t.eux())},encapsulation:2})}return e})(),Kt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-comment-alt-solid-icon"],["","app-comment-alt-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z"]],template:function(o,i){1&o&&(a.qSk(),t.rj2(0,"svg",0),t.Hgh(1,"path",1),t.eux())},encapsulation:2})}return e})();var qt=l(93003);let tn=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-video-solid-icon"],["","app-video-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512"],["d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2V384c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1V320 192 174.9l14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z"]],template:function(o,i){1&o&&(a.qSk(),t.rj2(0,"svg",0),t.Hgh(1,"path",1),t.eux())},encapsulation:2})}return e})();var nn=l(81681),en=l(24021),on=l(35267),an=l(24919),ln=l(98565),cn=l(87192),sn=l(23e3),rn=l(88505),pn=l(71075),dn=l(34013),mn=l(14218);const _n=e=>({p1:e}),Cn=e=>({phone:e}),hn=(e,r)=>
1r.dateTitle,gn=(e,r)=>r.call.id;function un(e,r){if(1&e){const n=t.RV6();t.j41(0,"a",2),t.nI1(1,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG().phone,s=t.XpG();return a.Njj(s.smsChatService.navigateToProviderWizard(i))}),t.nrm(2,"span",3),t.k0s()}if(2&e){const n=t.XpG().phone;t.Y8G("title",t.i5U(1,1,"_i18n.SendSmsTo",t.eq3(4,_n,n)))}}function vn(e,r){if(1&e&&(t.nVh(0,un,3,6,"a",1),t.nI1(1,"async")),2&e){const n=t.XpG();t.vxM(t.bMT(1,1,n.smsChatService.isSmsAvailable$)?0:-1)}}function fn(e,r){if(1&e&&(a.qSk(),t.nrm(0,"svg",29)),2&e){const n=t.XpG().$implicit;t.HbH(n.iconClass),t.Y8G("lucideIcon",r)}}function bn(e,r){1&e&&(a.qSk(),t.nrm(0,"svg",26),t.nI1(1,"translate")),2&e&&t.BMQ("title",t.bMT(1,1,"_i18n.Voicemail"))}function xn(e,r){if(1&e&&(t.j41(0,"div",22)(1,"span",23),t.nVh(2,fn,1,3,":svg:svg",24),t.j41(3,"h6",25),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nVh(6,bn,2,3,":svg:svg",26),t.j41(7,"small",27),t.EFF(8),t.k0s()(),t.j41(9,"small",28),t.EFF(10),t.k0s()()),2&e){let n;const o=r.$implicit;t.R7$(2),t.vxM((n=o.icon)?2:-1,n),t.R7$(2),t.JRh(t.bMT(5,5,o.callTypeTitle)),t.R7$(2),t.vxM(o.isVoicemail?6:-1),t.R7$(2),t.JRh(o.duration),t.R7$(2),t.JRh(o.time)}}function wn(e,r){if(1&e&&(t.j41(0,"div",19)(1,"h5",20),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"hr",21),t.k0s(),t.Z7z(5,xn,11,7,"div",22,gn)),2&e){const n=r.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,n.dateTitle)),t.R7$(3),t.Dyx(n.calls)}}function Pn(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",15)(1,"div",18),t.bIt("infiniteScrollCallback",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.nextPage())}),t.Z7z(2,wn,7,3,null,null,hn),t.k0s()()}if(2&e){const n=t.XpG(),o=t.XpG();t.R7$(),t.Y8G("infiniteScrollContainer","#scrollBox")("infiniteScrollDistance",1)("infiniteScrollDisabled",o.disabled()),t.R7$(),t.Dyx(n)}}function Mn(e,r){1&e&&(t.j41(0,"p",16),t.nrm(1,"app-server-error",30),t.k0s()),2&e&&(t.R7$(),t.Y8G("message",r))}function kn(e,r){1&e&&(t.j41(0,"p",17),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.JRh(t.bMT(2,1,"_i18n.ContactCallHistoryIsEmpty")))}function Vn(e,r){if(1&e&&(t.j41(0,"h4",13),a.qSk(),t.nrm(1,"svg",14),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nVh(4,Pn,4,3,"div",15)(5,Mn,2,1,"p",16)(6,kn,3,3,"p",17)),2&e){let n;const o=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,"_i18n.CallHistory")),t.R7$(2),t.vxM(r.length?4:(n=o.error())?5:6,n)}}function Tn(e,r){if(1&e&&t.nVh(0,Vn,7,4),2&e){let n;const o=t.XpG(3);t.vxM((n=o.callHistoryList())?0:-1,n)}}function In(e,r){if(1&e){const n=t.RV6();t.j41(0,"app-people-contact-call-forwarding",31),t.bIt("closed",function(){a.eBV(n);const i=t.XpG(3);return a.Njj(i.callForwardingRequested.set(!1))}),t.k0s()}if(2&e){const n=t.XpG(2);t.Y8G("contact",n)}}function jn(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",4)(1,"div",5)(2,"app-contact-panel-header",6),t.bIt("closed",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.navigateBack())}),t.j41(3,"app-manage-contact-button",7),t.bIt("click",function(){a.eBV(n);const i=t.XpG(),s=t.XpG();return a.Njj(s.peopleService.toggleFavorite(i))}),t.k0s(),t.j41(4,"app-manage-contact-button",8),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.setStatus())}),t.k0s(),t.j41(5,"app-manage-contact-button",9),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.setCallForwarding())}),t.k0s()(),t.nrm(6,"app-contact-data",10),t.j41(7,"div",11),t.nVh(8,Tn,1,1),t.k0s()(),t.nVh(9,In,1,1,"app-people-contact-call-forwarding",12),t.k0s()}if(2&e){let n;const o=t.XpG(),i=t.XpG();t.R7$(2),t.Y8G("contact",o)("phoneNumber",o.phones.extension),t.R7$(),t.HbH(t.VkB("btn-icon ",o.isFavorite?"filled fillIconFavorite":"")),t.Y8G("visible",i.peopleService.canToggleFavorite(o))("text",o.isFavorite?"_i18n.RemoveFromFavorites":"_i18n.AddToFavorites")("icon",i.Star),t.R7$(),t.Y8G("visible",i.isCallForwardingAllowed())("icon",i.UserPen),t.R7$(),t.Y8G("visible",i.isCallForwardingAllowed())("icon",i.PhoneForwarded),t.R7$(),t.Y8G("contact",o),t.R7$(2),t.vxM((n=i.pager())?8:-1,n),t.R7$(),t.vxM(i.callForwardingEditMode()?9:-1)}}function Sn(e,r){if(1&e){const n=t.RV6();t.j41(0,"a",47),t.nI1(1,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2),s=t.XpG();return a.Njj(s.peopleService.callToExtensionNumber(i,!0))}),t.k0s()}2&e&&t.Y8G("title",t.mNQ(t.bMT(1,2,"_i18n.Video")))}function Rn(e,r){if(1&e){const n=t.RV6();t.j41(0,"a",48),t.nI1(1,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2),s=t.XpG();return a.Njj(s.peopleService.chatWithExtension(i))}),t.k0s()}2&e&&t.Y8G("title",t.mNQ(t.bMT(1,2,"_i18n.Chat")))}function yn(e,r){if(1&e){const n=t.RV6();t.j41(0,"a",49),t.nI1(1,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2),s=t.XpG();return a.Njj(s.peopleService.toggleFavorite(i))}),a.qSk(),t.nrm(2,"svg",50),t.k0s()}if(2&e){const n=t.XpG(2);t.Y8G("title",t.bMT(1,3,n.isFavorite?"_i18n.RemoveFromFavorites":"_i18n.AddToF
1avorites")),t.R7$(2),t.HbH(n.isFavorite?"filled fillIconFavorite":"")}}function $n(e,r){if(1&e){const n=t.RV6();t.j41(0,"a",51),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2),s=t.XpG();return a.Njj(s.phone.call(i.phones.extension))}),t.nrm(1,"span",52)(2,"span",53),t.j41(3,"span",54),t.EFF(4),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("translate","_i18n.Extension"),t.R7$(2),t.JRh(n.phones.extension)}}function Fn(e,r){1&e&&t.eu8(0)}function Gn(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",45)(1,"a",55),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2),s=t.XpG();return a.Njj(s.phone.call(i.phones.mobile))}),t.nrm(2,"span",56)(3,"span",53),t.j41(4,"span",57),t.EFF(5),t.k0s()(),t.DNE(6,Fn,1,0,"ng-container",58),t.k0s()}if(2&e){const n=t.XpG(2);t.XpG();const o=t.sdS(1);t.R7$(3),t.Y8G("translate","_i18n.MobileNumber"),t.R7$(2),t.JRh(n.phones.mobile),t.R7$(),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.eq3(4,Cn,n.phones.mobile))}}function On(e,r){if(1&e&&(t.j41(0,"a",46),t.nrm(1,"span",59)(2,"span",53),t.j41(3,"span",60),t.EFF(4),t.k0s()()),2&e){const n=t.XpG(2);t.Y8G("href",t.VkB("mailto:",n.emailAddress),t.B4B),t.R7$(2),t.Y8G("translate","_i18n.ContactData5"),t.R7$(2),t.JRh(n.emailAddress)}}function Bn(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",61),t.bIt("click",function(){a.eBV(n);const i=t.XpG(3);return a.Njj(i.setStatus())}),t.nrm(1,"span",62),t.j41(2,"a",63),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"div",64),t.bIt("click",function(){a.eBV(n);const i=t.XpG(3);return a.Njj(i.setCallForwarding())}),t.nrm(6,"span",65),t.j41(7,"a",63),t.EFF(8),t.nI1(9,"translate"),t.k0s()()}2&e&&(t.R7$(3),t.JRh(t.bMT(4,2,"_i18n.SetStatus")),t.R7$(5),t.JRh(t.bMT(9,4,"_i18n.SetCallForwarding")))}function Xn(e,r){if(1&e){const n=t.RV6();t.j41(0,"app-people-contact-call-forwarding",31),t.bIt("closed",function(){a.eBV(n);const i=t.XpG(3);return a.Njj(i.callForwardingRequested.set(!1))}),t.k0s()}if(2&e){const n=t.XpG(2);t.Y8G("contact",n)}}function Nn(e,r){if(1&e){const n=t.RV6();t.j41(0,"div",32)(1,"a",33),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.navigateBack())}),t.k0s(),t.j41(2,"span",34)(3,"span",35),t.EFF(4),t.nI1(5,"lforfl"),t.nI1(6,"async"),t.k0s(),t.j41(7,"span"),t.EFF(8),t.k0s()(),t.nrm(9,"div",36),t.j41(10,"a",37),t.nI1(11,"translate"),t.bIt("click",function(){a.eBV(n);const i=t.XpG(),s=t.XpG();return a.Njj(s.peopleService.callToExtensionNumber(i))}),t.k0s(),t.nVh(12,Sn,2,4,"a",38),t.nVh(13,Rn,2,4,"a",39),t.nVh(14,yn,3,5,"a",40),t.j41(15,"app-mobile-close-button",41),t.bIt("click",function(){a.eBV(n);const i=t.XpG(2);return a.Njj(i.navigateBack())}),t.k0s()(),t.j41(16,"div",4)(17,"div",5)(18,"div",42),t.nrm(19,"app-avatar",43),t.j41(20,"div"),t.nVh(21,$n,5,2,"a",44),t.nVh(22,Gn,7,6,"div",45),t.nVh(23,On,5,4,"a",46),t.nVh(24,Bn,10,6),t.k0s()()(),t.nVh(25,Xn,1,1,"app-people-contact-call-forwarding",12),t.k0s()}if(2&e){const n=t.XpG(),o=t.XpG();t.R7$(4),t.SpI(" ",t.bMT(6,17,t.bMT(5,15,n))," "),t.R7$(4),t.SpI(" ",n.phones.extension," "),t.R7$(2),t.Y8G("title",t.mNQ(t.bMT(11,19,"_i18n.Call"))),t.R7$(2),t.vxM(o.peopleService.canVideoCall(n)?12:-1),t.R7$(),t.vxM(o.isChatEnabled()?13:-1),t.R7$(),t.vxM(o.peopleService.canToggleFavorite(n)?14:-1),t.R7$(5),t.Y8G("ext",n)("allowLetters",!1)("colorfulDefault",!1),t.R7$(2),t.vxM(n.phones.extension?21:-1),t.R7$(),t.vxM(n.phones.mobile?22:-1),t.R7$(),t.vxM(n.emailAddress?23:-1),t.R7$(),t.vxM(o.isCallForwardingAllowed()?24:-1),t.R7$(),t.vxM(o.callForwardingEditMode()?25:-1)}}function En(e,r){if(1&e&&t.nVh(0,jn,10,15,"div",4)(1,Nn,26,21),2&e){const n=t.XpG();t.vxM(n.isNewDesign()?0:1)}}const Hn=[{path:"",providers:[$.Z],children:[{path:"",component:A,data:{title:"_i18n.All",showAllUnique:!0}},{path:"chat",children:Vt.R},{path:"view/:ext",component:(()=>{class e{phone=(0,a.WQX)(M.u);peopleService=(0,a.WQX)($.Z);myPhoneService=(0,a.WQX)(R.gx);smsChatService=(0,a.WQX)(It.V);router=(0,a.WQX)(T.Ix);route=(0,a.WQX)(T.nX);modalService=(0,a.WQX)(Q.B);isNewDesign=(0,a.WQX)(L.T);UserPen=_.V_Q;Star=_.hib;PhoneForwarded=_.PR3;extensionContact=(0,k.ot)(this.route.params.pipe((0,h.n)(({ext:n})=>{if(!n)return(0,f.of)(void 0);const o=this.peopleService.currentExtension();return o&&o.extensionNumber===n?(0,f.of)(o):this.myPhoneService.myPhoneSession.pipe((0,Tt.s)(1),(0,m.T)(i=>i.contactMatcher.findContactByDn(n,mn.Jhl.Extension)))}),(0,V.M)(n=>{n||this.navigateBack()})));partyNumber=(0,c.EW)(()=>this.call()?.partyNumber??"");call=x.hFB.required();callForwardingRequested=(0,a.vPA)(!0===this.router.currentNavigation()?.extras.state?.callForwarding);isCallForwardingAllowed=(0,c.EW)(()=>{const n=this.extensionContact();return!(!n||!this.peopleService.isReceptionist(n)||n.isAIAgent)});callForwardingEditMode=(0,c.EW)(()=>this.isCallForwardingAllowed()&&this.callForwardingRequested());isChatEnabled=(0,k.ot)(this.myPhoneService.myPhoneSession.pipe((0,h.n)(n=>n.chatIsAllowed$)),{initialValue:!1});
1navigateBack(){this.peopleService.navigatePreviousUrl()}setCallForwarding(){this.extensionContact()&&this.isCallForwardingAllowed()&&this.callForwardingRequested.set(!0)}setStatus(){const n=this.extensionContact();!n||!this.isCallForwardingAllowed()||this.modalService.showDialog(Yt.c,{contact:n})}pager=(0,c.EW)(()=>{const n=this.extensionContact(),o=this.partyNumber(),i=new sn.i(this.myPhoneService,new rn.Ec(n),(0,f.of)(pn.r.AllCalls));return i.search(o),i});callHistoryList=(0,k.ot)((0,k.br)(this.pager).pipe((0,h.n)(n=>n.items$),(0,m.T)(n=>{const o=n.reduce((i,s)=>{const C=new dn.iH(s);return(i[C.dateRelative]??=[]).push(C),i},{});return Object.entries(o).map(([i,s])=>({dateTitle:i,calls:s}))})));static \u0275fac=function(o){return new(o||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-people-contact-view"]],inputs:{call:[1,"call"]},decls:3,vars:1,consts:[["sms",""],[1,"sms-anchor","mhover",3,"title"],[1,"sms-anchor","mhover",3,"click","title"],["app-comment-lines-light-icon","",1,"svg-md"],[1,"split-view","flex-child"],[1,"contact-info-holder"],["data-qa","contact-panel-header",3,"closed","contact","phoneNumber"],["prepend","","data-qa","toggle-favorite",3,"click","visible","text","icon"],["data-qa","set-status","text","_i18n.SetStatus",3,"click","visible","icon"],["data-qa","set-call-forwarding","text","_i18n.SetCallForwarding",3,"click","visible","icon"],["data-qa","contact-data",3,"contact"],[1,"p-4","border-top","flex-child","d-flex","flex-column","interaction-history"],[3,"contact"],[1,"mb-3"],["lucideHistory","",1,"me-1"],["id","scrollBox",1,"flex-child","scrollable"],[1,"text-error"],[1,"text-hint"],["infiniteScroll","",1,"d-flex","flex-column","gap-2",3,"infiniteScrollCallback","infiniteScrollContainer","infiniteScrollDistance","infiniteScrollDisabled"],[1,"d-flex","align-items-center","gap-2","group-title"],["data-qa","date-title",1,"subheader","m-0"],[1,"flex-grow-1","m-0"],["data-qa","contact-call-history-item",1,"d-flex","align-items-baseline","gap-3","py-2","px-3","border","rounded","bg-tiles"],[1,"d-flex","flex-1","align-items-baseline","gap-2","text-truncate"],[3,"lucideIcon","class"],[1,"m-0","p-0"],["lucideVoicemail","",1,"fillIconBlue","voicemail-icon"],["data-qa","duration",1,"text-hint"],[1,"text-hint","text-truncate"],[3,"lucideIcon"],[3,"message"],[3,"closed","contact"],[1,"p-1","b-b","d-flex","align-items-center","aside-align","bg"],["id","backBtn","app-arrow-left-light-icon","",1,"btn","btn-plain","me-1",3,"click"],[1,"text-md","text-truncate"],[1,"me-1"],[1,"d-flex","flex-fill","align-items-center",2,"min-width","0"],["id","callBtnTile","app-phone-alt-solid-icon","",1,"btn","btn-plain",3,"click","title"],["id","videoBtnTile","app-video-solid-icon","",1,"btn","btn-plain",3,"title"],["id","chatBtnTile","app-comment-alt-solid-icon","",1,"btn","btn-plain",3,"title"],["data-qa","toggle-favorite",1,"btn","btn-plain","btn-icon",3,"title"],[3,"click"],[1,"d-flex"],["size","l",3,"ext","allowLetters","colorfulDefault"],["id","contactExtensionBtn",1,"extension-item","mhover","mb-3"],[1,"d-flex","mb-3"],["id","contactEmailAddress","target","_blank","rel","noopener",1,"extension-item","mhover","mb-3",3,"href"],["id","videoBtnTile","app-video-solid-icon","",1,"btn","btn-plain",3,"click","title"],["id","chatBtnTile","app-comment-alt-solid-icon","",1,"btn","btn-plain",3,"click","title"],["data-qa","toggle-favorite",1,"btn","btn-plain","btn-icon",3,"click","title"],["lucideStar",""],["id","contactExtensionBtn",1,"extension-item","mhover","mb-3",3,"click"],["app-phone-alt-light-icon","",1,"customSVGIcons","svg-md"],[3,"translate"],["id","extNumber"],["id","contactMobileBtn",1,"extension-item","mhover",3,"click"],["app-mobile-android-alt-light-icon","",1,"customSVGIcons","svg-md"],["id","extMob"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["app-envelope-light-icon","",1,"customSVGIcons","svg-md"],["id","extEmail"],["data-qa","set-status",1,"extension-item-link",3,"click"],["app-user-pen-solid-icon","",1,"customSVGIcons","svg-md"],[1,"link"],["data-qa","set-call-forwarding",1,"extension-item-link",3,"click"],["app-phone-arrow-up-right-solid-icon","",1,"customSVGIcons","svg-sm"]],template:function(o,i){if(1&o&&(t.DNE(0,vn,2,3,"ng-template",null,0,t.C5r),t.nVh(2,En,2,1)),2&o){let s;t.R7$(2),t.vxM((s=i.extensionContact())?2:-1,s)}},dependencies:[jt.U,St.f,p.Mm,G.T3,Dt,_.jEf,_.tDh,_.hib,_.Iqs,Qt,Ut,Wt.l,Jt,Zt,Kt,qt.v,tn,nn.$,on.v,en.L,an.W,ln.D,cn.J,W.d,Rt._,G.Jj,p.D9],styles:['@media(max-width:1399.98px){.d-xxl-down-none[_ngcontent-%COMP%], .xxl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:1199.98px){.d-xl-down-none[_ngcontent-%COMP%], .xl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:991.98px){.d-lg-down-none[_ngcontent-%COMP%], .lg-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:767.98px){.d-md-down-none[_ngcontent-%COMP%], .md-visible[_ngcontent-%COMP%]{display:none!important}}@media(max-width:575.98px){.d-sm-down-none[_ngcontent-%COMP%], .sm-visible[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:flex;flex-direction:column;background:var(--bg-primary)}.new-design [_nghost-%COMP%]{background:var(--background)}.extension-item[_ngcontent-%COMP%], .extension-item-link[_ngcontent-%COMP%]{min-width:250px;height:var(--avatar-size);display:grid;align-items:center;grid-template-columns:var(--avatar-size) auto;grid-template-areas:"icon label" "icon text"}.extension-item[_ngcontent-%COMP%] .customSVGIcons[_ngcontent-%COMP%], .extension-item-link[_ngcontent-%COMP%] .customSVGIcons[_ngcontent-%COMP%]{justify-self:center;grid-area:icon}.extension-item-link[_ngcontent-%COMP%]{height:var(--input-height);grid-template-areas:"icon link"}.extension-item-link[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{grid-area:link}.sms-anchor[_ngcontent-%COMP%]{display:flex;flex:none;width:var(--avatar-size);align-items:center;justify-content:center}.contact-info-holder[_ngcontent-%COMP%]{display:flex;flex-direction:column;container-type:inline-size;min-width:min-content;flex:1 1 auto}@media(max-height:500px),(max-width:576px){.contact-info-holder[_ngcontent-%COMP%]{overflow-y:auto}.contact-info-holder[_ngcontent-%COMP%] .scrollable[_ngcontent-%COMP%]{overflow:unset}}.button-favorite[_ngcontent-%COMP%]{--svg-color: var(--favorite)}.interaction-history[_ngcontent-%COMP%] .group-title[_ngcontent-%COMP%]{padding-bottom:var(--spacer-s)}.interaction-history[_ngcontent-%COMP%] .group-title[_ngcontent-%COMP%]:not(:first-child){padding-top:var(--spacer-s)}.split-view[_ngcontent-%COMP%]{display:flex}@media(max-width:991.98px){.split-view[_ngcontent-%COMP%]:has(>*:nth-child(2)){flex-direction:column;overflow:auto}.split-view[_ngcontent-%COMP%]:has(>*:nth-child(2)) > *[_ngcontent-%COMP%]:nth-child(n+1){border-top:1px solid var(--border-color)}.split-view[_ngcontent-%COMP%]:has(>*:nth-child(2)) .interaction-history[_ngcontent-%COMP%]{max-height:400px}}@media(min-width:992px){.split-view[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(n+1){border-left:1px solid var(--border-color)}.split-view[_ngcontent-%COMP%] app-people-contact-call-forwarding[_ngcontent-%COMP%]{flex:0 0 60%}}'],changeDetection:0})}return e})(),data:{viewTransitionLevel:1}},{path:"favorites",component:A,data:{title:"_i18n.Favorites",showFavorites:!0}},{path:":bridgeId/:groupId",component:A,data:{showByGroup:!0},resolve:{title:E.V}}]}]},81681(z,S,l){l.d(S,{$:()=>V});var m=l(36124),h=l(66563);let V=(()=>{class b{static \u0275fac=function(c){return new(c||b)};static \u0275cmp=m.VBU({type:b,selectors:[["app-arrow-left-light-icon"],["","app-arrow-left-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 432 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"]],template:function(c,R){1&c&&(h.qSk(),m.rj2(0,"svg",0),m.Hgh(1,"path",1),m.eux())},encapsulation:2})}return b})()},19330(z,S,l){l.d(S,{H:()=>f});var m=l(66563),h=l(48503),V=l(83305),b=l(46264),a=l(47594),x=l(81681),c=l(36124);let R=(()=>{class p{static \u0275fac=function(v){return new(v||p)};static \u0275cmp=c.VBU({type:p,selectors:[["app-question-circle-regular-icon"],["","app-question-circle-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42
118.841-42 42-42 42 18.841 42 42z"]],template:function(v,M){1&v&&(m.qSk(),c.rj2(0,"svg",0),c.Hgh(1,"path",1),c.eux())},encapsulation:2})}return p})();var T=l(84205),F=l(53674),B=l(49074);const g=[[["","top-bar",""]],[["table",8,"scrollable-table"]],[["",8,"scrollable-table"],["",8,"scrollable"]],"*",[["","header",""]],[["","help",""]],[["","header-text",""]]],X=["[top-bar]","table.scrollable-table",".scrollable-table, .scrollable","*","[header]","[help]","[header-text]"];function u(p,P){if(1&p){const d=c.RV6();c.j41(0,"button",11),c.bIt("click",function(){m.eBV(d);const M=c.XpG(2);return m.Njj(M.backEmitter.next())}),c.k0s()}}function y(p,P){if(1&p&&c.nrm(0,"a",6),2&p){const d=c.XpG(2);c.Y8G("routerLink",d.backRouterLink)}}function $(p,P){if(1&p&&(c.j41(0,"h4",7)(1,"span",12),c.EFF(2),c.nI1(3,"translate"),c.k0s(),c.SdG(4,6),c.k0s()),2&p){const d=c.XpG(2);c.R7$(2),c.JRh(c.bMT(3,1,d.header))}}function I(p,P){if(1&p&&(c.j41(0,"a",10),c.nI1(1,"translate"),c.j41(2,"span"),c.EFF(3),c.nI1(4,"translate"),c.k0s(),c.nrm(5,"app-question-circle-regular-icon"),c.k0s()),2&p){const d=c.XpG(2);c.Y8G("href",c.bMT(1,2,d.helpUrl||"_i18n.OfficeUsersAdmin"),c.B4B),c.R7$(3),c.JRh(c.bMT(4,4,"_i18n.HelpPage"))}}function N(p,P){if(1&p&&(c.j41(0,"div",0)(1,"div",4),c.nVh(2,u,1,0,"button",5),c.nVh(3,y,1,1,"a",6),c.nVh(4,$,5,3,"h4",7),c.k0s(),c.j41(5,"div",8),c.SdG(6,4),c.j41(7,"div",9),c.SdG(8,5),c.nVh(9,I,6,6,"a",10),c.k0s()()()),2&p){const d=c.XpG();c.R7$(2),c.vxM(d.backRouterLink||!d.backEmitter.observed||d.hideBack?-1:2),c.R7$(),c.vxM(d.backRouterLink&&!d.hideBack?3:-1),c.R7$(),c.vxM(d.header?4:-1),c.R7$(5),c.vxM(d.isAdminSectionActive?9:-1)}}let f=(()=>{class p{router=(0,m.WQX)(V.Ix);header;disableHeader=!1;hideBack=!1;helpUrl;backRouterLink;backEmitter=new T.B;back=(0,B.p)(this.backEmitter.pipe((0,F.c)(1e3)));get isAdminSectionActive(){return this.router.url.includes("/office")}static \u0275fac=function(v){return new(v||p)};static \u0275cmp=c.VBU({type:p,selectors:[["app-page"]],inputs:{header:"header",disableHeader:"disableHeader",hideBack:"hideBack",helpUrl:"helpUrl",backRouterLink:"backRouterLink"},outputs:{back:"back"},ngContentSelectors:X,decls:8,vars:1,consts:[[1,"page-header"],["cdkScrollable","",1,"scrollable"],["cdkScrollable","",1,"scrollable","overflow-x-auto","hide-empty"],[1,"page-content"],[1,"d-flex","gap-1","align-items-center","mw-0"],["type","button","app-arrow-left-light-icon","","data-qa","back-btn",1,"btn","btn-plain"],["app-arrow-left-light-icon","","data-qa","back-to-parent",1,"btn","btn-plain",3,"routerLink"],["data-qa","header",1,"m-0"],[1,"d-flex","gap-2","flex-1","align-items-center","mw-0"],[1,"ms-auto","d-flex","gap-2"],["target","_blank","data-qa","header-help-guide-btn",1,"btn","btn-plain","fw-normal",3,"href"],["type","button","app-arrow-left-light-icon","","data-qa","back-btn",1,"btn","btn-plain",3,"click"],[1,"d-inline-block"]],template:function(v,M){1&v&&(c.NAR(g),c.nVh(0,N,10,4,"div",0),c.SdG(1),c.j41(2,"div",1),c.SdG(3,1),c.k0s(),c.SdG(4,2),c.j41(5,"div",2)(6,"div",3),c.SdG(7,3),c.k0s()()),2&v&&c.vxM(M.disableHeader?-1:0)},dependencies:[x.$,R,b.Wk,a.uv,h.D9],styles:["@media(max-width:1399.98px){.d-xxl-down-none[_ngcontent-%COMP%], .xxl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:1199.98px){.d-xl-down-none[_ngcontent-%COMP%], .xl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:991.98px){.d-lg-down-none[_ngcontent-%COMP%], .lg-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:767.98px){.d-md-down-none[_ngcontent-%COMP%], .md-visible[_ngcontent-%COMP%]{display:none!important}}@media(max-width:575.98px){.d-sm-down-none[_ngcontent-%COMP%], .sm-visible[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column;background:var(--bg-primary);--max-page-width: 1000px}[_nghost-%COMP%] .page-header[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--spacer);row-gap:var(--spacer-xs);padding:calc(var(--spacer-xs) - .5px) var(--spacer);min-height:var(--aside-folded-nav-height);border-bottom:1px solid var(--border-color);flex-shrink:0}[_nghost-%COMP%] .page-header[_ngcontent-%COMP%] .overflow-x-auto[_ngcontent-%COMP%]{scrollbar-width:none}
1[_nghost-%COMP%] .page-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacer-xs);min-width:0}[_nghost-%COMP%] .page-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] span[_ngcontent-%COMP%], [_nghost-%COMP%] .page-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] [header-text]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] .page-content[_ngcontent-%COMP%]{max-width:var(--max-page-width);padding:var(--spacer) var(--spacer-l);container-type:inline-size;min-height:100%}[_nghost-%COMP%] .page-content[_ngcontent-%COMP%]:has( tabset:first-child), [_nghost-%COMP%] .page-content[_ngcontent-%COMP%]:has( .button-group:first-child){padding-top:0}[_nghost-%COMP%] >*.scrollable, [_nghost-%COMP%] >*.scrollable-table{flex:1 1 auto;min-width:0;min-height:0}[_nghost-%COMP%] >*.scrollable:empty, [_nghost-%COMP%] >*.scrollable-table:empty{display:none}.new-design [_nghost-%COMP%] .page-header[_ngcontent-%COMP%]{border-bottom:none}.new-design [_nghost-%COMP%] .page-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:var(--font-size-h3);font-weight:var(--font-weight-bold);--svg-size: 20px;--svg-color: currentColor}.new-design [_nghost-%COMP%] .page-body[_ngcontent-%COMP%]{padding-top:0}[_nghost-%COMP%]:has( [top-bar] .filter-container){overflow-y:auto}"]})}return p})()}}]);
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.