PageSourceSearch

https://el-najah.com/_next/static/chunks/8302.cf1b229d15ccc762.js

js el-najah.com collected 2026-10-07 15:25:25 UTC 32,293 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8302,5892],{73938:function(t,e,r){r.d(e,{S:function(){return s}});var a=r(72812),o=r(38279);function s(){return function(t,e){let{connectedCallback:r,disconnectedCallback:s}=t;t.connectedCallback=function(){let t=(0,a.g)(this),s=t[e];if(t[`_rtkStoreToCleanup-${e}`]=o.u,!s){let r=o.u.state[e];t[e]=r,(0,o.G)(e,t,o.u)}let i=r=>{let a=t._storeRequestId;if(r.detail.requestId===a){let a=r.detail.store.state[e];t.componentOnReady().then(()=>{t[e]=a}),(0,o.G)(e,t,r.detail.store),t[`_rtkStoreToCleanup-${e}`]=r.detail.store,(0,o.H)(e,t,o.u)}};t[`_rtkStoreResponseListener-${e}`]=i,document.addEventListener("rtkProvideStore",i);let n=`${t.tagName}-${Date.now()}-${Math.random()}`;t._storeRequestId=n;let d=new CustomEvent("rtkRequestStore",{detail:{element:t,propName:e,requestId:n},bubbles:!0,composed:!0});t.dispatchEvent(d);let l=()=>{let r=`${t.tagName}-${Date.now()}-${Math.random().toString(36)}`;t._storeRequestId=r;let a=new CustomEvent("rtkRequestStore",{detail:{element:t,propName:e,requestId:r},bubbles:!0,composed:!0});t.dispatchEvent(a)};return t[`_rtkStoreReadyListener-${e}`]=l,document.addEventListener("rtkPeerStoreReady",l),null==r?void 0:r.call(this)},t.disconnectedCallback=function(){let t=(0,a.g)(this);(0,o.H)(e,t,t[`_rtkStoreToCleanup-${e}`]);let r=t[`_rtkStoreResponseListener-${e}`];r&&(document.removeEventListener("rtkProvideStore",r),delete t[`_rtkStoreResponseListener-${e}`]);let i=t[`_rtkStoreReadyListener-${e}`];return i&&(document.removeEventListener("rtkPeerStoreReady",i),delete t[`_rtkStoreReadyListener-${e}`]),null==s?void 0:s.call(this)}}}},8302:function(t,e,r){r.r(e),r.d(e,{rtk_debugger_audio:function(){return h},rtk_debugger_screenshare:function(){return b},rtk_debugger_system:function(){return p},rtk_debugger_video:function(){return k}});var a=r(72812);r(70260),r(64083);var o=r(38279),s=r(73938);function i({stats:t}){if(!t||!t.length)return null;let e="Good",r=t.map(t=>t.verdict);return r.includes("Poor")?e="Poor":r.includes("Average")&&(e="Average"),e}function n({packetLossPercentage:t}){let e="Good";return t>4?e="Poor":t>=1&&t<=4&&(e="Average"),e}function d({jitterInMS:t}){let e="Good";return t>100?e="Poor":t>=50&&t<=100&&(e="Average"),e}function l({bitrate:t}){let e="Good";return 0===Math.round(t/1024)&&(e="Poor"),e}var c=function(t,e,r,a){var o,s=arguments.length,i=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s<3?o(i):s>3?o(e,r,i):o(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i};let h=class{constructor(t){(0,a.r)(this,t),this.iconPack=o.e,this.t=(0,o.i)(),this.isNetworkOpen=!0,this.isDevicesOpen=!1,this.audioProducerFormattedStats=[],this.audioProducerScoreStats=null,this.networkBasedMediaHealth=null,this.devicesHealth=null,this.mediaScoreUpdateListener=({kind:t,isScreenshare:e,scoreStats:r})=>{"audio"!==t||e||(this.audioProducerScoreStats=r)},this.deviceListUpdateListener=async()=>{let t=await this.meeting.self.getAudioDevices();this.devicesHealth=(null==t?void 0:t.length)>0?"Good":"Poor"},this.audioUpdateListener=()=>{this.meeting.self.audioEnabled||(this.audioProducerScoreStats=null)}}async audioProducerScoreStatsChanged(t){if(!t){this.audioProducerFormattedStats=[];return}let e=[];e.push({name:this.t("debugger.stats.bitrate.label"),value:`${Math.round(t.bitrate/1024)} kbps`,description:this.t("debugger.stats.bitrate.description"),verdict:l({bitrate:t.bitrate})}),e.push({name:this.t("debugger.stats.packet_loss.label"),value:`${t.packetsLostPercentage}%`,description:this.t("debugger.stats.packet_loss.description"),verdict:n({packetLossPercentage:t.packetsLostPercentage})}),e.push({name:this.t("debugger.stats.jitter.label"),value:`${Math.round(1e3*t.jitter)} ms`,description:this.t("debugger.stats.jitter.description"),verdict:d({jitterInMS:1e3*t.jitter})}),this.audioProducerFormattedStats=e,this.networkBasedMediaHealth=i({stats:e})}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.self.off("mediaScoreUpdate",this.mediaScoreUpdateListener),this.meeting.self.off("audioUpdate",this.audioUpdateListener),this.meeting.self.off("deviceListUpdate",this.deviceListUpdateListener))}async meetingChanged(t){t&&(t.self.on("mediaScoreUpdate",this.mediaScoreUpdateListener),t.self.on("audioUpdate",this.audioUpdateListener),t.self.on("deviceListUpdate",this.deviceListUpdateListener),await this.deviceListUpdateListener())}render(){var t,e;if(this.meeting)return(0,a.h)(a.a,null,(0,a.h)("div",{id:"header"}),(0,a.h)("div",{class:"tab-body"},(0,a.h)("div",{class:"status-container"},(0,a.h)("div",{class:"status-section"},(0,a.h)("div",{class:`section-header ${this.networkBasedMediaHealth?"":"only-child"}`},(0,a.h)("span",null,this.t("debugger.audio.sections.network_media")),this.networkBasedMediaHealth&&(0,a.h)("span",{class:`status ${null===(t=this.networkBasedMediaHealth)||void 0===t?void 0:t.toLowerCase()}`},this.t(`debugger.quality.${null===(e=this.networkBasedMediaHealth)||void 0===e?void 0:e.toLowerCase()}`))),this.isNetworkOpen&&!this.audioProducerFormattedStats.length&&(0,a.h)("div",{class:"section-body missing-stats"},this.meeting.self.audioEnabled?(0,a.h)("span",null,this.t("debugger.audio.messages.generating_report")):(0,a.h)("span",null,this.t("debugger.audio.messages.enable_media"))),this.isNetworkOpen&&!!this.audioProducerFormattedStats.length&&(0,a.h)("div",{class:"section-body network-table"},this.audioProducerFormattedStats.map(t=>{var e,r;return(0,a.h)("div",{class:"network-row"},(0,a.h)("div",{class:"network-cell label"},(0,a.h)("strong",null,t.name),(0,a.h)("span",{class:"description"},t.description)),(0,a.h)("div",{class:"network-cell value"},(0,a.h)("span",{class:`status ${null===(e=t.verdict)||void 0===e?void 0:e.toLowerCase()}`},this.t(`debugger.quality.${null===(r=t.verdict)||void 0===r?void 0:r.toLowerCase()}`)),(0,a.h)("span",{class:"value"},t.value)))}))))))}static get watchers(){return{audioProducerScoreStats:[{audioProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}}};c([(0,s.S)()],h.prototype,"meeting",void 0),c([(0,s.S)()],h.prototype,"states",void 0),c([(0,s.S)()],h.prototype,"iconPack",void 0),c([(0,s.S)()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))     var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);
1display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-audio{display:flex;flex-direction:column}";var g=function(t,e,r,a){var o,s=arguments.length,i=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s<3?o(i):s>3?o(e,r,i):o(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i};let b=class{constructor(t){(0,a.r)(this,t),this.iconPack=o.e,this.t=(0,o.i)(),this.isNetworkOpen=!0,this.isDevicesOpen=!1,this.videoProducerFormattedStats=[],this.videoProducerScoreStats=null,this.audioProducerFormattedStats=[],this.audioProducerScoreStats=null,this.networkBasedMediaHealth=null,this.mediaScoreUpdateListener=({kind:t,isScreenshare:e,scoreStats:r})=>{"video"===t&&e&&(this.videoProducerScoreStats=r),"audio"===t&&e&&(this.audioProducerScoreStats=r)},this.screenShareUpdateListener=()=>{this.meeting.self.screenShareEnabled||(this.videoProducerScoreStats=null,this.audioProducerScoreStats=null)}}async videoProducerScoreStatsChanged(t){if(!t){this.videoProducerFormattedStats=[];return}let e=[];e.push({name:this.t("debugger.stats.cpu_limitations.label"),value:t.cpuLimitations?"Yes":"No",description:this.t("debugger.stats.cpu_limitations.description"),verdict:t.cpuLimitations?"Poor":"Good"}),e.push({name:this.t("debugger.stats.bandwidth_limitations.label"),value:t.bandwidthLimitations?"Yes":"No",description:this.t("debugger.stats.bandwidth_limitations.description"),verdict:t.bandwidthLimitations?"Poor":"Good"}),e.push({name:this.t("debugger.stats.bitrate.label"),value:`${Math.round(t.bitrate/1024)} kbps`,description:this.t("debugger.stats.bitrate.description"),verdict:l({bitrate:t.bitrate})}),e.push({name:this.t("debugger.stats.packet_loss.label"),value:`${t.packetsLostPercentage}%`,description:this.t("debugger.stats.packet_loss.description"),verdict:n({packetLossPercentage:t.packetsLostPercentage})}),e.push({name:this.t("debugger.stats.jitter.label"),value:`${Math.round(1e3*t.jitter)} ms`,description:this.t("debugger.stats.jitter.description"),verdict:d({jitterInMS:1e3*t.jitter})}),this.videoProducerFormattedStats=e,this.networkBasedMediaHealth=i({stats:e})}async audioProducerScoreStatsChanged(t){if(!t){this.audioProducerFormattedStats=[];return}let e=[];e.push({name:this.t("debugger.stats.bitrate.label"),value:`${Math.round(t.bitrate/1024)} kbps`,description:this.t("debugger.stats.bitrate.description"),verdict:l({bitrate:t.bitrate})}),e.push({name:this.t("debugger.stats.packet_loss.label"),value:`${t.packetsLostPercentage}%`,description:this.t("debugger.stats.packet_loss.description"),verdict:n({packetLossPercentage:t.packetsLostPercentage})}),e.push({name:this.t("debugger.stats.jitter.label"),value:`${Math.round(1e3*t.jitter)} ms`,description:this.t("debugger.stats.jitter.description"),verdict:d({jitterInMS:1e3*t.jitter})}),this.audioProducerFormattedStats=e}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.self.off("mediaScoreUpdate",this.mediaScoreUpdateListener),this.meeting.self.off("screenShareUpdate",this.screenShareUpdateListener))}async meetingChanged(t){t&&(t.self.on("mediaScoreUpdate",this.mediaScoreUpdateListener),t.self.on("screenShareUpdate",this.screenShareUpdateListener))}render(){var t,e;if(this.meeting)return(0,a.h)(a.a,null,(0,a.h)("div",{id:"header"}),(0,a.h)("div",{class:"tab-body"},(0,a.h)("div",{class:"status-container"},(0,a.h)("div",{class:"status-section"},(0,a.h)("div",{class:`section-header ${this.networkBasedMediaHealth?"":"only-child"}`},(0,a.h)("span",null,this.t("debugger.screenshare.sections.network_media")),this.networkBasedMediaHealth&&(0,a.h)("span",{class:`status ${null===(t=this.networkBasedMediaHealth)||void 0===t?void 0:t.toLowerCase()}`},this.t(`debugger.quality.${null===(e=this.networkBasedMediaHealth)||void 0===e?void 0:e.toLowerCase()}`))),this.isNetworkOpen&&!this.videoProducerFormattedStats.length&&(0,a.h)("div",{class:"section-body missing-stats"},this.meeting.self.screenShareEnabled?(0,a.h)("span",null,this.t("debugger.screenshare.messages.generating_report")):(0,a.h)("span",null,this.t("debugger.screenshare.messages.enable_media"))),this.isNetworkOpen&&!!this.videoProducerFormattedStats.length&&(0,a.h)("div",{class:"section-body network-table"},this.videoProducerFormattedStats.map(t=>{var e,r;return(0,a.h)("div",{class:"network-row"},(0,a.h)("div",{class:"network-cell label"},(0,a.h)("strong",null,t.name),(0,a.h)("span",{class:"description"},t.description)),(0,a.h)("div",{class:"network-cell value"},(0,a.h)("span",{class:`status ${null===(e=t.verdict)||void 0===e?void 0:e.toLowerCase()}`},this.t(`debugger.quality.${null===(r=t.verdict)||void 0===r?void 0:r.toLowerCase()}`)),(0,a.h)("span",{class:"value"},t.value)))}))))))}static get watchers(){return{videoProducerScoreStats:[{videoProducerScoreStatsChanged:0}],audioProducerScoreStats:[{audioProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}}};g([(0,s.S)()],b.prototype,"meeting",void 0),g([(0,s.S)()],b.prototype,"states",void 0),g([(0,s.S)()],b.prototype,"iconPack",void 0),g([(0,s.S)()],b.prototype,"t",void 0),b.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))     var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);
1display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}";var u=function(t,e,r,a){var o,s=arguments.length,i=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s<3?o(i):s>3?o(e,r,i):o(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i};let p=class{constructor(t){(0,a.r)(this,t),this.iconPack=o.e,this.t=(0,o.i)(),this.isBatterySectionOpen=!0,this.batterySectionHealth=null,this.battery=null,this.batteryFormattedStats=[],this.batteryUpdateListener=()=>{let t=Math.round(100*this.battery.level),e=[];e.push({name:this.t("debugger.system.battery.level.label"),value:`${t}%`,description:this.t("debugger.system.battery.level.description"),verdict:function({batteryLevelPercentage:t}){let e="Good";return t<20?e="Poor":t<50&&(e="Average"),e}({batteryLevelPercentage:t})}),e.push({name:this.t("debugger.system.battery.charging.label"),value:`${this.battery.charging?this.t("debugger.system.battery.charging.is_charging"):this.t("debugger.system.battery.charging.is_not_charging")}`,description:this.t("debugger.system.battery.charging.description"),verdict:function({charging:t,dischargingTimeInSeconds:e,batteryLevelPercentage:r}){return r<20?"Poor":t?"Good":e<1800?"Poor":"Average"}({batteryLevelPercentage:t,dischargingTimeInSeconds:this.battery.dischargingTime,charging:this.battery.charging})}),this.batterySectionHealth=function({stats:t}){if(!t||!t.length)return null;let e="Good",r=t.map(t=>t.verdict);return r.includes("Poor")?e="Poor":r.includes("Average")&&(e="Average"),e}({stats:e}),this.batteryFormattedStats=e}}toggleSection(t){"battery"===t&&(this.isBatterySectionOpen=!this.isBatterySectionOpen)}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&this.battery&&(this.battery.removeEventListener("levelchange",this.batteryUpdateListener),this.battery.removeEventListener("chargingchange",this.batteryUpdateListener))}async meetingChanged(t){t&&void 0!==navigator.getBattery&&(this.battery=await navigator.getBattery(),this.battery.addEventListener("levelchange",this.batteryUpdateListener),this.battery.addEventListener("chargingchange",this.batteryUpdateListener),this.batteryUpdateListener())}render(){var t,e;if(this.meeting)return(0,a.h)(a.a,null,(0,a.h)("div",{id:"header"}),(0,a.h)("div",{class:"tab-body"},(0,a.h)("div",{class:"status-container"},(0,a.h)("div",{class:"status-section"},(0,a.h)("div",{class:"section-header",onClick:()=>this.toggleSection("battery")},(0,a.h)("span",null,this.t("debugger.system.sections.battery")),this.batterySectionHealth&&(0,a.h)("span",{class:`status ${null===(t=this.batterySectionHealth)||void 0===t?void 0:t.toLowerCase()}`},this.t(`debugger.quality.${null===(e=this.batterySectionHealth)||void 0===e?void 0:e.toLowerCase()}`))),this.isBatterySectionOpen&&!!this.batteryFormattedStats.length&&(0,a.h)("div",{class:"section-body battery-table"},this.batteryFormattedStats.map(t=>{var e,r;return(0,a.h)("div",{class:"battery-row"},(0,a.h)("div",{class:"battery-cell label"},(0,a.h)("strong",null,t.name),(0,a.h)("span",{class:"description"},t.description)),(0,a.h)("div",{class:"battery-cell value"},(0,a.h)("span",{class:`status ${null===(e=t.verdict)||void 0===e?void 0:e.toLowerCase()}`},this.t(`debugger.quality.${null===(r=t.verdict)||void 0===r?void 0:r.toLowerCase()}`)),(0,a.h)("span",{class:"value"},t.value)))}))))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};u([(0,s.S)()],p.prototype,"meeting",void 0),u([(0,s.S)()],p.prototype,"states",void 0),u([(0,s.S)()],p.prototype,"iconPack",void 0),u([(0,s.S)()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))     var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);
1display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.battery-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.battery-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.battery-row:last-child{border-bottom:none}.battery-cell{display:flex;flex-direction:column}.battery-cell.label strong{font-size:14px}.battery-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.battery-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}";var v=function(t,e,r,a){var o,s=arguments.length,i=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(i=(s<3?o(i):s>3?o(e,r,i):o(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i};let k=class{constructor(t){(0,a.r)(this,t),this.iconPack=o.e,this.t=(0,o.i)(),this.isNetworkOpen=!0,this.isDevicesOpen=!1,this.videoProducerFormattedStats=[],this.videoProducerScoreStats=null,this.networkBasedMediaHealth=null,this.devicesHealth=null,this.mediaScoreUpdateListener=({kind:t,isScreenshare:e,scoreStats:r})=>{"video"!==t||e||(this.videoProducerScoreStats=r)},this.deviceListUpdateListener=async()=>{let t=await this.meeting.self.getVideoDevices();this.devicesHealth=(null==t?void 0:t.length)>0?"Good":"Poor"},this.videoUpdateListener=()=>{this.meeting.self.videoEnabled||(this.videoProducerScoreStats=null)}}async videoProducerScoreStatsChanged(t){if(!t){this.videoProducerFormattedStats=[];return}let e=[];e.push({name:this.t("debugger.stats.cpu_limitations.label"),value:t.cpuLimitations?"Yes":"No",description:this.t("debugger.stats.cpu_limitations.description"),verdict:t.cpuLimitations?"Poor":"Good"}),e.push({name:this.t("debugger.stats.bandwidth_limitations.label"),value:t.bandwidthLimitations?"Yes":"No",description:this.t("debugger.stats.bandwidth_limitations.description"),verdict:t.bandwidthLimitations?"Poor":"Good"}),e.push({name:this.t("debugger.stats.bitrate.label"),value:`${Math.round(t.bitrate/1024)} kbps`,description:this.t("debugger.stats.bitrate.description"),verdict:l({bitrate:t.bitrate})}),e.push({name:this.t("debugger.stats.packet_loss.label"),value:`${t.packetsLostPercentage}%`,description:this.t("debugger.stats.packet_loss.description"),verdict:n({packetLossPercentage:t.packetsLostPercentage})}),e.push({name:this.t("debugger.stats.jitter.label"),value:`${Math.round(1e3*t.jitter)} ms`,description:this.t("debugger.stats.jitter.description"),verdict:d({jitterInMS:1e3*t.jitter})}),this.videoProducerFormattedStats=e,this.networkBasedMediaHealth=i({stats:e})}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.self.off("mediaScoreUpdate",this.mediaScoreUpdateListener),this.meeting.self.off("videoUpdate",this.videoUpdateListener),this.meeting.self.off("deviceListUpdate",this.deviceListUpdateListener))}async meetingChanged(t){t&&(t.self.on("mediaScoreUpdate",this.mediaScoreUpdateListener),t.self.on("videoUp
1date",this.videoUpdateListener),t.self.on("deviceListUpdate",this.deviceListUpdateListener),await this.deviceListUpdateListener())}render(){var t,e;if(this.meeting)return(0,a.h)(a.a,null,(0,a.h)("div",{id:"header"}),(0,a.h)("div",{class:"tab-body"},(0,a.h)("div",{class:"status-container"},(0,a.h)("div",{class:"status-section"},(0,a.h)("div",{class:`section-header ${this.networkBasedMediaHealth?"":"only-child"}`},(0,a.h)("span",null,this.t("debugger.video.sections.network_media")),this.networkBasedMediaHealth&&(0,a.h)("span",{class:`status ${null===(t=this.networkBasedMediaHealth)||void 0===t?void 0:t.toLowerCase()}`},this.t(`debugger.quality.${null===(e=this.networkBasedMediaHealth)||void 0===e?void 0:e.toLowerCase()}`))),this.isNetworkOpen&&!this.videoProducerFormattedStats.length&&(0,a.h)("div",{class:"section-body missing-stats"},this.meeting.self.videoEnabled?(0,a.h)("span",null,this.t("debugger.video.messages.generating_report")):(0,a.h)("span",null,this.t("debugger.video.messages.enable_media"))),this.isNetworkOpen&&!!this.videoProducerFormattedStats.length&&(0,a.h)("div",{class:"section-body network-table"},this.videoProducerFormattedStats.map(t=>{var e,r;return(0,a.h)("div",{class:"network-row"},(0,a.h)("div",{class:"network-cell label"},(0,a.h)("strong",null,t.name),(0,a.h)("span",{class:"description"},t.description)),(0,a.h)("div",{class:"network-cell value"},(0,a.h)("span",{class:`status ${null===(e=t.verdict)||void 0===e?void 0:e.toLowerCase()}`},this.t(`debugger.quality.${null===(r=t.verdict)||void 0===r?void 0:r.toLowerCase()}`)),(0,a.h)("span",{class:"value"},t.value)))}))))))}static get watchers(){return{videoProducerScoreStats:[{videoProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}}};v([(0,s.S)()],k.prototype,"meeting",void 0),v([(0,s.S)()],k.prototype,"states",void 0),v([(0,s.S)()],k.prototype,"iconPack",void 0),v([(0,s.S)()],k.prototype,"t",void 0),k.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))     var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);
1display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}"}}]);

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.