PageSourceSearch

https://mailsenderam1.com/1474.60954bb3b756b4a6.js

js mailsenderam1.com collected 2026-10-07 18:12:31 UTC 48,059 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[1474],{47172(O,M,i){i.d(M,{J9:()=>g,Ji:()=>u,Zc:()=>E,qU:()=>m,zM:()=>r});var l=i(9195);const m=["all","incoming","outgoing","missed","abandoned"],c={[l.r.Missed]:"_i18n.Calls_Missed",[l.r.Received]:"_i18n.IncomingCalls",[l.r.Outgoing]:"_i18n.Calls_Outgoing",[l.r.Abandoned]:"_i18n.Calls_AbandonedQueue",[l.r.AllCalls]:"_i18n.Calls_All"},r={[l.r.Missed]:"_i18n.RecentsMissedCall",[l.r.Received]:"_i18n.Incoming_call",[l.r.Outgoing]:"_i18n.RecentsOutgoingCall",[l.r.Abandoned]:"_i18n.AbandonedCall",[l.r.AllCalls]:"_i18n.Unknown"},u={all:l.r.AllCalls,missed:l.r.Missed,incoming:l.r.Received,outgoing:l.r.Outgoing,abandoned:l.r.Abandoned},E=Object.fromEntries(Object.entries(u).map(([d,f])=>[d,c[f]]));function g(d){return"string"==typeof d&&m.includes(d)}},48661(O,M,i){i.d(M,{Hr:()=>p,Sz:()=>C,iH:()=>d});var l=i(67374),m=i.n(l),c=i(8516),r=i(1211),u=i(9195),E=i(47172),g=i(85372);class d{call;partyName;partyNumber;queueName;isVoicemail;iconClass;icon;description;via;duration;isToday;time;dateRelative;callTypeTitle;constructor(v){this.call=v,this.partyName=function f(T){return(T.party??"").replace(/\s*->\s*VM\s*$/,"").replace(T.partyNumber,"").trim()}(this.call)||this.call.partyNumber,this.partyNumber=this.partyName===this.call.partyNumber?"":this.call.partyNumber,this.isVoicemail=this.call.partyDnType===r.Jhl.SpecialMenu,this.iconClass=p[this.call.callType],this.icon=C[this.call.callType],this.via=D(this.call),this.queueName=this.call.title,this.description=function P(T){return[[T.title,m()(T.startTime).format("L LT"),h(T.duration)].filter(Boolean).join(", "),D(T)].filter(Boolean).join(" ")}(this.call),this.duration=h(this.call.duration),this.isToday=m()().isSame(m()(this.call.startTime),"day"),this.time=m()(this.call.startTime).format("LT"),this.dateRelative=(0,g.P)(this.call.startTime),this.callTypeTitle=E.zM[this.call.callType]}}const p={[u.r.Received]:"fillIconBlue received",[u.r.Outgoing]:"fillIconGreen outgoing",[u.r.Missed]:"fillIconRed missed",[u.r.Abandoned]:"fillIconRed missed",[u.r.AllCalls]:""},C={[u.r.Received]:c.T8X,[u.r.Outgoing]:c.ZWL,[u.r.Missed]:c.EGT,[u.r.Abandoned]:c.Q3b,[u.r.AllCalls]:void 0};function D(T){return T.viaParty?`via ${T.viaParty} ${T.viaPartyNumber}`:""}function h(T){if(!T||T<=0)return"";const v=m().duration(T,"seconds");return v.format(v.hours()?"HH:mm:ss":"H:m:ss").replace(/^0:/,"")}},81654(O,M,i){i.d(M,{callHistoryRoutes:()=>ke});var l=i(85802),m=i(17705),c=i(32271),r=i(91473),u=i(16444),E=i(20284),g=i(67202),d=i(1211),f=i(18530),p=i(57786),C=i(25558),D=i(18810),P=i(7673),h=i(983),T=i(88141),v=i(91413),b=i(9195),B=i(96106);let H=(()=>{class n{phoneService=(0,l.WQX)(E.u);myPhoneService=(0,l.WQX)(u.gx);phonebook=(0,l.WQX)(r.m);refreshSbj=new f.B;refresh$=(0,p.h)(this.refreshSbj,this.phonebook.contactsChange$,this.phoneService.numberBlacklisted$);getCallQualityReport$(e){return this.myPhoneService.get(new d.l6C({CallId:e})).pipe((0,C.n)(o=>o.Quality?.length?(0,P.of)(o.Quality[o.Quality.length-1]):(0,D.$)(()=>new v.yz({status:404}))))}deleteItem$(e){const o=e instanceof g.V?new d.Ln({IsVisible:!1,IdList:[e.id],QueueNumbers:[e.queueNumber]}):new d.BDK({Type:e.callHistoryRecordId?d.exz.IdList:d.exz.ConnectionIdList,IdList:[e.callHistoryRecordId??e.id]});return this.myPhoneService.get(o).pipe(this.withRefresh)}clear$(){const e=new d.BDK({Type:d.exz.All});return this.myPhoneService.get(e).pipe(this.withRefresh)}setDealStatus$(e,o){const s=new d.bVp({Id:e.id,QueueNumber:e.queueNumber,DealStatus:o});return this.myPhoneService.get(s).pipe(this.withRefresh)}addToContact$(e){return this.phonebook.addToContact(e)}blockNumber$(e){return this.phoneService.blockNumber$(e)}invalidateCounters$(e){return this.myPhoneService.myPhoneSession.pipe((0,C.n)(o=>((e===b.r.AllCalls||e===b.r.Abandoned)&&o.renewAmountOfAbandonedQueueCallsThatUserSaw(),e===b.r.AllCalls||e===b.r.Missed?o.get(new d.Hi0):h.w)),(0,B.A4)())}withRefresh=e=>e.pipe((0,T.M)(()=>this.refreshSbj.next()));static \u0275fac=function(o){return new(o||n)};static \u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var F=i(38601),L=i(89417),at=i(59882),U=i(93049),st=i(18054),ct=i(68845),W=i(68580),rt=i(37199),S=i(68018),K=i(68521),z=i(20496),V=i(96354),dt=i(44668),_t=i(96697),pt=i(5964),R=i(89079),J=i(22429),mt=i(62175),ut=i(54743),j=i(58689),y=i(8516),Z=i(48661),Ct=i(65562),X=i(46062),ht=i(33971),gt=i(13499),ft=i(90394),w=i(18451),k=i(9055),yt=i(46579),vt=i(95);function bt({call:n}
1,a,e){return{text:"_i18n.Delete",key:"delete-call",visible:(0,c.EW)(()=>!!n()?.canBeDeleted),execute:(0,w.l)(()=>e.confirmDeletion("_i18n.CallHistory_DeleteConfirmMessage").pipe((0,C.n)(()=>a.deleteItem$(n()))),e),icon:y.TBR}}function xt({call:n},a,e){return{text:"_i18n.CQReportShowTitle",key:"show-call-quality-report",visible:(0,c.EW)(()=>{const{hasQualityRecords:o,callHistoryRecordId:s}=n()??{};return!(!o||!s)}),execute:(0,w.l)(()=>a.getCallQualityReport$(n().callHistoryRecordId).pipe((0,C.n)(o=>e.showDialog(Ct.n,{qualityReport:o}))),e),icon:y.e1w,onlyMenu:!0}}function Mt({phoneNumber:n},a,e){return{text:"_i18n.DialerEditAndCall",key:"edit-and-call",visible:(0,c.EW)(()=>!!n()),execute:(0,w.l)(()=>a.editBeforeCall(n()),e),icon:y.bcf,onlyMenu:!0}}function Tt({phoneNumber:n,contact:a,allowBlockCalls:e},o,s){return{text:"_i18n.BlockNumber",key:"block-number",visible:(0,c.EW)(()=>{const _=a(),x=n();return e()&&(_?.type!==X.eE.Extension||x!==_?.extensionNumber)&&_?.type!==X.eE.SystemExtension&&ht.TJ.isValidPhoneNumber(x)}),execute:(0,w.l)(()=>o.blockNumber$(n()),s),icon:y.MAP,onlyMenu:!0}}const q="mark-as-not-dealt",tt="mark-as-dealing",et="mark-as-dealt",Dt=[q,tt,et];function nt({call:n},a,e){return[{text:"_i18n.AbandonedQueueCall_MarkAsNotDealtWith",key:q,visible:(0,c.EW)(()=>n()instanceof g.V),disabled:(0,c.EW)(()=>n()?.dealStatus===d.oZY.NotDealt),execute:(0,w.l)(()=>a.setDealStatus$(n(),d.oZY.NotDealt),e),icon:y.H5B,iconClass:(0,c.EW)(()=>n()?.dealStatus===d.oZY.NotDealt?"fillIconRed":"")},{text:"_i18n.AbandonedQueueCall_MarkAsDealingWith",key:tt,visible:(0,c.EW)(()=>n()instanceof g.V),disabled:(0,c.EW)(()=>n()?.dealStatus===d.oZY.Dealing),execute:(0,w.l)(()=>a.setDealStatus$(n(),d.oZY.Dealing),e),icon:y.DxU,iconClass:(0,c.EW)(()=>n()?.dealStatus===d.oZY.Dealing?"fillIconOrange":"")},{text:"_i18n.AbandonedQueueCall_MarkAsDealtWith",key:et,visible:(0,c.EW)(()=>n()instanceof g.V),disabled:(0,c.EW)(()=>n()?.dealStatus===d.oZY.Dealt),execute:(0,w.l)(()=>a.setDealStatus$(n(),d.oZY.Dealt),e),icon:y.Jlk,iconClass:(0,c.EW)(()=>n()?.dealStatus===d.oZY.Dealt?"fillIconGreen":"")}]}function it({call:n,allowBlockCalls:a,isChatEnabled:e},o=(0,l.WQX)(E.u),s=(0,l.WQX)(ft.e),_=(0,l.WQX)(vt.V),x=(0,l.WQX)(r.m),$=(0,l.WQX)(H),I=(0,l.WQX)(F.B),$e=(0,l.WQX)(gt.$),Ge=(0,l.WQX)(S.c$)){const N=(0,c.EW)(()=>n()?.partyNumber||""),G=(0,c.EW)(()=>n()?.ext),Le=(0,R.ot)(_.isSmsAvailable$,{initialValue:!1});return[xt({call:n},$,I),(0,k.pv)({phoneNumber:N,contact:G},o,I),Mt({phoneNumber:N},$e,I),(0,yt.A)({phoneNumber:N,contact:G},x,I),(0,k.HJ)({contact:G,isChatEnabled:e},s,I),(0,k.yC)({contact:G,isSmsAvailable:Le},_,Ge,I),Tt({phoneNumber:N,contact:G,allowBlockCalls:a},o,I),bt({call:n},$,I),...nt({call:n},$,I)]}var Et=i(94579),Pt=i(47548),t=i(35547);const Ot=(n,a)=>a.key;function Rt(n,a){if(1&n&&(t.nrm(0,"lucide-icon",17),t.nI1(1,"translate")),2&n){const e=t.XpG(2);t.HbH(e.iconClass),t.Y8G("img",a)("title",t.bMT(1,4,e.callTypeTitle))}}function It(n,a){if(1&n&&(t.nrm(0,"lucide-icon",6),t.nI1(1,"translate")),2&n){const e=t.XpG(3);t.Y8G("img",e.Voicemail)("title",t.bMT(1,2,"_i18n.Voicemail"))}}function Bt(n,a){if(1&n&&t.nrm(0,"span",11),2&n){const e=t.XpG(2);t.Y8G("truncatedText",e.queueName)}}function At(n,a){if(1&n&&(t.j41(0,"span",13),t.nI1(1,"translate"),t.nrm(2,"lucide-icon",15),t.k0s()),2&n){const e=a;t.Y8G("title",t.bMT(1,5,e.text)),t.BMQ("data-qa",e.key+"-activated"),t.R7$(2),t.HbH(null==e.iconClass?null:e.iconClass()),t.Y8G("img",e.icon)}}function wt(n,a){if(1&n){const e=t.RV6();t.nrm(0,"app-avatar",0),t.j41(1,"span",1),t.nrm(2,"span",2)(3,"span",3),t.k0s(),t.j41(4,"span",4),t.nVh(5,Rt,2,6,"lucide-icon",5),t.nVh(6,It,2,4,"lucide-icon",6),t.j41(7,"small",7),t.nrm(8,"span",8)(9,"span",9)(10,"span",10),t.nVh(11,Bt,1,1,"span",11),t.k0s()(),t.j41(12,"div",12),t.nVh(13,At,3,7,"span",13),t.j41(14,"button",14),t.nI1(15,"translate"),t.bIt("click",function(){l.eBV(e);const s=t.XpG(2);return l.Njj(s.callAction.execute())}),t.nrm(16,"lucide-icon",15),t.k0s(),t.j41(17,"button",16),t.bIt("click",function(s){l.eBV(e);const _=t.XpG(2);
1return l.Njj(_.showMoreClicked.emit(s))}),t.nrm(18,"lucide-icon",15),t.k0s()()}if(2&n){let e,o;const s=t.XpG(),_=t.XpG(),x=s.call.callType===_.CallHistoryType.Abandoned;t.Y8G("ext",s.call.ext),t.R7$(2),t.Y8G("truncatedText",s.call.party),t.R7$(),t.Y8G("truncatedText",s.partyNumber),t.R7$(2),t.vxM((e=s.icon)?5:-1,e),t.R7$(),t.vxM(s.isVoicemail?6:-1),t.R7$(2),t.Y8G("appDateTime",s.call.startTime),t.R7$(),t.Y8G("truncatedText",s.duration),t.R7$(),t.Y8G("truncatedText",s.via),t.R7$(),t.vxM(x&&s.queueName?11:-1),t.R7$(2),t.vxM((o=_.abandonedCallActiveStatusAction())?13:-1,o),t.R7$(),t.Y8G("title",t.bMT(15,16,_.callAction.text)),t.BMQ("data-qa",_.callAction.key+"-button"),t.R7$(2),t.HbH(_.callAction.iconClass),t.Y8G("img",_.callAction.icon),t.R7$(2),t.Y8G("img",_.Ellipsis)}}function Ht(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",24),t.nI1(1,"translate"),t.bIt("click",function(){l.eBV(e);const s=t.XpG().$implicit;return l.Njj(s.execute())}),t.nrm(2,"lucide-icon",15),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.Y8G("disabled",null==e.disabled?null:e.disabled())("title",t.bMT(1,6,e.text)),t.BMQ("data-qa",e.key),t.R7$(2),t.HbH(null==e.iconClass?null:e.iconClass()),t.Y8G("img",e.icon)}}function St(n,a){if(1&n&&t.nVh(0,Ht,3,8,"button",23),2&n){const e=a.$implicit;t.vxM(e.visible()&&!e.onlyMenu?0:-1)}}function kt(n,a){if(1&n&&(t.nrm(0,"app-avatar",18),t.j41(1,"span",19),t.EFF(2),t.j41(3,"span",20),t.EFF(4),t.k0s()(),t.nrm(5,"app-long-arrow-down-light-icon"),t.j41(6,"small",21),t.EFF(7),t.k0s(),t.j41(8,"div",22),t.Z7z(9,St,1,1,null,null,Ot),t.k0s()),2&n){const e=t.XpG(),o=t.XpG();t.Y8G("ext",e.call.ext),t.R7$(2),t.SpI(" ",e.call.party," "),t.R7$(2),t.JRh(e.call.partyNumber),t.R7$(),t.HbH(e.iconClass),t.R7$(2),t.JRh(e.description),t.R7$(2),t.Dyx(o.availableActions)}}function $t(n,a){if(1&n&&t.nVh(0,wt,19,18)(1,kt,11,6),2&n){const e=t.XpG();t.vxM(e.isNewDesign()?0:1)}}let Gt=(()=>{class n{isNewDesign=(0,l.WQX)(j.T);isChatEnabled=(0,m.hFB)(!1);allowBlockCalls=(0,m.hFB)(!1);call=m.hFB.required();showMoreClicked=(0,m.CGW)();deleteClicked=(0,m.CGW)();viewModel=(0,c.EW)(()=>new Z.iH(this.call()));CallHistoryType=b.r;Ellipsis=y.gyB;Voicemail=y.c2U;availableActions=it({call:this.call,allowBlockCalls:this.allowBlockCalls,isChatEnabled:this.isChatEnabled});callAction=this.availableActions.find(e=>e.key===k.pj);abandonedCallActiveStatusAction=(0,c.EW)(()=>this.availableActions.find(e=>Dt.includes(e.key)&&e.disabled?.()));static \u0275fac=function(o){return new(o||n)};static \u0275cmp=t.VBU({type:n,selectors:[["app-call-history-item"]],inputs:{isChatEnabled:[1,"isChatEnabled"],allowBlockCalls:[1,"allowBlockCalls"],call:[1,"call"]},outputs:{showMoreClicked:"showMoreClicked",deleteClicked:"deleteClicked"},decls:1,vars:1,consts:[["data-qa","avatar","size","s",3,"ext"],[1,"name","d-flex","align-items-baseline","gap-1","mw-0"],[3,"truncatedText"],[1,"number","ms-1",3,"truncatedText"],[1,"call-description","d-flex","flex-row","align-items-baseline","gap-2","mw-0"],[3,"img","class","title"],[1,"fillIconBlue",3,"img","title"],[1,"text-truncate"],["data-qa","date-time","format","dateAndTime",3,"appDateTime"],["data-qa","duration",3,"truncatedText"],["data-qa","via-text",3,"truncatedText"],["data-qa","queue",3,"truncatedText"],[1,"toolbar","d-flex","align-items-center"],[1,"me-2",3,"title"],["type","button",1,"btn","btn-plain","btn-icon",3,"click","title"],[3,"img"],["data-qa","show-more","type","button",1,"btn","btn-plain","btn-icon",3,"click"],[3,"img","title"],["data-qa","avatar",3,"ext"],[1,"name","text-md","text-truncate"],[1,"number","text-md","text-truncate"],[1,"call-description","text-truncate"],[1,"toolbar","d-flex","flex-nowrap"],["type","button",1,"btn","btn-plain","btn-icon",3,"disabled","title"],["type","button",1,"btn","btn-plain","btn-icon",3,"click","disabled","title"]],template:function(o,s){if(1&o&&t.nVh(0,$t,2,1),2&o){let _;t.vxM((_=s.viewModel())?0:-1,_)}},dependencies:[mt.f,ut.g,y.flO,y.WGl,Et._,Pt.N,S.D9],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:grid;grid-template-columns:auto var(--svg-size) 1fr auto;grid-column-gap:var(--spacer-xs);align-items:center;grid-template-areas:"avatar name name toolbar" "avatar icon call-description toolbar";border-bottom:1px solid var(--border-color)}app-long-arrow-down-light-icon[_ngcontent-%COMP%]{grid-area:icon;--svg-vertical-align: baseline}app-long-arrow-down-light-icon.received[_ngcontent-%COMP%]     svg{transform:rotate(45deg)}app-long-arrow-down-light-icon.outgoing[_ngcontent-%COMP%]     svg{transform:rotate(225deg)}app-long-arrow-down-light-icon.missed[_ngcontent-%COMP%]     svg{transform:rotate(45deg)}
1app-avatar[_ngcontent-%COMP%]{grid-area:avatar}.name[_ngcontent-%COMP%]{grid-area:name}.call-description[_ngcontent-%COMP%]{grid-area:call-description;color:var(--text-hint);--svg-size: var(--svg-size-xs)}.call-description[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:empty):not(:first-child):before{content:"\\2022";display:inline-block;padding:0 var(--spacer-xs)}.toolbar[_ngcontent-%COMP%]{grid-area:toolbar}.new-design   [_nghost-%COMP%]{padding:var(--spacer-s);border-radius:var(--border-radius);cursor:pointer;border-bottom:none;grid-template-columns:auto 1fr auto;grid-template-areas:"avatar name toolbar" "avatar call-description toolbar"}.new-design   [_nghost-%COMP%]   .name[_ngcontent-%COMP%]{font-weight:var(--font-weight-bold)}.new-design   [_nghost-%COMP%]   .name[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{font-weight:400;color:var(--text-hint);font-size:var(--font-size)}[data-theme=dark].new-design   [_nghost-%COMP%]   .voicemail-icon[_ngcontent-%COMP%]{--svg-color: var(--bg-secondary-variant)}']})}return n})();var ot=i(29102),lt=i(91968),Q=i(82529),Lt=i(51667),jt=i(75294);const Nt=["scrollBox"],Ft=["callItemMenu"],Wt=(n,a)=>a.id,Vt=(n,a)=>a.key;function Xt(n,a){if(1&n){const e=t.RV6();t.j41(0,"app-call-history-item",6),t.bIt("click",function(){const s=l.eBV(e).$implicit,_=t.XpG(3);return l.Njj(_.onCallItemSingleClick(s))})("dblclick",function(){const s=l.eBV(e).$implicit,_=t.XpG(3);return l.Njj(_.onCallItemDoubleClick(s))})("contextmenu",function(s){const _=l.eBV(e).$implicit,x=t.XpG(3);return l.Njj(x.showContextMenu(_,s))})("showMoreClicked",function(s){const _=l.eBV(e).$implicit,x=t.XpG(3);return l.Njj(x.showContextMenu(_,s))}),t.k0s()}if(2&n){const e=a.$implicit,o=t.XpG(3);t.AVh("selected",o.isCallSelected(e)),t.Y8G("call",e)("isChatEnabled",o.isChatEnabled())("allowBlockCalls",o.allowBlockCalls())}}function Qt(n,a){if(1&n&&t.nrm(0,"lucide-icon",8),2&n){const e=t.XpG(2).$implicit;t.Y8G("img",e.icon)}}function Yt(n,a){if(1&n&&(t.nVh(0,Qt,1,1,"lucide-icon",8),t.j41(1,"span"),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n){const e=t.XpG().$implicit,o=t.XpG(3);t.vxM(o.isNewDesign()?0:-1),t.R7$(),t.BMQ("data-qa",e.key),t.R7$(),t.JRh(t.bMT(3,3,e.text))}}function Ut(n,a){if(1&n){const e=t.RV6();t.DNE(0,Yt,4,5,"ng-template",7),t.bIt("execute",function(){const s=l.eBV(e).$implicit;return l.Njj(s.execute())})}if(2&n){const e=a.$implicit;t.Y8G("visible",e.visible()&&!(null!=e.disabled&&e.disabled()))}}function Kt(n,a){if(1&n){const e=t.RV6();t.j41(0,"div",2,0)(2,"div",3),t.bIt("infiniteScrollCallback",function(){l.eBV(e);const s=t.XpG(2);return l.Njj(s.pager.nextPage())}),t.Z7z(3,Xt,1,5,"app-call-history-item",4,Wt),t.k0s()(),t.j41(5,"context-menu",null,1),t.Z7z(7,Ut,1,1,null,5,Vt),t.k0s()}if(2&n){const e=t.XpG(2);t.AVh("scrollable-padding-2",e.isNewDesign()),t.R7$(2),t.HbH(e.isNewDesign()?"d-flex flex-column gap-1":""),t.Y8G("infiniteScrollContainer","#scrollBox")("infiniteScrollDistance",1)("infiniteScrollDisabled",e.pager.disabled()),t.R7$(),t.Dyx(e.callHistoryItems()),t.R7$(4),t.Dyx(e.contextMenuActions)}}function zt(n,a){1&n&&t.nrm(0,"app-server-error",9),2&n&&t.Y8G("message",a)}function Jt(n,a){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"_i18n.NoCallsFound")," "))}function Zt(n,a){if(1&n&&(t.j41(0,"app-message-centered"),t.nVh(1,zt,1,1,"app-server-error",9)(2,Jt,3,3,"span"),t.k0s()),2&n){let e;const o=t.XpG(2);t.R7$(),t.vxM((e=o.pager.error())?1:2,e)}}function qt(n,a){1&n&&t.nVh(0,Kt,9,7)(1,Zt,3,1,"app-message-centered"),2&n&&t.vxM(a.length?0:1)}let Y=(()=>{class n{myPhoneService=(0,l.WQX)(u.gx);callHistory=(0,l.WQX)(H);menuService=(0,l.WQX)(ot.F);destroy$=(0,l.WQX)(l.abz);callType=m.hFB.required();search=m.hFB.required();selectedCall=(0,m.hFB)(void 0);callClicked=(0,m.CGW)();scrollBox;contextMenu;isNewDesign=(0,l.WQX)(j.T);contextMenuCall=(0,l.vPA)(void 0);isChatEnabled=(0,R.ot)(this.myPhoneService.myPhoneSession.pipe((0,C.n)(e=>e.systemParameters$),(0,V.T)(e=>e.ChatIsEnabled)),{initialValue:!1});allowBlockCalls=(0,R.ot)(this.myPhoneService.myPhoneSession.pipe((0,C.n)(e=>e.allowBlockCalls$)),{initialValue:!1});pager=new z.i(this.myPhoneService,new K.Ec,(0,R.br)(this.callType));callHistoryItems$=this.pager.items$.pipe((0,dt.t)({refCount:!1,bufferSize:1}));callHistoryItems=(0,R.ot)(this.callHistoryItems$);constructor(){(0,l.QZP)(()=>{const e=this.callType();this.scrollToTop(),this.callHistoryItems$.pipe((0,_t.s)(1),(0,pt.p)(()=>!(0,c.O8)(this.pager.error)),(0,C.n)(()=>this.callHistory.invalidateCounters$(e)),(0,R.pQ)(this.destroy$)).subscribe()}),this.callHistory.refresh$.pipe((0,R.pQ)(this.destroy$)).subscribe(()=>{this.pager.refresh()}),(0,l.QZP)(()=>{this.scrollToTop(),this.pager.search(this.search())})}showContextMenu(e,o){this.contextMenuCall.set(e),this.menuService.onContextMenu(o,e,this.contextMenu)}contextMenuActions=it({call:this.contextMenuCall,allowBlockCalls:this.allowBlockCalls,isChatEnabled:this.isChatEnabled});scrollToTop(){this.scrollBox&&(this.scrollBox.nativeElement.scrollTop=0)}isCallSelected(e){return e.id===this.selectedCall()?.id||e.id===this.menuService.selectedId}selectCall(e){this.isCallSelected(e)||(this.contextMenuCall.set(e),this.callClicked.emit
1(e))}onCallItemSingleClick(e){this.selectCall(e)}onCallItemDoubleClick(e){this.selectCall(e),this.contextMenuActions.find(s=>s.key===k.pj)?.execute()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=t.VBU({type:n,selectors:[["app-call-list"]],viewQuery:function(o,s){if(1&o&&t.GBs(Nt,5)(Ft,5),2&o){let _;t.mGM(_=t.lsd())&&(s.scrollBox=_.first),t.mGM(_=t.lsd())&&(s.contextMenu=_.first)}},inputs:{callType:[1,"callType"],search:[1,"search"],selectedCall:[1,"selectedCall"]},outputs:{callClicked:"callClicked"},decls:1,vars:1,consts:[["scrollBox",""],["callItemMenu",""],["id","scrollBox",1,"h-100","scrollable"],["infiniteScroll","",3,"infiniteScrollCallback","infiniteScrollContainer","infiniteScrollDistance","infiniteScrollDisabled"],["data-qa","call-history-item",1,"selectable",3,"call","isChatEnabled","allowBlockCalls","selected"],["contextMenuItem","",3,"visible"],["data-qa","call-history-item",1,"selectable",3,"click","dblclick","contextmenu","showMoreClicked","call","isChatEnabled","allowBlockCalls"],["contextMenuItem","",3,"execute","visible"],[1,"me-1",3,"img"],[1,"text-error",3,"message"]],template:function(o,s){if(1&o&&t.nVh(0,qt,2,1),2&o){let _;t.vxM((_=s.callHistoryItems())?0:-1,_)}},dependencies:[J.D,Gt,lt.J,Q.z,Lt.E,jt.J,y.flO,y.WGl,S.D9],encapsulation:2,changeDetection:0})}return n})();var A=i(47172),te=i(49769),ee=i(1438),ne=i(57241);const ie=["scrollBox"],oe=(n,a)=>a.dateTitle,le=(n,a)=>a.call.id,ae=(n,a)=>a.key;function se(n,a){if(1&n){const e=t.RV6();t.j41(0,"app-manage-contact-button",3),t.bIt("click",function(){l.eBV(e);const s=t.XpG(),_=t.XpG();return l.Njj(_.deleteCall(s))}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("icon",e.Trash2)}}function ce(n,a){if(1&n&&t.nrm(0,"lucide-icon",20),2&n){const e=t.XpG().$implicit;t.HbH(e.iconClass),t.Y8G("img",a)}}function re(n,a){if(1&n&&(t.nrm(0,"lucide-icon",17),t.nI1(1,"translate")),2&n){const e=t.XpG(8);t.Y8G("img",e.Voicemail)("title",t.bMT(1,2,"_i18n.Voicemail"))}}function de(n,a){if(1&n&&(t.j41(0,"div",13)(1,"span",14),t.nVh(2,ce,1,3,"lucide-icon",15),t.j41(3,"h6",16),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nVh(6,re,2,4,"lucide-icon",17),t.j41(7,"small",18),t.EFF(8),t.k0s()(),t.j41(9,"small",19),t.EFF(10),t.k0s()()),2&n){let e;const o=a.$implicit;t.R7$(2),t.vxM((e=o.icon)?2:-1,e),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 _e(n,a){if(1&n&&(t.j41(0,"div",10)(1,"h5",11),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"hr",12),t.k0s(),t.Z7z(5,de,11,7,"div",13,le)),2&n){const e=a.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,e.dateTitle)),t.R7$(3),t.Dyx(e.calls)}}function pe(n,a){if(1&n){const e=t.RV6();t.j41(0,"h4",6),t.nrm(1,"lucide-icon",7),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",8,0)(6,"div",9),t.bIt("infiniteScrollCallback",function(){l.eBV(e);const s=t.XpG(2);return l.Njj(s.nextPage())}),t.Z7z(7,_e,7,3,null,null,oe),t.k0s()()}if(2&n){const e=t.XpG(),o=t.XpG(),s=t.XpG(3);t.R7$(),t.Y8G("img",s.History),t.R7$(),t.JRh(t.bMT(3,5,"_i18n.CallHistory")),t.R7$(4),t.Y8G("infiniteScrollContainer","#scrollBox")("infiniteScrollDistance",1)("infiniteScrollDisabled",o.disabled()),t.R7$(),t.Dyx(e)}}function me(n,a){1&n&&(t.j41(0,"p",4),t.nrm(1,"app-server-error",21),t.k0s()),2&n&&(t.R7$(),t.Y8G("message",a))}function ue(n,a){1&n&&t.nrm(0,"app-message-centered",5)}function Ce(n,a){if(1&n&&t.nVh(0,pe,9,7)(1,me,2,1,"p",4)(2,ue,1,0,"app-message-centered",5),2&n){let e;const o=t.XpG();t.vxM(a.length?0:(e=o.error())?1:2,e)}}function he(n,a){if(1&n&&t.nVh(0,Ce,3,1),2&n){let e;const o=t.XpG(3);t.vxM((e=o.callHistoryList())?0:-1,e)}}function ge(n,a){if(1&n&&t.nVh(0,he,1,1),2&n){let e;const o=t.XpG(2);t.vxM((e=o.pager())?0:-1,e)}}function fe(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",25),t.nI1(1,"translate"),t.bIt("click",function(){l.eBV(e);const s=t.XpG().$implicit;return l.Njj(s.execute())}),t.nrm(2,"lucide-icon",20),t.j41(3,"span"),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG().$implicit;t.Y8G("disabled",null==e.disabled?null:e.disabled())("title",t.bMT(1,7,e.text)),t.BMQ("data-qa",e.key),t.R7$(2),t.HbH(null==e.iconClass?null:e.iconClass()),t.Y8G("img",e.icon),t.R7$(2),t.JRh(t.bMT(5,9,e.text))}}function ye(n,a){1&n&&t.nVh(0,fe,6,11,"button",24),2&n&&t.vxM(a.$implicit.visible()?0:-1)}function ve(n,a){if(1&n&&(t.j41(0,"h4",22),t.nrm(1,"lucide-icon",7),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",23),t.Z7z(5,ye,1,1,null,null,ae),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("img",e.Phone),t.R7$(),t.JRh(t.bMT(3,2,"_i18n.CallState")),t.R7$(3),t.Dyx(e.abandonedCallActions)}}function be(n,a){if(1&n){const e=t.RV6();t.j41(0,"app-contact-panel-header",1),t.bIt("closed",function(){l.eBV(e);const s=t.XpG();
1return l.Njj(s.closed.emit())}),t.nVh(1,se,1,1,"app-manage-contact-button",2),t.k0s(),t.nVh(2,ge,1,1)(3,ve,7,4)}if(2&n){const e=a,o=t.XpG();t.Y8G("contact",o.contact())("phoneNumber",o.partyNumber()),t.R7$(),t.vxM(e.canBeDeleted?1:-1),t.R7$(),t.vxM(e.callType!==o.CallHistoryType.Abandoned?2:3)}}let xe=(()=>{class n{myPhoneService=(0,l.WQX)(u.gx);callHistory=(0,l.WQX)(H);modalService=(0,l.WQX)(F.B);isNewDesign=(0,l.WQX)(j.T);History=y.BZB;Voicemail=y.c2U;Phone=y.bcf;Trash2=y.TBR;CallHistoryType=b.r;call=m.hFB.required();closed=(0,m.CGW)();scrollBox=(0,m.ebz)("scrollBox");constructor(){(0,l.QZP)(()=>{this.call(),(0,c.O8)(this.scrollBox)?.nativeElement.scroll({top:0})})}contact=(0,c.EW)(()=>{const e=this.call()?.ext;return e&&null==e.dnType&&e.type===X.eE.Extension&&(e.dnType=d.Jhl.Extension),e});partyNumber=(0,c.EW)(()=>this.call()?.partyNumber??"");abandonedCallActions=nt({call:this.call},this.callHistory,this.modalService);pager=(0,c.EW)(()=>{const e=this.contact(),o=this.partyNumber(),s=new z.i(this.myPhoneService,new K.Ec(e),(0,P.of)(b.r.AllCalls));return s.search(o),s});callHistoryList=(0,R.ot)((0,R.br)(this.pager).pipe((0,C.n)(e=>e.items$),(0,V.T)(e=>{const o=e.reduce((s,_)=>{const x=new Z.iH(_);return(s[x.dateRelative]??=[]).push(x),s},{});return Object.entries(o).map(([s,_])=>({dateTitle:s,calls:_}))})));deleteCall(e){this.modalService.confirmDeletion("_i18n.CallHistory_DeleteConfirmMessage").pipe((0,C.n)(()=>this.callHistory.deleteItem$(e))).subscribe({error:o=>this.modalService.error(o)})}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=t.VBU({type:n,selectors:[["app-call-contact-history"]],viewQuery:function(o,s){1&o&&t.wEZ(s.scrollBox,ie,5),2&o&&t.NyB()},inputs:{call:[1,"call"]},outputs:{closed:"closed"},decls:1,vars:1,consts:[["scrollBox",""],["data-qa","contact-panel-header",3,"closed","contact","phoneNumber"],["data-qa","delete-call","text","_i18n.RecentsDeleteCallFromHistory",3,"icon"],["data-qa","delete-call","text","_i18n.RecentsDeleteCallFromHistory",3,"click","icon"],[1,"text-error","px-4"],["description","_i18n.ContactCallHistoryIsEmpty"],[1,"m-4"],[1,"me-1",3,"img"],["id","scrollBox",1,"flex-1","scrollable","py-0","scrollable-padding-4"],["infiniteScroll","",1,"d-flex","flex-column","gap-3",3,"infiniteScrollCallback","infiniteScrollContainer","infiniteScrollDistance","infiniteScrollDisabled"],[1,"d-flex","align-items-center","gap-2"],["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","call-description"],[3,"img","class"],[1,"m-0","p-0"],[1,"fillIconBlue","voicemail-icon",3,"img","title"],["data-qa","duration",1,"text-hint"],[1,"text-hint","text-truncate"],[3,"img"],[3,"message"],[1,"p-4","m-0"],["data-qa","abandoned-call-actions",1,"abandoned-actions","border-bottom"],["type","button",1,"btn","btn-border","opacity-100",3,"disabled","title"],["type","button",1,"btn","btn-border","opacity-100",3,"click","disabled","title"]],template:function(o,s){if(1&o&&t.nVh(0,be,4,4),2&o){let _;t.vxM((_=s.call())?0:-1,_)}},dependencies:[J.D,lt.J,y.flO,y.WGl,ee.v,ne.d,Q.z,S.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;width:100%;height:100%;flex-grow:1;position:relative;
1min-width:200px;padding-bottom:var(--spacer-xl);background:var(--background)}[_nghost-%COMP%]   .status-text[_ngcontent-%COMP%]{border-radius:var(--border-radius);padding:var(--spacer-xs) var(--spacer-s);background-color:var(--input-background)}[_nghost-%COMP%]   .status-text[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%]   .scrollable[_ngcontent-%COMP%]{min-height:100px}[_nghost-%COMP%]   .call-description[_ngcontent-%COMP%]{--svg-size: var(--svg-size-xs)}[_nghost-%COMP%]   .abandoned-actions[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min-content,200px));gap:var(--spacer);align-items:center;padding:0 var(--spacer-l) var(--spacer-l)}@media(max-width:575.98px){[_nghost-%COMP%]   .abandoned-actions[_ngcontent-%COMP%]{justify-content:center}}"],changeDetection:0})}return n})();const Me=(n,a)=>a.routerLink;function Te(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",11),t.nI1(1,"translate"),t.bIt("click",function(){l.eBV(e);const s=t.XpG(2);return l.Njj(s.clearCallHistory())}),t.nrm(2,"lucide-icon",12),t.k0s()}if(2&n){const e=t.XpG(2),o=t.r8f(1);t.HbH(t.VkB("btn btn-icon ",o)),t.Y8G("title",t.bMT(1,5,"_i18n.ClearCallHistory")),t.R7$(2),t.Y8G("img",e.Trash2)}}function De(n,a){if(1&n&&t.nVh(0,Te,3,7,"button",10),2&n){const e=t.XpG();t.vxM(e.showClearHistory()?0:-1)}}function Ee(n,a){1&n&&(t.j41(0,"h3",1),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"_i18n.Calls")))}function Pe(n,a){1&n&&t.eu8(0,13)}function Oe(n,a){if(1&n&&t.nrm(0,"lucide-icon",7),2&n){const e=t.XpG();t.Y8G("img",e.Filter)}}function Re(n,a){if(1&n&&(t.j41(0,"li",15)(1,"a",16),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n){const e=a.$implicit;t.R7$(),t.Y8G("routerLink",e.routerLink),t.R7$(),t.JRh(t.bMT(3,2,e.title))}}function Ie(n,a){if(1&n&&(t.j41(0,"ul",14),t.Z7z(1,Re,4,4,"li",15,Me),t.k0s()),2&n){const e=t.XpG(),o=t.r8f(0);t.AVh("dropdown-menu-right",!o),t.R7$(),t.Dyx(e.callFilterOptions)}}function Be(n,a){if(1&n){const e=t.RV6();t.j41(0,"button",18),t.nI1(1,"translate"),t.bIt("click",function(){l.eBV(e);const s=t.XpG(2);return l.Njj(s.navigateToCallForwarding())}),t.nrm(2,"lucide-icon",12),t.k0s()}if(2&n){const e=t.XpG(2),o=t.r8f(1);t.HbH(t.VkB("btn btn-icon ",o)),t.Y8G("title",t.bMT(1,5,"_i18n.TitlePresence")),t.R7$(2),t.Y8G("img",e.settingIcon)}}function Ae(n,a){if(1&n&&t.nVh(0,Be,3,7,"button",17),2&n){const e=t.XpG();t.vxM(e.forwardingRulesVisible()?0:-1)}}function we(n,a){if(1&n){const e=t.RV6();t.j41(0,"app-call-contact-history",21),t.vzT("leave"),t.bIt("closed",function(){l.eBV(e);const s=t.XpG(2);return l.Njj(s.selectedCall.set(void 0))}),t.k0s()}2&n&&t.Y8G("call",a)}function He(n,a){if(1&n&&t.nrm(0,"app-message-centered",22),2&n){const e=t.XpG(2);t.AVh("d-none",e.hideSelectContactMessage()),t.Y8G("icon",e.Phone)("description",e.callType()===e.CallHistoryType.Abandoned?"_i18n.SelectContactToViewAbandonedHistory":"_i18n.SelectContactToViewCallHistory")}}function Se(n,a){if(1&n&&t.nVh(0,we,1,1,"app-call-contact-history",19)(1,He,1,4,"app-message-centered",20),2&n){let e;const o=t.XpG();t.vxM((e=o.selectedCall())?0:1,e)}}const ke=[{path:"",redirectTo:"all",pathMatch:"full"},{path:":callFilter",component:(()=>{class n{callHistory=(0,l.WQX)(H);modalService=(0,l.WQX)(F.B);myPhoneService=(0,l.WQX)(u.gx);router=(0,l.WQX)(at.Ix);isNewDesign=(0,l.WQX)(j.T);callList=(0,m.ebz)(Y);callType=m.hFB.required();title=m.hFB.required();forwardingRulesVisible=(0,R.ot)(this.myPhoneService.myPhoneSession.pipe((0,C.n)(e=>e.myInfo$),(0,V.T)(e=>e.AllowEditFwRules)));searchControl=new L.MJ("",{nonNullable:!0});showClearHistory=(0,c.EW)(()=>this.callType()===b.r.AllCalls);selectedCall=(0,l.vPA)(void 0);CallHistoryType=b.r;callFilterOptions=A.qU.map(e=>({title:A.Zc[e],routerLink:`/call_history/${e}`}));constructor(){(0,l.QZP)(()=>{const e=this.selectedCall(),o=this.callList()?.callHistoryItems();e&&this.selectedCall.set(o?.find(({id:s})=>s===e.id))})}clearCallHistory(){this.modalService.confirmDangerAction("_i18n.CallHistory_ClearConfirmMessage","_i18n.ClearCallHistory",{}).pipe((0,C.n)(()=>this.callHistory.clear$()),(0,B.Tg)(this.modalService)).subscribe()}onItemClicked(e){const o=e&&this.isNewDesign()&&e.ext;this.selectedCall.set(o?e:void 0)}navigateToCallForwarding(){this.router.navigate(["/settings/status"])}Trash2=y.TBR;Filter=y.rhG;Phone=y.bcf;settingIcon=y.wB_;hideSelectContactMessage=(0,c.EW)(()=>!this.callList()?.callHistoryItems()?.length);static \u0275fac=function(o){return new(o||n)};static \u0275cmp=t.VBU({type:n,selectors:[["app-call-history"]],viewQuery:function(o,s){1&o&&t.wEZ(s.callList,Y,5),2&o&&t.NyB()},inputs:{callType:[1,"callType"],title:[1,"title"]}
1,features:[t.Jv_([H,ot.F])],decls:18,vars:18,consts:[["clearHistory",""],["layout-header","","data-qa","title-header"],["layout-header","",3,"formControl","clearable"],["ngProjectAs","[search-prepend]",5,["","search-prepend",""],4,"ngTemplateOutlet"],["search-append","",1,"d-flex","gap-2"],["dropdown","","placement","bottom right","data-qa","filter"],["data-qa","toggle","dropdownToggle","","type","button","aria-controls","dropdown-alignment"],[1,"me-1",3,"img"],["id","dropdown-alignment","class","dropdown-menu","role","menu","aria-labelledby","button-alignment",3,"dropdown-menu-right",4,"dropdownMenu"],["layout-nav","","data-qa","call-list",3,"callClicked","search","callType","selectedCall"],["type","button","data-qa","clear-call-history",3,"class","title"],["type","button","data-qa","clear-call-history",3,"click","title"],[3,"img"],["ngProjectAs","[search-prepend]",5,["","search-prepend",""]],["id","dropdown-alignment","role","menu","aria-labelledby","button-alignment",1,"dropdown-menu"],["role","menuitem"],["routerLinkActive","active","data-qa","dropdown-item",1,"dropdown-item",3,"routerLink"],["type","button","data-qa","navigate-call-forwarding",3,"class","title"],["type","button","data-qa","navigate-call-forwarding",3,"click","title"],[1,"slide-from-right",3,"call"],["header","_i18n.SelectCall",1,"d-md-down-none",3,"d-none","icon","description"],[1,"slide-from-right",3,"closed","call"],["header","_i18n.SelectCall",1,"d-md-down-none",3,"icon","description"]],template:function(o,s){if(1&o&&(t.SS7(0)(1),t.DNE(2,De,1,1,"ng-template",null,0,t.C5r),t.j41(4,"app-layout-type4"),t.nVh(5,Ee,3,3,"h3",1),t.j41(6,"search-bar",2),t.DNE(7,Pe,1,0,"ng-container",3),t.j41(8,"div",4)(9,"div",5)(10,"button",6),t.nVh(11,Oe,1,1,"lucide-icon",7),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.DNE(14,Ie,3,2,"ul",8),t.k0s(),t.nVh(15,Ae,1,1),t.k0s()(),t.j41(16,"app-call-list",9),t.bIt("callClicked",function(x){return s.onItemClicked(x)}),t.k0s(),t.nVh(17,Se,2,1),t.k0s()),2&o){const _=t.sdS(3),x=t.bH3(s.isNewDesign());t.R7$();const $=t.bH3(x?"btn-border":"btn-plain");t.R7$(4),t.vxM(x?5:-1),t.R7$(),t.Y8G("formControl",s.searchControl)("clearable",x),t.R7$(),t.Y8G("ngTemplateOutlet",_),t.R7$(3),t.HbH(t.VkB("btn ",$," dropdown-toggle")),t.R7$(),t.vxM(x?11:-1),t.R7$(),t.SpI(" ",t.bMT(13,16,s.title())," "),t.R7$(3),t.vxM(x?15:-1),t.R7$(),t.Y8G("search",s.searchControl.value)("callType",s.callType())("selectedCall",s.selectedCall()),t.R7$(),t.vxM(x?17:-1)}},dependencies:[ct.L,L.X1,L.BC,L.l_,W.Kk,W.UL,W.hs,rt.l,U.Wk,Y,te.T3,U.wQ,xe,st.i,y.flO,y.WGl,Q.z,S.D9],encapsulation:2,changeDetection:0})}return n})(),resolve:{title:n=>{const{callFilter:a}=n.params;return(0,A.J9)(a)?A.Zc[a]:A.Zc.all},callType:n=>{const{callFilter:a}=n.params;return(0,A.J9)(a)?A.Ji[a]:A.Ji.all}}}]},29102(O,M,i){i.d(M,{F:()=>r});var l=i(85802),m=i(19499),c=i(96697);let r=(()=>{class u{contextMenuService=(0,l.WQX)(m.K);selectedId;sub;onContextMenu(g,d,f){this.sub?.unsubscribe(),this.selectedId=d.id,this.contextMenuService.show.next({contextMenu:f,event:g,item:d}),this.sub=f.close.pipe((0,c.s)(1)).subscribe(()=>{this.selectedId=void 0}),g.preventDefault(),g.stopPropagation()}ngOnDestroy(){this.sub?.unsubscribe()}static \u0275fac=function(d){return new(d||u)};static \u0275prov=l.jDH({token:u,factory:u.\u0275fac})}return u})()},71106(O,M,i){i.d(M,{A:()=>l});class l{contacts;groupName;constructor(c,r){this.contacts=c,this.groupName=r}}},54743(O,M,i){i.d(M,{g:()=>c});var l=i(35547),m=i(85802);let c=(()=>{class r{static \u0275fac=function(g){return new(g||r)};static \u0275cmp=l.VBU({type:r,selectors:[["app-long-arrow-down-light-icon"],["","app-long-arrow-down-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 256 512"],["d","m252.485 343.03-7.07-7.071c-4.686-4.686-12.284-4.686-16.971 0L145 419.887V44c0-6.627-5.373-12-12-12h-10c-6.627 0-12 5.373-12 12v375.887l-83.444-83.928c-4.686-4.686-12.284-4.686-16.971 0l-7.07 7.071c-4.686 4.686-4.686 12.284 0 16.97l116 116.485c4.686 4.686 12.284 4.686 16.971 0l116-116.485c4.686-4.686 4.686-12.284-.001-16.97z"]],template:function(g,d){1&g&&(m.qSk(),l.rj2(0,"svg",0),l.Hgh(1,"path",1),l.eux())},encapsulation:2})}return r})()},22429(O,M,i){i.d(M,{D:()=>g});var l=i(17705),m=i(35547),c=i(85802),r=i(33726),u=i(70152);let g=(()=>{class d{zone=(0,c.WQX)(c.SKi);infiniteScrollCallback=(0,l.CGW)();infiniteScrollContainer;infiniteScrollDistance=0;infiniteScrollDisabled=!1;infiniteScrollUseDocumentBottom=!1;infiniteScrollListenForEvent;zeroBased=!1;infiniteScrollParent=!1;infiniteScrollImmediateCheck=!1;elem;windowElement=window;scrollEnabled=null;checkWhenEnabled=null;container=null;scrollSubscription;sizeCheckInterval;hostProps={width:0,height:0};height(p){return isNaN(p.offsetHeight)?p.document.documentElement.clientHeight:p.offsetHeight}pageYOffset(p){return isNaN(window.scrollY)?p.document.documentElement.scrollTop:p.ownerDocument.defaultView.scrollY}offsetTop(p){if(p.getBoundingClientRect)return p.getBoundingClientRect().top+this.pageYOffset(p)}defaultHandler(){let p=0,C=0;if(this.container===this.windowElement)p=this.height(this.container)+this.pageYOffset(this.container[0].document.documentElement),C=this.offsetTop(this.elem)+this.height(this.elem);else{p=this.height(this.container);let h=0;void 0!==this.offsetTop(this.container)&&(h=this.offsetTop(this.container)),C=this.offsetTop(this.elem)-h+this.height(this.elem)}this.infiniteScrollUseDocumentBottom&&(C=this.height((this.elem[0].ownerDocument||this.elem[0].document).documentElement)),C-p<=this.height(this.container)*this.infiniteScrollDistance+(this.zeroBased?0:1)?(this.checkWhenEnabled=!0,this.scrollEnabled&&this.infiniteScrollCallback.emit()):this.checkWhenEnabled=!1}handleInfiniteScrollDisabled(p){this.scrollEnabled=!p,this.scrollEnabled&&this.checkWhenEnabled&&(this.checkWhenEnabled=!1)}changeContainer(p){void 0!==this.scrollSubscription&&(this.scrollSubscription.unsubscribe(),this.scrollSubscription=void 0),this.container=p,null!=p&&(this.scrollSubscription=(0,r.R)(p,"scroll").pipe((0,u.B)(300)).subscribe(C=>this.defaultHandler()))}handleInfiniteScrollContainer(p){if(null==p||0===p.length)return;const C=this.elem.closest(p);if(null==C)throw new Error("invalid infinite-scroll-container attribute.");this.changeContainer(C)}constructor(){const p=(0,c.WQX)(m.aKT);this.elem=p.nativeElement}ngOnChanges(p){p.infiniteScrollDisabled&&this.handleInfiniteScrollDisabled(this.infiniteScrollDisabled),p.infiniteScrollContainer&&this.handleInfiniteScrollContainer(this.infiniteScrollContainer||[])}ngAfterViewInit(){this.handleInfiniteScrollDisabled(this.infiniteScrollDisabled),this.handleInfiniteScrollContainer(this.infiniteScrollContainer||this.windowElement)}ngAfterContentInit(){const p=()=>{const C=this.elem.offsetHeight,D=this.elem.offsetWidth;(C!==this.hostProps.height||D!==this.hostProps.width)&&(this.hostProps={width:D,height:C},this.zone.run(()=>{this.defaultHandler()}))};setTimeout(()=>{p(),this.sizeCheckInterval=this.zone.runOutsideAngular(()=>setInterval(p,300))})}ngOnDestroy(){void 0!==this.scrollSubscription&&this.scrollSubscription.unsubscribe(),clearInterval(this.sizeCheckInterval)}static \u0275fac=function(C){return new(C||d)};static \u0275dir=m.FsC({type:d,selectors:[["","infiniteScroll",""]],inputs:{infiniteScrollContainer:"infiniteScrollContainer",infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollUseDocumentBottom:"infiniteScrollUseDocumentBottom",infiniteScrollListenForEvent:"infiniteScrollListenForEvent",zeroBased:"zeroBased",infiniteScrollParent:"infiniteScrollParent",infiniteScrollImmediateCheck:"infiniteScrollImmediateCheck"},outputs:{infiniteScrollCallback:"infiniteScrollCallback"},features:[m.OA$]})}return d})()},94579(O,M,i){i.d(M,{_:()=>P});var l=i(17705),m=i(35547),c=i(85802),r=i(32271),u=i(67374),E=i.n(u),g=i(68018),d=i(89079),f=i(84572),p=i(96354),C=i(25558),D=i(85372);let P=(()=>{class h{translate=(0,c.WQX)(g.c$);el=(0,c.WQX)(m.aKT);appDateTime=l.hFB.required();
1format=(0,l.hFB)("dateOrTime");datePart=(0,r.EW)(()=>(0,D.P)(this.appDateTime(),"dateOrTime"===this.format()));timePart=(0,r.EW)(()=>{const v=this.appDateTime();return"dateAndTime"===this.format()?" "+E()(v).format("LT"):""});text=(0,d.ot)((0,f.z)([(0,d.br)(this.datePart),(0,d.br)(this.timePart)]).pipe((0,C.n)(([v,b])=>this.translate.stream(v).pipe((0,p.T)(B=>B+b)))));constructor(){(0,c.QZP)(()=>{this.el.nativeElement.title=E()(this.appDateTime()).format("L LT")}),(0,c.QZP)(()=>{this.el.nativeElement.textContent=this.text()})}ngAfterViewInit(){this.el.nativeElement.classList.add("text-truncate")}static \u0275fac=function(b){return new(b||h)};static \u0275dir=m.FsC({type:h,selectors:[["","appDateTime",""]],inputs:{appDateTime:[1,"appDateTime"],format:[1,"format"]}})}return h})()},18054(O,M,i){i.d(M,{i:()=>r});var l=i(35547);const m=[[["","layout-header",""]],[["","layout-nav",""]],"*"],c=["[layout-header]","[layout-nav]","*"];let r=(()=>{class u{static \u0275fac=function(d){return new(d||u)};static \u0275cmp=l.VBU({type:u,selectors:[["app-layout-type4"]],ngContentSelectors:c,decls:6,vars:0,consts:[["layout-type4-header",""],["layout-type4-nav",""],["layout-type4-content",""]],template:function(d,f){1&d&&(l.NAR(m),l.rj2(0,"div",0),l.SdG(1),l.eux(),l.rj2(2,"div",1),l.SdG(3,1),l.eux(),l.rj2(4,"div",2),l.SdG(5,2),l.eux())},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%]{position:relative;width:100%;height:100%;background:var(--background);display:grid;grid-auto-rows:auto 1fr;grid-template-areas:"header header" "nav content";grid-template-columns:1fr 1fr}[_nghost-%COMP%]   [layout-type4-header][_ngcontent-%COMP%]{grid-area:header;background:var(--bg-primary)}[_nghost-%COMP%]   [layout-type4-header][_ngcontent-%COMP%]    >h3{line-height:var(--aside-folded-nav-height);margin:0}[_nghost-%COMP%]   [layout-type4-nav][_ngcontent-%COMP%]{grid-area:nav;overflow-y:auto;background:var(--bg-primary)}[_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]{grid-area:content;overflow-y:auto;border-left:1px solid var(--border-color);container-type:size}@media(max-width:767.98px){[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]{border-left:none;border-top:1px solid var(--border-color)}}@media(min-width:768px){[_nghost-%COMP%]{grid-template-columns:400px 1fr}}@media(max-width:767.98px){[_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]    >*:not(router-outlet){position:absolute;inset:0;width:100%;height:100%}}.new-design   [_nghost-%COMP%]   [layout-type4-header][_ngcontent-%COMP%]{background:inherit;border-bottom:1px solid var(--border-color);padding:0 var(--spacer)}.new-design   [_nghost-%COMP%]   [layout-type4-header][_ngcontent-%COMP%]:has( >*:nth-child(2)){padding-bottom:var(--spacer-l)}.new-design   [_nghost-%COMP%]   [layout-type4-nav][_ngcontent-%COMP%]{background:inherit}@media(min-width:768px){.new-design   [_nghost-%COMP%]{grid-template-columns:500px 1fr}}@media(max-width:767.98px){.new-design   [_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]{border:none}.new-design   [_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]:has( >.slide-from-right){overflow-x:hidden}.new-design   [_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]    >.slide-from-right{transition:transform .3s ease-in;transform:translate(0)}@starting-style{.new-design   [_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]    >.slide-from-right{transform:translate(100%)}}.new-design   [_nghost-%COMP%]   [layout-type4-content][_ngcontent-%COMP%]    >.slide-from-right.leave{transform:translate(100%)}.new-design   [_nghost-%COMP%]   [layout-type4-nav][_ngcontent-%COMP%]{flex:1 1 auto}}[_nghost-%COMP%]:has([layout-type4-content]:empty){grid-template-areas:"header" "nav";grid-template-columns:1fr}[_nghost-%COMP%]:has([layout-type4-content]:empty)   [layout-type4-content][_ngcontent-%COMP%]{display:none}'],changeDetection:0})}return u})()}
1,82529(O,M,i){i.d(M,{z:()=>d});var l=i(8516),m=i(68018),c=i(35547);const r=["*"];function u(f,p){if(1&f&&c.nrm(0,"lucide-icon",0),2&f){const C=c.XpG();c.Y8G("img",C.icon)}}function E(f,p){if(1&f&&(c.j41(0,"h4"),c.EFF(1),c.nI1(2,"translate"),c.k0s()),2&f){const C=c.XpG();c.R7$(),c.JRh(c.bMT(2,1,C.header))}}function g(f,p){if(1&f&&(c.j41(0,"p"),c.EFF(1),c.nI1(2,"translate"),c.k0s()),2&f){const C=c.XpG();c.R7$(),c.JRh(c.bMT(2,1,C.description))}}let d=(()=>{class f{icon;header;description;class;static \u0275fac=function(D){return new(D||f)};static \u0275cmp=c.VBU({type:f,selectors:[["app-message-centered"]],hostAttrs:[1,"w-100","h-100","d-flex","flex-column","align-items-center","justify-content-center","text-center","text-hint","hide-empty","overflow-hidden","fillIconWithTertiary"],hostVars:3,hostBindings:function(D,P){2&D&&(c.BMQ("data-qa","message-centered"),c.HbH(P.class))},inputs:{icon:"icon",header:"header",description:"description",class:"class"},ngContentSelectors:r,decls:4,vars:3,consts:[[1,"svg-xxl","mb-2",3,"img"]],template:function(D,P){1&D&&(c.NAR(),c.nVh(0,u,1,1,"lucide-icon",0),c.nVh(1,E,3,3,"h4"),c.nVh(2,g,3,3,"p"),c.SdG(3)),2&D&&(c.vxM(P.icon?0:-1),c.R7$(),c.vxM(P.header?1:-1),c.R7$(),c.vxM(P.description?2:-1))},dependencies:[l.flO,l.WGl,m.D9],styles:["@media(max-height:300px){lucide-icon[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]{max-height:800px}"],changeDetection:0})}return f})()},85260(O,M,i){i.d(M,{Cy:()=>D});var m=i(31635),c=i(17705),r=i(35547),u=i(85802),E=i(72806),g=i(49769);const d=["*"];function f(h,T){if(1&h){const v=r.RV6();r.j41(0,"button",3),r.bIt("click",function(){u.eBV(v);const B=r.XpG(2);return u.Njj(B.close())}),r.j41(1,"span",4),r.EFF(2,"\xd7"),r.k0s(),r.j41(3,"span",5),r.EFF(4,"Close"),r.k0s()()}}function p(h,T){if(1&h&&(r.j41(0,"div",1),r.nVh(1,f,5,0,"button",2),r.SdG(2),r.k0s()),2&h){const v=r.XpG();r.HbH("alert alert-"+v.type),r.Y8G("ngClass",v.classes),r.R7$(),r.vxM(v.dismissible?1:-1)}}let C=(()=>{class h{constructor(){this.type="warning",this.dismissible=!1,this.dismissOnTimeout=void 0}static{this.\u0275fac=function(b){return new(b||h)}}static{this.\u0275prov=u.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})(),D=(()=>{class h{constructor(v,b){this.changeDetection=b,this.type="warning",this.dismissible=!1,this.isOpen=!0,this.onClose=new u.bkB,this.onClosed=new u.bkB,this.classes="",this.dismissibleChange=new u.bkB,Object.assign(this,v),this.dismissibleChange.subscribe(()=>{this.classes=this.dismissible?"alert-dismissible":"",this.changeDetection.markForCheck()})}ngOnInit(){this.dismissOnTimeout&&setTimeout(()=>this.close(),parseInt(this.dismissOnTimeout,10))}close(){this.isOpen&&(this.onClose.emit(this),this.isOpen=!1,this.changeDetection.markForCheck(),this.onClosed.emit(this))}static{this.\u0275fac=function(b){return new(b||h)(r.rXU(C),r.rXU(c.gRc))}}static{this.\u0275cmp=r.VBU({type:h,selectors:[["alert"],["bs-alert"]],inputs:{type:"type",dismissible:"dismissible",dismissOnTimeout:"dismissOnTimeout",isOpen:"isOpen"},outputs:{onClose:"onClose",onClosed:"onClosed"},ngContentSelectors:d,decls:1,vars:1,consts:[["role","alert",3,"class","ngClass"],["role","alert",3,"ngClass"],["type","button","aria-label","Close",1,"close","btn-close"],["type","button","aria-label","Close",1,"close","btn-close",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"sr-only","visually-hidden"]],template:function(b,B){1&b&&(r.NAR(),r.nVh(0,p,3,4,"div",0)),2&b&&r.vxM(B.isOpen?0:-1)},dependencies:[g.YU],encapsulation:2,changeDetection:0})}}return(0,m.Cg)([(0,E.Yr)(),(0,m.Sn)("design:type",Object)],h.prototype,"dismissible",void 0),h})()}}]);

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.