1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[7766],{9220:function(e,t,i){var n;i.d(t,{R:function(){return n}}),function(e){e.REQUEST_RECEIVED="REQUEST_RECEIVED",e.REQUEST_SENT="REQUEST_SENT",e.INCOMING_REQUEST_ACCEPTED="INCOMING_REQUEST_ACCEPTED",e.OUTGOING_REQUEST_ACCEPTED="OUTGOING_REQUEST_ACCEPTED",e.INCOMING_REQUEST_ENDED="INCOMING_REQUEST_ENDED",e.OUTGOING_REQUEST_ENDED="OUTGOING_REQUEST_ENDED"}(n||(n={}))},7766:function(e,t,i){i.r(t),i.d(t,{dyte_notifications:function(){return L}});var n=i(3433),o=i(7762),a=i(4165),s=i(5861),r=i(5671),c=i(3144),d=i(2304),u=i(9220),l=i(6758),p=i(9013),g=i(5855),v=i(7622),D=i(2725),m=i(9666),E=i(5542),h=(i(4402),i(4153),i(4130),i(5231),2e3),f=Object.freeze({notifications:{participant_joined:!0,participant_left:!0,participant_joined_waitlist:!0,chat:!0,polls:!0,webinar:!0,tab_sync:!0},notification_sounds:{participant_joined:!0,participant_left:!0,chat:!0,polls:!0,webinar:!0,participant_joined_waitlist:!0},notification_duration:{participant_joined:2100,participant_left:2100,participant_joined_waitlist:4e3,chat:h,polls:h,webinar:h,tab_sync:h},participant_joined_sound_notification_limit:10,participant_chat_message_sound_notification_limit:10});function _(e){return Object.keys(e).filter((function(t){return e[t]}))}var L=function(){function e(t){var i=this;(0,r.Z)(this,e),(0,d.r)(this,t),this.permissions=f,this.enabledSounds=_(f.notification_sounds),this.addStagePeersListeners=function(e){e.participants.joined.addListener("participantJoined",i.participantJoinedListener),e.meta.addListener("disconnected",i.networkDisconnectedListener),e.meta.addListener("connected",i.networkConnectedListener),e.participants.joined.addListener("participantLeft",i.participantLeftListener)},this.removeStagePeersListeners=function(e){e.participants.joined.removeListener("participantJoined",i.participantJoinedListener),e.meta.removeListener("disconnected",i.networkDisconnectedListener),e.meta.removeListener("connected",i.networkConnectedListener),e.participants.joined.removeListener("participantLeft",i.participantLeftListener)},this.onRemoteUpdate=function(e){var t=e.payload,n=e.type;if(n===u.R.INCOMING_REQUEST_ACCEPTED){var o=i.meeting.participants.joined.get(t.request.remotePeerId);i.add({id:"message-".concat(Math.random().toString(36)),icon:i.iconPack.chat,message:"Granted remote control to ".concat(o.name),duration:h})}if(n===u.R.OUTGOING_REQUEST_ACCEPTED){var a=i.meeting.participants.joined.get(t.request.hostPeerId);i.add({id:"message-".concat(Math.random().toString(36)),icon:i.iconPack.chat,message:"".concat(a.name," has granted remote control."),duration:h})}if(n===u.R.REQUEST_RECEIVED){var s=i.meeting.participants.joined.get(t.request.remotePeerId);i.add({id:"message-".concat(Math.random().toString(36)),icon:i.iconPack.chat,message:"".concat(s.name," has requested for remote control."),duration:h})}if(n!==u.R.INCOMING_REQUEST_ENDED&&n!==u.R.OUTGOING_REQUEST_ENDED||i.add({id:"message-".concat(Math.random().toString(36)),icon:i.iconPack.chat,message:"Existing remote control has been terminated.",duration:h}),n===u.R.REQUEST_SENT){var r=i.meeting.participants.joined.get(t.request.hostPeerId);i.add({id:"message-".concat(Math.random().toString(36)),icon:i.iconPack.chat,message:"Sent remote control request to ".concat(r.name),duration:h})}},this.onDyteNotification=function(e){i.add(e.detail);var t=e.detail.playSound;void 0!=t&&i.audio.play(t)},this.onRecordingUpdate=function(e){"RECORDING"===e?i.add({id:"recording-started",icon:i.iconPack.recording,message:i.t("recording.started"),duration:h}):"STOPPING"===e&&i.add({id:"recording-stopped",icon:i.iconPack.stop_recording,message:i.t("recording.stopped"),duration:h})},this.meeting=void 0,this.states=void 0,this.config=D.d,this.t=(0,v.u)(),this.size=void 0,this.iconPack=g.d,this.notifications=[]}return(0,c.Z)(e,[{key:"connectedCallback",value:function(){"undefined"!==typeof document&&(null===document||void 0===document||document.addEventListener("dyteNotification",this.onDyteNotification)),this.meetingChanged(this.meeting),this.configChanged(this.config),this.statesChanged(this.states)}},{key:"clearListeners",value:function(e){var t,i,n,o,a,s,r,c,d,u="LIVESTREAM"===e.meta.viewT
1ype;(u&&"ON_STAGE"===(null===(t=e.stage)||void 0===t?void 0:t.status)||!u)&&this.removeStagePeersListeners(e),this.chatUpdateListener&&(null===(i=e.chat)||void 0===i||i.removeListener("chatUpdate",this.chatUpdateListener)),this.pollUpdateListener&&(null===(n=e.polls)||void 0===n||n.removeListener("pollsUpdate",this.pollUpdateListener)),this.socketDisconnectedListener&&e.meta.removeListener("socketDisconnected",this.socketDisconnectedListener),this.socketReconnectFailureListener&&e.meta.removeListener("socketReconnectFailure",this.socketReconnectFailureListener),this.socketReconnectedListener&&e.meta.removeListener("socketReconnected",this.socketReconnectedListener),this.socketReconnectingListener&&e.meta.removeListener("socketReconnecting",this.socketReconnectingListener),this.socketFailureListener&&e.meta.removeListener("socketFailure",this.socketFailureListener),this.stageRequestAccepted&&(null===(o=e.stage)||void 0===o||o.removeListener("stageRequestApproved",this.stageRequestAccepted)),this.stageRequestRejected&&(null===(a=e.stage)||void 0===a||a.removeListener("stageRequestRejected",this.stageRequestRejected)),this.newStageRequests&&(null===(s=e.stage)||void 0===s||s.removeListener("newStageRequest",this.newStageRequests)),this.stageStatusUpdateListener&&(null===(r=e.stage)||void 0===r||r.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)),null===(c=e.remote)||void 0===c||c.removeListener("remoteUpdate",this.onRemoteUpdate),null===(d=e.recording)||void 0===d||d.removeListener("recordingUpdate",this.onRecordingUpdate),clearTimeout(this.disconnectTimeout)}},{key:"disconnectedCallback",value:function(){var e;"undefined"!==typeof document&&(null===document||void 0===document||document.removeEventListener("dyteNotification",this.onDyteNotification)),null!=this.meeting&&(this.clearListeners(this.meeting),this.waitlistedParticipantJoinedListener&&this.meeting.participants.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.spotlightTabUpdateListener&&(null===(e=this.meeting.spotlight)||void 0===e||e.removeListener("activeTabUpdate",this.spotlightTabUpdateListener)),this.peerRequestToJoinStateListener&&this.meeting.participants.joined.removeListener("peerRequestToJoinStage",this.peerRequestToJoinStateListener),this.peerAcceptedToJoinStageListener&&this.meeting.participants.joined.removeListener("peerAcceptedToJoinStage",this.peerAcceptedToJoinStageListener),this.peerRejectedToJoinStageListener&&this.meeting.participants.joined.removeListener("peerRejectedToJoinStage",this.peerRejectedToJoinStageListener))}},{key:"meetingChanged",value:function(e,t){var i,n,o,r,c,d,u,g,v,D=this;if(clearTimeout(this.disconnectTimeout),void 0!==t&&this.clearListeners(t),null!=e){var h="LIVESTREAM"===e.meta.viewType;this.audio=new l.D;var f=this.permissions,_=f.notifications,L=f.notification_duration,R=f.notification_sounds;this.participantJoinedListener=function(e){_.participant_joined&&D.add({id:"".concat(e.id,"-joined"),message:"".concat((0,p.f)(e.name)," just joined"),image:e.picture,duration:L.participant_joined}),R.participant_joined&&D.canPlayParticipantJoinedSound()&&D.audio.play("joined")},this.participantLeftListener=function(e){_.participant_left&&D.add({id:"".concat(e.id,"-left"),message:"".concat((0,p.f)(e.name)," left"),image:e.picture,duration:L.participant_left}),R.participant_left&&D.canPlayParticipantJoinedSound()&&D.audio.play("left")},this.waitlistedParticipantJoinedListener=function(e){var t="".concat(e.id,"-joined-waitlist");D.add({id:t,message:"".concat((0,p.f)(e.name)," is requesting to join the meeting"),image:e.picture,duration:L.participant_joined_waitlist,button:{text:"Accept",variant:"secondary",onClick:function(){var i=(0,s.Z)((0,a.Z)().mark((function i(){return(0,a.Z)().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,D.meeting.participants.acceptWaitingRoomRequest(e.id);case 2:D.remove(t);case 3:case"end":return i.stop()}}),i)})));return function(){return i.apply(this,arguments)}}()}}),R.participant_joined_waitlist&&D.canPlayParticipantJoinedSound()&&D.audio.play("message")},this.chatUpdateListener=function(t){var i=t.message,n=(0,m.p)(i);if(null!=n){if(n.userId===e.self.userId)return;"text"===n.type&&(_.chat&&D.add({id:"message-".concat(Math.random().toString(36)),icon:D.iconPack.chat,message:"".concat(n.displayName,": ").concat((0,p.s)(n.message,20)),duration:L.chat}),R.chat&&D.canPlayChatSound()&&D.audio.play("message"))}},this.pollUpdateListener=function(e){var t=e.polls;!1!==e.newPoll&&(_.polls&&D.meeting.self.userId!==t[t.length-1].createdByUserId&&D.add({id:"poll-".concat(Math.random().toString(36)),icon:D.iconPack.poll,message:"New poll created by ".concat(t[t.length-1].createdBy),duration:L.polls}),R.polls&&D.meeting.self.userId!==t[t.length-1].createdByUserId&&D.canPlayChatSound()&&D.audio.play("message"))},this.deviceUpdateListener=function(e){var t=e.device;e.preview||("audiooutput"===t.kind?(D.audio.setDevice(t.deviceId),D.add({id:"speaker-switched-".concat(t.deviceId),message:"Connected to ".concat(t.label),icon:D.iconPack.speaker,duration:5e3})):"videoinput"===t.kind?D.add({id:"camera-switched-".concat(t.deviceId),message:"Connected to ".concat(t.label),icon:D.iconPack.speaker,duration:5e3}):D.add({id:"mic-switched-".concat(t.deviceId),message:"Connected to ".concat(t.label),icon:D.iconPack.mic_on,duration:5e3}))},this.networkDisconnectedListener=function(){D.remove("network"),D.add({id:"network",
1icon:D.iconPack.disconnected,message:D.t("Connection lost. Trying to reconnect..."),duration:2e4}),D.disconnectTimeout=setTimeout((function(){D.add({id:"network-lost",icon:D.iconPack.disconnected,message:D.t("Taking too long to reconnect..."),button:{text:D.t("End Meeting"),variant:"danger",onClick:function(){var e;return null===(e=D.meeting)||void 0===e?void 0:e.leaveRoom()}}})}),2e4)},this.networkConnectedListener=function(){D.remove("network"),D.remove("network-lost"),D.add({id:"network",icon:D.iconPack.wifi,message:D.t("Connection restored"),duration:3e3}),clearTimeout(D.disconnectTimeout)},this.socketUpdateListener=function(e){var t=e.event,i=e.attempt;D.remove("socket"),"reconnected"===t?(D.remove("socketReconnecting"),D.add({id:"socket",icon:D.iconPack.wifi,message:D.t("Connection restored"),duration:3e3})):"disconnected"===t?D.add({id:"socket",icon:D.iconPack.disconnected,message:D.t("Connection lost"),duration:3e3}):"reconnecting"===t?D.add({id:"socketReconnecting",icon:D.iconPack.disconnected,message:D.t("Connection lost. Please check your network connection.")}):"reconnectFailure"===t?i>5&&(D.remove("socketReconnecting"),D.add({id:"socketReconnecting",icon:D.iconPack.disconnected,message:D.t("Taking too long to reconnect. Please check your network connection."),button:{text:D.t("End Meeting"),variant:"danger",onClick:function(){var e;return null===(e=D.meeting)||void 0===e?void 0:e.leaveRoom()}}})):"failed"===t&&(D.remove("socketReconnecting"),D.add({id:"socketFailed",icon:D.iconPack.disconnected,message:D.t("Could not reconnect. Please leave the meeting and try refreshing the window.")}),D.add({id:"leaveMeeting",icon:D.iconPack.warning,message:D.t("Automatically leaving the meeting in 10 seconds.")}),setTimeout((function(){var e;null===(e=D.meeting)||void 0===e||e.leaveRoom("disconnected")}),1e4))},this.spotlightTabUpdateListener=function(t){if(_.tab_sync)switch(t.type){case"plugin":var i=e.plugins.active.toArray().find((function(e){return e.id==t.id}));void 0!=i&&D.add({id:"spotlight",message:"Plugin switched to ".concat(i.name),duration:L.participant_joined});break;case"screenshare":var n=e.participants.joined.toArray().filter((function(e){return e.screenShareEnabled})).find((function(e){return e.id==t.id}));void 0!=n&&D.add({id:"spotlight",message:"Now watching ".concat(n.name,"'s screen"),duration:L.webinar})}},this.peerRequestToJoinStateListener=function(e){var t=e.id;if(_.webinar){var i=D.meeting.participants.joined.get(t);void 0!==i&&(D.add({id:"webinar-request-".concat(t),message:"".concat(i.name," is requesting to be on stage"),duration:L.webinar,button:{text:"Accept",variant:"primary",onClick:function(){var e=(0,s.Z)((0,a.Z)().mark((function e(){return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D.meeting.participants.acceptAllRequestToJoinStageRequests([{id:t,requestToJoinType:"REQUEST_TO_PRESENT"}]);case 2:D.remove("webinar-request-".concat(t));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}}),R.webinar&&D.audio.play("joined"))}},this.peerAcceptedToJoinStageListener=function(e){if(_.webinar){var t=D.meeting.participants.joined.get(e.id);void 0!==t&&(D.add({id:"webinar-accepted-".concat(e.id),message:"Approved ".concat(t.name,"'s request to join stage."),duration:L.webinar}),R.webinar&&D.audio.play("joined"))}},this.peerRejectedToJoinStageListener=function(e){if(_.webinar){var t=D.meeting.participants.joined.get(e.id);void 0!==t&&D.add({id:"webinar-rejected-".concat(e.id),message:"Rejected ".concat(t.name,"'s request to join stage."),duration:L.webinar})}},this.stageRequestAccepted=function(){D.add({id:"stage-request-accepted",message:"Request to join accepted",duration:3e3})},this.stageRequestRejected=function(){D.add({id:"stage-request-rejected",message:"Request to join rejected",duration:3e3})},this.newStageRequests=function(e){var t=e.count;D.add({id:"new-stage-request",message:"You have ".concat(t," pending request").concat(1===t?"":"s"),duration:3e3})},this.stageStatusUpdateListener=function(t){"ON_STAGE"===t?D.addStagePeersListeners(e):D.removeStagePeersListeners(e)},this.socketReconnectedListener=function(){return D.socketUpdateListener({event:"reconnected"})},this.socketDisconnectedListener=function(){return D.socketUpdateListener({event:"disconnected"})},this.socketReconnectingListener=function(){return D.socketUpdateListener({event:"reconnecting"})},this.socketFailureListener=function(){return D.socketUpdateListener({event:"failed"})},this.socketReconnectFailureListener=function(e){var t=e.attempt;return D.socketUpdateListener({event:"reconnectFailure",attempt:t})};var A=e.self.getCurrentDevices();
1null!=A.speaker&&this.audio.setDevice(A.speaker.deviceId),h?null===(i=e.stage)||void 0===i||i.on("stageStatusUpdate",this.stageStatusUpdateListener):this.addStagePeersListeners(e),e.participants.joined.addListener("peerRequestToJoinStage",this.peerRequestToJoinStateListener),e.participants.joined.addListener("peerAcceptedToJoinStage",this.peerAcceptedToJoinStageListener),e.participants.joined.addListener("peerRejectedToJoinStage",this.peerRejectedToJoinStageListener),this.canAcceptWaitingRequests()&&e.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),!(0,E.u)(e)&&(null===(n=e.chat)||void 0===n||n.addListener("chatUpdate",this.chatUpdateListener)),null===(o=e.polls)||void 0===o||o.addListener("pollsUpdate",this.pollUpdateListener),e.self.addListener("deviceUpdate",this.deviceUpdateListener),e.meta.addListener("socketReconnected",this.socketReconnectedListener),e.meta.addListener("socketDisconnected",this.socketDisconnectedListener),e.meta.addListener("socketReconnecting",this.socketReconnectingListener),e.meta.addListener("socketFailure",this.socketFailureListener),e.meta.addListener("socketReconnectFailure",this.socketReconnectFailureListener),null===(r=e.remote)||void 0===r||r.addListener("remoteUpdate",this.onRemoteUpdate),null===(c=e.spotlight)||void 0===c||c.addListener("activeTabUpdate",this.spotlightTabUpdateListener),null===(d=e.recording)||void 0===d||d.addListener("recordingUpdate",this.onRecordingUpdate),null===(u=e.stage)||void 0===u||u.addListener("stageRequestApproved",this.stageRequestAccepted),null===(g=e.stage)||void 0===g||g.addListener("stageRequestRejected",this.stageRequestRejected),e.self.permissions.acceptPresentRequests&&(null===(v=e.stage)||void 0===v||v.addListener("newStageRequest",this.newStageRequests))}}},{key:"configChanged",value:function(e){null!=e&&null!=(null===e||void 0===e?void 0:e.config)&&(this.permissions=function(e){var t=Object.assign({},f);return null==e||(Object.assign(t.notification_sounds,e.notification_sounds),Object.assign(t.notifications,e.notifications),Object.assign(t.notification_duration,e.notification_duration),t.participant_chat_message_sound_notification_limit=e.participant_chat_message_sound_notification_limit,t.participant_joined_sound_notification_limit=e.participant_joined_sound_notification_limit),t}(e.config),this.enabledSounds=_(this.permissions.notification_sounds))}},{key:"statesChanged",value:function(e){var t;if(null!=e){var i,n=!(null===(t=null===e||void 0===e?void 0:e.prefs)||void 0===t?void 0:t.muteNotificationSounds),a=(0,o.Z)(this.enabledSounds);try{for(a.s();!(i=a.n()).done;){var s=i.value;s in this.permissions.notification_sounds&&(this.permissions.notification_sounds[s]=n)}}catch(r){a.e(r)}finally{a.f()}}}},{key:"apiErrorListener",value:function(e){var t=e.detail,i=t.trace,n=t.message;this.add({id:i,message:n,duration:h,icon:this.iconPack.warning})}},{key:"add",value:function(e){"visible"===document.visibilityState&&this.notifications.length<5&&(this.notifications=[].concat((0,n.Z)(this.notifications),[e]))}},{key:"remove",value:function(e){this.notifications=this.notifications.filter((function(t){return t.id!==e}))}},{key:"handleDismiss",value:function(e){var t=this;e.stopPropagation();var i=e.detail,n=this.host.shadowRoot.querySelector('[data-id="'.concat(i,'"]'));null===n||void 0===n||n.classList.add("exit"),setTimeout((function(){(0,d.w)((function(){t.remove(i)}))}),400)}},{key:"canPlayParticipantJoinedSound",value:function(){return void 0==this.permissions.participant_joined_sound_notification_limit||this.permissions.participant_joined_sound_notification_limit<=0||this.meeting.participants.count<=this.permissions.participant_joined_sound_notification_limit}},{key:"canPlayChatSound",value:function(){return void 0==this.permissions.participant_chat_message_sound_notification_limit||this.permissions.participant_chat_message_sound_notification_limit<=0||this.meeting.participants.count<=this.permissions.participant_chat_message_sound_notification_limit}},{key:"canAcceptWaitingRequests",value:function(){return this.permissions.notifications.participant_joined_waitlist&&this.meeting.self.permissions.acceptWaitingRequests}},{key:"render",value:function(){var e=this;return(0,d.h)(d.H,null,this.notifications.map((function(t){return(0,d.h)("dyte-notification",{size:e.size,key:t.
1id,"data-id":t.id,notification:t,onDyteNotificationDismiss:function(t){return e.handleDismiss(t)},iconPack:e.iconPack,t:e.t})})))}},{key:"host",get:function(){return(0,d.g)(this)}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"],config:["configChanged"],states:["statesChanged"]}}}]),e}();L.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);position:absolute;top:var(--dyte-space-4, 16px);right:var(--dyte-space-4, 16px);bottom:var(--dyte-space-4, 16px);left:var(--dyte-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;z-index:100}dyte-notification{margin-top:var(--dyte-space-2, 8px)}"},5542:function(e,t,i){i.d(t,{F:function(){return o},i:function(){return a},u:function(){return s}});var n=i(5231),o={PLAY_PARTICIPANT_TILE_VIDEO_ON_PAUSE:"play_participant_tile_video_on_pause",DISABLE_EMOJI_PICKER:"disable_emoji_picker",FEAT_PAGINATED_CHAT:"feat_paginated_chat",LOG_PLAYING_FAILURES:"log_playing_failures"},a=function(e){return e.connectedMeetings.supportsConnectedMeetings},s=function(e){var t;return(0,n.s)(e)||(null===(t=null===e||void 0===e?void 0:e.__internals__)||void 0===t?void 0:t.features.hasFeature("feat_paginated_chat"))}},5231:function(e,t,i){i.d(t,{P:function(){return n},a:function(){return s},b:function(){return l},c:function(){return u},d:function(){return o},e:function(){return c},f:function(){return d},i:function(){return a},s:function(){return r}});var n,o,a=function(e){return!!r(e)&&("LIVESTREAM"===e.meta.viewType&&"ON_STAGE"!==e.stage.status)},s=function(e){var t;return!!r(e)&&("LIVESTREAM"===e.meta.viewType&&(null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions.canLivestream))},r=function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions.isV2)&&(null===e||void 0===e?void 0:e.livestream)};!function(e){e.BUFFERING="Buffering",e.ENDED="Ended",e.IDLE="Idle",e.PLAYING="Playing",e.READY="Ready"}(n||(n={})),function(e){e.INITIALIZED="PlayerInitialized",e.QUALITY_CHANGED="PlayerQualityChanged",e.DURATION_CHANGED="PlayerDurationChanged",e.VOLUME_CHANGED="PlayerVolumeChanged",e.MUTED_CHANGED="PlayerMutedChanged",e.PLAYBACK_RATE_CHANGED="PlayerPlaybackRateChanged",e.REBUFFERING="PlayerRebuffering",e.AUDIO_BLOCKED="PlayerAudioBlocked",e.PLAYBACK_BLOCKED="PlayerPlaybackBlocked",e.ERROR="PlayerError",e.RECOVERABLE_ERROR="PlayerRecoverableError",e.ANALYTICS_EVENT="PlayerAnalyticsEvent",e.TIME_UPDATE="PlayerTimeUpdate",e.BUFFER_UPDATE="PlayerBufferUpdate",e.SEEK_COMPLETED="PlayerSeekCompleted",e.SESSION_DATA="PlayerSessionData",e.STATE_CHANGED="PlayerStateChanged",e.WORKER_ERROR="PlayerWorkerError",e.METADATA="PlayerMetadata",e.TEXT_CUE="PlayerTextCue",e.TEXT_METADATA_CUE="PlayerTextMetadataCue",e.AD_CUE="PlayerAdCue",e.STREAM_SOURCE_CUE="PlayerStreamSourceCue",e.NETWORK_UNAVAILABLE="PlayerNetworkUnavailable",e.SEGMENT_DISCONTINUITY="PlayerSegmentDiscontinuity",e.SEGMENT_METADATA="PlayerSegmentMetadata",e.PLAYER_METADATA="PlayerMetadata"}(o||(o={}));var c=[o.TIME_UPDATE,o.BUFFER_UPDATE,o.TEXT_METADATA_CUE,o.PLAYER_METADATA],d=[o.REBUFFERING,o.AUDIO_BLOCKED,o.PLAYBACK_BLOCKED,o.ERROR,o.RECOVERABLE_ERROR,o.WORKER_ERROR,o.NETWORK_UNAVAILABLE,o.ANALYTICS_EVENT,o.PLAYBACK_RATE_CHANGED,o.QUALITY_CHANGED,o.INITIALIZED],u=function(e){var t,i,n,o,a,s;return!!r(e)&&("ALLOWED"===(null===(i=null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions)||void 0===i?void 0:i.canProduceAudio)||"ALLOWED"===(null===(o=null===(n=null===e||void 0===e?void 0:e.self)||void 0===n?void 0:n.permissions)||void 0===o?void 0:o.canProduceScreenshare)||"ALLOWED"===(null===(s=null===(a=null===e||void 0===e?void 0:e.self)||void 0===a?void 0:a.permissions)||void 0===s?void 0:s.canProduceVideo))},l=function(e){var t,i,n,o,a,s,c,d;return!!r(e)&&("NOT_ALLOWED"!==(null===(i=null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions)||void 0===i?void 0:i.canProduceAudio)||"NOT_ALLOWED"!==(null===(o=null===(n=null===e||void 0===e?void 0:e.self)||void 0===n?void 0:n.permissions)||void 0===o?void 0:o.canProduceScreenshare)||"
1NOT_ALLOWED"!==(null===(s=null===(a=null===e||void 0===e?void 0:e.self)||void 0===a?void 0:a.permissions)||void 0===s?void 0:s.canProduceVideo)||(null===(d=null===(c=null===e||void 0===e?void 0:e.self)||void 0===c?void 0:c.permissions)||void 0===d?void 0:d.canLivestream))}},9013:function(e,t,i){i.d(t,{a:function(){return a},f:function(){return s},g:function(){return r},h:function(){return o},s:function(){return n}});var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;return null==e?"":e.length>t?"".concat(e.substring(0,t),"..."):e},o=function(e){return/^(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])+$/.test(e)&&!/^\d+$/.test(e)},a=function(e){return(null===e||void 0===e?void 0:e.trim().toLowerCase().startsWith("javascript:"))?"https://dyte.io":e},s=function(e){return""===(e=null===e||void 0===e?void 0:e.trim())?"Participant":e};function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;
1return e.replace(/[^\u00BF-\u1FFF\u2C00-\uD7FF\w\s]/g,"").trim().split(/\s+/).slice(0,t).map((function(e){return e.charAt(0)})).join("").toUpperCase()}}}]); 2//# sourceMappingURL=7766.5898bda5.chunk.js.map
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.