1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[9053],{18451(O,M,n){n.d(M,{l:()=>C});var i=n(71985),c=n(96697);let o=!1;function C(r,f){return()=>{o||(o=!0,new i.c(m=>{try{const p=r();p instanceof i.c?p.subscribe(m):o=!1}catch(p){m.error(p)}}).pipe((0,c.s)(1)).subscribe({error:m=>{f.error(m),o=!1},complete:()=>{o=!1}}))}}},9055(O,M,n){n.d(M,{HJ:()=>W,nd:()=>B,pj:()=>R,pv:()=>v,wk:()=>t,yC:()=>S});var i=n(85802),c=n(32271),o=n(33971),C=n(38601),r=n(8516),f=n(20284),m=n(71106),p=n(90394),d=n(18451),x=n(89079),D=n(25558),A=n(7673);const R="make-call";function v({phoneNumber:_,contact:h},b=(0,i.WQX)(f.u),g=(0,i.WQX)(C.B)){return{text:"_i18n.Call",key:R,visible:(0,c.EW)(()=>!(!_()||h()?.myContact)),execute:(0,d.l)(()=>b.call(_()),g),icon:r.d3s}}function t({phoneNumber:_,contact:h},b=(0,i.WQX)(f.u),g=(0,i.WQX)(C.B)){return{text:"_i18n.Video",key:"video-call",visible:(0,c.EW)(()=>!(!_()||h()?.myContact||!h()?.extensionNumber)),execute:(0,d.l)(()=>b.call(_(),!0),g),icon:r.CeX}}function W({contact:_,isChatEnabled:h},b=(0,i.WQX)(p.e),g=(0,i.WQX)(C.B)){return{text:"_i18n.Chat",key:"start-chat",visible:(0,c.EW)(()=>{const E=_();return h()&&null!=E&&E.chatEnabled&&!E.myContact}),execute:(0,d.l)(()=>b.openChat(new m.A([_()])),g),icon:r.vEG}}function B({contact:_}){return{text:"_i18n.Email",key:"send-mail",visible:(0,c.EW)(()=>{const h=_();return!(!h||!h.emailAddress||h.myContact)}),execute:()=>(0,o.b8)("mailto:"+_().emailAddress),icon:r.gE4}}function S({contact:_,isSmsAvailable:h},b,g,E){const y=(0,c.EW)(()=>{const P=_();return h()&&P&&!P.myContact?P.isDummy?P.phones.other??"":P.bestMobile:""}),F=(0,x.ot)((0,x.br)(y).pipe((0,D.n)(P=>P?g.get("_i18n.SendSmsTo",{p1:P}):(0,A.of)(""))));return{text:"_i18n.ComposeSmsHeader",key:"send-sms",visible:(0,c.EW)(()=>!!y()),execute:(0,d.l)(()=>b.navigateToProviderWizard(y()),E),icon:r.oFn,tooltip:F}}},46579(O,M,n){n.d(M,{A:()=>r});var i=n(32271),c=n(8516),o=n(18451),C=n(88141);function r({contact:f,phoneNumber:m},p,d,x){return{text:"_i18n.MenuAddContact",key:"add-to-contact",visible:(0,i.EW)(()=>!(!f()?.canBeAddedToPhonebook()||!m().trim())),execute:(0,o.l)(()=>p.addToContact(m()).pipe((0,C.M)(()=>x?.next())),d),icon:c.FWt}}},1438(O,M,n){n.d(M,{v:()=>w});var i=n(85802),c=n(17705),o=n(8516),C=n(16444),r=n(18530),f=n(25558),m=n(62175),p=n(9852),d=n(49769),x=n(89079),D=n(68018),A=n(38601),R=n(58689),v=n(1211),t=n(35547);const W={[v.Jhl.None]:"",[v.Jhl.ExternalLine]:"_i18n.Trunk",[v.Jhl.Extension]:"_i18n.Extension",[v.Jhl.Queue]:"_i18n.Queue",[v.Jhl.RingGroup]:"_i18n.RingGroup",[v.Jhl.Parking]:"_i18n.DNType_Parking",[v.Jhl.IVR]:"_i18n.DigitalReceptionist",[v.Jhl.Fax]:"_i18n.Fax",[v.Jhl.Conference]:"_i18n.Conference",[v.Jhl.SpecialMenu]:"_i18n.SpecialMenu",[v.Jhl.Service]:"_i18n.CallFlow"};let B=(()=>{class a{transform(e){return e?W[e]:""}static \u0275fac=function(l){return new(l||a)};static \u0275pipe=t.EJ8({name:"appDnType",type:a,pure:!0})}return a})();var S=n(19543),_=n(20284),h=n(90394),b=n(46579),g=n(9055),E=n(91473),y=n(12834),F=n(57241),P=n(95);const $=["*"],j=(a,u)=>u.key;function N(a,u){if(1&a){const e=t.RV6();t.j41(0,"app-manage-contact-button",8),t.bIt("click",function(){i.eBV(e);const s=t.XpG().$implicit;return i.Njj(s.execute())}),t.k0s()}if(2&a){const e=t.XpG().$implicit;t.HbH(null==e.iconClass?null:e.iconClass()),t.Y8G("icon",e.icon)("text",e.text)("disabled",null==e.disabled?null:e.disabled()),t.BMQ("data-qa",e.key)}}function L(a,u){if(1&a&&t.nVh(0,N,1,6,"app-manage-contact-button",7),2&a){const e=u.$implicit;t.vxM(e.visible()&&!e.onlyMenu?0:-1)}}function H(a,u){if(1&a){const e=t.RV6();t.j41(0,"app-button-close-x",9),t.bIt("click",function(){i.eBV(e);const s=t.XpG();return i.Njj(s.close$.next())}),t.k0s()}}function U(a,u){if(1&a&&(t.j41(0,"small",10),t.EFF(1),t.nI1(2,"appDnType"),t.nI1(3,"translate"),t.k0s(),t.j41(4,"small",11),t.EFF(5),t.nI1(6,"userProfile"),t.nI1(7,"async"),t.k0s()),2&a){t.XpG();const e=t.r8f(0);t.R7$(),t.Lme("",t.bMT(3,5,t.bMT(2,3,e.dnType)||"_i18n.Extension")," ",u),t.R7$(4),t.JRh(t.bMT(7,9,t.bMT(6,7,e)))}}function X(a,u){if(1&a&&(t.j41(0,"small",12),t.EFF(1),t.k0s()),2&a){t.XpG(2);const e=t.r8f(0);t.R7$(),t.JRh(e.title)}}function J(a,u){if(1&a&&(t.j41(0,"small",13),t.EFF(1),t.k0s()),2&a){t.XpG(2);const e=t.r8f(0);t.R7$(),t.JRh(e.company)}}function G(a,u){if(1&a&&(t.j41(0,"small",14),t.EFF(1),t.k0s()),2&a){t.XpG(2);const e=t.r8f(0);t.R7$(),t.JRh(e.emailAddress)}}function K(a,u){if(1&a&&(t.j41(0,"small",15),t.EFF(1),t.k0s()),2&a){const e=t.XpG(2);t.R7$(),t.JRh(e.phoneNumber())}}function V(a,u){if(1&a&&(t.nVh(0,X,2,1,"small",12),t.nVh(1,J,2,1,"small",13),t.nVh(2,G,2,1,"small",14),t.nVh(3,K,2,1,"small",15),t.j41(4,"small",16),t.EFF(5),t.nI1(6,"translate"),t.k0s()),2&a){const e=t.XpG(),l=t.r8f(0),s=t.r8f(10);t.vxM(l.title?0:-1),t.R7$(),t.vxM(l.company&&l.company!==s?1:-1),t.R7$(),t.vxM(l.emailAddress&&l.emailAddress!==s?2:-1),t.R7$(),t.vxM(e.ph
1oneNumber()&&e.phoneNumber()!==s?3:-1),t.R7$(2),t.JRh(t.bMT(6,5,e.defaultStatus()))}}function k(a,u){if(1&a){const e=t.RV6();t.j41(0,"button",18),t.bIt("click",function(){i.eBV(e);const s=t.XpG().$implicit;return i.Njj(s.execute())}),t.nrm(1,"lucide-icon",19),t.j41(2,"span"),t.EFF(3),t.nI1(4,"translate"),t.k0s()()}if(2&a){const e=t.XpG().$implicit;t.Y8G("title",(null==e.tooltip?null:e.tooltip())||"")("disabled",null==e.disabled?null:e.disabled()),t.BMQ("data-qa",e.key),t.R7$(),t.HbH(null==e.iconClass?null:e.iconClass()),t.Y8G("img",e.icon),t.R7$(2),t.JRh(t.bMT(4,7,e.text))}}function Q(a,u){if(1&a&&t.nVh(0,k,5,9,"button",17),2&a){const e=u.$implicit;t.vxM(e.visible()&&!e.onlyMenu?0:-1)}}let w=(()=>{class a{myPhoneService=(0,i.WQX)(C.gx);modalService=(0,i.WQX)(A.B);phoneService=(0,i.WQX)(_.u);chatLocatorService=(0,i.WQX)(h.e);phonebookEditor=(0,i.WQX)(E.m);chatSms=(0,i.WQX)(P.V);translate=(0,i.WQX)(D.c$);isNewDesign=(0,i.WQX)(R.T);Star=o.FEq;contact=c.hFB.required();phoneNumber=(0,c.hFB)("");contactName=(0,c.hFB)("");defaultStatus=(0,c.hFB)("_i18n.UnknownContact");close$=new r.B;closed=(0,x.p)(this.close$);refresh$=new r.B;refresh=(0,x.p)(this.refresh$);isChatEnabled=(0,x.ot)(this.myPhoneService.myPhoneSession.pipe((0,f.n)(e=>e.chatIsAllowed$)),{initialValue:!1});isSmsAvailable=(0,x.ot)(this.chatSms.isSmsAvailable$,{initialValue:!1});manageContactActions=[(0,b.A)({contact:this.contact,phoneNumber:this.phoneNumber},this.phonebookEditor,this.modalService,this.refresh$)];communicateActions=[(0,g.pv)({contact:this.contact,phoneNumber:this.phoneNumber},this.phoneService,this.modalService),(0,g.wk)({contact:this.contact,phoneNumber:this.phoneNumber},this.phoneService,this.modalService),(0,g.HJ)({contact:this.contact,isChatEnabled:this.isChatEnabled},this.chatLocatorService,this.modalService),(0,g.yC)({contact:this.contact,isSmsAvailable:this.isSmsAvailable},this.chatSms,this.translate,this.modalService),(0,g.nd)({contact:this.contact})];getContactInfo(e){const l=this.contact();return[l.title,l.company,l.emailAddress,this.phoneNumber()].filter(s=>s&&s!==e).slice(0,3).join("\n")}static \u0275fac=function(l){return new(l||a)};static \u0275cmp=t.VBU({type:a,selectors:[["app-contact-panel-header"]],inputs:{contact:[1,"contact"],phoneNumber:[1,"phoneNumber"],contactName:[1,"contactName"],defaultStatus:[1,"defaultStatus"]},outputs:{closed:"closed",refresh:"refresh"},ngContentSelectors:$,decls:20,vars:11,consts:[[1,"d-flex","flex-wrap","flex-row-reverse","w-100","align-items-start","gap-1"],[1,"contact-manage-actions"],[1,"d-flex","gap-2","flex-1"],["data-qa","avatar",3,"ext"],[1,"contact-info"],["data-qa","ext-name",1,"m-0","line-clamp-1","minw-px-100"],[1,"communicate-actions","hide-empty"],[3,"icon","class","text","disabled"],[3,"click","icon","text","disabled"],[3,"click"],["data-qa","ext-num"],["data-qa","badge",1,"badge"],["data-qa","title"],["data-qa","company"],["data-qa","email",1,"line-clamp-1"],["data-qa","phone"],["data-qa","default-text",1,"fallback"],["type","button",1,"btn","btn-border",3,"title","disabled"],["type","button",1,"btn","btn-border",3,"click","title","disabled"],[3,"img"]],template:function(l,s){if(1&l&&(t.NAR(),t.SS7(0),t.j41(1,"div",0)(2,"div",1),t.Z7z(3,L,1,1,null,null,j),t.SdG(5),t.nVh(6,H,1,0,"app-button-close-x"),t.k0s(),t.j41(7,"div",2),t.nrm(8,"app-avatar",3),t.j41(9,"div",4),t.SS7(10),t.nI1(11,"lforfl"),t.nI1(12,"async"),t.j41(13,"h4",5),t.EFF(14),t.k0s(),t.nVh(15,U,8,11)(16,V,7,7),t.k0s()()(),t.j41(17,"div",6),t.Z7z(18,Q,1,1,null,null,j),t.k0s()),2&l){let I;const T=t.bH3(s.contact());t.R7$(3),t.Dyx(s.manageContactActions),t.R7$(3),t.vxM(s.close$.observed?6:-1),t.R7$(2),t.Y8G("ext",T),t.R7$(2);const Y=t.bH3(s.contactName()||t.bMT(12,8,t.i5U(11,5,T,s.phoneNumber()||T.emailAddress)));t.R7$(4),t.JRh(Y),t.R7$(),t.vxM((I=T.extensionNumber)?15:16,I),t.R7$(3),t.Dyx(s.communicateActions)}},dependencies:[m.f,o.flO,o.WGl,y.W,F.d,p._,d.Jj,D.D9,B,S.R],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;width:100%;padding:var(--spacer-l);border-bottom:1px solid var(--border-color);gap:var(--spacer-l)}[_nghost-%COMP%] >.btn{--svg-size: var(--svg-size-sm)}[_nghost-%COMP%] .contact-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:start;justify-content:center}[_nghost-%COMP%] .contact-info[_ngcontent-%COMP%] small[_ngcontent-%COMP%]:not(.badge){color:var(--text-hint)}[_nghost-%COMP%] .contact-info[_ngcontent-%COMP%] small[_ngcontent-%COMP%]:nth-of-type(n+4), [_nghost-%COMP%] .contact-info[_ngcontent-%COMP%] small.fallback[_ngcontent-%COMP%]:not(:first-of-type){display:none}[_nghost-%COMP%] .contact-manage-actions[_ngcontent-%COMP%]{display:flex;gap:var(--spacer-s);align-items:center;justify-content:flex-end;margin-top:calc(var(--spacer-xs) * -1);overflow:hidden}[_nghost-%COMP%] .contact-manage-actions[_ngcontent-%COMP%]:not(:has(>app-manage-contact-button)):not(:has(>app-button-close-x)){display:none}[_nghost-%COMP%] .contact-manage-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(app-manage-contact-button):not(app-button-close-x){display:none}[_nghost-%COMP%] .communicate-actions[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min-content,100px));gap:var(--spacer);align-items:center}@media(max-width:575.98px){[_nghost-%COMP%] .communicate-actions[_ngcontent-%COMP%]{justify-content:center}}[_nghost-%COMP%] .badge[_ngcontent-%COMP%]{background-color:var(--bg-primary-hover);color:inherit;margin-top:var(--spacer-xxs)}[_nghost-%COMP%] .badge[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return a})()},57241(O,M,n){n.d(M,{d:()=>C});var i=n(8516),c=n(68018),o=n(35547);let C=(()=>{class r{text;icon;disabled;class;static \u0275fac=function(p){return new(p||r)};static \u0275cmp=o.VBU({type:r,selectors:[["app-manage-contact-button"]],inputs:{text:"text",icon:"icon",disabled:"disabled",class:"class"},decls:6,vars:13,consts:[["type","button",3,"disabled","title"],[3,"img"],[1,"d-sm-down-none"]],template:function(p,d){1&p&&(o.j41(0,"button",0),o.nI1(1,"translate"),o.nrm(2,"lucide-icon",1),o.j41(3,"span",2),o.EFF(4),o.nI1(5,"translate"),o.k0s()()),2&p&&(o.HbH(o.VkB("btn btn-plain-sm ",null!=d.class&&d.class.includes("btn-icon")?"btn-icon":"")),o.Y8G("disabled",d.disabled)("title",o.bMT(1,9,d.text)),o.R7$(2),o.HbH(null==d.class?null:d.class.replace("btn-icon","")),o.Y8G("img",d.icon),o.R7$(2),o.JRh(o.bMT(5,11,d.text)))},dependencies:[i.flO,i.WGl,c.D9],styles:["@container (width < 576px){span[_ngcontent-%COMP%]{display:none}}button.btn-icon[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}"]})}return r})()},85372(O,M,n){n.d(M,{P:()=>C});var c=n(67374),o=n.n(c);function C(f,m=!1){return o()(f).calendar(void 0,{sameDay:m?"LT":"[_i18n.Today]",lastDay:"[_i18n.Yesterday]",lastWeek:"dddd",sameElse:"L"})}}}]);
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.