PageSourceSearch

https://www.zendate.com/app/2139.6d0a9b6f8de2a844.js

js zendate.com collected 2026-10-04 08:45:36 UTC 10,492 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a9c9d659-7c62-50e3-88ee-1dab151209ad")}catch(e){}}();
3(self.webpackChunkclient=self.webpackChunkclient||[]).push([["2139"],{30679(e,t,i){i.d(t,{Qx:()=>T});var n=i(79942),s=i(15526),r=i(97156),a=i(75841),d=i(17524),o=i(64733),p=i(73628),u=i(84190),l=i(28138),v=i(15654),m=i(46660),h=i(72308),c=i(13462),I=i(39971),y=i(55952),b=i(14087),g=i(56379);class T{constructor(e){this.preparedEvents={},this.ownerId=e,this.chatRequestHistorySubject=new r.t({});var t={},i=c.T.shared().videoInvites.enabled.pipe((0,u.n)(i=>i?(0,d.z)([h.l.shared(e,p._j.VideoInvitation).events,c.T.shared().videoInvites.showOnlyApproved,c.T.shared().chatRequestVideoPlaybackEnabled]).pipe((0,u.n)(i=>{var[s,r,d]=i;return r||d?g.M.shared(e).initialized.pipe((0,u.n)(i=>{if(!i)return(0,a.of)(s);var d=s.reduce((i,s)=>s["event-id"]in t||!s.payload.meta.reference?i:[...i,y.K.shared(e).mcsId(s["user-id"]).pipe((0,n.Fg)(e=>e?b.c.shared(e).profile.toSingle():I.v.just(null)),(0,n.ex)(e=>{t[s["event-id"]]=null==e?void 0:e.videoApprovedUrl}))],[]),p=()=>{var e=s.map(e=>Object.assign({},e,{videoApprovedUrl:t[e["event-id"]]}));return r?e.filter(e=>!!e.videoApprovedUrl):e};return d.length>0?(0,o.y)(...d.map(e=>e.asObservable())).pipe((0,l.T)(()=>p())):(0,a.of)(p())})):(0,a.of)(s)})):(0,a.of)([])));this.chatRequests=(0,d.z)([h.l.shared(e,p._j.ChatRequest).events,i,c.T.shared().maxChatRequestsCount]).pipe((0,l.T)(e=>{var[t,i,n]=e;return[...t,...i].sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime()).reduce((e,t)=>(e.find(e=>e["user-id"]===t["user-id"])||e.push(t),e),[]).map(e=>{var t,i=e["user-id"];if((null==(t=this.preparedEvents[i])?void 0:t.dto)===e)return this.preparedEvents[i].event;var n=(0,m.Ij)(e),s=e.videoApprovedUrl;return s&&n.type===m.m$.VideoInvitation&&(n=Object.assign({},n,{videoApprovedUrl:s})),this.preparedEvents[i]={dto:e,event:n},this.chatRequestHistorySubject.next(Object.assign({},this.chatRequestHistorySubject.value,{[i]:!0})),n}).slice(0,n)}))}staleChatRequest(e){return I.v.zip(h.l.shared(this.ownerId,p._j.ChatRequest).stale(e),h.l.shared(this.ownerId,p._j.VideoInvitation).stale(e)).pipe((0,n.AB)(void 0))}readChatRequest(e){return I.v.zip(h.l.shared(this.ownerId,p._j.ChatRequest).read(e),h.l.shared(this.ownerId,p._j.VideoInvitation).read(e)).pipe((0,n.AB)(void 0))}removeChatRequest(e){return I.v.zip(h.l.shared(this.ownerId,p._j.ChatRequest).delete(e),h.l.shared(this.ownerId,p._j.VideoInvitation).delete(e)).pipe((0,n.AB)(void 0))}userInChatRequestsHistory(e){return this.chatRequestHistorySubject.pipe((0,l.T)(t=>!!t[e]),(0,v.F)())}}T.shared=(0,s.G)(e=>new T(e))},99369(e,t,i){i.d(t,{O:()=>r});var n=i(34677),s=i(46660);function r(e){var t=null;if(e.type===s.m$.MessageInChat||e.type===s.m$.ChatRequest||e.type===s.m$.Concierge){var i=e.type===s.m$.MessageInChat||e.type===s.m$.Concierge,r=i?"message":"invitation",a=e.type===s.m$.ChatRequest&&e.content.type===n.Go.Text&&e.automatic;(e.content.type===n.Go.Text||e.content.type===n.Go.HTML||e.content.type===n.Go.Sticker||e.content.type===n.Go.Letter||e.content.type===n.Go.MessageReaction)&&(t={id:e.id,attendeeId:e.attendeeId,userId:e.userId,type:r,fromContact:i,subType:e.subType,message:e.content,realmData:e.realmData,systemType:e.systemType,blurred:e.blurred,recommendation:e.recommendation,realtimeRecommendationId:e.realtimeRecommendationId,automatic:e.automatic,timestamp:e.timestamp,mingle:a}),e.type!==s.m$.Concierge&&e.content.type===n.Go.Cheer&&(t={id:e.id,attendeeId:e.attendeeId,userId:e.userId,type:r,fromContact:e.type===s.m$.MessageInChat,subType:e.subType,message:Object.assign({},e.content,{"billing-info":e["billing-info"]}),realmData:e.realmData,systemType:e.systemType,blurred:e.blurred,recommendation:e.recommendation,realtimeRecommendationId:e.realtimeRecommendationId,automatic:e.automatic,timestamp:e.timestamp,mingle:a}),(e.content.type===n.Go.Photo||e.content.type===n.Go.Video||e.content.type===n.Go.Voice)&&"string"==typeof e.content.content.basename&&(t={id:e.id,attendeeId:e.attendeeId,userId:e.userId,type:r,fromContact:i,subType:e.subType,message:{tag:e.content.tag,type:e.content.type,content:{basename:e.content.content.basename}},realmData:e.realmData,systemType:e.systemType,blurred:e.blurred,recommendation:e.recommendation,timestamp:e.timestamp,realtimeRecommendationId:e.realtimeRecommendationId,mingle:a})}return e.type===s.m$.VideoInvitation&&(t={id:e.id,attendeeId:e.attendeeId,userId:e.userId,type:"invitation",subType:"base",fromContact:!1,blurred:!1,recommendation:!1,realtimeRecommendationId:void 0,message:{tag:"",type:s.m$.VideoInvitation},timestamp:e.timestamp}),e.type===s.m$.LetterRecommendation&&(t={id:e.id,attendeeId:e.attendeeId,userId:e.userId,type:"invitation",subType:"base",fromContact:!1,blurred:!1,recommendation:!1,realtimeRecommendationId:void 0,message:{tag:"",type:s.m$.LetterRecommendation},timestamp:e.timestamp}),t}},16893(e,t,i){i.d(t,{e7:()=>b});var n=i(15526),s=i(8733),r=i(34578),a=i(75841),d=i(17524),o=i(56177),p=i(84190),u=i(36580),l=i(28138),v=i(79942),m=i(22998),h=i(4938),c=i(13462),I="video-invites",y="mingle-as-vi
3deo-suspended-at";class b{constructor(e){this.suspendedAtSubject=new s.B,this.userId=e;var t=m.w.shared(I,this.userId).load(y).asObservable().pipe((0,o.s)(1),(0,p.n)(e=>(0,r.h)((0,a.of)(e),this.suspendedAtSubject)),(0,u.t)(1));this.suspended=(0,d.z)([t,c.T.shared().videoInvites.blocking.suspensionDuration]).pipe((0,p.n)(e=>{var[t,i]=e;return t?h.E.shared().currentTime().asObservable().pipe((0,l.T)(e=>e-t<i)):(0,a.of)(!1)}),(0,u.t)({bufferSize:1,refCount:!0}))}suspend(){return h.E.shared().currentTime().pipe((0,v.Fg)(e=>m.w.shared(I,this.userId).store(y,e).pipe((0,v.ex)(()=>this.suspendedAtSubject.next(e)))))}}b.shared=(0,n.G)(e=>new b(e))},36214(e,t,i){i.d(t,{$5:()=>x,jJ:()=>z,wi:()=>G});var n=i(15526),s=i(8733),r=i(17524),a=i(34578),d=i(56607),o=i(75841),p=i(73628),u=i(86977),l=i(15654),v=i(28138),m=i(65052),h=i(84190),c=i(27585),I=i(53940),y=i(56177),b=i(10629),g=i(44383),T=i(36580),f=i(46660),R=i(99369),j=i(13462),w=i(30679),C=i(29808),A=i(55952),S=i(14087),V=i(13230),O=i(22605),q=i(16893),$=i(25871),z=".320x.mp4-limit",x=".x.jpg";class G{constructor(e){this.inviteClosedSubject=new s.B,this.userId=e,this.inviteClosed=this.inviteClosedSubject.asObservable().pipe((0,l.F)((e,t)=>e.attendeeId===t.attendeeId)),this.inviteSuppressedByShare=(0,r.z)([j.T.shared().videoInvites.intensityReduction.enabled,j.T.shared().videoInvites.intensityReduction.threshold,w.Qx.shared(this.userId).chatRequests]).pipe((0,v.T)(e=>{var[t,i,n]=e;return!!t&&0!==n.length&&n.filter(e=>e.type===f.m$.VideoInvitation).length/n.length>=i}),(0,m.Z)(!1),(0,l.F)());var t=(0,a.h)(j.T.shared().videoInvites.enabled.pipe((0,h.n)(e=>e?j.T.shared().videoInvites.intensityReduction.enabled.pipe((0,h.n)(e=>e?u.I.shared(this.userId).events("event.dialogs.automation.videoinvitations.matched").pipe((0,v.T)(e=>(0,C.x)(e)),(0,v.T)(e=>(0,p.dR)((0,C.f)(e))),(0,c.E)(this.inviteSuppressedByShare),(0,I.p)(e=>{var[,t]=e;return!t}),(0,v.T)(e=>{var[t]=e;return t})):u.I.shared(this.userId).events("event.users.events.added").pipe((0,v.T)(e=>(0,p.dR)((0,C.f)(e)))))):d.w)),j.T.shared().videoInvites.mingleAsVideoInviteEnabled.pipe((0,h.n)(e=>e?u.I.shared(this.userId).events("event.users.events.added").pipe((0,v.T)(e=>(0,p.dR)((0,C.f)(e))),(0,I.p)(e=>{var t=(0,R.O)((0,f.Ij)(e));return!!(null!=t&&t.mingle)}),(0,h.n)(e=>q.e7.shared(this.userId).suspended.pipe((0,y.s)(1),(0,I.p)(e=>!e),(0,v.T)(()=>e))),(0,h.n)(e=>this.resolveApprovedVideoReference(e["user-id"]).pipe((0,y.s)(1),(0,I.p)(e=>!!e),(0,v.T)(t=>Object.assign({},e,{type:p._j.VideoInvitation,payload:Object.assign({},e.payload,{meta:Object.assign({},e.payload.meta,{reference:t,mingleAsVideoInvite:!0})})}))))):d.w))).pipe((0,I.p)(e=>e.payload["recipient-id"]===this.userId),(0,I.p)(e=>e.type===p._j.VideoInvitation&&!!e.payload.meta.reference),(0,h.n)(e=>{var t=e["user-id"];return(0,r.z)([V.N.shared(this.userId).callIsAvailable(t).pipe((0,y.s)(1)),O.g.shared(this.userId).canCallTo(t).pipe((0,b.i)(1),(0,y.s)(1))]).pipe((0,h.n)(t=>{var[i,n]=t;return i||n?(0,o.of)(e):d.w}))}),(0,c.E)(j.T.shared().videoInvites.showOnlyApproved),(0,h.n)(e=>{var[t,i]=e;return i?this.resolveApprovedVideoReference(t["user-id"]).pipe((0,v.T)(e=>e?Object.assign({},t,{payload:Object.assign({},t.payload,{meta:Object.assign({},t.payload.meta,{reference:e})})}):null),(0,I.p)(e=>!!e)):(0,o.of)(t)}),(0,m.Z)(null));this.invite=(0,a.h)(t.pipe((0,v.T)(e=>({kind:"invite",value:e}))),this.inviteClosedSubject.pipe((0,v.T)(e=>{var{attendeeId:t}=e;return{kind:"close",attendeeId:t}}))).pipe((0,g.S)((e,t)=>{var i;return"invite"===t.kind?{current:t.value,emit:!0,closed:!1}:(null==(i=e.current)?void 0:i["user-id"])===t.attendeeId?{current:null,emit:!0,closed:!0}:{current:e.current,emit:!1,closed:!1}},{current:null,emit:!1,closed:!1}),(0,I.p)(e=>e.emit),(0,v.T)(e=>e.current),(0,T.t)({refCount:!0,bufferSize:1}))}canShowMingleAsVideoInvite(e){var t=(0,r.z)([j.T.shared().videoInvites.mingleAsVideoInviteEnabled,q.e7.shared(this.userId).suspended,$.L.shared(this.userId).videoPromoAllowed(e.attendeeId,"invite")]).pipe((0,v.T)(e=>{var[t,i,n]=e;return t&&!i&&n}));return this.canShowMingle(e,t)}canShowMingleWithVideoPreview(e){return this.canShowMingle(e,(0,r.z)([j.T.shared().videoInvites.mingleVideoPreviewEnabled,$.L.shared(this.userId).videoPromoAllowed(e.attendeeId,"invite")]).pipe((0,v.T)(e=>{var[t,i]=e;return t&&i})))}canShowMingle(e,t){if(!e.mingle)return(0,o.of)(!1);var i=e.attendeeId;return t.pipe((0,y.s)(1),(0,h.n)(e=>e?(0,r.z)([V.N.shared(this.userId).callIsAvailable(i).pipe((0,y.s)(1)),O.g.shared(this.userId).canCallTo(i).pipe((0,b.i)(1),(0,y.s)(1)),this.resolveApprovedVideoReference(i).pipe((0,y.s)(1))]).pipe((0,v.T)(e=>{var[t,i,n]=e;return(t||i)&&!!n})):(0,o.of)(!1)))}resolveApprovedVideoReference(e){return A.K.shared(this.userId).mcsId(e).asObservable().pipe((0,h.n)(e=>e?S.c.shared(e).profile.toSingle():(0,o.of)(null)),(0,v.T)(e=>e&&e.videoApprovedUrl?new URL(e.videoApprovedUrl).pathname:null))}close(e,t){this.inviteClosedSubject.next({attendeeId:e,reason:t})}}G.shared=(0,n.G)(e=>new G(e))}}]);
4//# sourceMappingURL=sourcemaps/2139.6d0a9b6f8de2a844.js.map
5//# debugId=a9c9d659-7c62-50e3-88ee-1dab151209ad

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.