@100mslive/roomkit-react 0.4.3-alpha.6 → 0.4.3-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8,9 +8,6 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
8
  var __getProtoOf = Object.getPrototypeOf;
9
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
10
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
- var __typeError = (msg) => {
12
- throw TypeError(msg);
13
- };
14
11
  var __pow = Math.pow;
15
12
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16
13
  var __spreadValues = (a2, b2) => {
@@ -63,11 +60,28 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
63
60
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
64
61
  mod
65
62
  ));
66
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
67
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
68
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
69
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
70
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
63
+ var __publicField = (obj, key, value) => {
64
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
65
+ return value;
66
+ };
67
+ var __accessCheck = (obj, member, msg) => {
68
+ if (!member.has(obj))
69
+ throw TypeError("Cannot " + msg);
70
+ };
71
+ var __privateGet = (obj, member, getter) => {
72
+ __accessCheck(obj, member, "read from private field");
73
+ return getter ? getter.call(obj) : member.get(obj);
74
+ };
75
+ var __privateAdd = (obj, member, value) => {
76
+ if (member.has(obj))
77
+ throw TypeError("Cannot add the same private member more than once");
78
+ member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
79
+ };
80
+ var __privateSet = (obj, member, value, setter) => {
81
+ __accessCheck(obj, member, "write to private field");
82
+ setter ? setter.call(obj, value) : member.set(obj, value);
83
+ return value;
84
+ };
71
85
  var __async = (__this, __arguments, generator) => {
72
86
  return new Promise((resolve, reject) => {
73
87
  var fulfilled = (value) => {
@@ -93,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
93
107
  var define_process_env_default;
94
108
  var init_define_process_env = __esm({
95
109
  "<define:process.env>"() {
96
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_devDependencies_ts_node: "^10.9.2", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", DOTNET_NOLOGO: "1", npm_package_resolutions_tar: "^7.5.11", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "^0.1.3-alpha.6", USER: "runner", npm_package_resolutions__octokit_request: "^8.4.1", npm_package_devDependencies_jest: "^29.7.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v24.14.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "^0.11.3-alpha.6", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_94618907-b03f-4429-9a70-1f3e398ed09f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", npm_package_resolutions_svgo: "^2.8.1", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "^1.14.3-alpha.6", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_resolutions_diff: "^4.0.4", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.62.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_resolutions__babel_runtime: "^7.26.10", npm_package_resolutions__tldraw_tldraw__radix_ui_react_dialog: "1.0.5", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^4.6.3", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.4.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_resolutions__isaacs_brace_expansion: "^5.0.1", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "2100", ACTIONS_ORCHESTRATION_ID: "e8f8e213-00bb-4be6-858a-33e665b85a1c.publish_packages.__default", npm_package_resolutions_tmp: "^0.2.3", npm_package_scripts_postinstall: "husky install", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.28.17", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260309.50.1", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^29.7.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.2", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13952", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_lerna: "^9.0.7", npm_package_devDependencies__types_jest: "^29.5.14", npm_package_devDependencies__commitlint_config_conventional: "^19.8.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.62.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "^0.4.3-alpha.6", npm_package_devDependencies__types_lodash_merge: "^4.6.6", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23131560642", npm_package_workspaces_0: "packages/*", npm_package_resolutions_cross_spawn: "^7.0.5", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "57bd13f805356a53228e413cbb350c7e9875d0d8", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_resolutions_qs: "^6.14.2", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "5213790827745635998", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/fix/dependabot-security-updates-v2", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9maXgvZGVwZW5kYWJvdC1zZWN1cml0eS11cGRhdGVzLXYyXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo1ZTEyZTAwOS1kZDAxLTRjY2MtOWU4OS00NTIzMDI1MDNkYjUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFPRXZRIiwiZXhwIjoxNzczNjY2MTYyLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzM2NDM5NjIsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzM2NDM2NjIsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwicmF2aXRlamE4M1wiLFwiYWN0b3JfaWRcIjpcIjY3NjMyNjFcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjcxODU4NzczOTVcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCIxMDBtc2xpdmUvd2ViLXNka3MvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC55bWxAcmVmcy9oZWFkcy9maXgvZGVwZW5kYWJvdC1zZWN1cml0eS11cGRhdGVzLXYyXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1N2JkMTNmODA1MzU2YTUzMjI4ZTQxM2NiYjM1MGM3ZTk4NzVkMGQ4XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZml4L2RlcGVuZGFib3Qtc2VjdXJpdHktdXBkYXRlcy12MlwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjMxMzE1NjA2NDJcIixcInJ1bl9udW1iZXJcIjpcIjgwOVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjU3YmQxM2Y4MDUzNTZhNTMyMjhlNDEzY2JiMzUwYzdlOTg3NWQwZDhcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL2ZpeC9kZXBlbmRhYm90LXNlY3VyaXR5LXVwZGF0ZXMtdjJcIixcIndvcmtmbG93X3NoYVwiOlwiNTdiZDEzZjgwNTM1NmE1MzIyOGU0MTNjYmIzNTBjN2U5ODc1ZDBkOFwifSIsIm9pZGNfc3ViIjoicmVwbzoxMDBtc2xpdmUvd2ViLXNka3M6cmVmOnJlZnMvaGVhZHMvZml4L2RlcGVuZGFib3Qtc2VjdXJpdHktdXBkYXRlcy12MiIsIm9yY2hfaWQiOiJlOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWMucHVibGlzaF9wYWNrYWdlcy5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBT0V2USIsInBsYW5faWQiOiJlOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWMiLCJyZXBvc2l0b3J5X2lkIjoiNDI5ODI2NTE1IiwicnVuX2lkIjoiMjMxMzE1NjA2NDIiLCJydW5fbnVtYmVyIjoiODA5IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDE5OTgwNiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmU4ZjhlMjEzLTAwYmItNGJlNi04NThhLTMzZTY2NWI4NWExYzpiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQgQWN0aW9ucy5SdW5uZXI6ZThmOGUyMTMtMDBiYi00YmU2LTg1OGEtMzNlNjY1Yjg1YTFjOmJkMjg1ZWJmLTc5YTItNTRiNi05NzU2LWQ5MjE0OWRhYTRiNCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czplOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWM6YmQyODVlYmYtNzlhMi01NGI2LTk3NTYtZDkyMTQ5ZGFhNGI0IGdlbmVyYXRlX2lkX3Rva2VuOmU4ZjhlMjEzLTAwYmItNGJlNi04NThhLTMzZTY2NWI4NWExYzpiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1N2JkMTNmODA1MzU2YTUzMjI4ZTQxM2NiYjM1MGM3ZTk4NzVkMGQ4IiwidHJ1c3RfdGllciI6IjEifQ.L5N-OMdCYh7bv5tz1SHwARru9tFlo3yFBEIRgB0r4ksaT16mo-WiPf2ExVtBluBPJytEUOPgiJBT362QbaVjEyRNoG8AShMEfbUZneBcL3AP3jnmyWVkEijSZWAwBTqDdjRJkpiGCEqU6p34JEDeOFPEnbBB49ANdfADC8vIlvmXoYXJjVrGM3XJqjcAY2S8kh4GPjQRj8o1PjkobO1JqRY2YeIykxqPVDD8CJWdkV12PG1lVtF00Tq3-KAxo-eo466H_0K6w7nM-m0LHa4UUhC8QKrADKa59GjX78Gf_WkL_NbhW6bNypKyMmXotVDic-EH0NZLHUnctjfe-lPieA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_resolutions_on_headers: "^1.1.0", npm_package_resolutions_semver: "^7.5.2", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1773644045733-0.7862426815129081:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644045559-0.9882098262434613:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644028277-0.6494734591164135:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644028117-0.11927964986527528:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4d37e8d9-cb65-4fa7-9f53-548560dc832d", INVOCATION_ID: "c968d72e91b34ebcbd14bd060eb75121", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "809", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^7.0.0", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^19.8.0", npm_config_legacy_peer_deps: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_resolutions_flatted: "^3.4.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.57.1", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000199806", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "fix/dependabot-security-updates-v2", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_braces: "^3.0.3", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^9.2.1", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "^0.11.3-alpha.6", npm_package_scripts_types: "tsc -w", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.4.3-alpha.6", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions__octokit_request_error: "^5.1.1", npm_package_resolutions_axios: "^1.13.5", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies_jest_environment_jsdom: "^29.7.0", NX_ISOLATE_PLUGINS: "false", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_resolutions__babel_helpers: "^7.26.10", GITHUB_SHA: "57bd13f805356a53228e413cbb350c7e9875d0d8", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_package_resolutions__adobe_css_tools: "^4.3.2", npm_package_resolutions_form_data: "^4.0.4", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", NX_TASK_TARGET_TARGET: "build", NX_FORKED_TASK_EXECUTOR: "true", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/fix/dependabot-security-updates-v2", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", NX_LOAD_DOT_ENV_FILES: "true", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_94618907-b03f-4429-9a70-1f3e398ed09f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_resolutions____vite_rollup: "^4.59.0", npm_package_scripts_ybys: "yarn && yarn build --no-private", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/131//idtoken/e8f8e213-00bb-4be6-858a-33e665b85a1c/bd285ebf-79a2-54b6-9756-d92149daa4b4?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_resolutions_nanoid: "^3.3.8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_ejs: "^3.1.10", npm_package_resolutions_micromatch: "^4.0.8", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.5.8", npm_package_devDependencies_esbuild: "^0.25.0", npm_config_save_prefix: "^", npm_config_ignore_optional: "", NX_TUI: "false", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_knip: "^5.11.0", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_resolutions_sass: "^1.83.0" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_53457e80-8123-47f3-ab64-40fdf0645f20", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", DOTNET_NOLOGO: "1", npm_package_resolutions_tar: "^7.5.10", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.1.3-alpha.8", USER: "runner", npm_package_resolutions__octokit_request: "^8.4.1", npm_package_devDependencies_jest: "^29.7.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v24.14.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.11.3-alpha.8", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_53457e80-8123-47f3-ab64-40fdf0645f20", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", npm_package_resolutions_svgo: "^2.8.1", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.14.3-alpha.8", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_resolutions__tldraw_tldraw__radix_ui_react_dialog: "1.0.5", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "2114", ACTIONS_ORCHESTRATION_ID: "a099d84b-d2fe-4ba2-9f7a-2001e1e19289.publish_packages.__default", npm_package_resolutions_tmp: "^0.2.3", npm_package_scripts_postinstall: "husky install", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260302.42.1", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^29.7.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.2", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:17431", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_lerna: "^9.0.4", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^19.6.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.4.3-alpha.8", npm_package_devDependencies__types_lodash_merge: "^4.6.6", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.7/x64", GITHUB_RUN_ID: "23150955629", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ce778f84bd26fe6c451dbdde03ecffc1f3c83998", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_resolutions_qs: "^6.14.2", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "10540959078210112657", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/remove-mute-unmute-handling", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9yZW1vdmUtbXV0ZS11bm11dGUtaGFuZGxpbmdcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjVlMTJlMDA5LWRkMDEtNGNjYy05ZTg5LTQ1MjMwMjUwM2RiNSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJleHAiOjE3NzM2OTYyODUsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3MzY3NDA4NSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjA2NmEwMTg3LTllMWMtNTcxMS04YmRiLTdiMzQwN2I2NmY1YSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3MzY3Mzc4NSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJyYXZpdGVqYTgzXCIsXCJhY3Rvcl9pZFwiOlwiNjc2MzI2MVwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI2NzI1MjM2NTA2OVwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiY2U3NzhmODRiZDI2ZmU2YzQ1MWRiZGRlMDNlY2ZmYzFmM2M4Mzk5OFwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjMxNTA5NTU2MjlcIixcInJ1bl9udW1iZXJcIjpcIjgxMVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImNlNzc4Zjg0YmQyNmZlNmM0NTFkYmRkZTAzZWNmZmMxZjNjODM5OThcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwid29ya2Zsb3dfc2hhXCI6XCJjZTc3OGY4NGJkMjZmZTZjNDUxZGJkZGUwM2VjZmZjMWYzYzgzOTk4XCJ9Iiwib2lkY19zdWIiOiJyZXBvOjEwMG1zbGl2ZS93ZWItc2RrczpyZWY6cmVmcy9oZWFkcy9yZW1vdmUtbXV0ZS11bm11dGUtaGFuZGxpbmciLCJvcmNoX2lkIjoiYTA5OWQ4NGItZDJmZS00YmEyLTlmN2EtMjAwMWUxZTE5Mjg5LnB1Ymxpc2hfcGFja2FnZXMuX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJwbGFuX2lkIjoiYTA5OWQ4NGItZDJmZS00YmEyLTlmN2EtMjAwMWUxZTE5Mjg5IiwicmVwb3NpdG9yeV9pZCI6IjQyOTgyNjUxNSIsInJ1bl9pZCI6IjIzMTUwOTU1NjI5IiwicnVuX251bWJlciI6IjgxMSIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAyMDEyMzMiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czphMDk5ZDg0Yi1kMmZlLTRiYTItOWY3YS0yMDAxZTFlMTkyODk6MDY2YTAxODctOWUxYy01NzExLThiZGItN2IzNDA3YjY2ZjVhIEFjdGlvbnMuUnVubmVyOmEwOTlkODRiLWQyZmUtNGJhMi05ZjdhLTIwMDFlMWUxOTI4OTowNjZhMDE4Ny05ZTFjLTU3MTEtOGJkYi03YjM0MDdiNjZmNWEgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6YTA5OWQ4NGItZDJmZS00YmEyLTlmN2EtMjAwMWUxZTE5Mjg5OjA2NmEwMTg3LTllMWMtNTcxMS04YmRiLTdiMzQwN2I2NmY1YSBnZW5lcmF0ZV9pZF90b2tlbjphMDk5ZDg0Yi1kMmZlLTRiYTItOWY3YS0yMDAxZTFlMTkyODk6MDY2YTAxODctOWUxYy01NzExLThiZGItN2IzNDA3YjY2ZjVhIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiY2U3NzhmODRiZDI2ZmU2YzQ1MWRiZGRlMDNlY2ZmYzFmM2M4Mzk5OCIsInRydXN0X3RpZXIiOiIxIn0.RfTsImbf58SQnvpGioa-pAsU8QdKJBnx5SGmwxTtEhzhTAgAB5Qswnguod3UNR0yWi-ucrG_-py4mF7BaqrXqD5x4xWMk5hIZRzE3XGUncVPMdJPc3pr05ReUnso-ggVlkju9Td6CseummgzxlOytTraiBufPFtBH77n37_OniXN5icz-dgc6k6df714CVuMUFdMTWZocYQZNHDNdEoDMNXhv-yd_bxUl_CmcUX3oUSeW__wlBVoVnxdm_pCjoMhi6AKf1VI2Rb2T8A7iLiXFgCSb8cHthOqatFbyEmAx8qwNy8bheH0cYogScFx9-VQfiKFHR8V6_xMKvRFRDP57g", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_resolutions_on_headers: "^1.1.0", npm_package_resolutions_semver: "^7.5.2", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1773674145253-0.575579497685045:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773674145080-0.09153734588405449:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773674128224-0.4870841616975634:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773674128066-0.6807874381693707:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6d63ba47-2a45-4b96-8f3b-4d7911d85401", INVOCATION_ID: "64d642c8d01e4a78acb84dfe004216bf", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "811", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^19.6.0", npm_config_legacy_peer_deps: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000201233", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "remove-mute-unmute-handling", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^9.2.1", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.11.3-alpha.8", npm_package_scripts_types: "tsc -w", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.4.3-alpha.8", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions__octokit_request_error: "^5.1.1", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies_jest_environment_jsdom: "^29.7.0", NX_ISOLATE_PLUGINS: "false", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", GITHUB_SHA: "ce778f84bd26fe6c451dbdde03ecffc1f3c83998", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_package_resolutions_form_data: "^4.0.4", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", NX_TASK_TARGET_TARGET: "build", NX_FORKED_TASK_EXECUTOR: "true", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/remove-mute-unmute-handling", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", NX_LOAD_DOT_ENV_FILES: "true", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_53457e80-8123-47f3-ab64-40fdf0645f20", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_resolutions____vite_rollup: "^4.59.0", npm_package_scripts_ybys: "yarn && yarn build --no-private", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/106//idtoken/a099d84b-d2fe-4ba2-9f7a-2001e1e19289/066a0187-9e1c-5711-8bdb-7b3407b66f5a?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_53457e80-8123-47f3-ab64-40fdf0645f20", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", NX_TUI: "false", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_knip: "^5.11.0", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_53457e80-8123-47f3-ab64-40fdf0645f20", npm_package_resolutions_sass: "^1.83.0" };
97
111
  }
98
112
  });
99
113
 
@@ -432,7 +446,7 @@ var require_lodash = __commonJS({
432
446
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
433
447
  var moduleExports = freeModule && freeModule.exports === freeExports;
434
448
  var freeProcess = moduleExports && freeGlobal.process;
435
- var nodeUtil = (function() {
449
+ var nodeUtil = function() {
436
450
  try {
437
451
  var types = freeModule && freeModule.require && freeModule.require("util").types;
438
452
  if (types) {
@@ -441,7 +455,7 @@ var require_lodash = __commonJS({
441
455
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
442
456
  } catch (e) {
443
457
  }
444
- })();
458
+ }();
445
459
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
446
460
  function apply(func, thisArg, args) {
447
461
  switch (args.length) {
@@ -787,7 +801,7 @@ var require_lodash = __commonJS({
787
801
  function unicodeWords(string) {
788
802
  return string.match(reUnicodeWord) || [];
789
803
  }
790
- var runInContext = (function runInContext2(context) {
804
+ var runInContext = function runInContext2(context) {
791
805
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
792
806
  var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
793
807
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -795,10 +809,10 @@ var require_lodash = __commonJS({
795
809
  var funcToString = funcProto.toString;
796
810
  var hasOwnProperty = objectProto.hasOwnProperty;
797
811
  var idCounter = 0;
798
- var maskSrcKey = (function() {
812
+ var maskSrcKey = function() {
799
813
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
800
814
  return uid ? "Symbol(src)_1." + uid : "";
801
- })();
815
+ }();
802
816
  var nativeObjectToString = objectProto.toString;
803
817
  var objectCtorString = funcToString.call(Object2);
804
818
  var oldDash = root._;
@@ -806,14 +820,14 @@ var require_lodash = __commonJS({
806
820
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
807
821
  );
808
822
  var Buffer2 = moduleExports ? context.Buffer : undefined2, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined2, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined2, symIterator = Symbol2 ? Symbol2.iterator : undefined2, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined2;
809
- var defineProperty = (function() {
823
+ var defineProperty = function() {
810
824
  try {
811
825
  var func = getNative(Object2, "defineProperty");
812
826
  func({}, "", {});
813
827
  return func;
814
828
  } catch (e) {
815
829
  }
816
- })();
830
+ }();
817
831
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
818
832
  var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined2, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
819
833
  var DataView = getNative(context, "DataView"), Map2 = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap2 = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
@@ -832,7 +846,7 @@ var require_lodash = __commonJS({
832
846
  }
833
847
  return new LodashWrapper(value);
834
848
  }
835
- var baseCreate = /* @__PURE__ */ (function() {
849
+ var baseCreate = function() {
836
850
  function object() {
837
851
  }
838
852
  return function(proto) {
@@ -847,7 +861,7 @@ var require_lodash = __commonJS({
847
861
  object.prototype = undefined2;
848
862
  return result2;
849
863
  };
850
- })();
864
+ }();
851
865
  function baseLodash() {
852
866
  }
853
867
  function LodashWrapper(value, chainAll) {
@@ -4159,9 +4173,9 @@ var require_lodash = __commonJS({
4159
4173
  var gte = createRelationalOperation(function(value, other) {
4160
4174
  return value >= other;
4161
4175
  });
4162
- var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4176
+ var isArguments = baseIsArguments(function() {
4163
4177
  return arguments;
4164
- })()) ? baseIsArguments : function(value) {
4178
+ }()) ? baseIsArguments : function(value) {
4165
4179
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4166
4180
  };
4167
4181
  var isArray2 = Array2.isArray;
@@ -5413,7 +5427,7 @@ var require_lodash = __commonJS({
5413
5427
  lodash.each = forEach;
5414
5428
  lodash.eachRight = forEachRight;
5415
5429
  lodash.first = head;
5416
- mixin(lodash, (function() {
5430
+ mixin(lodash, function() {
5417
5431
  var source = {};
5418
5432
  baseForOwn(lodash, function(func, methodName) {
5419
5433
  if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -5421,7 +5435,7 @@ var require_lodash = __commonJS({
5421
5435
  }
5422
5436
  });
5423
5437
  return source;
5424
- })(), { "chain": false });
5438
+ }(), { "chain": false });
5425
5439
  lodash.VERSION = VERSION2;
5426
5440
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5427
5441
  lodash[methodName].placeholder = lodash;
@@ -5581,7 +5595,7 @@ var require_lodash = __commonJS({
5581
5595
  lodash.prototype[symIterator] = wrapperToIterator;
5582
5596
  }
5583
5597
  return lodash;
5584
- });
5598
+ };
5585
5599
  var _ = runInContext();
5586
5600
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5587
5601
  root._ = _;
@@ -5651,12 +5665,12 @@ var require_lodash2 = __commonJS({
5651
5665
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
5652
5666
  var moduleExports = freeModule && freeModule.exports === freeExports;
5653
5667
  var freeProcess = moduleExports && freeGlobal.process;
5654
- var nodeUtil = (function() {
5668
+ var nodeUtil = function() {
5655
5669
  try {
5656
5670
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
5657
5671
  } catch (e) {
5658
5672
  }
5659
- })();
5673
+ }();
5660
5674
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
5661
5675
  function arrayFilter(array, predicate) {
5662
5676
  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
@@ -5727,10 +5741,10 @@ var require_lodash2 = __commonJS({
5727
5741
  var coreJsData = root["__core-js_shared__"];
5728
5742
  var funcToString = funcProto.toString;
5729
5743
  var hasOwnProperty = objectProto.hasOwnProperty;
5730
- var maskSrcKey = (function() {
5744
+ var maskSrcKey = function() {
5731
5745
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
5732
5746
  return uid ? "Symbol(src)_1." + uid : "";
5733
- })();
5747
+ }();
5734
5748
  var nativeObjectToString = objectProto.toString;
5735
5749
  var reIsNative = RegExp(
5736
5750
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -6256,9 +6270,9 @@ var require_lodash2 = __commonJS({
6256
6270
  function eq(value, other) {
6257
6271
  return value === other || value !== value && other !== other;
6258
6272
  }
6259
- var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
6273
+ var isArguments = baseIsArguments(function() {
6260
6274
  return arguments;
6261
- })()) ? baseIsArguments : function(value) {
6275
+ }()) ? baseIsArguments : function(value) {
6262
6276
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
6263
6277
  };
6264
6278
  var isArray2 = Array.isArray;
@@ -7614,12 +7628,126 @@ var require_lib = __commonJS({
7614
7628
  }
7615
7629
  });
7616
7630
 
7631
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
7632
+ var require_react_is_production_min = __commonJS({
7633
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7634
+ "use strict";
7635
+ init_define_process_env();
7636
+ var b2 = "function" === typeof Symbol && Symbol.for;
7637
+ var c2 = b2 ? Symbol.for("react.element") : 60103;
7638
+ var d = b2 ? Symbol.for("react.portal") : 60106;
7639
+ var e = b2 ? Symbol.for("react.fragment") : 60107;
7640
+ var f = b2 ? Symbol.for("react.strict_mode") : 60108;
7641
+ var g = b2 ? Symbol.for("react.profiler") : 60114;
7642
+ var h = b2 ? Symbol.for("react.provider") : 60109;
7643
+ var k2 = b2 ? Symbol.for("react.context") : 60110;
7644
+ var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
7645
+ var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
7646
+ var n = b2 ? Symbol.for("react.forward_ref") : 60112;
7647
+ var p = b2 ? Symbol.for("react.suspense") : 60113;
7648
+ var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
7649
+ var r = b2 ? Symbol.for("react.memo") : 60115;
7650
+ var t = b2 ? Symbol.for("react.lazy") : 60116;
7651
+ var v = b2 ? Symbol.for("react.block") : 60121;
7652
+ var w = b2 ? Symbol.for("react.fundamental") : 60117;
7653
+ var x = b2 ? Symbol.for("react.responder") : 60118;
7654
+ var y2 = b2 ? Symbol.for("react.scope") : 60119;
7655
+ function z2(a2) {
7656
+ if ("object" === typeof a2 && null !== a2) {
7657
+ var u = a2.$$typeof;
7658
+ switch (u) {
7659
+ case c2:
7660
+ switch (a2 = a2.type, a2) {
7661
+ case l2:
7662
+ case m2:
7663
+ case e:
7664
+ case g:
7665
+ case f:
7666
+ case p:
7667
+ return a2;
7668
+ default:
7669
+ switch (a2 = a2 && a2.$$typeof, a2) {
7670
+ case k2:
7671
+ case n:
7672
+ case t:
7673
+ case r:
7674
+ case h:
7675
+ return a2;
7676
+ default:
7677
+ return u;
7678
+ }
7679
+ }
7680
+ case d:
7681
+ return u;
7682
+ }
7683
+ }
7684
+ }
7685
+ function A(a2) {
7686
+ return z2(a2) === m2;
7687
+ }
7688
+ exports.AsyncMode = l2;
7689
+ exports.ConcurrentMode = m2;
7690
+ exports.ContextConsumer = k2;
7691
+ exports.ContextProvider = h;
7692
+ exports.Element = c2;
7693
+ exports.ForwardRef = n;
7694
+ exports.Fragment = e;
7695
+ exports.Lazy = t;
7696
+ exports.Memo = r;
7697
+ exports.Portal = d;
7698
+ exports.Profiler = g;
7699
+ exports.StrictMode = f;
7700
+ exports.Suspense = p;
7701
+ exports.isAsyncMode = function(a2) {
7702
+ return A(a2) || z2(a2) === l2;
7703
+ };
7704
+ exports.isConcurrentMode = A;
7705
+ exports.isContextConsumer = function(a2) {
7706
+ return z2(a2) === k2;
7707
+ };
7708
+ exports.isContextProvider = function(a2) {
7709
+ return z2(a2) === h;
7710
+ };
7711
+ exports.isElement = function(a2) {
7712
+ return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
7713
+ };
7714
+ exports.isForwardRef = function(a2) {
7715
+ return z2(a2) === n;
7716
+ };
7717
+ exports.isFragment = function(a2) {
7718
+ return z2(a2) === e;
7719
+ };
7720
+ exports.isLazy = function(a2) {
7721
+ return z2(a2) === t;
7722
+ };
7723
+ exports.isMemo = function(a2) {
7724
+ return z2(a2) === r;
7725
+ };
7726
+ exports.isPortal = function(a2) {
7727
+ return z2(a2) === d;
7728
+ };
7729
+ exports.isProfiler = function(a2) {
7730
+ return z2(a2) === g;
7731
+ };
7732
+ exports.isStrictMode = function(a2) {
7733
+ return z2(a2) === f;
7734
+ };
7735
+ exports.isSuspense = function(a2) {
7736
+ return z2(a2) === p;
7737
+ };
7738
+ exports.isValidElementType = function(a2) {
7739
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
7740
+ };
7741
+ exports.typeOf = z2;
7742
+ }
7743
+ });
7744
+
7617
7745
  // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
7618
7746
  var require_react_is_development = __commonJS({
7619
7747
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
7620
7748
  "use strict";
7621
7749
  init_define_process_env();
7622
- if (true) {
7750
+ if (define_process_env_default.NODE_ENV !== "production") {
7623
7751
  (function() {
7624
7752
  "use strict";
7625
7753
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
@@ -7775,8 +7903,8 @@ var require_react_is = __commonJS({
7775
7903
  "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module) {
7776
7904
  "use strict";
7777
7905
  init_define_process_env();
7778
- if (false) {
7779
- module.exports = null;
7906
+ if (define_process_env_default.NODE_ENV === "production") {
7907
+ module.exports = require_react_is_production_min();
7780
7908
  } else {
7781
7909
  module.exports = require_react_is_development();
7782
7910
  }
@@ -7879,7 +8007,7 @@ var require_checkPropTypes = __commonJS({
7879
8007
  init_define_process_env();
7880
8008
  var printWarning = function() {
7881
8009
  };
7882
- if (true) {
8010
+ if (define_process_env_default.NODE_ENV !== "production") {
7883
8011
  ReactPropTypesSecret = require_ReactPropTypesSecret();
7884
8012
  loggedTypeFailures = {};
7885
8013
  has2 = require_has();
@@ -7898,7 +8026,7 @@ var require_checkPropTypes = __commonJS({
7898
8026
  var loggedTypeFailures;
7899
8027
  var has2;
7900
8028
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
7901
- if (true) {
8029
+ if (define_process_env_default.NODE_ENV !== "production") {
7902
8030
  for (var typeSpecName in typeSpecs) {
7903
8031
  if (has2(typeSpecs, typeSpecName)) {
7904
8032
  var error;
@@ -7931,7 +8059,7 @@ var require_checkPropTypes = __commonJS({
7931
8059
  }
7932
8060
  }
7933
8061
  checkPropTypes.resetWarningCache = function() {
7934
- if (true) {
8062
+ if (define_process_env_default.NODE_ENV !== "production") {
7935
8063
  loggedTypeFailures = {};
7936
8064
  }
7937
8065
  };
@@ -7951,7 +8079,7 @@ var require_factoryWithTypeCheckers = __commonJS({
7951
8079
  var checkPropTypes = require_checkPropTypes();
7952
8080
  var printWarning = function() {
7953
8081
  };
7954
- if (true) {
8082
+ if (define_process_env_default.NODE_ENV !== "production") {
7955
8083
  printWarning = function(text) {
7956
8084
  var message = "Warning: " + text;
7957
8085
  if (typeof console !== "undefined") {
@@ -8011,7 +8139,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8011
8139
  }
8012
8140
  PropTypeError.prototype = Error.prototype;
8013
8141
  function createChainableTypeChecker(validate) {
8014
- if (true) {
8142
+ if (define_process_env_default.NODE_ENV !== "production") {
8015
8143
  var manualPropTypeCallCache = {};
8016
8144
  var manualPropTypeWarningCount = 0;
8017
8145
  }
@@ -8025,7 +8153,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8025
8153
  );
8026
8154
  err.name = "Invariant Violation";
8027
8155
  throw err;
8028
- } else if (typeof console !== "undefined") {
8156
+ } else if (define_process_env_default.NODE_ENV !== "production" && typeof console !== "undefined") {
8029
8157
  var cacheKey = componentName + ":" + propName;
8030
8158
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
8031
8159
  manualPropTypeWarningCount < 3) {
@@ -8126,7 +8254,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8126
8254
  }
8127
8255
  function createEnumTypeChecker(expectedValues) {
8128
8256
  if (!Array.isArray(expectedValues)) {
8129
- if (true) {
8257
+ if (define_process_env_default.NODE_ENV !== "production") {
8130
8258
  if (arguments.length > 1) {
8131
8259
  printWarning(
8132
8260
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -8179,7 +8307,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8179
8307
  }
8180
8308
  function createUnionTypeChecker(arrayOfTypeCheckers) {
8181
8309
  if (!Array.isArray(arrayOfTypeCheckers)) {
8182
- true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8310
+ define_process_env_default.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8183
8311
  return emptyFunctionThatReturnsNull;
8184
8312
  }
8185
8313
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -8383,16 +8511,73 @@ var require_factoryWithTypeCheckers = __commonJS({
8383
8511
  }
8384
8512
  });
8385
8513
 
8514
+ // ../../node_modules/prop-types/factoryWithThrowingShims.js
8515
+ var require_factoryWithThrowingShims = __commonJS({
8516
+ "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
8517
+ "use strict";
8518
+ init_define_process_env();
8519
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
8520
+ function emptyFunction() {
8521
+ }
8522
+ function emptyFunctionWithReset() {
8523
+ }
8524
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
8525
+ module.exports = function() {
8526
+ function shim(props, propName, componentName, location, propFullName, secret) {
8527
+ if (secret === ReactPropTypesSecret) {
8528
+ return;
8529
+ }
8530
+ var err = new Error(
8531
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
8532
+ );
8533
+ err.name = "Invariant Violation";
8534
+ throw err;
8535
+ }
8536
+ ;
8537
+ shim.isRequired = shim;
8538
+ function getShim() {
8539
+ return shim;
8540
+ }
8541
+ ;
8542
+ var ReactPropTypes = {
8543
+ array: shim,
8544
+ bigint: shim,
8545
+ bool: shim,
8546
+ func: shim,
8547
+ number: shim,
8548
+ object: shim,
8549
+ string: shim,
8550
+ symbol: shim,
8551
+ any: shim,
8552
+ arrayOf: getShim,
8553
+ element: shim,
8554
+ elementType: shim,
8555
+ instanceOf: getShim,
8556
+ node: shim,
8557
+ objectOf: getShim,
8558
+ oneOf: getShim,
8559
+ oneOfType: getShim,
8560
+ shape: getShim,
8561
+ exact: getShim,
8562
+ checkPropTypes: emptyFunctionWithReset,
8563
+ resetWarningCache: emptyFunction
8564
+ };
8565
+ ReactPropTypes.PropTypes = ReactPropTypes;
8566
+ return ReactPropTypes;
8567
+ };
8568
+ }
8569
+ });
8570
+
8386
8571
  // ../../node_modules/prop-types/index.js
8387
8572
  var require_prop_types = __commonJS({
8388
8573
  "../../node_modules/prop-types/index.js"(exports, module) {
8389
8574
  init_define_process_env();
8390
- if (true) {
8575
+ if (define_process_env_default.NODE_ENV !== "production") {
8391
8576
  ReactIs = require_react_is();
8392
8577
  throwOnDirectAccess = true;
8393
8578
  module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
8394
8579
  } else {
8395
- module.exports = null();
8580
+ module.exports = require_factoryWithThrowingShims()();
8396
8581
  }
8397
8582
  var ReactIs;
8398
8583
  var throwOnDirectAccess;
@@ -9928,7 +10113,8 @@ var StyledDialog = styled2(Root6, {});
9928
10113
  var DialogRoot = (props) => {
9929
10114
  useEffect3(() => {
9930
10115
  return () => {
9931
- if (document) setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10116
+ if (document)
10117
+ setTimeout(() => document.body.style.pointerEvents = "auto", 0);
9932
10118
  };
9933
10119
  }, []);
9934
10120
  return /* @__PURE__ */ React11.createElement(StyledDialog, __spreadValues({}, props));
@@ -11817,7 +12003,7 @@ var LayoutSettings = () => {
11817
12003
  const isLocalScreenShared = useHMSStore3(selectIsLocalScreenShared);
11818
12004
  const [{ isAudioOnly, maxTileCount, mirrorLocalVideo }, setUISettings] = useSetUiSettings();
11819
12005
  const toggleIsAudioOnly = useCallback4(
11820
- (isAudioOnlyModeOn) => __async(null, null, function* () {
12006
+ (isAudioOnlyModeOn) => __async(void 0, null, function* () {
11821
12007
  if (isAudioOnlyModeOn) {
11822
12008
  isLocalVideoEnabled && (yield hmsActions.setLocalVideoEnabled(false));
11823
12009
  isLocalScreenShared && (yield hmsActions.setScreenShareEnabled(false));
@@ -11935,7 +12121,7 @@ var defaultLayout = {
11935
12121
  };
11936
12122
 
11937
12123
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
11938
- var fetchWithRetry = (..._0) => __async(null, [..._0], function* (url = "", options = {}) {
12124
+ var fetchWithRetry = (..._0) => __async(void 0, [..._0], function* (url = "", options = {}) {
11939
12125
  const MAX_RETRIES = 4;
11940
12126
  let error = Error("something went wrong");
11941
12127
  for (let i = 0; i < MAX_RETRIES; i++) {
@@ -11968,7 +12154,7 @@ var useFetchRoomLayout = ({
11968
12154
  }
11969
12155
  }, []);
11970
12156
  useEffect5(() => {
11971
- (() => __async(null, null, function* () {
12157
+ (() => __async(void 0, null, function* () {
11972
12158
  var _a8, _b7;
11973
12159
  if (isFetchInProgress.current || !authToken) {
11974
12160
  return;
@@ -12065,7 +12251,8 @@ var formatTime = (timeInSeconds) => {
12065
12251
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12066
12252
  };
12067
12253
  var compareArrays = (a2, b2) => {
12068
- if (a2.length !== b2.length) return false;
12254
+ if (a2.length !== b2.length)
12255
+ return false;
12069
12256
  else {
12070
12257
  for (var i = 0; i < a2.length; i++) {
12071
12258
  if (a2[i] !== b2[i]) {
@@ -14203,7 +14390,7 @@ var useNoiseCancellationWithPlugin = () => {
14203
14390
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
14204
14391
  const isEnabledForRoom = (_a8 = useHMSStore9(selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14205
14392
  const setNoiseCancellationWithPlugin = useCallback9(
14206
- (enabled) => __async(null, null, function* () {
14393
+ (enabled) => __async(void 0, null, function* () {
14207
14394
  if (!isEnabledForRoom || inProgress) {
14208
14395
  return;
14209
14396
  }
@@ -14245,7 +14432,7 @@ var NoiseCancellation = ({
14245
14432
  {
14246
14433
  active: isNoiseCancellationEnabled && isKrispPluginAdded,
14247
14434
  disabled: inProgress,
14248
- onClick: () => __async(null, null, function* () {
14435
+ onClick: () => __async(void 0, null, function* () {
14249
14436
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14250
14437
  setOpenOptionsSheet == null ? void 0 : setOpenOptionsSheet(false);
14251
14438
  })
@@ -14258,7 +14445,7 @@ var NoiseCancellation = ({
14258
14445
  return /* @__PURE__ */ React34.createElement(Tooltip, { title: isNoiseCancellationEnabled ? "Noise Reduced" : "Reduce Noise" }, /* @__PURE__ */ React34.createElement(
14259
14446
  IconButton_default,
14260
14447
  {
14261
- onClick: () => __async(null, null, function* () {
14448
+ onClick: () => __async(void 0, null, function* () {
14262
14449
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14263
14450
  }),
14264
14451
  disabled: inProgress,
@@ -14279,7 +14466,7 @@ var NoiseCancellation = ({
14279
14466
  fontSize: "$xs",
14280
14467
  justifyContent: "space-between"
14281
14468
  },
14282
- onClick: (e) => __async(null, null, function* () {
14469
+ onClick: (e) => __async(void 0, null, function* () {
14283
14470
  e.preventDefault();
14284
14471
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14285
14472
  })
@@ -14292,7 +14479,7 @@ var NoiseCancellation = ({
14292
14479
  checked: isNoiseCancellationEnabled && isKrispPluginAdded,
14293
14480
  disabled: inProgress,
14294
14481
  onClick: (e) => e.stopPropagation(),
14295
- onCheckedChange: (value) => __async(null, null, function* () {
14482
+ onCheckedChange: (value) => __async(void 0, null, function* () {
14296
14483
  yield setNoiseCancellationWithPlugin(value);
14297
14484
  })
14298
14485
  }
@@ -14306,7 +14493,7 @@ var AudioOutputLabel = ({ deviceId }) => {
14306
14493
  {
14307
14494
  variant: "xs",
14308
14495
  css: { color: "$primary_bright", "&:hover": { cursor: "pointer" } },
14309
- onClick: () => __async(null, null, function* () {
14496
+ onClick: () => __async(void 0, null, function* () {
14310
14497
  var _a8;
14311
14498
  if (playing) {
14312
14499
  return;
@@ -14372,7 +14559,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14372
14559
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
14373
14560
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
14374
14561
  useEffect11(() => {
14375
- (() => __async(null, null, function* () {
14562
+ (() => __async(void 0, null, function* () {
14376
14563
  var _a8;
14377
14564
  const isEnabledForRoom = (_a8 = vanillaStore.getState(selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14378
14565
  if (isEnabledForRoom && isNoiseCancellationEnabled && !isKrispPluginAdded && !inProgress && (localPeer == null ? void 0 : localPeer.audioTrack)) {
@@ -14449,7 +14636,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14449
14636
  ) : null, (localVideoTrack == null ? void 0 : localVideoTrack.facingMode) && roomState === HMSRoomState3.Preview && (isIOS || isAndroid) ? /* @__PURE__ */ React34.createElement(Tooltip, { title: "Switch Camera", key: "switchCamera" }, /* @__PURE__ */ React34.createElement(
14450
14637
  IconButton_default,
14451
14638
  {
14452
- onClick: () => __async(null, null, function* () {
14639
+ onClick: () => __async(void 0, null, function* () {
14453
14640
  try {
14454
14641
  yield actions.switchCamera();
14455
14642
  } catch (e) {
@@ -14624,7 +14811,7 @@ var useMobileHLSStream = () => {
14624
14811
  };
14625
14812
  var useKeyboardHandler = (isPaused, hlsPlayer2) => {
14626
14813
  const handleKeyEvent = useCallback10(
14627
- (event) => __async(null, null, function* () {
14814
+ (event) => __async(void 0, null, function* () {
14628
14815
  switch (event.key) {
14629
14816
  case " ":
14630
14817
  if (isPaused) {
@@ -14656,7 +14843,7 @@ var useRecordingHandler = () => {
14656
14843
  }
14657
14844
  }, [recordingStarted, recordingState.browser.error, setRecordingState]);
14658
14845
  const startRecording = useCallback10(
14659
- (resolution = null) => __async(null, null, function* () {
14846
+ (resolution = null) => __async(void 0, null, function* () {
14660
14847
  try {
14661
14848
  setRecordingState(true);
14662
14849
  setIsRecordingLoading(true);
@@ -14742,7 +14929,7 @@ var EmojiReaction = ({ showCard = false }) => {
14742
14929
  const { sendEvent } = useCustomEvent({
14743
14930
  type: EMOJI_REACTION_TYPE
14744
14931
  });
14745
- const sendReaction = (emojiId) => __async(null, null, function* () {
14932
+ const sendReaction = (emojiId) => __async(void 0, null, function* () {
14746
14933
  var _a8;
14747
14934
  const data3 = {
14748
14935
  type: EMOJI_REACTION_TYPE,
@@ -14831,7 +15018,7 @@ var EndSessionContent = ({
14831
15018
  {
14832
15019
  variant: "danger",
14833
15020
  css: { w: "100%" },
14834
- onClick: () => __async(null, null, function* () {
15021
+ onClick: () => __async(void 0, null, function* () {
14835
15022
  yield leaveRoom({ endStream: true });
14836
15023
  setShowEndStreamAlert(false);
14837
15024
  }),
@@ -14918,7 +15105,7 @@ var LeaveSessionContent = ({
14918
15105
  {
14919
15106
  variant: "danger",
14920
15107
  css: { w: "100%" },
14921
- onClick: () => __async(null, null, function* () {
15108
+ onClick: () => __async(void 0, null, function* () {
14922
15109
  yield leaveRoom({ sendReason: true });
14923
15110
  }),
14924
15111
  id: "leaveRoom",
@@ -14989,7 +15176,7 @@ var DesktopLeaveRoom = ({
14989
15176
  bg: "",
14990
15177
  titleColor: "$on_surface_high",
14991
15178
  icon: /* @__PURE__ */ React41.createElement(ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
14992
- onClick: () => __async(null, null, function* () {
15179
+ onClick: () => __async(void 0, null, function* () {
14993
15180
  return yield leaveRoom({ sendReason: true });
14994
15181
  }),
14995
15182
  css: { p: "$8 $4" }
@@ -15080,7 +15267,7 @@ var MwebLeaveRoom = ({
15080
15267
  bg: "$surface_default",
15081
15268
  titleColor: "$on_surface_high",
15082
15269
  icon: /* @__PURE__ */ React42.createElement(ExitIcon2, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15083
- onClick: () => __async(null, null, function* () {
15270
+ onClick: () => __async(void 0, null, function* () {
15084
15271
  return yield leaveRoom({ sendReason: true });
15085
15272
  }),
15086
15273
  css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
@@ -15146,7 +15333,7 @@ var LeaveRoom = ({
15146
15333
  const hmsActions = useHMSActions9();
15147
15334
  const isMobileHLSStream = useMobileHLSStream();
15148
15335
  const isLandscapeHLSStream = useLandscapeHLSStream();
15149
- const stopStream = (stop_reason = "") => __async(null, null, function* () {
15336
+ const stopStream = (stop_reason = "") => __async(void 0, null, function* () {
15150
15337
  try {
15151
15338
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
15152
15339
  console.log("Stopping HLS stream");
@@ -15158,10 +15345,10 @@ var LeaveRoom = ({
15158
15345
  ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
15159
15346
  }
15160
15347
  });
15161
- const endRoom = () => __async(null, null, function* () {
15348
+ const endRoom = () => __async(void 0, null, function* () {
15162
15349
  yield hmsActions.endRoom(false, "End Room");
15163
15350
  });
15164
- const leaveRoom = (..._0) => __async(null, [..._0], function* (options = { endStream: false, sendReason: false }) {
15351
+ const leaveRoom = (..._0) => __async(void 0, [..._0], function* (options = { endStream: false, sendReason: false }) {
15165
15352
  if (options.endStream || hlsState.running && peersWithStreamingRights.length === 1) {
15166
15353
  yield stopStream(options.sendReason ? "last publisher left" : "");
15167
15354
  }
@@ -15431,7 +15618,7 @@ var useChatBlacklist = (sessionStoreKey) => {
15431
15618
  const hmsActions = useHMSActions11();
15432
15619
  const blacklistedIDs = useHMSStore16(selectSessionStore2(sessionStoreKey));
15433
15620
  const blacklistItem = useCallback12(
15434
- (blacklistID) => __async(null, null, function* () {
15621
+ (blacklistID) => __async(void 0, null, function* () {
15435
15622
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
15436
15623
  }),
15437
15624
  [hmsActions, sessionStoreKey, blacklistedIDs]
@@ -15457,7 +15644,7 @@ var usePinnedMessages = () => {
15457
15644
  const hmsActions = useHMSActions12();
15458
15645
  const vanillaStore = useHMSVanillaStore7();
15459
15646
  const setPinnedMessages = useCallback13(
15460
- (message, pinnedBy) => __async(null, null, function* () {
15647
+ (message, pinnedBy) => __async(void 0, null, function* () {
15461
15648
  const peerName = vanillaStore.getState(selectPeerNameByID(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
15462
15649
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
15463
15650
  if (message && peerName) {
@@ -15473,7 +15660,7 @@ var usePinnedMessages = () => {
15473
15660
  [hmsActions, vanillaStore]
15474
15661
  );
15475
15662
  const removePinnedMessage = useCallback13(
15476
- (indexToRemove) => __async(null, null, function* () {
15663
+ (indexToRemove) => __async(void 0, null, function* () {
15477
15664
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15478
15665
  if (pinnedMessages[indexToRemove]) {
15479
15666
  yield hmsActions.sessionStore.set(
@@ -15485,7 +15672,7 @@ var usePinnedMessages = () => {
15485
15672
  [hmsActions, vanillaStore]
15486
15673
  );
15487
15674
  const unpinBlacklistedMessages = useCallback13(
15488
- (blacklistedMessageIDSet) => __async(null, null, function* () {
15675
+ (blacklistedMessageIDSet) => __async(void 0, null, function* () {
15489
15676
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15490
15677
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
15491
15678
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
@@ -15583,7 +15770,7 @@ var ChatActions = ({
15583
15770
  hide: {
15584
15771
  text: message.recipientPeer ? "Hide for both" : "Hide for everyone",
15585
15772
  icon: /* @__PURE__ */ React47.createElement(EyeCloseIcon2, { style: iconStyle }),
15586
- onClick: () => __async(null, null, function* () {
15773
+ onClick: () => __async(void 0, null, function* () {
15587
15774
  blacklistMessage(message.id);
15588
15775
  updatePinnedMessages(message.id);
15589
15776
  }),
@@ -15592,7 +15779,7 @@ var ChatActions = ({
15592
15779
  block: {
15593
15780
  text: "Block from chat",
15594
15781
  icon: /* @__PURE__ */ React47.createElement(CrossCircleIcon, { style: iconStyle }),
15595
- onClick: () => __async(null, null, function* () {
15782
+ onClick: () => __async(void 0, null, function* () {
15596
15783
  if (message.senderUserId) {
15597
15784
  blacklistPeer(message.senderUserId);
15598
15785
  }
@@ -15605,7 +15792,7 @@ var ChatActions = ({
15605
15792
  icon: /* @__PURE__ */ React47.createElement(PeopleRemoveIcon2, { style: iconStyle }),
15606
15793
  color: "$alert_error_default",
15607
15794
  show: !!canRemoveOthers && !sentByLocalPeer,
15608
- onClick: () => __async(null, null, function* () {
15795
+ onClick: () => __async(void 0, null, function* () {
15609
15796
  if (!message.sender) {
15610
15797
  return;
15611
15798
  }
@@ -15716,7 +15903,8 @@ var EmptyChat = () => {
15716
15903
  const isMobileHLSStream = useMobileHLSStream();
15717
15904
  const isLandscapeStream = useLandscapeHLSStream();
15718
15905
  const streaming = isMobileHLSStream || isLandscapeStream;
15719
- if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming) return /* @__PURE__ */ React48.createElement(React48.Fragment, null);
15906
+ if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming)
15907
+ return /* @__PURE__ */ React48.createElement(React48.Fragment, null);
15720
15908
  return /* @__PURE__ */ React48.createElement(
15721
15909
  Flex,
15722
15910
  {
@@ -16203,7 +16391,8 @@ var PIPChat = () => {
16203
16391
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
16204
16392
  const canSendChatMessages = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled) || !!((_d = (_c = elements == null ? void 0 : elements.chat) == null ? void 0 : _c.roles_whitelist) == null ? void 0 : _d.length) || !!((_e = elements == null ? void 0 : elements.chat) == null ? void 0 : _e.private_chat_enabled);
16205
16393
  const getChatStatus = useCallback16(() => {
16206
- if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
16394
+ if (isLocalPeerBlacklisted)
16395
+ return "You've been blocked from sending messages";
16207
16396
  if (!isChatEnabled)
16208
16397
  return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
16209
16398
  return message_placeholder;
@@ -16519,7 +16708,7 @@ var RoleChangeContent = ({
16519
16708
  "data-testid": "change_button",
16520
16709
  variant: "primary",
16521
16710
  css: { width: "100%" },
16522
- onClick: () => __async(null, null, function* () {
16711
+ onClick: () => __async(void 0, null, function* () {
16523
16712
  if (selectedRole) {
16524
16713
  yield hmsActions.changeRoleOfPeer(peer.id, selectedRole, true);
16525
16714
  onOpenChange(false);
@@ -16801,7 +16990,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16801
16990
  "data-testid": "stop_recording_confirm_mobile",
16802
16991
  variant: "danger",
16803
16992
  icon: true,
16804
- onClick: () => __async(null, null, function* () {
16993
+ onClick: () => __async(void 0, null, function* () {
16805
16994
  try {
16806
16995
  yield hmsActions.stopRTMPAndRecording();
16807
16996
  } catch (error) {
@@ -16833,7 +17022,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16833
17022
  css: { ml: "auto" },
16834
17023
  type: "submit",
16835
17024
  disabled: recordingStarted || isStreamingOn,
16836
- onClick: () => __async(null, null, function* () {
17025
+ onClick: () => __async(void 0, null, function* () {
16837
17026
  yield startRecording(resolution);
16838
17027
  onOpenChange(false);
16839
17028
  })
@@ -17111,7 +17300,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
17111
17300
  const [roleDialog, setRoleDialog] = useState24(false);
17112
17301
  const [errorMessage, setErrorMessage] = useState24("");
17113
17302
  const [isSubmiting, setIsSubmiting] = useState24(false);
17114
- const changeBulkRole = useCallback18(() => __async(null, null, function* () {
17303
+ const changeBulkRole = useCallback18(() => __async(void 0, null, function* () {
17115
17304
  if (selectedBulkRole.length > 0 && selectedRole) {
17116
17305
  try {
17117
17306
  setIsSubmiting(true);
@@ -17282,7 +17471,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
17282
17471
  variant: isTranscriptionEnabled ? "danger" : "primary",
17283
17472
  css: { width: "100%" },
17284
17473
  "data-testid": "popup_change_btn",
17285
- onClick: () => __async(null, null, function* () {
17474
+ onClick: () => __async(void 0, null, function* () {
17286
17475
  try {
17287
17476
  if (isTranscriptionEnabled) {
17288
17477
  yield actions.stopTranscription({
@@ -17355,7 +17544,7 @@ import { useCallback as useCallback19, useEffect as useEffect19, useState as use
17355
17544
  import screenfull from "screenfull";
17356
17545
  var useFullscreen = () => {
17357
17546
  const [isFullScreenEnabled, setIsFullScreenEnabled] = useState25(screenfull.isFullscreen);
17358
- const toggle = useCallback19(() => __async(null, null, function* () {
17547
+ const toggle = useCallback19(() => __async(void 0, null, function* () {
17359
17548
  if (!screenfull.isEnabled) {
17360
17549
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
17361
17550
  return;
@@ -17471,7 +17660,7 @@ var MuteAllModal = ({
17471
17660
  const [trackType, setTrackType] = useState26();
17472
17661
  const [selectedRole, setRole] = useState26();
17473
17662
  const [selectedSource, setSource] = useState26();
17474
- const muteAll = useCallback20(() => __async(null, null, function* () {
17663
+ const muteAll = useCallback20(() => __async(void 0, null, function* () {
17475
17664
  yield hmsActions.setRemoteTracksEnabled({
17476
17665
  enabled,
17477
17666
  type: trackType,
@@ -17516,7 +17705,7 @@ var useMyMetadata = () => {
17516
17705
  const vanillaStore = useHMSVanillaStore9();
17517
17706
  const metaData = useHMSStore27(selectPeerMetadata2(localPeerId));
17518
17707
  const isHandRaised = useHMSStore27(selectHasPeerHandRaised(localPeerId));
17519
- const update = (updatedFields) => __async(null, null, function* () {
17708
+ const update = (updatedFields) => __async(void 0, null, function* () {
17520
17709
  try {
17521
17710
  const currentMetadata = vanillaStore.getState(selectPeerMetadata2(localPeerId));
17522
17711
  yield hmsActions.changeMetadata(Object.assign(currentMetadata, updatedFields));
@@ -17526,7 +17715,7 @@ var useMyMetadata = () => {
17526
17715
  }
17527
17716
  return false;
17528
17717
  });
17529
- const toggleHandRaise = useCallback21(() => __async(null, null, function* () {
17718
+ const toggleHandRaise = useCallback21(() => __async(void 0, null, function* () {
17530
17719
  if (isHandRaised) {
17531
17720
  yield hmsActions.lowerLocalPeerHand();
17532
17721
  yield update({ handRaisedAt: void 0 });
@@ -17535,7 +17724,7 @@ var useMyMetadata = () => {
17535
17724
  yield update({ isBRBOn: false, handRaisedAt: Date.now() });
17536
17725
  }
17537
17726
  }), [isHandRaised]);
17538
- const toggleBRB = useCallback21(() => __async(null, null, function* () {
17727
+ const toggleBRB = useCallback21(() => __async(void 0, null, function* () {
17539
17728
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
17540
17729
  yield update({ isBRBOn: newValue });
17541
17730
  if (newValue) {
@@ -17619,7 +17808,8 @@ var usePIPChat = () => {
17619
17808
  "click",
17620
17809
  () => setTimeout(() => marker == null ? void 0 : marker.scrollIntoView({ block: "end", behavior: "smooth" }), 0)
17621
17810
  );
17622
- } else if (messageId) observer.observe(message);
17811
+ } else if (messageId)
17812
+ observer.observe(message);
17623
17813
  });
17624
17814
  }
17625
17815
  });
@@ -17627,7 +17817,7 @@ var usePIPChat = () => {
17627
17817
  mutationObserver.observe(chatContainer, {
17628
17818
  childList: true
17629
17819
  });
17630
- const sendMessage = () => __async(null, null, function* () {
17820
+ const sendMessage = () => __async(void 0, null, function* () {
17631
17821
  const selection = (selector == null ? void 0 : selector.value) || "Everyone";
17632
17822
  if (selection === "Everyone") {
17633
17823
  yield hmsActions.sendBroadcastMessage(pipChatInput.value.trim());
@@ -17645,7 +17835,8 @@ var usePIPChat = () => {
17645
17835
  }
17646
17836
  });
17647
17837
  const sendOnEnter = (e) => {
17648
- if (e.key === "Enter") sendMessage();
17838
+ if (e.key === "Enter")
17839
+ sendMessage();
17649
17840
  };
17650
17841
  sendBtn.addEventListener("click", sendMessage);
17651
17842
  pipChatInput.addEventListener("keypress", sendOnEnter);
@@ -17757,7 +17948,7 @@ var DesktopOptions = ({
17757
17948
  PIPChatOption,
17758
17949
  {
17759
17950
  showPIPChat: showPipChatOption,
17760
- openChat: () => __async(null, null, function* () {
17951
+ openChat: () => __async(void 0, null, function* () {
17761
17952
  isChatOpen && toggleChat();
17762
17953
  yield requestPipWindow(350, 500);
17763
17954
  })
@@ -18039,7 +18230,8 @@ var enumerize = function(arr) {
18039
18230
  var has = function(str1, str2) {
18040
18231
  if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
18041
18232
  for (var i in str1) {
18042
- if (lowerize(str2) == lowerize(str1[i])) return true;
18233
+ if (lowerize(str2) == lowerize(str1[i]))
18234
+ return true;
18043
18235
  }
18044
18236
  return false;
18045
18237
  }
@@ -18054,7 +18246,8 @@ var isString = function(val) {
18054
18246
  return typeof val === TYPEOF.STRING;
18055
18247
  };
18056
18248
  var itemListToArray = function(header) {
18057
- if (!header) return void 0;
18249
+ if (!header)
18250
+ return void 0;
18058
18251
  var arr = [];
18059
18252
  var tokens = strip(/\\?\"/g, header).split(",");
18060
18253
  for (var i = 0; i < tokens.length; i++) {
@@ -18075,7 +18268,8 @@ var majorize = function(version) {
18075
18268
  };
18076
18269
  var setProps = function(arr) {
18077
18270
  for (var i in arr) {
18078
- if (!arr.hasOwnProperty(i)) continue;
18271
+ if (!arr.hasOwnProperty(i))
18272
+ continue;
18079
18273
  var propName = arr[i];
18080
18274
  if (typeof propName == TYPEOF.OBJECT && propName.length == 2) {
18081
18275
  this[propName[0]] = propName[1];
@@ -18096,7 +18290,8 @@ var trim = function(str, len) {
18096
18290
  return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
18097
18291
  };
18098
18292
  var rgxMapper = function(ua2, arrays) {
18099
- if (!ua2 || !arrays) return;
18293
+ if (!ua2 || !arrays)
18294
+ return;
18100
18295
  var i = 0, j, k2, p, q2, matches, match18;
18101
18296
  while (i < arrays.length && !matches) {
18102
18297
  var regex = arrays[i], props = arrays[i + 1];
@@ -19425,7 +19620,7 @@ var defaultRegexes = {
19425
19620
  [NAME, VERSION]
19426
19621
  ]
19427
19622
  };
19428
- var defaultProps = (function() {
19623
+ var defaultProps = function() {
19429
19624
  var props = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
19430
19625
  setProps.call(props.init, [
19431
19626
  [BROWSER, [NAME, VERSION, MAJOR, TYPE]],
@@ -19451,7 +19646,7 @@ var defaultProps = (function() {
19451
19646
  [OS, [NAME, VERSION]]
19452
19647
  ]);
19453
19648
  return props;
19454
- })();
19649
+ }();
19455
19650
  var createIData = function(item, itemType) {
19456
19651
  var init_props = defaultProps.init[itemType], is_ignoreProps = defaultProps.isIgnore[itemType] || 0, is_ignoreRgx = defaultProps.isIgnoreRgx[itemType] || 0, toString_props = defaultProps.toString[itemType] || 0;
19457
19652
  function IData() {
@@ -19477,7 +19672,8 @@ var createIData = function(item, itemType) {
19477
19672
  for (var i in this) {
19478
19673
  if (this.hasOwnProperty(i) && !has(is_ignoreProps, i) && lowerize(is_ignoreRgx ? strip(is_ignoreRgx, this[i]) : this[i]) == lowerize(is_ignoreRgx ? strip(is_ignoreRgx, strToCheck) : strToCheck)) {
19479
19674
  is2 = true;
19480
- if (strToCheck != TYPEOF.UNDEFINED) break;
19675
+ if (strToCheck != TYPEOF.UNDEFINED)
19676
+ break;
19481
19677
  } else if (strToCheck == TYPEOF.UNDEFINED && is2) {
19482
19678
  is2 = !is2;
19483
19679
  break;
@@ -19533,13 +19729,15 @@ function UACHData(uach, isHttpUACH) {
19533
19729
  ]);
19534
19730
  } else {
19535
19731
  for (var prop in uach) {
19536
- if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED) this[prop] = uach[prop];
19732
+ if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED)
19733
+ this[prop] = uach[prop];
19537
19734
  }
19538
19735
  }
19539
19736
  }
19540
19737
  function UAItem(itemType, ua2, rgxMap, uaCH) {
19541
19738
  this.get = function(prop) {
19542
- if (!prop) return this.data;
19739
+ if (!prop)
19740
+ return this.data;
19543
19741
  return this.data.hasOwnProperty(prop) ? this.data[prop] : void 0;
19544
19742
  };
19545
19743
  this.set = function(prop, val) {
@@ -19626,7 +19824,8 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19626
19824
  case CPU:
19627
19825
  var archName = uaCH2[ARCHITECTURE];
19628
19826
  if (archName) {
19629
- if (archName && uaCH2[BITNESS] == "64") archName += "64";
19827
+ if (archName && uaCH2[BITNESS] == "64")
19828
+ archName += "64";
19630
19829
  rgxMapper.call(this.data, archName + ";", rgxMap2);
19631
19830
  }
19632
19831
  break;
@@ -19664,7 +19863,8 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19664
19863
  var osName = uaCH2[PLATFORM];
19665
19864
  if (osName) {
19666
19865
  var osVersion = uaCH2[PLATFORMVER];
19667
- if (osName == WINDOWS) osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19866
+ if (osName == WINDOWS)
19867
+ osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19668
19868
  this.set(NAME, osName).set(VERSION, osVersion);
19669
19869
  }
19670
19870
  if (this.get(NAME) == WINDOWS && uaCH2[MODEL] == "Xbox") {
@@ -19756,7 +19956,8 @@ function UAParser(ua2, extensions, headers) {
19756
19956
  return userAgent;
19757
19957
  }],
19758
19958
  ["setUA", function(ua3) {
19759
- if (isString(ua3)) userAgent = trim(ua3, UA_MAX_LENGTH);
19959
+ if (isString(ua3))
19960
+ userAgent = trim(ua3, UA_MAX_LENGTH);
19760
19961
  return this;
19761
19962
  }]
19762
19963
  ]).setUA(userAgent);
@@ -21887,15 +22088,21 @@ var ks = Object.prototype.hasOwnProperty;
21887
22088
  var Es = Object.prototype.propertyIsEnumerable;
21888
22089
  var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21889
22090
  var m = (a2, e) => {
21890
- for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21891
- if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
22091
+ for (var t in e || (e = {}))
22092
+ ks.call(e, t) && ys(a2, t, e[t]);
22093
+ if (di)
22094
+ for (var t of di(e))
22095
+ Es.call(e, t) && ys(a2, t, e[t]);
21892
22096
  return a2;
21893
22097
  };
21894
22098
  var M = (a2, e) => Po(a2, bo(e));
21895
22099
  var Ar = (a2, e) => {
21896
22100
  var t = {};
21897
- for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21898
- if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
22101
+ for (var i in a2)
22102
+ ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
22103
+ if (a2 != null && di)
22104
+ for (var i of di(a2))
22105
+ e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21899
22106
  return t;
21900
22107
  };
21901
22108
  var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
@@ -21916,7 +22123,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21916
22123
  n((t = t.apply(a2, e)).next());
21917
22124
  });
21918
22125
  var _r = Ro((gd, xo) => {
21919
- xo.exports = { version: "0.13.3-alpha.6", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
22126
+ xo.exports = { version: "0.13.3-alpha.8", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21920
22127
  });
21921
22128
  var Rr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Rr || {});
21922
22129
  var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
@@ -21925,10 +22132,11 @@ var Hr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PE
21925
22132
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
21926
22133
  function We(a2, e) {
21927
22134
  let t, i;
21928
- if (e) for (let r of e.auxiliaryTracks) {
21929
- let s = a2[r];
21930
- Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21931
- }
22135
+ if (e)
22136
+ for (let r of e.auxiliaryTracks) {
22137
+ let s = a2[r];
22138
+ Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
22139
+ }
21932
22140
  return { video: t, audio: i };
21933
22141
  }
21934
22142
  function vt(a2) {
@@ -21985,42 +22193,43 @@ var l = class {
21985
22193
  performance.clearMarks(), performance.clearMeasures();
21986
22194
  }
21987
22195
  static log(e, t, ...i) {
21988
- if (!(this.level.valueOf() > e.valueOf())) switch (e) {
21989
- case 0: {
21990
- console.log(t, ...i);
21991
- break;
21992
- }
21993
- case 1: {
21994
- console.debug(t, ...i);
21995
- break;
21996
- }
21997
- case 2: {
21998
- console.info(t, ...i);
21999
- break;
22000
- }
22001
- case 3: {
22002
- console.warn(t, ...i);
22003
- break;
22004
- }
22005
- case 6: {
22006
- console.error(t, ...i);
22007
- break;
22008
- }
22009
- case 4: {
22010
- performance.mark(i[0]);
22011
- break;
22012
- }
22013
- case 5: {
22014
- let r = i[0];
22015
- try {
22016
- let s = performance.measure(r, r);
22017
- this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22018
- } catch (s) {
22019
- this.log(1, t, r, s);
22196
+ if (!(this.level.valueOf() > e.valueOf()))
22197
+ switch (e) {
22198
+ case 0: {
22199
+ console.log(t, ...i);
22200
+ break;
22201
+ }
22202
+ case 1: {
22203
+ console.debug(t, ...i);
22204
+ break;
22205
+ }
22206
+ case 2: {
22207
+ console.info(t, ...i);
22208
+ break;
22209
+ }
22210
+ case 3: {
22211
+ console.warn(t, ...i);
22212
+ break;
22213
+ }
22214
+ case 6: {
22215
+ console.error(t, ...i);
22216
+ break;
22217
+ }
22218
+ case 4: {
22219
+ performance.mark(i[0]);
22220
+ break;
22221
+ }
22222
+ case 5: {
22223
+ let r = i[0];
22224
+ try {
22225
+ let s = performance.measure(r, r);
22226
+ this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22227
+ } catch (s) {
22228
+ this.log(1, t, r, s);
22229
+ }
22230
+ break;
22020
22231
  }
22021
- break;
22022
22232
  }
22023
- }
22024
22233
  }
22025
22234
  };
22026
22235
  l.level = Lo ? 7 : 0;
@@ -22028,16 +22237,17 @@ var Cr = new UAParser();
22028
22237
  var Et = null;
22029
22238
  var Lr = null;
22030
22239
  var B = typeof window != "undefined";
22031
- if (B) try {
22032
- let a2 = Cr.getResult(), e = a2.withClientHints();
22033
- e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22034
- Et = t;
22035
- }).catch(() => {
22036
- Et = a2;
22037
- })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22038
- } catch (a2) {
22039
- Et = Cr.getResult();
22040
- }
22240
+ if (B)
22241
+ try {
22242
+ let a2 = Cr.getResult(), e = a2.withClientHints();
22243
+ e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22244
+ Et = t;
22245
+ }).catch(() => {
22246
+ Et = a2;
22247
+ })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22248
+ } catch (a2) {
22249
+ Et = Cr.getResult();
22250
+ }
22041
22251
  var we = () => Et || Cr.getResult();
22042
22252
  var Se = { getBrowser: () => we().browser, getOS: () => we().os, getDevice: () => we().device, getCPU: () => we().cpu, getEngine: () => we().engine, getUA: () => we().ua, getResult: we, withClientHints: () => Lr || Promise.resolve(we()) };
22043
22253
  var Hs;
@@ -22246,7 +22456,8 @@ var wr = class {
22246
22456
  this.valuesMap.clear();
22247
22457
  }
22248
22458
  key(e) {
22249
- if (arguments.length === 0) throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22459
+ if (arguments.length === 0)
22460
+ throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22250
22461
  return Array.from(this.valuesMap.keys())[e];
22251
22462
  }
22252
22463
  get length() {
@@ -22296,10 +22507,11 @@ function $(a2) {
22296
22507
  }
22297
22508
  var qs = _r().version;
22298
22509
  function At(a2 = "prod", e) {
22299
- let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22300
- if ($e) return js({ os: "web_nodejs", os_version: process.version, sdk: "web", sdk_version: qs, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22510
+ let t = "web", i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22511
+ if ($e)
22512
+ return js({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: qs, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22301
22513
  let r = Se.getOS(), s = Se.getDevice(), o = Se.getBrowser(), n = Nr(`web_${r.name}`), d = r.version || "", u = Nr(`${o.name}_${o.version}`), p = u;
22302
- return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: "web", sdk_version: qs, device_model: p, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22514
+ return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: t, sdk_version: qs, device_model: p, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22303
22515
  }
22304
22516
  function Nr(a2) {
22305
22517
  return a2.replace(/ /g, "_");
@@ -22431,9 +22643,11 @@ var Or = class {
22431
22643
  }
22432
22644
  setDevices(e) {
22433
22645
  var r;
22434
- if (this.devices = e, !this.remember) return;
22646
+ if (this.devices = e, !this.remember)
22647
+ return;
22435
22648
  let t = this.storage.get();
22436
- if (!t) return;
22649
+ if (!t)
22650
+ return;
22437
22651
  let i = ["audioInput", "videoInput", "audioOutput"];
22438
22652
  for (let s of i) {
22439
22653
  let o = t[s];
@@ -22444,7 +22658,8 @@ var Or = class {
22444
22658
  this.remember = e;
22445
22659
  }
22446
22660
  updateSelection(e, { deviceId: t, groupId: i }) {
22447
- if (!this.devices || !this.remember) return;
22661
+ if (!this.devices || !this.remember)
22662
+ return;
22448
22663
  let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22449
22664
  if (!r) {
22450
22665
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
@@ -22458,7 +22673,8 @@ var Or = class {
22458
22673
  t[e] && (delete t[e], this.storage.set(t));
22459
22674
  }
22460
22675
  getSelection() {
22461
- if (this.remember) return this.storage.get();
22676
+ if (this.remember)
22677
+ return this.storage.get();
22462
22678
  }
22463
22679
  cleanup() {
22464
22680
  this.remember = false, this.devices = void 0;
@@ -22506,7 +22722,8 @@ var jr = class {
22506
22722
  };
22507
22723
  this.handleIntersection = (e) => {
22508
22724
  var t;
22509
- for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22725
+ for (let i of e)
22726
+ (t = this.listeners.get(i.target)) == null || t(i);
22510
22727
  };
22511
22728
  this.createObserver();
22512
22729
  }
@@ -22533,7 +22750,8 @@ var Qr = class {
22533
22750
  };
22534
22751
  this.handleResize = (e) => {
22535
22752
  var t;
22536
- for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22753
+ for (let i of e)
22754
+ (t = this.listeners.get(i.target)) == null || t(i);
22537
22755
  };
22538
22756
  this.createObserver();
22539
22757
  }
@@ -22586,7 +22804,8 @@ var zm = createSelector(Z, un, (a2, e) => {
22586
22804
  });
22587
22805
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
22588
22806
  let i = t[0][1].peerID;
22589
- if (i in a2) return a2[i];
22807
+ if (i in a2)
22808
+ return a2[i];
22590
22809
  }
22591
22810
  return null;
22592
22811
  });
@@ -22598,7 +22817,8 @@ var Sn = createSelector(Z, N, (a2, e) => {
22598
22817
  let t;
22599
22818
  for (let i in a2) {
22600
22819
  let r = a2[i], { video: s, audio: o } = We(e, r);
22601
- if (s) return r;
22820
+ if (s)
22821
+ return r;
22602
22822
  o && !t && (t = r);
22603
22823
  }
22604
22824
  return t;
@@ -22607,7 +22827,8 @@ var Xm = createSelector(Sn, (a2) => !!a2);
22607
22827
  var Zm = createSelector(Z, N, (a2, e) => {
22608
22828
  for (let t in a2) {
22609
22829
  let i = a2[t], { audio: r, video: s } = We(e, i);
22610
- if (!s && r) return i;
22830
+ if (!s && r)
22831
+ return i;
22611
22832
  }
22612
22833
  });
22613
22834
  var eS = createSelector(Z, N, (a2, e) => {
@@ -22621,13 +22842,15 @@ var eS = createSelector(Z, N, (a2, e) => {
22621
22842
  var tS = createSelector(Z, N, (a2, e) => {
22622
22843
  for (let t in e) {
22623
22844
  let i = e[t];
22624
- if (yt(i) && Mt(i) && i.peerId) return a2[i.peerId];
22845
+ if (yt(i) && Mt(i) && i.peerId)
22846
+ return a2[i.peerId];
22625
22847
  }
22626
22848
  });
22627
22849
  var iS = createSelector(Z, N, (a2, e) => {
22628
22850
  for (let t in e) {
22629
22851
  let i = e[t];
22630
- if (pi(i) && i.peerId) return a2[i.peerId];
22852
+ if (pi(i) && i.peerId)
22853
+ return a2[i.peerId];
22631
22854
  }
22632
22855
  });
22633
22856
  var rS = createSelector(hn, (a2) => a2.filter(Is));
@@ -22683,7 +22906,8 @@ var Oa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22683
22906
  var xa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22684
22907
  var Ua = (a2 = "audio") => createSelector(wa(a2), (e) => Object.values(e));
22685
22908
  var Ba = (a2 = "audio") => createSelector(wa(a2), as(a2), (e, t) => {
22686
- if (t.id) return e[t.id];
22909
+ if (t.id)
22910
+ return e[t.id];
22687
22911
  });
22688
22912
  var Va = { selection: as("audio"), progress: _a7("audio"), currentTime: Na("audio"), playbackRate: Oa("audio"), volume: xa("audio"), list: Ua("audio"), selectedItem: Ba("audio") };
22689
22913
  var Fa = { selection: as("video"), progress: _a7("video"), currentTime: Na("video"), playbackRate: Oa("video"), volume: xa("video"), list: Ua("video"), selectedItem: Ba("video") };
@@ -22717,42 +22941,43 @@ var b = class {
22717
22941
  performance.clearMarks(), performance.clearMeasures();
22718
22942
  }
22719
22943
  static log(e, ...t) {
22720
- if (!(this.level.valueOf() > e.valueOf())) switch (e) {
22721
- case 0: {
22722
- console.log(xt, ...t);
22723
- break;
22724
- }
22725
- case 1: {
22726
- console.debug(xt, ...t);
22727
- break;
22728
- }
22729
- case 2: {
22730
- console.info(xt, ...t);
22731
- break;
22732
- }
22733
- case 3: {
22734
- console.warn(xt, ...t);
22735
- break;
22736
- }
22737
- case 6: {
22738
- console.error(xt, ...t);
22739
- break;
22740
- }
22741
- case 4: {
22742
- performance.mark(t[1]);
22743
- break;
22744
- }
22745
- case 5: {
22746
- let i = t[0], r = t[1];
22747
- try {
22748
- let s = performance.measure(r, r);
22749
- this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22750
- } catch (s) {
22751
- this.log(1, i, r, s);
22944
+ if (!(this.level.valueOf() > e.valueOf()))
22945
+ switch (e) {
22946
+ case 0: {
22947
+ console.log(xt, ...t);
22948
+ break;
22949
+ }
22950
+ case 1: {
22951
+ console.debug(xt, ...t);
22952
+ break;
22953
+ }
22954
+ case 2: {
22955
+ console.info(xt, ...t);
22956
+ break;
22957
+ }
22958
+ case 3: {
22959
+ console.warn(xt, ...t);
22960
+ break;
22961
+ }
22962
+ case 6: {
22963
+ console.error(xt, ...t);
22964
+ break;
22965
+ }
22966
+ case 4: {
22967
+ performance.mark(t[1]);
22968
+ break;
22969
+ }
22970
+ case 5: {
22971
+ let i = t[0], r = t[1];
22972
+ try {
22973
+ let s = performance.measure(r, r);
22974
+ this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22975
+ } catch (s) {
22976
+ this.log(1, i, r, s);
22977
+ }
22978
+ break;
22752
22979
  }
22753
- break;
22754
22980
  }
22755
- }
22756
22981
  }
22757
22982
  };
22758
22983
  b.level = 0;
@@ -22764,33 +22989,39 @@ var Mn = (a2, e) => e;
22764
22989
  var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22765
22990
  var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22766
22991
  var yn = createSelector([N, Ut], (a2, e) => {
22767
- if (!e) return null;
22992
+ if (!e)
22993
+ return null;
22768
22994
  let t = a2[e];
22769
22995
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22770
22996
  });
22771
22997
  var kn = createSelector([N, Ut], (a2, e) => {
22772
- if (!e) return null;
22998
+ if (!e)
22999
+ return null;
22773
23000
  let t = a2[e];
22774
23001
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22775
23002
  });
22776
23003
  var En = createSelector([N, Ut], (a2, e) => {
22777
- if (!e) return null;
23004
+ if (!e)
23005
+ return null;
22778
23006
  let t = a2[e];
22779
23007
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22780
23008
  });
22781
23009
  var Pn = createSelector([N, Ut], (a2, e) => {
22782
- if (!e) return null;
23010
+ if (!e)
23011
+ return null;
22783
23012
  let t = a2[e];
22784
23013
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22785
23014
  });
22786
23015
  var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
22787
23016
  var re = H(ee);
22788
23017
  var OS2 = H(createSelector([is, vn], (a2, e) => {
22789
- if (a2) return e ? a2[e] : a2;
23018
+ if (a2)
23019
+ return e ? a2[e] : a2;
22790
23020
  }));
22791
23021
  function xS(a2) {
22792
23022
  return (e) => {
22793
- if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
23023
+ if (e.sessionStore)
23024
+ return a2 ? e.sessionStore[a2] : e.sessionStore;
22794
23025
  };
22795
23026
  }
22796
23027
  var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
@@ -22802,11 +23033,13 @@ var GS = H(En);
22802
23033
  var WS = H(Pn);
22803
23034
  var In = H((a2, e) => {
22804
23035
  let t = ee(a2, e);
22805
- if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
23036
+ if (t && t.videoTrack && t.videoTrack !== "")
23037
+ return a2.tracks[t.videoTrack];
22806
23038
  });
22807
23039
  var An = H((a2, e) => {
22808
23040
  let t = ee(a2, e);
22809
- if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
23041
+ if (t && t.audioTrack && t.audioTrack !== "")
23042
+ return a2.tracks[t.audioTrack];
22810
23043
  });
22811
23044
  var KS = H((a2, e) => {
22812
23045
  let t = ee(a2, e);
@@ -22820,7 +23053,8 @@ var Rn = (a2, e) => {
22820
23053
  };
22821
23054
  var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22822
23055
  var QS = H((a2, e) => {
22823
- if (e) return a2.connectionQualities[e];
23056
+ if (e)
23057
+ return a2.connectionQualities[e];
22824
23058
  });
22825
23059
  var JS = H((a2, e) => {
22826
23060
  let t = ee(a2, e);
@@ -22861,7 +23095,8 @@ var tg = H((a2, e) => {
22861
23095
  return Xe(a2, t == null ? void 0 : t.videoTrack);
22862
23096
  });
22863
23097
  var ja = H((a2, e) => {
22864
- if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
23098
+ if (e && a2.tracks[e])
23099
+ return a2.tracks[e].volume === 0;
22865
23100
  });
22866
23101
  var ig = H((a2, e) => {
22867
23102
  let t = ee(a2, e);
@@ -22900,16 +23135,18 @@ var og = H((a2, e) => {
22900
23135
  }
22901
23136
  });
22902
23137
  var Ja = createSelector([Ot, Ae, os], (a2, e, t) => {
22903
- if (t) return a2.filter((i) => {
22904
- var r;
22905
- return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22906
- });
23138
+ if (t)
23139
+ return a2.filter((i) => {
23140
+ var r;
23141
+ return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
23142
+ });
22907
23143
  });
22908
23144
  var za = createSelector([Ot, Ga], (a2, e) => {
22909
- if (e) return a2.filter((t) => {
22910
- var i, r;
22911
- return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22912
- });
23145
+ if (e)
23146
+ return a2.filter((t) => {
23147
+ var i, r;
23148
+ return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
23149
+ });
22913
23150
  });
22914
23151
  var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
22915
23152
  var t;
@@ -22965,7 +23202,8 @@ var ps = class {
22965
23202
  this.removeFromStorage(e);
22966
23203
  return;
22967
23204
  }
22968
- if (r.status !== 200) throw Error(r.statusText);
23205
+ if (r.status !== 200)
23206
+ throw Error(r.statusText);
22969
23207
  this.removeFromStorage(e);
22970
23208
  }).catch((r) => {
22971
23209
  l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
@@ -22987,8 +23225,10 @@ var ps = class {
22987
23225
  var He = new ps();
22988
23226
  var Qt = class {
22989
23227
  static handleError(e) {
22990
- if (e.status === 404) throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
22991
- if (e.status >= 400) throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
23228
+ if (e.status === 404)
23229
+ throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
23230
+ if (e.status >= 400)
23231
+ throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
22992
23232
  }
22993
23233
  static sendFeedback(s) {
22994
23234
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
@@ -23161,7 +23401,8 @@ var RecordingStatus = () => {
23161
23401
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
23162
23402
  (value) => !!value
23163
23403
  )) {
23164
- if (!(isMobile && isRecordingOn)) return null;
23404
+ if (!(isMobile && isRecordingOn))
23405
+ return null;
23165
23406
  }
23166
23407
  return /* @__PURE__ */ React64.createElement(
23167
23408
  Tooltip,
@@ -23229,7 +23470,7 @@ var StartRecording2 = () => {
23229
23470
  variant: "danger",
23230
23471
  icon: true,
23231
23472
  css: { ml: "auto" },
23232
- onClick: () => __async(null, null, function* () {
23473
+ onClick: () => __async(void 0, null, function* () {
23233
23474
  try {
23234
23475
  yield hmsActions.stopRTMPAndRecording();
23235
23476
  } catch (error) {
@@ -23252,7 +23493,7 @@ var StartRecording2 = () => {
23252
23493
  variant: "standard",
23253
23494
  icon: true,
23254
23495
  disabled: recordingStarted || isStreamingOn,
23255
- onClick: () => __async(null, null, function* () {
23496
+ onClick: () => __async(void 0, null, function* () {
23256
23497
  yield startRecording();
23257
23498
  })
23258
23499
  },
@@ -23314,7 +23555,7 @@ var ChangeNameContent = ({
23314
23555
  return /* @__PURE__ */ React65.createElement(
23315
23556
  "form",
23316
23557
  {
23317
- onSubmit: (e) => __async(null, null, function* () {
23558
+ onSubmit: (e) => __async(void 0, null, function* () {
23318
23559
  e.preventDefault();
23319
23560
  yield changeName();
23320
23561
  })
@@ -23356,7 +23597,7 @@ var ChangeNameContent = ({
23356
23597
  autoComplete: "name",
23357
23598
  required: true,
23358
23599
  "data-testid": "change_name_field",
23359
- onKeyDown: (e) => __async(null, null, function* () {
23600
+ onKeyDown: (e) => __async(void 0, null, function* () {
23360
23601
  if (e.key === "Enter" && currentName && currentName.trim().length > 0 && currentName !== localPeerName) {
23361
23602
  e.preventDefault();
23362
23603
  if (isMobile) {
@@ -23416,7 +23657,7 @@ var ChangeNameModal = ({
23416
23657
  const localPeerName = useHMSStore30(selectLocalPeerName3);
23417
23658
  const [currentName, setCurrentName] = useState29(localPeerName);
23418
23659
  const isMobile = useMedia12(config.media.md);
23419
- const changeName = () => __async(null, null, function* () {
23660
+ const changeName = () => __async(void 0, null, function* () {
23420
23661
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
23421
23662
  if (!name || name === localPeerName) {
23422
23663
  return;
@@ -23684,7 +23925,7 @@ var MwebOptions = ({
23684
23925
  ActionTile.Root,
23685
23926
  {
23686
23927
  disabled: isHLSRunning,
23687
- onClick: () => __async(null, null, function* () {
23928
+ onClick: () => __async(void 0, null, function* () {
23688
23929
  if (isRecordingLoading) {
23689
23930
  return;
23690
23931
  }
@@ -23744,7 +23985,7 @@ var MwebOptions = ({
23744
23985
  StopRecordingInSheet,
23745
23986
  {
23746
23987
  onClose: () => setShowRecordingOn(false),
23747
- onStopRecording: () => __async(null, null, function* () {
23988
+ onStopRecording: () => __async(void 0, null, function* () {
23748
23989
  try {
23749
23990
  yield hmsActions.stopRTMPAndRecording();
23750
23991
  setShowRecordingOn(false);
@@ -23786,7 +24027,7 @@ var RaiseHand = ({ css: css2 }) => {
23786
24027
  "data-testid": "hand_raise_btn",
23787
24028
  css: css2,
23788
24029
  active: !isHandRaised,
23789
- onClick: () => __async(null, null, function* () {
24030
+ onClick: () => __async(void 0, null, function* () {
23790
24031
  return yield toggleHandRaise();
23791
24032
  })
23792
24033
  },
@@ -24279,7 +24520,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
24279
24520
  active: !isVideoScreenshare,
24280
24521
  css: css2,
24281
24522
  disabled: isAudioOnly,
24282
- onClick: () => __async(null, null, function* () {
24523
+ onClick: () => __async(void 0, null, function* () {
24283
24524
  yield toggleScreenShare();
24284
24525
  yield requestPermission();
24285
24526
  })
@@ -24530,7 +24771,7 @@ var RemoveParticipant = ({ peerId }) => {
24530
24771
  Dropdown.Item,
24531
24772
  {
24532
24773
  css: { color: "$alert_error_default", bg: "$surface_default" },
24533
- onClick: () => __async(null, null, function* () {
24774
+ onClick: () => __async(void 0, null, function* () {
24534
24775
  try {
24535
24776
  yield actions.removePeer(peerId, "");
24536
24777
  } catch (error) {
@@ -24640,7 +24881,7 @@ var RoleOptions = ({ roleName, peerList }) => {
24640
24881
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
24641
24882
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
24642
24883
  });
24643
- const setTrackEnabled = (type, enabled = false) => __async(null, null, function* () {
24884
+ const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
24644
24885
  try {
24645
24886
  yield hmsActions.setRemoteTracksEnabled({ roles: [roleName], source: "regular", type, enabled });
24646
24887
  } catch (e) {
@@ -24660,9 +24901,9 @@ var RoleOptions = ({ roleName, peerList }) => {
24660
24901
  }
24661
24902
  });
24662
24903
  };
24663
- const removePeersFromRoom = () => __async(null, null, function* () {
24904
+ const removePeersFromRoom = () => __async(void 0, null, function* () {
24664
24905
  try {
24665
- peerList.forEach((peer) => __async(null, null, function* () {
24906
+ peerList.forEach((peer) => __async(void 0, null, function* () {
24666
24907
  yield hmsActions.removePeer(peer.id, "");
24667
24908
  }));
24668
24909
  } catch (e) {
@@ -24722,7 +24963,7 @@ var useGroupOnStageActions = ({ peers }) => {
24722
24963
  () => true
24723
24964
  ).otherwise(() => false)
24724
24965
  );
24725
- const lowerAllHands = () => __async(null, null, function* () {
24966
+ const lowerAllHands = () => __async(void 0, null, function* () {
24726
24967
  return Promise.all(peers.map((peer) => hmsActions.lowerRemotePeerHand(peer.id)));
24727
24968
  });
24728
24969
  const bringAllToStage = () => {
@@ -24911,10 +25152,10 @@ var usePeerOnStageActions = ({ peerId, role }) => {
24911
25152
  const shouldShowStageRoleChange = canChangeRole && (isInStage && remove_from_stage_label || (off_stage_roles == null ? void 0 : off_stage_roles.includes(role)) && bring_to_stage_label);
24912
25153
  const prevRole = (_b7 = useHMSStore43(selectPeerMetadata3(peerId))) == null ? void 0 : _b7.prevRole;
24913
25154
  const [open, setOpen] = useState35(false);
24914
- const lowerPeerHand = () => __async(null, null, function* () {
25155
+ const lowerPeerHand = () => __async(void 0, null, function* () {
24915
25156
  yield hmsActions.lowerRemotePeerHand(peerId);
24916
25157
  });
24917
- const handleStageAction = () => __async(null, null, function* () {
25158
+ const handleStageAction = () => __async(void 0, null, function* () {
24918
25159
  if (isInStage) {
24919
25160
  prevRole && hmsActions.changeRoleOfPeer(peerId, prevRole, true);
24920
25161
  } else if (on_stage_role) {
@@ -25328,7 +25569,7 @@ var WhiteboardToggle = () => {
25328
25569
  /* @__PURE__ */ React85.createElement(
25329
25570
  IconButton_default,
25330
25571
  {
25331
- onClick: () => __async(null, null, function* () {
25572
+ onClick: () => __async(void 0, null, function* () {
25332
25573
  if (disabled || isLoading) {
25333
25574
  return;
25334
25575
  }
@@ -25425,7 +25666,7 @@ function HLSFailureModal() {
25425
25666
  const hmsActions = useHMSActions33();
25426
25667
  const { isRTMPRunning } = useRecordingStreaming8();
25427
25668
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
25428
- const startHLS = useCallback25(() => __async(null, null, function* () {
25669
+ const startHLS = useCallback25(() => __async(this, null, function* () {
25429
25670
  try {
25430
25671
  if (isHLSStarted || isRTMPRunning) {
25431
25672
  return;
@@ -25596,7 +25837,8 @@ var statusMap = {
25596
25837
  stopped: "ENDED" /* ENDED */
25597
25838
  };
25598
25839
  var StatusIndicator = ({ status }) => {
25599
- if (!status) return null;
25840
+ if (!status)
25841
+ return null;
25600
25842
  return /* @__PURE__ */ React89.createElement(Flex, { align: "center" }, /* @__PURE__ */ React89.createElement(
25601
25843
  Flex,
25602
25844
  {
@@ -25729,7 +25971,7 @@ var AddMenu = () => {
25729
25971
  variant: "primary",
25730
25972
  disabled: validateTitle,
25731
25973
  css: { mt: "$10" },
25732
- onClick: () => __async(null, null, function* () {
25974
+ onClick: () => __async(void 0, null, function* () {
25733
25975
  const id = Date.now().toString();
25734
25976
  yield actions.interactivityCenter.createPoll({
25735
25977
  id,
@@ -25760,7 +26002,7 @@ var PrevMenu = () => {
25760
26002
  );
25761
26003
  const permissions = useHMSStore48(selectPermissions16);
25762
26004
  useEffect29(() => {
25763
- const updatePolls = () => __async(null, null, function* () {
26005
+ const updatePolls = () => __async(void 0, null, function* () {
25764
26006
  yield hmsActions.interactivityCenter.getPolls();
25765
26007
  });
25766
26008
  updatePolls();
@@ -26342,12 +26584,12 @@ function CreateQuestions() {
26342
26584
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: uuid2() }]
26343
26585
  );
26344
26586
  const isValidPoll = useMemo11(() => questions.length > 0 && questions.every(isValidQuestion), [questions]);
26345
- const launchPoll = () => __async(null, null, function* () {
26587
+ const launchPoll = () => __async(this, null, function* () {
26346
26588
  yield actions.interactivityCenter.startPoll(id);
26347
26589
  yield sendTimedMetadata(id);
26348
26590
  setPollView(POLL_VIEWS.VOTE);
26349
26591
  });
26350
- const sendTimedMetadata = (poll_id) => __async(null, null, function* () {
26592
+ const sendTimedMetadata = (poll_id) => __async(this, null, function* () {
26351
26593
  if (poll_id && isHLSRunning) {
26352
26594
  try {
26353
26595
  yield actions.sendHLSTimedMetadata([
@@ -26377,14 +26619,14 @@ function CreateQuestions() {
26377
26619
  question,
26378
26620
  index,
26379
26621
  length: questions.length,
26380
- onSave: (questionParams) => __async(null, null, function* () {
26622
+ onSave: (questionParams) => __async(this, null, function* () {
26381
26623
  const updatedQuestions = [...questions.slice(0, index), questionParams, ...questions.slice(index + 1)];
26382
26624
  setQuestions(updatedQuestions);
26383
26625
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
26384
26626
  yield actions.interactivityCenter.addQuestionsToPoll(id, validQuestions);
26385
26627
  }),
26386
26628
  isQuiz,
26387
- removeQuestion: (questionID) => __async(null, null, function* () {
26629
+ removeQuestion: (questionID) => __async(this, null, function* () {
26388
26630
  const updatedQuestions = questions.filter((questionFromSet) => questionID !== (questionFromSet == null ? void 0 : questionFromSet.draftID));
26389
26631
  setQuestions(updatedQuestions);
26390
26632
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
@@ -26413,7 +26655,7 @@ function CreateQuestions() {
26413
26655
  },
26414
26656
  /* @__PURE__ */ React100.createElement(AddCircleIcon2, null),
26415
26657
  /* @__PURE__ */ React100.createElement(Text, { variant: "body1", css: { ml: "$md", c: "$inherit" } }, "Add another question")
26416
- ), /* @__PURE__ */ React100.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ React100.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(null, null, function* () {
26658
+ ), /* @__PURE__ */ React100.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ React100.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(this, null, function* () {
26417
26659
  return launchPoll();
26418
26660
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
26419
26661
  }
@@ -26445,7 +26687,8 @@ import { CheckCircleIcon as CheckCircleIcon4, ClockIcon, TrophyFilledIcon } from
26445
26687
  // src/Prebuilt/components/Polls/common/utils.ts
26446
26688
  init_define_process_env();
26447
26689
  var getFormattedTime = (milliseconds, precise = true) => {
26448
- if (!milliseconds) return "-";
26690
+ if (!milliseconds)
26691
+ return "-";
26449
26692
  const totalSeconds = milliseconds / 1e3;
26450
26693
  const hours = Math.floor(totalSeconds / 3600);
26451
26694
  const minutes = Math.floor(totalSeconds % 3600 / 60);
@@ -26537,7 +26780,7 @@ var useQuizSummary = (quizID) => {
26537
26780
  };
26538
26781
  const [calculations, setCalculations] = useState42({ maxPossibleScore: 0, totalResponses: 0 });
26539
26782
  useEffect30(() => {
26540
- const fetchLeaderboardData = () => __async(null, null, function* () {
26783
+ const fetchLeaderboardData = () => __async(void 0, null, function* () {
26541
26784
  var _a8;
26542
26785
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
26543
26786
  const leaderboardData = yield hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
@@ -26747,7 +26990,7 @@ var QuestionCard2 = ({
26747
26990
  return multipleOptionAnswer.size > 0;
26748
26991
  }
26749
26992
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
26750
- const handleVote = useCallback27(() => __async(null, null, function* () {
26993
+ const handleVote = useCallback27(() => __async(void 0, null, function* () {
26751
26994
  if (!isValidVote) {
26752
26995
  return;
26753
26996
  }
@@ -26978,7 +27221,7 @@ var Voting = ({ id, toggleVoting }) => {
26978
27221
  setSavedResponses({});
26979
27222
  }, [id, setSavedResponses]);
26980
27223
  useEffect33(() => {
26981
- const getResponses = () => __async(null, null, function* () {
27224
+ const getResponses = () => __async(void 0, null, function* () {
26982
27225
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26983
27226
  yield actions.interactivityCenter.getPollResponses(poll, true);
26984
27227
  fetchedInitialResponses.current = true;
@@ -27640,7 +27883,7 @@ var ChatFooter = ({ onSend, children }) => {
27640
27883
  inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27641
27884
  }
27642
27885
  }, []);
27643
- const sendMessage = useCallback29(() => __async(null, null, function* () {
27886
+ const sendMessage = useCallback29(() => __async(void 0, null, function* () {
27644
27887
  var _a9;
27645
27888
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
27646
27889
  if (!message || !message.trim().length) {
@@ -27747,7 +27990,7 @@ var ChatFooter = ({ onSend, children }) => {
27747
27990
  ref: inputRef,
27748
27991
  required: true,
27749
27992
  autoFocus: !(isMobile || isLandscapeHLSStream),
27750
- onKeyPress: (event) => __async(null, null, function* () {
27993
+ onKeyPress: (event) => __async(void 0, null, function* () {
27751
27994
  if (event.key === "Enter") {
27752
27995
  if (!event.shiftKey && !messageLengthExceeded) {
27753
27996
  event.preventDefault();
@@ -27818,7 +28061,7 @@ var ChatPaused = () => {
27818
28061
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = useHMSStore59(selectSessionStore7("chatState" /* CHAT_STATE */)) || {};
27819
28062
  const localPeer = useHMSStore59(selectLocalPeer6);
27820
28063
  const unPauseChat = useCallback30(
27821
- () => __async(null, null, function* () {
28064
+ () => __async(void 0, null, function* () {
27822
28065
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
27823
28066
  enabled: true,
27824
28067
  updatedBy: { userName: localPeer == null ? void 0 : localPeer.name, userId: localPeer == null ? void 0 : localPeer.customerUserId, peerId: localPeer == null ? void 0 : localPeer.id },
@@ -28680,7 +28923,7 @@ var SimulcastLayers = ({ trackId }) => {
28680
28923
  {
28681
28924
  className: dragClassName,
28682
28925
  key: layer.layer,
28683
- onClick: () => __async(null, null, function* () {
28926
+ onClick: () => __async(void 0, null, function* () {
28684
28927
  yield actions.setPreferredLayer(trackId, layer.layer);
28685
28928
  }),
28686
28929
  css: {
@@ -28832,7 +29075,7 @@ var TileMenuContent = ({
28832
29075
  StyledMenuTile.RemoveItem,
28833
29076
  {
28834
29077
  css: __spreadProps(__spreadValues({}, spacingCSS), { borderTop: "none" }),
28835
- onClick: () => __async(null, null, function* () {
29078
+ onClick: () => __async(void 0, null, function* () {
28836
29079
  try {
28837
29080
  yield actions.removePeer(peerID, "");
28838
29081
  } catch (error) {
@@ -29097,7 +29340,7 @@ var Root25 = ({
29097
29340
  "&:hover": { border: "4px solid $primary_dim" }
29098
29341
  }
29099
29342
  }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
29100
- onClick: () => __async(null, null, function* () {
29343
+ onClick: () => __async(void 0, null, function* () {
29101
29344
  yield onClick == null ? void 0 : onClick();
29102
29345
  })
29103
29346
  },
@@ -29167,7 +29410,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29167
29410
  const inPreview = roomState === HMSRoomState6.Preview;
29168
29411
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
29169
29412
  useEffect41(() => {
29170
- const addHMSVBPlugin = () => __async(null, null, function* () {
29413
+ const addHMSVBPlugin = () => __async(void 0, null, function* () {
29171
29414
  setLoadingEffects(false);
29172
29415
  if (!role) {
29173
29416
  return;
@@ -29178,7 +29421,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29178
29421
  Math.floor(role.publishParams.video.frameRate / 2)
29179
29422
  );
29180
29423
  });
29181
- const initializeVirtualBackground = () => __async(null, null, function* () {
29424
+ const initializeVirtualBackground = () => __async(void 0, null, function* () {
29182
29425
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
29183
29426
  return;
29184
29427
  }
@@ -29198,7 +29441,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29198
29441
  } else {
29199
29442
  yield addHMSVBPlugin();
29200
29443
  }
29201
- const handleDefaultBackground = () => __async(null, null, function* () {
29444
+ const handleDefaultBackground = () => __async(void 0, null, function* () {
29202
29445
  switch (background) {
29203
29446
  case HMSVirtualBackgroundTypes5.NONE:
29204
29447
  break;
@@ -29270,7 +29513,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29270
29513
  title: "No effect",
29271
29514
  icon: /* @__PURE__ */ React131.createElement(CrossCircleIcon3, { style: iconDims }),
29272
29515
  value: HMSVirtualBackgroundTypes5.NONE,
29273
- onClick: () => __async(null, null, function* () {
29516
+ onClick: () => __async(void 0, null, function* () {
29274
29517
  yield VBHandler.removeEffects();
29275
29518
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes5.NONE);
29276
29519
  if (isMobile) {
@@ -29283,7 +29526,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29283
29526
  title: "Blur",
29284
29527
  icon: /* @__PURE__ */ React131.createElement(BlurPersonHighIcon, { style: iconDims }),
29285
29528
  value: HMSVirtualBackgroundTypes5.BLUR,
29286
- onClick: () => __async(null, null, function* () {
29529
+ onClick: () => __async(void 0, null, function* () {
29287
29530
  var _a9;
29288
29531
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBlur(blurAmount);
29289
29532
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes5.BLUR);
@@ -29299,7 +29542,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29299
29542
  {
29300
29543
  showTooltip: false,
29301
29544
  value: [blurAmount],
29302
- onValueChange: (e) => __async(null, null, function* () {
29545
+ onValueChange: (e) => __async(void 0, null, function* () {
29303
29546
  setBlurAmount(e[0]);
29304
29547
  yield VBHandler.setBlur(e[0]);
29305
29548
  }),
@@ -29315,7 +29558,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29315
29558
  options: mediaList.map((mediaURL) => ({
29316
29559
  mediaURL,
29317
29560
  value: mediaURL,
29318
- onClick: () => __async(null, null, function* () {
29561
+ onClick: () => __async(void 0, null, function* () {
29319
29562
  var _a9;
29320
29563
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBackground(mediaURL);
29321
29564
  hmsActions.setAppData(APP_DATA.background, mediaURL);
@@ -29843,7 +30086,7 @@ var RoleChangeRequestModal = () => {
29843
30086
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29844
30087
  return;
29845
30088
  }
29846
- (() => __async(null, null, function* () {
30089
+ (() => __async(void 0, null, function* () {
29847
30090
  yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
29848
30091
  }))();
29849
30092
  }, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
@@ -29880,7 +30123,7 @@ var RoleChangeRequestModal = () => {
29880
30123
  RequestPrompt,
29881
30124
  {
29882
30125
  title: "You're invited to join the stage",
29883
- onOpenChange: (value) => __async(null, null, function* () {
30126
+ onOpenChange: (value) => __async(void 0, null, function* () {
29884
30127
  var _a8;
29885
30128
  if (!value) {
29886
30129
  hmsActions.rejectChangeRole(roleChangeRequest);
@@ -29890,7 +30133,7 @@ var RoleChangeRequestModal = () => {
29890
30133
  }
29891
30134
  }),
29892
30135
  body,
29893
- onAction: () => __async(null, null, function* () {
30136
+ onAction: () => __async(void 0, null, function* () {
29894
30137
  yield hmsActions.acceptChangeRole(roleChangeRequest);
29895
30138
  yield updateMetaData({ prevRole: currentRole });
29896
30139
  yield hmsActions.lowerLocalPeerHand();
@@ -30725,7 +30968,7 @@ var ScreenshareDisplay = () => {
30725
30968
  {
30726
30969
  variant: "danger",
30727
30970
  css: { fontWeight: "$semiBold" },
30728
- onClick: () => __async(null, null, function* () {
30971
+ onClick: () => __async(void 0, null, function* () {
30729
30972
  yield hmsActions.setScreenShareEnabled(false);
30730
30973
  }),
30731
30974
  "data-testid": "stop_screen_share_btn"
@@ -31191,7 +31434,7 @@ var EmbedComponent = () => {
31191
31434
  const resetConfig = useResetEmbedConfig();
31192
31435
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
31193
31436
  useEffect54(() => {
31194
- (() => __async(null, null, function* () {
31437
+ (() => __async(void 0, null, function* () {
31195
31438
  if (embedConfig && !isEmbedShareInProgress) {
31196
31439
  try {
31197
31440
  yield startEmbedShare(embedConfig);
@@ -31460,7 +31703,7 @@ var PlayPauseButton = ({
31460
31703
  height = 20
31461
31704
  }) => {
31462
31705
  const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
31463
- const onClick = (event) => __async(null, null, function* () {
31706
+ const onClick = (event) => __async(void 0, null, function* () {
31464
31707
  event == null ? void 0 : event.stopPropagation();
31465
31708
  isPaused ? yield hlsPlayer2 == null ? void 0 : hlsPlayer2.play() : hlsPlayer2 == null ? void 0 : hlsPlayer2.pause();
31466
31709
  });
@@ -31902,7 +32145,7 @@ function HLSAutoplayBlockedPrompt({
31902
32145
  color: "#000",
31903
32146
  r: "$2"
31904
32147
  },
31905
- onClick: () => __async(null, null, function* () {
32148
+ onClick: () => __async(this, null, function* () {
31906
32149
  return yield unblockAutoPlay();
31907
32150
  })
31908
32151
  },
@@ -31925,7 +32168,7 @@ function HLSAutoplayBlockedPrompt({
31925
32168
  Dialog.Root,
31926
32169
  {
31927
32170
  open,
31928
- onOpenChange: (value) => __async(null, null, function* () {
32171
+ onOpenChange: (value) => __async(this, null, function* () {
31929
32172
  if (!value) {
31930
32173
  yield unblockAutoPlay();
31931
32174
  }
@@ -31935,7 +32178,7 @@ function HLSAutoplayBlockedPrompt({
31935
32178
  Button,
31936
32179
  {
31937
32180
  variant: "primary",
31938
- onClick: () => __async(null, null, function* () {
32181
+ onClick: () => __async(this, null, function* () {
31939
32182
  yield unblockAutoPlay();
31940
32183
  })
31941
32184
  },
@@ -32302,7 +32545,8 @@ var HLSView = () => {
32302
32545
  }
32303
32546
  }, [hlsUrl, streamEnded, lastHlsUrl]);
32304
32547
  useEffect58(() => {
32305
- if (!notification) return;
32548
+ if (!notification)
32549
+ return;
32306
32550
  const toastID = toastMap == null ? void 0 : toastMap[notification.data.id];
32307
32551
  if (toastID) {
32308
32552
  ToastManager.removeToast(toastMap[notification.data.id]);
@@ -32455,7 +32699,7 @@ var HLSView = () => {
32455
32699
  hlsPlayer == null ? void 0 : hlsPlayer.off(HMSHLSPlayerEvents2.STATS, onHLSStats);
32456
32700
  };
32457
32701
  }, [enablHlsStats]);
32458
- const unblockAutoPlay = () => __async(null, null, function* () {
32702
+ const unblockAutoPlay = () => __async(void 0, null, function* () {
32459
32703
  try {
32460
32704
  yield hlsPlayer.play();
32461
32705
  setIsHlsAutoplayBlocked(false);
@@ -32535,9 +32779,9 @@ var HLSView = () => {
32535
32779
  },
32536
32780
  [hlsState == null ? void 0 : hlsState.variants, hoverControlsVisible, isLandscape, isMobile, onSeekTo]
32537
32781
  );
32538
- const onClickHandler = useCallback37(() => __async(null, null, function* () {
32782
+ const onClickHandler = useCallback37(() => __async(void 0, null, function* () {
32539
32783
  var _a9;
32540
- match13({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(null, null, function* () {
32784
+ match13({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
32541
32785
  if (isPaused) {
32542
32786
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
32543
32787
  } else {
@@ -32633,7 +32877,7 @@ var HLSView = () => {
32633
32877
  },
32634
32878
  outline: "none"
32635
32879
  },
32636
- onKeyDown: (event) => __async(null, null, function* () {
32880
+ onKeyDown: (event) => __async(void 0, null, function* () {
32637
32881
  var _a9;
32638
32882
  if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === HLSPlaylistType.DVR) {
32639
32883
  yield keyHandler(event);
@@ -32778,7 +33022,7 @@ var HLSView = () => {
32778
33022
  IconButton,
32779
33023
  {
32780
33024
  css: { px: "$2" },
32781
- onClick: (e) => __async(null, null, function* () {
33025
+ onClick: (e) => __async(void 0, null, function* () {
32782
33026
  e.stopPropagation();
32783
33027
  yield hlsPlayer == null ? void 0 : hlsPlayer.seekToLivePosition();
32784
33028
  setIsVideoLive(true);
@@ -32844,7 +33088,7 @@ var PDFView = () => {
32844
33088
  };
32845
33089
  }, []);
32846
33090
  useEffect59(() => {
32847
- (() => __async(null, null, function* () {
33091
+ (() => __async(void 0, null, function* () {
32848
33092
  try {
32849
33093
  if (!isPDFShareInProgress && pdfConfig) {
32850
33094
  yield startPDFShare(pdfConfig);
@@ -33004,7 +33248,8 @@ var Queue = class {
33004
33248
  return captionData;
33005
33249
  }
33006
33250
  peek() {
33007
- if (this.size() <= 0) return void 0;
33251
+ if (this.size() <= 0)
33252
+ return void 0;
33008
33253
  const key = Object.keys(this.storage).shift() || "";
33009
33254
  return this.storage[key];
33010
33255
  }
@@ -33034,7 +33279,8 @@ var CaptionMaintainerQueue = class {
33034
33279
  var TranscriptView = ({ peer_id, data: data3 }) => {
33035
33280
  const peerName = useHMSStore82(selectPeerNameByID7(peer_id)) || "Participant";
33036
33281
  data3 = data3.trim();
33037
- if (!data3) return null;
33282
+ if (!data3)
33283
+ return null;
33038
33284
  return /* @__PURE__ */ React171.createElement(
33039
33285
  Text,
33040
33286
  {
@@ -33324,7 +33570,7 @@ var CamaraFlipActions = () => {
33324
33570
  IconButton_default,
33325
33571
  {
33326
33572
  disabled: !isVideoOn,
33327
- onClick: () => __async(null, null, function* () {
33573
+ onClick: () => __async(void 0, null, function* () {
33328
33574
  try {
33329
33575
  yield actions.switchCamera();
33330
33576
  } catch (e) {
@@ -33368,7 +33614,7 @@ var AudioActions = () => {
33368
33614
  {
33369
33615
  audioDevices: availableAudioDevices,
33370
33616
  audioSelected: selectedAudio,
33371
- onChange: (deviceId) => __async(null, null, function* () {
33617
+ onChange: (deviceId) => __async(void 0, null, function* () {
33372
33618
  try {
33373
33619
  yield updateDevice({
33374
33620
  deviceId,
@@ -33385,7 +33631,7 @@ var AudioActions = () => {
33385
33631
  /* @__PURE__ */ React174.createElement(
33386
33632
  Box,
33387
33633
  {
33388
- onClick: () => __async(null, null, function* () {
33634
+ onClick: () => __async(void 0, null, function* () {
33389
33635
  yield hmsActions.refreshDevices();
33390
33636
  })
33391
33637
  },
@@ -33791,8 +34037,8 @@ var isEvenListenersAttached = false;
33791
34037
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
33792
34038
  var KeyboardInputManager = class {
33793
34039
  constructor(store, actions) {
33794
- __privateAdd(this, _actions);
33795
- __privateAdd(this, _store);
34040
+ __privateAdd(this, _actions, void 0);
34041
+ __privateAdd(this, _store, void 0);
33796
34042
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
33797
34043
  const enabled = __privateGet(this, _store).getState(selectIsLocalAudioEnabled2);
33798
34044
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
@@ -33955,7 +34201,7 @@ var FeedbackContent = ({
33955
34201
  }
33956
34202
  setSelectedReasons(newSelected);
33957
34203
  };
33958
- const submitFeedback = () => __async(null, null, function* () {
34204
+ const submitFeedback = () => __async(void 0, null, function* () {
33959
34205
  if (indexSelected < 0 || ratings.length <= indexSelected) {
33960
34206
  return;
33961
34207
  }
@@ -34484,7 +34730,7 @@ function AutoplayBlockedModal() {
34484
34730
  Dialog.Root,
34485
34731
  {
34486
34732
  open: !!error,
34487
- onOpenChange: (value) => __async(null, null, function* () {
34733
+ onOpenChange: (value) => __async(this, null, function* () {
34488
34734
  if (!value) {
34489
34735
  yield unblockAudio();
34490
34736
  }
@@ -34495,7 +34741,7 @@ function AutoplayBlockedModal() {
34495
34741
  Button,
34496
34742
  {
34497
34743
  variant: "primary",
34498
- onClick: () => __async(null, null, function* () {
34744
+ onClick: () => __async(this, null, function* () {
34499
34745
  yield unblockAudio();
34500
34746
  resetError();
34501
34747
  })
@@ -34619,7 +34865,8 @@ var ErrorNotifications = () => {
34619
34865
  const notification = useHMSNotifications5(HMSNotificationTypes5.ERROR);
34620
34866
  const subscribedNotifications = useSubscribedNotifications() || {};
34621
34867
  useEffect72(() => {
34622
- if (!notification || !notification.data) return;
34868
+ if (!notification || !notification.data)
34869
+ return;
34623
34870
  const { isTerminal, action, code, message, description } = notification.data;
34624
34871
  if (isTerminal && action !== "INIT") {
34625
34872
  if ([500, 6008].includes(code)) {
@@ -34646,7 +34893,8 @@ var ErrorNotifications = () => {
34646
34893
  if (action === "INIT") {
34647
34894
  return;
34648
34895
  }
34649
- if (!subscribedNotifications.ERROR) return;
34896
+ if (!subscribedNotifications.ERROR)
34897
+ return;
34650
34898
  ToastManager.addToast({
34651
34899
  title: `Error: ${message} - ${description}`
34652
34900
  });
@@ -34708,7 +34956,7 @@ var HandRaiseAction = React188.forwardRef(({ id = "", isSingleHandRaise = true }
34708
34956
  off_stage_roles = [],
34709
34957
  skip_preview_for_role_change = false
34710
34958
  } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.conferencing) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements.on_stage_exp) || {};
34711
- const onClickHandler = useCallback38(() => __async(null, null, function* () {
34959
+ const onClickHandler = useCallback38(() => __async(void 0, null, function* () {
34712
34960
  if (isSingleHandRaise) {
34713
34961
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
34714
34962
  if (skip_preview_for_role_change) {
@@ -35467,7 +35715,7 @@ var PIPProvider = ({ children }) => {
35467
35715
  }
35468
35716
  }, [pipWindow]);
35469
35717
  const requestPipWindow = useCallback40(
35470
- (width, height) => __async(null, null, function* () {
35718
+ (width, height) => __async(void 0, null, function* () {
35471
35719
  if (pipWindow != null) {
35472
35720
  return;
35473
35721
  }
@@ -35644,7 +35892,7 @@ function FlyingEmoji() {
35644
35892
  const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
35645
35893
  const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
35646
35894
  const showFlyingEmoji = useCallback41(
35647
- (_0) => __async(null, [_0], function* ({ emojiId, senderId }) {
35895
+ (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
35648
35896
  if (!emojiId || !senderId || document.hidden) {
35649
35897
  return;
35650
35898
  }
@@ -35742,7 +35990,7 @@ import React203, { useCallback as useCallback42 } from "react";
35742
35990
  import { useCustomEvent as useCustomEvent6, useHMSActions as useHMSActions58 } from "@100mslive/react-sdk";
35743
35991
  function RemoteStopScreenshare() {
35744
35992
  const actions = useHMSActions58();
35745
- const onRemoteStopScreenshare = useCallback42(() => __async(null, null, function* () {
35993
+ const onRemoteStopScreenshare = useCallback42(() => __async(this, null, function* () {
35746
35994
  yield actions.setScreenShareEnabled(false);
35747
35995
  }), [actions]);
35748
35996
  useCustomEvent6({
@@ -35770,7 +36018,7 @@ var useAutoStartStreaming = () => {
35770
36018
  const isConnected = useHMSStore98(selectIsConnectedToRoom12);
35771
36019
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
35772
36020
  const streamStartedRef = useRef35(false);
35773
- const startHLS = useCallback43(() => __async(null, null, function* () {
36021
+ const startHLS = useCallback43(() => __async(void 0, null, function* () {
35774
36022
  try {
35775
36023
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
35776
36024
  return;
@@ -35961,7 +36209,7 @@ var BackSwipe = () => {
35961
36209
  const isConnectedToRoom = useHMSStore99(selectIsConnectedToRoom13);
35962
36210
  const hmsActions = useHMSActions60();
35963
36211
  useEffect88(() => {
35964
- const onRouteLeave = () => __async(null, null, function* () {
36212
+ const onRouteLeave = () => __async(void 0, null, function* () {
35965
36213
  if (isConnectedToRoom) {
35966
36214
  yield hmsActions.leave();
35967
36215
  }
@@ -36691,7 +36939,7 @@ var VideoTest = () => {
36691
36939
  devices: videoInput || [],
36692
36940
  icon: /* @__PURE__ */ React211.createElement(VideoOnIcon5, null),
36693
36941
  selection: sdkSelectedDevices.videoInputDeviceId,
36694
- onChange: (deviceId) => __async(null, null, function* () {
36942
+ onChange: (deviceId) => __async(void 0, null, function* () {
36695
36943
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.stopCameraCheck();
36696
36944
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck(deviceId);
36697
36945
  })
@@ -36892,6 +37140,16 @@ lodash/lodash.js:
36892
37140
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
36893
37141
  *)
36894
37142
 
37143
+ react-is/cjs/react-is.production.min.js:
37144
+ (** @license React v16.13.1
37145
+ * react-is.production.min.js
37146
+ *
37147
+ * Copyright (c) Facebook, Inc. and its affiliates.
37148
+ *
37149
+ * This source code is licensed under the MIT license found in the
37150
+ * LICENSE file in the root directory of this source tree.
37151
+ *)
37152
+
36895
37153
  react-is/cjs/react-is.development.js:
36896
37154
  (** @license React v16.13.1
36897
37155
  * react-is.development.js