PageSourceSearch

https://ldospandemicedition.org/9022.44f9b1833294ce33.js

js ldospandemicedition.org collected 2026-10-04 10:09:52 UTC 13,329 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[9022],{65676(B,T,t){t.d(T,{g:()=>v});var r=t(96354),C=t(25558),p=t(96697),D=t(16444),m=t(85802),f=t(67374),g=t.n(f),d=t(1211),E=t(46062),O=t(11082),P=t(68018);let v=(()=>{class a{myPhoneService=(0,m.WQX)(D.gx);translate=(0,m.WQX)(P.c$);meetingMessageCompose(i,l){return l&&i!==l?this.translate.get("_i18n.JoinLinkForEmployee",{p0:i,p1:l}):this.translate.get("_i18n.JoinLink",{p0:i})}createWebmeetingWithContact(i){const l=new d.N7N;l.Action=d.X2v.Inserted,i.bridgeId===E.Ij&&(l.ExtensionNumber=i.extensionNumber),l.Name=i.firstNameLastName||i.company,l.Email=i.emailAddress;const c=new d.RL6({Participants:new d.Om9({Items:[l]}),CalendarType:d.oKl.Tcx,StartAtUTC:g()().add(1,"minute").utc().format(O.i$),Name:O.wH,Description:"",Duration:15,HideParticipants:!1,NeedOrganizer:!1,CanChangeMedia:!0,ParticipantsProperties:"AVT"});return this.myPhoneService.myPhoneSession.pipe((0,p.s)(1),(0,C.n)(u=>u.get(c).pipe((0,C.n)(h=>{const I=h.Participants.Items.find(n=>n.Email===i.emailAddress),M=(n,o)=>new URL(`/meet/${o.Key}`,n).href,W=M(u.domainUrl,h.Organizer),s=I?M(`https://${u.systemParameters.PbxExternalHost}`,I):"",e=I&&u.systemParameters.PbxInternalHost?M(`https://${u.systemParameters.PbxInternalHost}`,I):"";return this.meetingMessageCompose(s,e).pipe((0,r.T)(n=>({instantMeetingChatMessage:n,contact:i,myJoinLink:W,otherGuyJoinLink:s,otherGuyInternalJoinLink:e})))}))))}static \u0275fac=function(l){return new(l||a)};static \u0275prov=m.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},71106(B,T,t){t.d(T,{A:()=>r});class r{contacts;groupName;constructor(p,D){this.contacts=p,this.groupName=D}}},68083(B,T,t){t.d(T,{dI:()=>O,nu:()=>f,tp:()=>E});var r=t(84572),C=t(7673),p=t(96354),D=t(25558);const f=P=>P.pipe((0,p.T)(a=>a.filter(_=>!_.isHidden).map(_=>_.groups.filter(i=>!i.isHidden))),(0,D.n)(a=>{if(0===a.length)return(0,C.of)([]);const _=a.map(i=>{if(0===i.length)return(0,C.of)({});const l=i.map(c=>c.contactsMap$);return(0,r.z)(l).pipe((0,p.T)(c=>{const u={};return c.forEach(h=>Object.assign(u,h.internal())),u}))});return(0,r.z)(_).pipe((0,p.T)(i=>[].concat(...i.map(l=>Object.values(l)))))})),g=P=>P.pipe((0,D.n)(v=>v.bridgesMap$),(0,p.T)(v=>Object.values(v)),(0,D.n)(v=>{const a=v.map(_=>_.groupsMap$);return(0,r.z)(a).pipe((0,p.T)(_=>[].concat(..._.map(i=>Object.values(i)))))})),d=P=>P.pipe((0,D.n)(v=>v.bridgesMap$),(0,p.T)(v=>Object.values(v))),E=(P,v)=>(0,r.z)([d(P),g(P),v]).pipe((0,p.T)(a=>{const[_,i,l]=a;return function m(P,v){P.forEach(a=>{a.isHidden=v.some(_=>_.bridgeId===a.bridge.id&&_.groupId===a.id)})}(i,l),_.forEach(c=>{c.isHidden=c.groups.every(u=>u.isHidden)}),_})),O=P=>(0,r.z)([d(P),g(P)]).pipe((0,D.n)(v=>
1{const[a,_]=v,i=_.find(l=>l.isFavorite());return i?i.contactsMap$.pipe((0,p.T)(l=>l.getContacts())):(0,C.of)([])}))},3032(B,T,t){t.d(T,{Z:()=>M});var r=t(85802),C=t(90394),p=t(20284),D=t(16444),m=t(65656),f=t(46062),g=t(65676),d=t(38601),E=t(1211),O=t(84412),P=t(85343),v=t(90558),a=t(77498),_=t(96697),i=t(71106),l=t(59882),c=t(42610),u=t(33971),h=t(12094),I=t(23773);let M=(()=>{class W{phoneService=(0,r.WQX)(p.u);chatLocatorService=(0,r.WQX)(C.e);myPhoneService=(0,r.WQX)(D.gx);modalService=(0,r.WQX)(d.B);meetingService=(0,r.WQX)(g.g);navigationService=(0,r.WQX)(h.s);router=(0,r.WQX)(l.Ix);peopleLink=(0,I.I)(c.Hh.SavePeople,c.lX);lastSearchedText="";_currentExtension$=new O.t(void 0);isVideoCallEnabled$;constructor(){const e=(0,r.WQX)(v.gc);this.isVideoCallEnabled$=e.isWebRTCSelected$}get currentExtension$(){return this._currentExtension$.asObservable()}viewExtension(e,n={}){this._currentExtension$.next(e),this.router.navigate(["people","view"],{state:n}).catch(P.l)}hasMoreActions(e){return this.isLocal(e)||this.hasEmail(e)||this.hasMobile(e)||this.isReceptionist(e)||this.isOperationist(e)}
1navigatePreviousUrl(){const e=this.peopleLink();this.navigationService.navigatePreviousUrl$(e instanceof Array?e:[e]).pipe((0,_.s)(1)).subscribe(()=>{this._currentExtension$.next(void 0)})}navigatePeople(){const e=this.peopleLink();this.router.navigate(e instanceof Array?e:[e]).then(()=>{this._currentExtension$.next(void 0)})}callToExtensionNumber(e,n){void 0===e||void 0===e.phones.extension||this.phoneService.call(e.phones.extension,n)}chatWithExtension(e){if(void 0!==e&&void 0!==e.phones.extension)return this.chatLocatorService.openChat(new i.A([e]))}meetingWithExtension({contact:e}){return this.meetingService.createWebmeetingWithContact(e).pipe((0,a.c)(m.j)).subscribe({next:o=>{(0,u.Pe)(o.myJoinLink,this.modalService,"_i18n.PopupBlockedWebmeeting","_i18n.OpenWebmeeting")},error:o=>this.modalService.error(o)})}isLocal(e){return e.bridgeId===f.Ij&&!e.myContact}leaveVoicemail(e){this.myPhoneService.myPhoneSession.pipe((0,_.s)(1)).subscribe(n=>{this.phoneService.call(n.systemParameters.VmailDialCode+e.phones.extension)})}intercom(e){this.myPhoneService.myPhoneSession.pipe((0,_.s)(1)).subscribe(n=>{this.phoneService.call(n.systemParameters.IntercomDialCode+e.phones.extension)})}canWebmeet(e){return e&&(!!e.emailAddress||e.bridgeId===f.Ij)}hasEmail(e){return e&&!!e.emailAddress}email(e){(0,u.b8)("mailto:"+e.emailAddress)}hasMobile(e){return e&&!!e.phones.mobile}getMobilePhone(e){if(this.hasMobile(e))return e.phones.mobile}getNativeMobilePhone(e){if(this.hasMobile(e))return e.nativeMobileNumber}callMobile(e){const n=this.getMobilePhone(e);n&&this.phoneService.call(n)}static IsFavorite(e){return e.isFavorite}isFavorite(e){return W.IsFavorite(e)}updateFavorites(e,n){const o=new E.S2g;o.Action=e,o.ExtensionNumbers=n.map(L=>L.extensionNumber),this.myPhoneService.get(o).subscribe({error:L=>{this.modalService.error(L)}})}addToFavorites(e){this.updateFavorites(E.X2v.Inserted,[e])}removeFromFavorites(e){this.updateFavorites(E.X2v.Deleted,[e])}
1setStatus(e,n){const o=new E.mko({TargetExtension:e});return o.InternalProfileName=n,this.myPhoneService.get(o)}assignExtension(e,n){return this.myPhoneService.get(new E.eWQ({TargetExtension:e,FirstName:n.firstName,LastName:n.lastName,Email:n.email,Mobile:n.mobile}))}clearExtension(e){const n=new E.MJd({TargetExtension:e});return this.myPhoneService.get(n)}isReceptionist(e){return!(!e||e.bridgeId!==f.Ij)&&e.groups.some(n=>n.groupId.AssignClearOperations)}isOperationist(e){return!(!e||e.bridgeId!==f.Ij)&&e.groups.some(n=>n.groupId.PerformOperations)}isLocalContact(e){return e.bridgeId===f.Ij}isExtensionLocal(e){return this.isLocalContact(e)&&!e.myContact}isVoicemailEnabled(e){return e.isVoicemailEnabled&&this.isExtensionLocal(e)}isAddToFavorites(e){return this.isExtensionLocal(e)&&!this.isFavorite(e)}isRemoveFromFavorites(e){return this.isExtensionLocal(e)&&this.isFavorite(e)}canToggleFavorite(e){return this.isExtensionLocal(e)&&!e.myContact}toggleFavorite(e){this.canToggleFavorite(e)&&(this.isAddToFavorites(e)?this.addToFavorites(e):this.isRemoveFromFavorites(e)&&this.removeFromFavorites(e))}static \u0275fac=function(n){return new(n||W)};static \u0275prov=r.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})()},11101(B,T,t){t.d(T,{F:()=>D});var r=t(85802),C=t(99044),p=t(35547);let D=(()=>{class m{activeCallsDragAndDropService=(0,r.WQX)(C.H,{optional:!0});activeCallDropDestination;onMouseUp(){this.activeCallsDragAndDropService?.performTransfer(this.activeCallDropDestination)}onMouseEnter(){this.activeCallsDragAndDropService?.setDestinationNumber(this.activeCallDropDestination)}onMouseLeave(){this.activeCallsDragAndDropService?.setDestinationNumber(null)}static \u0275fac=function(d){return new(d||m)};static \u0275dir=p.FsC({type:m,selectors:[["","activeCallDropDestination",""]],hostBindings:function(d,E){1&d&&p.bIt("mouseup",function(){return E.onMouseUp()})("mouseenter",function(){return E.onMouseEnter()})("mouseleave",function(){return E.onMouseLeave()})},inputs:{activeCallDropDestination:"activeCallDropDestination"}})}return m})()},99044(B,T,t){t.d(T,{D:()=>h,H:()=>I});var r=t(85802),C=t(84412),p=t(84572),D=t(7673),m=t(96354),f=t(99437),g=t(23294),d=t(44668),E=t(25558),O=t(96697),P=t(88141),v=t(66029),a=t(38601),_=t(50644),i=t(1211),l=t(16444),c=t(6356),u=t(48039),h=function(M){return M[M.BlindTransfer=1]="BlindTransfer",M[M.AttendedTransfer=2]="AttendedTransfer",M[M.Divert=3]="Divert",M}(h||{});let I=(()=>{class M{myPhoneService=(0,r.WQX)(l.gx);callService=(0,r.WQX)(v.N);modalService=(0,r.WQX)(a.B);switchboardService=(0,r.WQX)(c.I);destinationNumber=new C.t(null);activeCallInfo=new C.t(null);controlKeyPressed=new C.t(!1);loadingCallActions=new C.t(!1);destinationNumber$;activeCallInfo$;controlKeyPressed$;dragAndDropTransferInfo$;connectionPresentation$;loadingCallActions$;constructor(){this.destinationNumber$=this.destinationNumber.asObservable().pipe((0,d.t)({refCount:!0,bufferSize:1})),this.activeCallInfo$=this.activeCallInfo.asObservable().pipe((0,d.t)({refCount:!0,bufferSize:1})),this.controlKeyPressed$=this.controlKeyPressed.pipe((0,g.F)(),(0,d.t)({refCount:!0,bufferSize:1}));const s=this.myPhoneService.myPhoneSession.pipe((0,m.T)(e=>e.myInfo.Number),(0,g.F)());this.dragAndDropTransferInfo$=(0,p.z)([this.activeCallInfo$,s]).pipe((0,P.M)(()=>{this.loadingCallActions.next(!0)}),(0,E.n)(([e,n])=>e?this.callService.getCallActions(e).pipe((0,E.n)(o=>this.controlKeyPressed$.pipe((0,m.T)(L=>{const A=this.findBlindTransferConnection(e,o,n),R=this.findAttendedTransferConnection(e,n);return L&&R?{activeCallInfo:e,action:h.AttendedTransfer,connectionToTransfer:R,myNumber:n}:A?{activeCallInfo:e,action:A===o.pickupConnection||A===o.divertConnection?h.Divert:h.BlindTransfer,connectionToTransfer:A,myNumber:n}:null}))),(0,f.W)(()=>(0,D.of)(null))):(0,D.of)(null)),(0,P.M)(()=>{this.loadingCallActions.next(!1)}),(0,_.H9)()),this.loadingCallActions$=this.loadingCallActions.asObservable().pipe((0,_.H9)()),this.connectionPresentation$=this.dragAndDropTransferInfo$.pipe((0,m.T)(e=>e?this.callService.GetOtherPartyPresentationString(e.connectionToTransfer):"_i18n.TransferNotAllowed"),(0,_.H9)())}isBlindTransferAllowed(s){return!!(s.pickupConnection||s.divertConnection||s.transferConnections?.length)}findAttendedTransferConnection(s,e){return s.Connections.find(n=>this.callService.isAttendedTransferAllowedOnConnection(n,e)&&this.callService.doesNumberOwnConnection(n,e))}findBlindTransferConnection(s,e,n){if(this.isBlindTransferAllowed(e)){if(1===s.Connections.length)return s.Connections[0];if(s.Connections.length>1)switch(s.RawState){case i.Tll.Connected:return s.Connections.find(o=>this.callService.doesNumberOwnConnection(o,n))??s.Connections[1];case i.Tll.Ringing:case i.Tll.Dialing:return e.pickupConnection??e.divertConnection;default:return}}}setActiveCallInfo(s){this.activeCallInfo.next(s)}setDestinationNumber(s){this.destinationNumber.next(s)}setControlPressed(s){this.controlKeyPressed.next(s)}updateTransferInfo$=()=>s=>s.pipe((0,E.n)(e=>this.myPhoneService.myPhoneSession.pipe((0,E.n)(n=>e?this.switchboardService.allCallsMap$.pipe((0,O.s)(1),(0,m.T)(o=>{const A=(0,u.T)(n.activeCallHandler,o)[e.activeCallInfo.id];return A?(e.activeCallInfo=A,e):null})):(0,D.of)(null)),(0,f.W)(()=>(0,D.of)(null)))));performTransfer(s){this.dragAndDropTransferInfo$.pipe((0,O.s)(1),this.updateTransferInfo$()).subscribe(e=>{if(e)switch(e.action){case h.BlindTransfer:case h.Divert:this.makeBlindTransfer(e,s);break;case h.AttendedTransfer:this.makeAttendedTransfer(e,s)}})}makeBlindTransfer(s,e){this.callService.getCallActions(s.activeCallInfo).pipe((0,O.s)(1)).subscribe(n=>{const o=this.findBlindTransferConnection(s.activeCallInfo,n,s.myNumber);if(null!=o)switch(s.activeCallInfo.RawState){case i.Tll.Connected:this.callService.transfer(o,e,!1);break;case i.Tll.Ringing:case i.Tll.Dialing:o===n.pickupConnection&&o.OriginatorType===i.Jhl.Queue?this.callService.divert(o,e,!1,!0):o===n.divertConnection&&this.callService.divert(o,e,!1)}})}makeAttendedTransfer(s,e){this.callService.getCallActions(s.activeCallInfo).pipe((0,O.s)(1)).subscribe(n=>{const o=this.findAttendedTransferConnection(s.activeCallInfo,s.myNumber);null!=o&&this.callService.attTransfer(o,e,s.myNumber,!1)})}static \u0275fac=function(e){return new(e||M)};static \u0275prov=r.jDH({token:M,factory:M.\u0275fac})}return M})()},6356(B,T,t){t.d(T,{I:()=>v});var r=t(85802),C=t(16444),p=t(12426),D=t(42610),m=t(92771),f=t(84572),g=t(7673),d=t(96354),E=t(97647),O=t(25558),P=t(96106);let v=(()=>{class a{queues$;queueCallsMap$;allCallsMap$;constructor(){const i=(0,r.WQX)(C.gx),l=(0,r.WQX)(p.sj);this.queues$=(0,f.z)([i.myPhoneSession.pipe((0,O.n)(c=>c.queues$),(0,d.T)(c=>Object.values(c))),(0,P.lB)(l,D.Hh.SwitchboardQueueFilter,[])]).pipe((0,d.T)(c=>{const[u,h]=c;return void 0===u?[]:u.filter(I=>!h.includes(I.id))}),(0,E.u)({connector:()=>new m.m(1)})),this.queueCallsMap$=this.queues$.pipe((0,O.n)(c=>{const u=Object.values(c);return 0===u.length?(0,g.of)([]):(0,f.z)(Object.values(u).map(h=>h.callDb.activeCalls$)).pipe((0,d.T)(h=>h.reduce((I,M)=>(Object.assign(I,M),I),{})))}),(0,E.u)({connector:()=>new m.m(1)})),this.allCallsMap$=(0,f.z)([i.myPhoneSession.pipe((0,O.n)(c=>c.activeCalls.activeCalls$)),this.queueCallsMap$]).pipe((0,d.T)(c=>{const[u,h]=c;return{...u,...h}}),(0,E.u)({connector:()=>new m.m(1)}))}static \u0275fac=function(l){return new(l||a)};static \u0275prov=r.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()}}]);

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.