PageSourceSearch

https://dyte-proc.netlify.app/static/js/2162.220114e9.chunk.js

js dyte-proc.netlify.app collected 2026-10-03 10:42:24 UTC 9,388 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[2162,2332],{2332:function(e,n,t){t.r(n),t.d(n,{dyte_plugins_toggle:function(){return c}});var i=t(5671),r=t(3144),o=t(2304),u=t(5855),a=t(7622),s=t(2274),l=t(6311),c=(t(5231),function(){function e(n){var t=this;(0,i.Z)(this,e),(0,o.r)(this,n),this.stateUpdate=(0,o.c)(this,"dyteStateUpdate",7),this.updateCanView=function(){t.canViewPlugins=(0,l.b)(t.meeting)},this.variant="button",this.meeting=void 0,this.states=void 0,this.size=void 0,this.iconPack=u.d,this.t=(0,a.u)(),this.pluginsActive=!1,this.canViewPlugins=!1}return(0,r.Z)(e,[{key:"disconnectedCallback",value:function(){var e,n;null===(n=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===n||n.removeListener("stageStatusUpdate",this.updateCanView)}},{key:"connectedCallback",value:function(){var e=this;this.statesChanged(this.states),this.meetingChanged(this.meeting),(0,s.o)("sidebar",(function(){return e.statesChanged()}))}},{key:"meetingChanged",value:function(e){var n;null!=e&&(this.canViewPlugins=(0,l.b)(e),null===(n=null===e||void 0===e?void 0:e.stage)||void 0===n||n.on("stageStatusUpdate",this.updateCanView))}},{key:"statesChanged",value:function(e){var n=e||s.s;null!=n&&(this.pluginsActive=!0===n.activeSidebar&&"plugins"===n.sidebar)}},{key:"togglePlugins",value:function(){var e=this.states||s.s;this.pluginsActive=!((null===e||void 0===e?void 0:e.activeSidebar)&&"plugins"===(null===e||void 0===e?void 0:e.sidebar)),this.stateUpdate.emit({activeSidebar:this.pluginsActive,sidebar:this.pluginsActive?"plugins":"none",activeMoreMenu:!1}),s.s.activeSidebar=this.pluginsActive,s.s.sidebar=this.pluginsActive?"plugins":"none",s.s.activeMoreMenu=!1}},{key:"render",value:function(){var e=this;if(this.canViewPlugins){var n=this.t("plugins");return(0,o.h)(o.H,{title:n},(0,o.h)("dyte-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,t:this.t,class:{active:this.pluginsActive},onClick:function(){return e.togglePlugins()},icon:this.iconPack.rocket,label:n,variant:this.variant}))}}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"],states:["statesChanged"]}}}]),e}());c.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);display:block}"},5231:function(e,n,t){t.d(n,{P:function(){return i},a:function(){return u},b:function(){return d},c:function(){return c},d:function(){return r},e:function(){return s},f:function(){return l},i:function(){return o},s:function(){return a}});var i,r,o=function(e){return!!a(e)&&("LIVESTREAM"===e.meta.viewType&&"ON_STAGE"!==e.stage.status)},u=function(e){var n;return!!a(e)&&("LIVESTREAM"===e.meta.viewType&&(null===(n=null===e||void 0===e?void 0:e.self)||void 0===n?void 0:n.permissions.canLivestream))},a=function(e){var n;return(null===(n=null===e||void 0===e?void 0:e.self)||void 0===n?void 0:n.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"}(i||(i={})),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"}(r||(r={}));var s=[r.TIME_UPDATE,r.BUFFER_UPDATE,r.TEXT_METADATA_CUE,r.PLAYER_METADATA],l=[r.REBUFFERING,r.AUDIO_BLOCKED,r.PLAYBACK_BLOCKED,r.ERROR,r.RECOVERABLE_ERROR,r.WORKER_ERROR,r.NETWORK_UNAVAILABLE,r.ANALYTICS_EVENT,r.PLAYBACK_RATE_CHANGED,r.QUALITY_CHANGED,r.INITIALIZED],c=function(e){var n,t,i,r,o,u;return!!a(e)&&("ALLOWED"===(null===(t=null===(n=null===e||void 0===e?void 0:e.self)||void 0===n?void 0:n.permissions)||void 0===t?void 0:t.canProduceAudio)||"ALLOWED"===(null===(r=null===(i=null===e||void 0===e?void 0:e.self)||void 0===i?void 0:i.permissions)||void 0===r?void 0:r.canProduceScreenshare)||"ALLOWED"===(null===(u=null===(o=null===e||void 0===e?void 0:e.self)||void 0===o?void 0:o.permissions)||void 0===u?void 0:u.canProduceVideo))},d=function(e){var n,t,i,r,o,u,s,l;return!!a(e)&&("NOT_ALLOWED"!==(null===(t=null===(n=null===e||void 0===e?void 0:e.self)||void 0===n?void 0:n.permissions)||void 0===t?void 0:t.canProduceAudio)||"NOT_ALLOWED"!==(null===(r=null===(i=null===e||void 0===e?void 0:e.self)||void 0===i?void 0:i.permissions)||void 0===r?void 0:r.canProduceScreenshare)||"
1NOT_ALLOWED"!==(null===(u=null===(o=null===e||void 0===e?void 0:e.self)||void 0===o?void 0:o.permissions)||void 0===u?void 0:u.canProduceVideo)||(null===(l=null===(s=null===e||void 0===e?void 0:e.self)||void 0===s?void 0:s.permissions)||void 0===l?void 0:l.canLivestream))}},6311:function(e,n,t){t.d(n,{a:function(){return u},b:function(){return a},c:function(){return r},d:function(){return o}});var i=t(5231),r=function(e){if(e&&!e.chat)return!1;var n=null===e||void 0===e?void 0:e.self.config;if(n&&!n.controlBar.elements.chat)return!1;var t=e.self.permissions,i=t.chatPublic,r=t.chatPrivate;return i.canSend||i.text||i.files||r.canSend||r.canReceive||r.files||r.text},o=function(e){if(e&&!e.polls)return!1;var n=null===e||void 0===e?void 0:e.self.config;if(n&&!n.controlBar.elements.polls)return!1;var t=e.self.permissions.polls;return t.canCreate||t.canView||t.canVote},u=function(e){var n,t;if((0,i.s)(e)&&!(null===(n=e.self.permissions)||void 0===n?void 0:n.acceptPresentRequests))return!1;if(e&&!e.participants)return!1;if("LIVESTREAM"===e.meta.viewType)return e.self.permissions.acceptPresentRequests||"ON_STAGE"===(null===(t=null===e||void 0===e?void 0:e.stage)||void 0===t?void 0:t.status);var r=null===e||void 0===e?void 0:e.self.config;return!(r&&!r.controlBar.elements.participants)},a=function(e){if((0,i.i)(e))return!1;if(e&&!e.plugins)return!1;if("LIVESTREAM"===e.meta.viewType)return"ON_STAGE"===e.stage.status;var n=null===e||void 0===e?void 0:e.self.config;if(n&&!n.controlBar.elements.plugins)return!1;var t=e.self.permissions.plugins;return t.canClose||t.canStart}},2274:function(e,n,t){t.d(n,{o:function(){return d},s:function(){return c}});var i=t(7762),r=t(2304),o=function(e){return!("isConnected"in e)||e.isConnected},u=function(e,n){var t;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];t&&clearTimeout(t),t=setTimeout((function(){t=0,e.apply(void 0,r)}),n)}}((function(e){var n,t=(0,i.Z)(e.keys());try{for(t.s();!(n=t.n()).done;){var r=n.value;e.set(r,e.get(r).filter(o))}}catch(u){t.e(u)}finally{t.f()}}),2e3),a=function(e){return"function"===typeof e?e():e},s=function(e,n){var t=e.indexOf(n);t>=0&&(e[t]=e[e.length-1],e.length--)},l=function(e,n){var t=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,n){return e!==n},t=a(e),i=new Map(Object.entries(null!==t&&void 0!==t?t:{})),r={dispose:[],get:[],set:[],reset:[]},o=function(){var n;i=new Map(Object.entries(null!==(n=a(e))&&void 0!==n?n:{})),r.reset.forEach((function(e){return e()}))},u=function(e){return r.get.forEach((function(n){return n(e)})),i.get(e)},l=function(e,t){var o=i.get(e);n(t,o,e)&&(i.set(e,t),r.set.forEach((function(n){return n(e,t,o)})))},c="undefined"===typeof Proxy?{}:new Proxy(t,{get:function(e,n){return u(n)},ownKeys:function(e){return Array.from(i.keys())},getOwnPropertyDescriptor:function(){return{enumerable:!0,configurable:!0}},has:function(e,n){return i.has(n)},set:function(e,n,t){return l(n,t),!0}}),d=function(e,n){return r[e].push(n),function(){s(r[e],n)}};return{state:c,get:u,set:l,on:d,onChange:function(n,t){var i=d("set",(function(e,i){e===n&&t(i)})),r=d("reset",(function(){return t(a(e)[n])}));return function(){i(),r()}},use:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var i=n.reduce((function(e,n){return n.set&&e.push(d("set",n.set)),n.get&&e.push(d("get",n.get)),n.reset&&e.push(d("reset",n.reset)),n.dispose&&e.push(d("dispose",n.dispose)),e}),[]);return function(){return i.forEach((function(e){return e()}))}},dispose:function(){r.dispose.forEach((function(e){return e()})),o()},reset:o,forceUpdate:function(e){var n=i.get(e);r.set.forEach((function(t){return t(e,n,n)}))}}}(e,n);return t.use(function(){if("function"!==typeof r.a)return{};var e=new Map;return{dispose:function(){return e.clear()},get:function(n){var t=(0,r.a)();t&&function(e,n,t){var i=e.get(n);i?i.includes(t)||i.push(t):e.set(n,[t])}(e,n,t)},set:function(n){var t=e.get(n);t&&e.set(n,t.filter(r.f)),u(e)},reset:function(){e.forEach((function(e){return e.forEach(r.f)})),u(e)}}}()),t}({}),c=l.state,d=l.onChange}}]);
2//# sourceMappingURL=2162.220114e9.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.