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

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.cjs.js CHANGED
@@ -9,9 +9,6 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
9
  var __getProtoOf = Object.getPrototypeOf;
10
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
11
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
- var __typeError = (msg) => {
13
- throw TypeError(msg);
14
- };
15
12
  var __pow = Math.pow;
16
13
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
17
14
  var __spreadValues = (a2, b2) => {
@@ -65,11 +62,28 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
65
62
  mod
66
63
  ));
67
64
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
68
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
69
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
70
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
71
- 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);
72
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
65
+ var __publicField = (obj, key, value) => {
66
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
67
+ return value;
68
+ };
69
+ var __accessCheck = (obj, member, msg) => {
70
+ if (!member.has(obj))
71
+ throw TypeError("Cannot " + msg);
72
+ };
73
+ var __privateGet = (obj, member, getter) => {
74
+ __accessCheck(obj, member, "read from private field");
75
+ return getter ? getter.call(obj) : member.get(obj);
76
+ };
77
+ var __privateAdd = (obj, member, value) => {
78
+ if (member.has(obj))
79
+ throw TypeError("Cannot add the same private member more than once");
80
+ member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
81
+ };
82
+ var __privateSet = (obj, member, value, setter) => {
83
+ __accessCheck(obj, member, "write to private field");
84
+ setter ? setter.call(obj, value) : member.set(obj, value);
85
+ return value;
86
+ };
73
87
  var __async = (__this, __arguments, generator) => {
74
88
  return new Promise((resolve, reject) => {
75
89
  var fulfilled = (value) => {
@@ -95,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
95
109
  var define_process_env_default;
96
110
  var init_define_process_env = __esm({
97
111
  "<define:process.env>"() {
98
- 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" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9692e4d0-b7bd-4b82-a3f5-66cd87515044", 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.7", 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.7", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9692e4d0-b7bd-4b82-a3f5-66cd87515044", 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.7", 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: "2086", ACTIONS_ORCHESTRATION_ID: "606c15b1-e4d5-4370-b91b-4063e07eaf29.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:15412", 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.7", 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: "23148657257", 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: "d6ee0b945aece0a65a5279792dada3b7eed2cabb", 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: "1237460149110777875", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9yZW1vdmUtbXV0ZS11bm11dGUtaGFuZGxpbmdcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjVlMTJlMDA5LWRkMDEtNGNjYy05ZTg5LTQ1MjMwMjUwM2RiNSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJleHAiOjE3NzM2OTMzMTMsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3MzY3MTExMywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImJlMDk0NTIyLTc0ZjYtNTlhMS1iMzRmLTcxMWM3ODFmNmMxZSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3MzY3MDgxMywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJyYXZpdGVqYTgzXCIsXCJhY3Rvcl9pZFwiOlwiNjc2MzI2MVwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI2NzI0MzgyMTM2MFwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiZDZlZTBiOTQ1YWVjZTBhNjVhNTI3OTc5MmRhZGEzYjdlZWQyY2FiYlwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjMxNDg2NTcyNTdcIixcInJ1bl9udW1iZXJcIjpcIjgxMFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImQ2ZWUwYjk0NWFlY2UwYTY1YTUyNzk3OTJkYWRhM2I3ZWVkMmNhYmJcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwid29ya2Zsb3dfc2hhXCI6XCJkNmVlMGI5NDVhZWNlMGE2NWE1Mjc5NzkyZGFkYTNiN2VlZDJjYWJiXCJ9Iiwib2lkY19zdWIiOiJyZXBvOjEwMG1zbGl2ZS93ZWItc2RrczpyZWY6cmVmcy9oZWFkcy9yZW1vdmUtbXV0ZS11bm11dGUtaGFuZGxpbmciLCJvcmNoX2lkIjoiNjA2YzE1YjEtZTRkNS00MzcwLWI5MWItNDA2M2UwN2VhZjI5LnB1Ymxpc2hfcGFja2FnZXMuX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJwbGFuX2lkIjoiNjA2YzE1YjEtZTRkNS00MzcwLWI5MWItNDA2M2UwN2VhZjI5IiwicmVwb3NpdG9yeV9pZCI6IjQyOTgyNjUxNSIsInJ1bl9pZCI6IjIzMTQ4NjU3MjU3IiwicnVuX251bWJlciI6IjgxMCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAyMDExMTAiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo2MDZjMTViMS1lNGQ1LTQzNzAtYjkxYi00MDYzZTA3ZWFmMjk6YmUwOTQ1MjItNzRmNi01OWExLWIzNGYtNzExYzc4MWY2YzFlIEFjdGlvbnMuUnVubmVyOjYwNmMxNWIxLWU0ZDUtNDM3MC1iOTFiLTQwNjNlMDdlYWYyOTpiZTA5NDUyMi03NGY2LTU5YTEtYjM0Zi03MTFjNzgxZjZjMWUgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6NjA2YzE1YjEtZTRkNS00MzcwLWI5MWItNDA2M2UwN2VhZjI5OmJlMDk0NTIyLTc0ZjYtNTlhMS1iMzRmLTcxMWM3ODFmNmMxZSBnZW5lcmF0ZV9pZF90b2tlbjo2MDZjMTViMS1lNGQ1LTQzNzAtYjkxYi00MDYzZTA3ZWFmMjk6YmUwOTQ1MjItNzRmNi01OWExLWIzNGYtNzExYzc4MWY2YzFlIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiZDZlZTBiOTQ1YWVjZTBhNjVhNTI3OTc5MmRhZGEzYjdlZWQyY2FiYiIsInRydXN0X3RpZXIiOiIxIn0.FNUP14bhZq7Eloibz0mGnppGkG3vCgHIp3SGDLhJoxhPB_MC28c7GdvoPpIFrZAxBtGfLh9DEv68Emt9rSNu9E9VpNvfzKJZezK8d2oDXuGk9Q6a2L36KmiNvm1cavVnT1rBIAvOi47CMoPdnYvIpYbD72aBny886cNlIEgo_kE5ILyXtp9dH-y8ZaC2CB9n0X6dXaTy5oRGyR1yJkq6SJYLk3P_F-FG6JIVuO91UzGwGXsK6A1MXl-XXLnECElpGNmxUHtxK08u4kFf_43gkYK5yFtqwBqis7tlzjkk5WEMC7pyPLVnsVpIw00sC7ipDRDsfdUtEXw4rvD6TUWvBw", 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--1773671169657-0.03882654909406369:/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--1773671169484-0.4590090167230779:/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--1773671152459-0.435388380478803:/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--1773671152299-0.5663977761246681:/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_9e61c44d-4c4c-4b09-923e-f55ce9309ada", INVOCATION_ID: "4fac57d1f82447f1bb079410d7e8c319", 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: "810", 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 1000201110", 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.7", 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.7", 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: "d6ee0b945aece0a65a5279792dada3b7eed2cabb", 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_9692e4d0-b7bd-4b82-a3f5-66cd87515044", 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-3-azure-eastus.actions.githubusercontent.com/11//idtoken/606c15b1-e4d5-4370-b91b-4063e07eaf29/be094522-74f6-59a1-b34f-711c781f6c1e?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9692e4d0-b7bd-4b82-a3f5-66cd87515044", 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_9692e4d0-b7bd-4b82-a3f5-66cd87515044", npm_package_resolutions_sass: "^1.83.0" };
99
113
  }
100
114
  });
101
115
 
@@ -434,7 +448,7 @@ var require_lodash = __commonJS({
434
448
  var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
435
449
  var moduleExports = freeModule && freeModule.exports === freeExports;
436
450
  var freeProcess = moduleExports && freeGlobal.process;
437
- var nodeUtil = (function() {
451
+ var nodeUtil = function() {
438
452
  try {
439
453
  var types = freeModule && freeModule.require && freeModule.require("util").types;
440
454
  if (types) {
@@ -443,7 +457,7 @@ var require_lodash = __commonJS({
443
457
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
444
458
  } catch (e) {
445
459
  }
446
- })();
460
+ }();
447
461
  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;
448
462
  function apply(func, thisArg, args) {
449
463
  switch (args.length) {
@@ -789,7 +803,7 @@ var require_lodash = __commonJS({
789
803
  function unicodeWords(string) {
790
804
  return string.match(reUnicodeWord) || [];
791
805
  }
792
- var runInContext = (function runInContext2(context) {
806
+ var runInContext = function runInContext2(context) {
793
807
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
794
808
  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;
795
809
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -797,10 +811,10 @@ var require_lodash = __commonJS({
797
811
  var funcToString = funcProto.toString;
798
812
  var hasOwnProperty = objectProto.hasOwnProperty;
799
813
  var idCounter = 0;
800
- var maskSrcKey = (function() {
814
+ var maskSrcKey = function() {
801
815
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
802
816
  return uid ? "Symbol(src)_1." + uid : "";
803
- })();
817
+ }();
804
818
  var nativeObjectToString = objectProto.toString;
805
819
  var objectCtorString = funcToString.call(Object2);
806
820
  var oldDash = root._;
@@ -808,14 +822,14 @@ var require_lodash = __commonJS({
808
822
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
809
823
  );
810
824
  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;
811
- var defineProperty = (function() {
825
+ var defineProperty = function() {
812
826
  try {
813
827
  var func = getNative(Object2, "defineProperty");
814
828
  func({}, "", {});
815
829
  return func;
816
830
  } catch (e) {
817
831
  }
818
- })();
832
+ }();
819
833
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
820
834
  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;
821
835
  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");
@@ -834,7 +848,7 @@ var require_lodash = __commonJS({
834
848
  }
835
849
  return new LodashWrapper(value);
836
850
  }
837
- var baseCreate = /* @__PURE__ */ (function() {
851
+ var baseCreate = function() {
838
852
  function object() {
839
853
  }
840
854
  return function(proto) {
@@ -849,7 +863,7 @@ var require_lodash = __commonJS({
849
863
  object.prototype = undefined2;
850
864
  return result2;
851
865
  };
852
- })();
866
+ }();
853
867
  function baseLodash() {
854
868
  }
855
869
  function LodashWrapper(value, chainAll) {
@@ -4161,9 +4175,9 @@ var require_lodash = __commonJS({
4161
4175
  var gte = createRelationalOperation(function(value, other) {
4162
4176
  return value >= other;
4163
4177
  });
4164
- var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4178
+ var isArguments = baseIsArguments(function() {
4165
4179
  return arguments;
4166
- })()) ? baseIsArguments : function(value) {
4180
+ }()) ? baseIsArguments : function(value) {
4167
4181
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4168
4182
  };
4169
4183
  var isArray2 = Array2.isArray;
@@ -5415,7 +5429,7 @@ var require_lodash = __commonJS({
5415
5429
  lodash.each = forEach;
5416
5430
  lodash.eachRight = forEachRight;
5417
5431
  lodash.first = head;
5418
- mixin(lodash, (function() {
5432
+ mixin(lodash, function() {
5419
5433
  var source = {};
5420
5434
  baseForOwn(lodash, function(func, methodName) {
5421
5435
  if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -5423,7 +5437,7 @@ var require_lodash = __commonJS({
5423
5437
  }
5424
5438
  });
5425
5439
  return source;
5426
- })(), { "chain": false });
5440
+ }(), { "chain": false });
5427
5441
  lodash.VERSION = VERSION2;
5428
5442
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5429
5443
  lodash[methodName].placeholder = lodash;
@@ -5583,7 +5597,7 @@ var require_lodash = __commonJS({
5583
5597
  lodash.prototype[symIterator] = wrapperToIterator;
5584
5598
  }
5585
5599
  return lodash;
5586
- });
5600
+ };
5587
5601
  var _ = runInContext();
5588
5602
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5589
5603
  root._ = _;
@@ -5653,12 +5667,12 @@ var require_lodash2 = __commonJS({
5653
5667
  var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
5654
5668
  var moduleExports = freeModule && freeModule.exports === freeExports;
5655
5669
  var freeProcess = moduleExports && freeGlobal.process;
5656
- var nodeUtil = (function() {
5670
+ var nodeUtil = function() {
5657
5671
  try {
5658
5672
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
5659
5673
  } catch (e) {
5660
5674
  }
5661
- })();
5675
+ }();
5662
5676
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
5663
5677
  function arrayFilter(array, predicate) {
5664
5678
  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
@@ -5729,10 +5743,10 @@ var require_lodash2 = __commonJS({
5729
5743
  var coreJsData = root["__core-js_shared__"];
5730
5744
  var funcToString = funcProto.toString;
5731
5745
  var hasOwnProperty = objectProto.hasOwnProperty;
5732
- var maskSrcKey = (function() {
5746
+ var maskSrcKey = function() {
5733
5747
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
5734
5748
  return uid ? "Symbol(src)_1." + uid : "";
5735
- })();
5749
+ }();
5736
5750
  var nativeObjectToString = objectProto.toString;
5737
5751
  var reIsNative = RegExp(
5738
5752
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -6258,9 +6272,9 @@ var require_lodash2 = __commonJS({
6258
6272
  function eq(value, other) {
6259
6273
  return value === other || value !== value && other !== other;
6260
6274
  }
6261
- var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
6275
+ var isArguments = baseIsArguments(function() {
6262
6276
  return arguments;
6263
- })()) ? baseIsArguments : function(value) {
6277
+ }()) ? baseIsArguments : function(value) {
6264
6278
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
6265
6279
  };
6266
6280
  var isArray2 = Array.isArray;
@@ -7616,12 +7630,126 @@ var require_lib = __commonJS({
7616
7630
  }
7617
7631
  });
7618
7632
 
7633
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
7634
+ var require_react_is_production_min = __commonJS({
7635
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7636
+ "use strict";
7637
+ init_define_process_env();
7638
+ var b2 = "function" === typeof Symbol && Symbol.for;
7639
+ var c2 = b2 ? Symbol.for("react.element") : 60103;
7640
+ var d = b2 ? Symbol.for("react.portal") : 60106;
7641
+ var e = b2 ? Symbol.for("react.fragment") : 60107;
7642
+ var f = b2 ? Symbol.for("react.strict_mode") : 60108;
7643
+ var g = b2 ? Symbol.for("react.profiler") : 60114;
7644
+ var h = b2 ? Symbol.for("react.provider") : 60109;
7645
+ var k2 = b2 ? Symbol.for("react.context") : 60110;
7646
+ var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
7647
+ var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
7648
+ var n = b2 ? Symbol.for("react.forward_ref") : 60112;
7649
+ var p = b2 ? Symbol.for("react.suspense") : 60113;
7650
+ var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
7651
+ var r = b2 ? Symbol.for("react.memo") : 60115;
7652
+ var t = b2 ? Symbol.for("react.lazy") : 60116;
7653
+ var v = b2 ? Symbol.for("react.block") : 60121;
7654
+ var w = b2 ? Symbol.for("react.fundamental") : 60117;
7655
+ var x = b2 ? Symbol.for("react.responder") : 60118;
7656
+ var y2 = b2 ? Symbol.for("react.scope") : 60119;
7657
+ function z2(a2) {
7658
+ if ("object" === typeof a2 && null !== a2) {
7659
+ var u = a2.$$typeof;
7660
+ switch (u) {
7661
+ case c2:
7662
+ switch (a2 = a2.type, a2) {
7663
+ case l2:
7664
+ case m2:
7665
+ case e:
7666
+ case g:
7667
+ case f:
7668
+ case p:
7669
+ return a2;
7670
+ default:
7671
+ switch (a2 = a2 && a2.$$typeof, a2) {
7672
+ case k2:
7673
+ case n:
7674
+ case t:
7675
+ case r:
7676
+ case h:
7677
+ return a2;
7678
+ default:
7679
+ return u;
7680
+ }
7681
+ }
7682
+ case d:
7683
+ return u;
7684
+ }
7685
+ }
7686
+ }
7687
+ function A(a2) {
7688
+ return z2(a2) === m2;
7689
+ }
7690
+ exports.AsyncMode = l2;
7691
+ exports.ConcurrentMode = m2;
7692
+ exports.ContextConsumer = k2;
7693
+ exports.ContextProvider = h;
7694
+ exports.Element = c2;
7695
+ exports.ForwardRef = n;
7696
+ exports.Fragment = e;
7697
+ exports.Lazy = t;
7698
+ exports.Memo = r;
7699
+ exports.Portal = d;
7700
+ exports.Profiler = g;
7701
+ exports.StrictMode = f;
7702
+ exports.Suspense = p;
7703
+ exports.isAsyncMode = function(a2) {
7704
+ return A(a2) || z2(a2) === l2;
7705
+ };
7706
+ exports.isConcurrentMode = A;
7707
+ exports.isContextConsumer = function(a2) {
7708
+ return z2(a2) === k2;
7709
+ };
7710
+ exports.isContextProvider = function(a2) {
7711
+ return z2(a2) === h;
7712
+ };
7713
+ exports.isElement = function(a2) {
7714
+ return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
7715
+ };
7716
+ exports.isForwardRef = function(a2) {
7717
+ return z2(a2) === n;
7718
+ };
7719
+ exports.isFragment = function(a2) {
7720
+ return z2(a2) === e;
7721
+ };
7722
+ exports.isLazy = function(a2) {
7723
+ return z2(a2) === t;
7724
+ };
7725
+ exports.isMemo = function(a2) {
7726
+ return z2(a2) === r;
7727
+ };
7728
+ exports.isPortal = function(a2) {
7729
+ return z2(a2) === d;
7730
+ };
7731
+ exports.isProfiler = function(a2) {
7732
+ return z2(a2) === g;
7733
+ };
7734
+ exports.isStrictMode = function(a2) {
7735
+ return z2(a2) === f;
7736
+ };
7737
+ exports.isSuspense = function(a2) {
7738
+ return z2(a2) === p;
7739
+ };
7740
+ exports.isValidElementType = function(a2) {
7741
+ 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);
7742
+ };
7743
+ exports.typeOf = z2;
7744
+ }
7745
+ });
7746
+
7619
7747
  // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
7620
7748
  var require_react_is_development = __commonJS({
7621
7749
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
7622
7750
  "use strict";
7623
7751
  init_define_process_env();
7624
- if (true) {
7752
+ if (define_process_env_default.NODE_ENV !== "production") {
7625
7753
  (function() {
7626
7754
  "use strict";
7627
7755
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
@@ -7777,8 +7905,8 @@ var require_react_is = __commonJS({
7777
7905
  "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module2) {
7778
7906
  "use strict";
7779
7907
  init_define_process_env();
7780
- if (false) {
7781
- module2.exports = null;
7908
+ if (define_process_env_default.NODE_ENV === "production") {
7909
+ module2.exports = require_react_is_production_min();
7782
7910
  } else {
7783
7911
  module2.exports = require_react_is_development();
7784
7912
  }
@@ -7881,7 +8009,7 @@ var require_checkPropTypes = __commonJS({
7881
8009
  init_define_process_env();
7882
8010
  var printWarning = function() {
7883
8011
  };
7884
- if (true) {
8012
+ if (define_process_env_default.NODE_ENV !== "production") {
7885
8013
  ReactPropTypesSecret = require_ReactPropTypesSecret();
7886
8014
  loggedTypeFailures = {};
7887
8015
  has2 = require_has();
@@ -7900,7 +8028,7 @@ var require_checkPropTypes = __commonJS({
7900
8028
  var loggedTypeFailures;
7901
8029
  var has2;
7902
8030
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
7903
- if (true) {
8031
+ if (define_process_env_default.NODE_ENV !== "production") {
7904
8032
  for (var typeSpecName in typeSpecs) {
7905
8033
  if (has2(typeSpecs, typeSpecName)) {
7906
8034
  var error;
@@ -7933,7 +8061,7 @@ var require_checkPropTypes = __commonJS({
7933
8061
  }
7934
8062
  }
7935
8063
  checkPropTypes.resetWarningCache = function() {
7936
- if (true) {
8064
+ if (define_process_env_default.NODE_ENV !== "production") {
7937
8065
  loggedTypeFailures = {};
7938
8066
  }
7939
8067
  };
@@ -7953,7 +8081,7 @@ var require_factoryWithTypeCheckers = __commonJS({
7953
8081
  var checkPropTypes = require_checkPropTypes();
7954
8082
  var printWarning = function() {
7955
8083
  };
7956
- if (true) {
8084
+ if (define_process_env_default.NODE_ENV !== "production") {
7957
8085
  printWarning = function(text) {
7958
8086
  var message = "Warning: " + text;
7959
8087
  if (typeof console !== "undefined") {
@@ -8013,7 +8141,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8013
8141
  }
8014
8142
  PropTypeError.prototype = Error.prototype;
8015
8143
  function createChainableTypeChecker(validate) {
8016
- if (true) {
8144
+ if (define_process_env_default.NODE_ENV !== "production") {
8017
8145
  var manualPropTypeCallCache = {};
8018
8146
  var manualPropTypeWarningCount = 0;
8019
8147
  }
@@ -8027,7 +8155,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8027
8155
  );
8028
8156
  err.name = "Invariant Violation";
8029
8157
  throw err;
8030
- } else if (typeof console !== "undefined") {
8158
+ } else if (define_process_env_default.NODE_ENV !== "production" && typeof console !== "undefined") {
8031
8159
  var cacheKey = componentName + ":" + propName;
8032
8160
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
8033
8161
  manualPropTypeWarningCount < 3) {
@@ -8128,7 +8256,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8128
8256
  }
8129
8257
  function createEnumTypeChecker(expectedValues) {
8130
8258
  if (!Array.isArray(expectedValues)) {
8131
- if (true) {
8259
+ if (define_process_env_default.NODE_ENV !== "production") {
8132
8260
  if (arguments.length > 1) {
8133
8261
  printWarning(
8134
8262
  "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])."
@@ -8181,7 +8309,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8181
8309
  }
8182
8310
  function createUnionTypeChecker(arrayOfTypeCheckers) {
8183
8311
  if (!Array.isArray(arrayOfTypeCheckers)) {
8184
- true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8312
+ define_process_env_default.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8185
8313
  return emptyFunctionThatReturnsNull;
8186
8314
  }
8187
8315
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -8385,16 +8513,73 @@ var require_factoryWithTypeCheckers = __commonJS({
8385
8513
  }
8386
8514
  });
8387
8515
 
8516
+ // ../../node_modules/prop-types/factoryWithThrowingShims.js
8517
+ var require_factoryWithThrowingShims = __commonJS({
8518
+ "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module2) {
8519
+ "use strict";
8520
+ init_define_process_env();
8521
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
8522
+ function emptyFunction() {
8523
+ }
8524
+ function emptyFunctionWithReset() {
8525
+ }
8526
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
8527
+ module2.exports = function() {
8528
+ function shim(props, propName, componentName, location, propFullName, secret) {
8529
+ if (secret === ReactPropTypesSecret) {
8530
+ return;
8531
+ }
8532
+ var err = new Error(
8533
+ "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"
8534
+ );
8535
+ err.name = "Invariant Violation";
8536
+ throw err;
8537
+ }
8538
+ ;
8539
+ shim.isRequired = shim;
8540
+ function getShim() {
8541
+ return shim;
8542
+ }
8543
+ ;
8544
+ var ReactPropTypes = {
8545
+ array: shim,
8546
+ bigint: shim,
8547
+ bool: shim,
8548
+ func: shim,
8549
+ number: shim,
8550
+ object: shim,
8551
+ string: shim,
8552
+ symbol: shim,
8553
+ any: shim,
8554
+ arrayOf: getShim,
8555
+ element: shim,
8556
+ elementType: shim,
8557
+ instanceOf: getShim,
8558
+ node: shim,
8559
+ objectOf: getShim,
8560
+ oneOf: getShim,
8561
+ oneOfType: getShim,
8562
+ shape: getShim,
8563
+ exact: getShim,
8564
+ checkPropTypes: emptyFunctionWithReset,
8565
+ resetWarningCache: emptyFunction
8566
+ };
8567
+ ReactPropTypes.PropTypes = ReactPropTypes;
8568
+ return ReactPropTypes;
8569
+ };
8570
+ }
8571
+ });
8572
+
8388
8573
  // ../../node_modules/prop-types/index.js
8389
8574
  var require_prop_types = __commonJS({
8390
8575
  "../../node_modules/prop-types/index.js"(exports, module2) {
8391
8576
  init_define_process_env();
8392
- if (true) {
8577
+ if (define_process_env_default.NODE_ENV !== "production") {
8393
8578
  ReactIs = require_react_is();
8394
8579
  throwOnDirectAccess = true;
8395
8580
  module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
8396
8581
  } else {
8397
- module2.exports = null();
8582
+ module2.exports = require_factoryWithThrowingShims()();
8398
8583
  }
8399
8584
  var ReactIs;
8400
8585
  var throwOnDirectAccess;
@@ -8402,8 +8587,8 @@ var require_prop_types = __commonJS({
8402
8587
  });
8403
8588
 
8404
8589
  // src/index.ts
8405
- var index_exports = {};
8406
- __export(index_exports, {
8590
+ var src_exports = {};
8591
+ __export(src_exports, {
8407
8592
  Accordion: () => Accordion,
8408
8593
  AudioLevel: () => AudioLevel,
8409
8594
  Avatar: () => Avatar,
@@ -8470,7 +8655,7 @@ __export(index_exports, {
8470
8655
  useBorderAudioLevel: () => useBorderAudioLevel,
8471
8656
  useTheme: () => useTheme
8472
8657
  });
8473
- module.exports = __toCommonJS(index_exports);
8658
+ module.exports = __toCommonJS(src_exports);
8474
8659
  init_define_process_env();
8475
8660
 
8476
8661
  // src/Button/index.tsx
@@ -9999,7 +10184,8 @@ var StyledDialog = (0, import_react16.styled)(import_react_dialog.Root, {});
9999
10184
  var DialogRoot = (props) => {
10000
10185
  (0, import_react15.useEffect)(() => {
10001
10186
  return () => {
10002
- if (document) setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10187
+ if (document)
10188
+ setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10003
10189
  };
10004
10190
  }, []);
10005
10191
  return /* @__PURE__ */ import_react15.default.createElement(StyledDialog, __spreadValues({}, props));
@@ -11840,7 +12026,7 @@ var LayoutSettings = () => {
11840
12026
  const isLocalScreenShared = (0, import_react_sdk8.useHMSStore)(import_react_sdk8.selectIsLocalScreenShared);
11841
12027
  const [{ isAudioOnly, maxTileCount, mirrorLocalVideo }, setUISettings] = useSetUiSettings();
11842
12028
  const toggleIsAudioOnly = (0, import_react30.useCallback)(
11843
- (isAudioOnlyModeOn) => __async(null, null, function* () {
12029
+ (isAudioOnlyModeOn) => __async(void 0, null, function* () {
11844
12030
  if (isAudioOnlyModeOn) {
11845
12031
  isLocalVideoEnabled && (yield hmsActions.setLocalVideoEnabled(false));
11846
12032
  isLocalScreenShared && (yield hmsActions.setScreenShareEnabled(false));
@@ -11952,7 +12138,7 @@ var defaultLayout = {
11952
12138
  };
11953
12139
 
11954
12140
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
11955
- var fetchWithRetry = (..._0) => __async(null, [..._0], function* (url = "", options = {}) {
12141
+ var fetchWithRetry = (..._0) => __async(void 0, [..._0], function* (url = "", options = {}) {
11956
12142
  const MAX_RETRIES = 4;
11957
12143
  let error = Error("something went wrong");
11958
12144
  for (let i = 0; i < MAX_RETRIES; i++) {
@@ -11985,7 +12171,7 @@ var useFetchRoomLayout = ({
11985
12171
  }
11986
12172
  }, []);
11987
12173
  (0, import_react31.useEffect)(() => {
11988
- (() => __async(null, null, function* () {
12174
+ (() => __async(void 0, null, function* () {
11989
12175
  var _a8, _b7;
11990
12176
  if (isFetchInProgress.current || !authToken) {
11991
12177
  return;
@@ -12082,7 +12268,8 @@ var formatTime = (timeInSeconds) => {
12082
12268
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12083
12269
  };
12084
12270
  var compareArrays = (a2, b2) => {
12085
- if (a2.length !== b2.length) return false;
12271
+ if (a2.length !== b2.length)
12272
+ return false;
12086
12273
  else {
12087
12274
  for (var i = 0; i < a2.length; i++) {
12088
12275
  if (a2[i] !== b2[i]) {
@@ -14181,7 +14368,7 @@ var useNoiseCancellationWithPlugin = () => {
14181
14368
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
14182
14369
  const isEnabledForRoom = (_a8 = (0, import_react_sdk16.useHMSStore)(import_react_sdk16.selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14183
14370
  const setNoiseCancellationWithPlugin = (0, import_react48.useCallback)(
14184
- (enabled) => __async(null, null, function* () {
14371
+ (enabled) => __async(void 0, null, function* () {
14185
14372
  if (!isEnabledForRoom || inProgress) {
14186
14373
  return;
14187
14374
  }
@@ -14223,7 +14410,7 @@ var NoiseCancellation = ({
14223
14410
  {
14224
14411
  active: isNoiseCancellationEnabled && isKrispPluginAdded,
14225
14412
  disabled: inProgress,
14226
- onClick: () => __async(null, null, function* () {
14413
+ onClick: () => __async(void 0, null, function* () {
14227
14414
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14228
14415
  setOpenOptionsSheet == null ? void 0 : setOpenOptionsSheet(false);
14229
14416
  })
@@ -14236,7 +14423,7 @@ var NoiseCancellation = ({
14236
14423
  return /* @__PURE__ */ import_react48.default.createElement(Tooltip, { title: isNoiseCancellationEnabled ? "Noise Reduced" : "Reduce Noise" }, /* @__PURE__ */ import_react48.default.createElement(
14237
14424
  IconButton_default,
14238
14425
  {
14239
- onClick: () => __async(null, null, function* () {
14426
+ onClick: () => __async(void 0, null, function* () {
14240
14427
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14241
14428
  }),
14242
14429
  disabled: inProgress,
@@ -14257,7 +14444,7 @@ var NoiseCancellation = ({
14257
14444
  fontSize: "$xs",
14258
14445
  justifyContent: "space-between"
14259
14446
  },
14260
- onClick: (e) => __async(null, null, function* () {
14447
+ onClick: (e) => __async(void 0, null, function* () {
14261
14448
  e.preventDefault();
14262
14449
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14263
14450
  })
@@ -14270,7 +14457,7 @@ var NoiseCancellation = ({
14270
14457
  checked: isNoiseCancellationEnabled && isKrispPluginAdded,
14271
14458
  disabled: inProgress,
14272
14459
  onClick: (e) => e.stopPropagation(),
14273
- onCheckedChange: (value) => __async(null, null, function* () {
14460
+ onCheckedChange: (value) => __async(void 0, null, function* () {
14274
14461
  yield setNoiseCancellationWithPlugin(value);
14275
14462
  })
14276
14463
  }
@@ -14284,7 +14471,7 @@ var AudioOutputLabel = ({ deviceId }) => {
14284
14471
  {
14285
14472
  variant: "xs",
14286
14473
  css: { color: "$primary_bright", "&:hover": { cursor: "pointer" } },
14287
- onClick: () => __async(null, null, function* () {
14474
+ onClick: () => __async(void 0, null, function* () {
14288
14475
  var _a8;
14289
14476
  if (playing) {
14290
14477
  return;
@@ -14350,7 +14537,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14350
14537
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
14351
14538
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
14352
14539
  (0, import_react48.useEffect)(() => {
14353
- (() => __async(null, null, function* () {
14540
+ (() => __async(void 0, null, function* () {
14354
14541
  var _a8;
14355
14542
  const isEnabledForRoom = (_a8 = vanillaStore.getState(import_react_sdk16.selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14356
14543
  if (isEnabledForRoom && isNoiseCancellationEnabled && !isKrispPluginAdded && !inProgress && (localPeer == null ? void 0 : localPeer.audioTrack)) {
@@ -14427,7 +14614,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14427
14614
  ) : null, (localVideoTrack == null ? void 0 : localVideoTrack.facingMode) && roomState === import_react_sdk16.HMSRoomState.Preview && (isIOS || isAndroid) ? /* @__PURE__ */ import_react48.default.createElement(Tooltip, { title: "Switch Camera", key: "switchCamera" }, /* @__PURE__ */ import_react48.default.createElement(
14428
14615
  IconButton_default,
14429
14616
  {
14430
- onClick: () => __async(null, null, function* () {
14617
+ onClick: () => __async(void 0, null, function* () {
14431
14618
  try {
14432
14619
  yield actions.switchCamera();
14433
14620
  } catch (e) {
@@ -14580,7 +14767,7 @@ var useMobileHLSStream = () => {
14580
14767
  };
14581
14768
  var useKeyboardHandler = (isPaused, hlsPlayer2) => {
14582
14769
  const handleKeyEvent = (0, import_react52.useCallback)(
14583
- (event) => __async(null, null, function* () {
14770
+ (event) => __async(void 0, null, function* () {
14584
14771
  switch (event.key) {
14585
14772
  case " ":
14586
14773
  if (isPaused) {
@@ -14612,7 +14799,7 @@ var useRecordingHandler = () => {
14612
14799
  }
14613
14800
  }, [recordingStarted, recordingState.browser.error, setRecordingState]);
14614
14801
  const startRecording = (0, import_react52.useCallback)(
14615
- (resolution = null) => __async(null, null, function* () {
14802
+ (resolution = null) => __async(void 0, null, function* () {
14616
14803
  try {
14617
14804
  setRecordingState(true);
14618
14805
  setIsRecordingLoading(true);
@@ -14698,7 +14885,7 @@ var EmojiReaction = ({ showCard = false }) => {
14698
14885
  const { sendEvent } = (0, import_react_sdk19.useCustomEvent)({
14699
14886
  type: EMOJI_REACTION_TYPE
14700
14887
  });
14701
- const sendReaction = (emojiId) => __async(null, null, function* () {
14888
+ const sendReaction = (emojiId) => __async(void 0, null, function* () {
14702
14889
  var _a8;
14703
14890
  const data3 = {
14704
14891
  type: EMOJI_REACTION_TYPE,
@@ -14779,7 +14966,7 @@ var EndSessionContent = ({
14779
14966
  {
14780
14967
  variant: "danger",
14781
14968
  css: { w: "100%" },
14782
- onClick: () => __async(null, null, function* () {
14969
+ onClick: () => __async(void 0, null, function* () {
14783
14970
  yield leaveRoom({ endStream: true });
14784
14971
  setShowEndStreamAlert(false);
14785
14972
  }),
@@ -14866,7 +15053,7 @@ var LeaveSessionContent = ({
14866
15053
  {
14867
15054
  variant: "danger",
14868
15055
  css: { w: "100%" },
14869
- onClick: () => __async(null, null, function* () {
15056
+ onClick: () => __async(void 0, null, function* () {
14870
15057
  yield leaveRoom({ sendReason: true });
14871
15058
  }),
14872
15059
  id: "leaveRoom",
@@ -14937,7 +15124,7 @@ var DesktopLeaveRoom = ({
14937
15124
  bg: "",
14938
15125
  titleColor: "$on_surface_high",
14939
15126
  icon: /* @__PURE__ */ import_react57.default.createElement(import_react_icons18.ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
14940
- onClick: () => __async(null, null, function* () {
15127
+ onClick: () => __async(void 0, null, function* () {
14941
15128
  return yield leaveRoom({ sendReason: true });
14942
15129
  }),
14943
15130
  css: { p: "$8 $4" }
@@ -15028,7 +15215,7 @@ var MwebLeaveRoom = ({
15028
15215
  bg: "$surface_default",
15029
15216
  titleColor: "$on_surface_high",
15030
15217
  icon: /* @__PURE__ */ import_react58.default.createElement(import_react_icons19.ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15031
- onClick: () => __async(null, null, function* () {
15218
+ onClick: () => __async(void 0, null, function* () {
15032
15219
  return yield leaveRoom({ sendReason: true });
15033
15220
  }),
15034
15221
  css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
@@ -15094,7 +15281,7 @@ var LeaveRoom = ({
15094
15281
  const hmsActions = (0, import_react_sdk22.useHMSActions)();
15095
15282
  const isMobileHLSStream = useMobileHLSStream();
15096
15283
  const isLandscapeHLSStream = useLandscapeHLSStream();
15097
- const stopStream = (stop_reason = "") => __async(null, null, function* () {
15284
+ const stopStream = (stop_reason = "") => __async(void 0, null, function* () {
15098
15285
  try {
15099
15286
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
15100
15287
  console.log("Stopping HLS stream");
@@ -15106,10 +15293,10 @@ var LeaveRoom = ({
15106
15293
  ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
15107
15294
  }
15108
15295
  });
15109
- const endRoom = () => __async(null, null, function* () {
15296
+ const endRoom = () => __async(void 0, null, function* () {
15110
15297
  yield hmsActions.endRoom(false, "End Room");
15111
15298
  });
15112
- const leaveRoom = (..._0) => __async(null, [..._0], function* (options = { endStream: false, sendReason: false }) {
15299
+ const leaveRoom = (..._0) => __async(void 0, [..._0], function* (options = { endStream: false, sendReason: false }) {
15113
15300
  if (options.endStream || hlsState.running && peersWithStreamingRights.length === 1) {
15114
15301
  yield stopStream(options.sendReason ? "last publisher left" : "");
15115
15302
  }
@@ -15335,7 +15522,7 @@ var useChatBlacklist = (sessionStoreKey) => {
15335
15522
  const hmsActions = (0, import_react_sdk25.useHMSActions)();
15336
15523
  const blacklistedIDs = (0, import_react_sdk25.useHMSStore)((0, import_react_sdk25.selectSessionStore)(sessionStoreKey));
15337
15524
  const blacklistItem = (0, import_react63.useCallback)(
15338
- (blacklistID) => __async(null, null, function* () {
15525
+ (blacklistID) => __async(void 0, null, function* () {
15339
15526
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
15340
15527
  }),
15341
15528
  [hmsActions, sessionStoreKey, blacklistedIDs]
@@ -15356,7 +15543,7 @@ var usePinnedMessages = () => {
15356
15543
  const hmsActions = (0, import_react_sdk26.useHMSActions)();
15357
15544
  const vanillaStore = (0, import_react_sdk26.useHMSVanillaStore)();
15358
15545
  const setPinnedMessages = (0, import_react64.useCallback)(
15359
- (message, pinnedBy) => __async(null, null, function* () {
15546
+ (message, pinnedBy) => __async(void 0, null, function* () {
15360
15547
  const peerName = vanillaStore.getState((0, import_react_sdk26.selectPeerNameByID)(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
15361
15548
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
15362
15549
  if (message && peerName) {
@@ -15372,7 +15559,7 @@ var usePinnedMessages = () => {
15372
15559
  [hmsActions, vanillaStore]
15373
15560
  );
15374
15561
  const removePinnedMessage = (0, import_react64.useCallback)(
15375
- (indexToRemove) => __async(null, null, function* () {
15562
+ (indexToRemove) => __async(void 0, null, function* () {
15376
15563
  const pinnedMessages = vanillaStore.getState((0, import_react_sdk26.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15377
15564
  if (pinnedMessages[indexToRemove]) {
15378
15565
  yield hmsActions.sessionStore.set(
@@ -15384,7 +15571,7 @@ var usePinnedMessages = () => {
15384
15571
  [hmsActions, vanillaStore]
15385
15572
  );
15386
15573
  const unpinBlacklistedMessages = (0, import_react64.useCallback)(
15387
- (blacklistedMessageIDSet) => __async(null, null, function* () {
15574
+ (blacklistedMessageIDSet) => __async(void 0, null, function* () {
15388
15575
  const pinnedMessages = vanillaStore.getState((0, import_react_sdk26.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15389
15576
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
15390
15577
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
@@ -15482,7 +15669,7 @@ var ChatActions = ({
15482
15669
  hide: {
15483
15670
  text: message.recipientPeer ? "Hide for both" : "Hide for everyone",
15484
15671
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.EyeCloseIcon, { style: iconStyle }),
15485
- onClick: () => __async(null, null, function* () {
15672
+ onClick: () => __async(void 0, null, function* () {
15486
15673
  blacklistMessage(message.id);
15487
15674
  updatePinnedMessages(message.id);
15488
15675
  }),
@@ -15491,7 +15678,7 @@ var ChatActions = ({
15491
15678
  block: {
15492
15679
  text: "Block from chat",
15493
15680
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.CrossCircleIcon, { style: iconStyle }),
15494
- onClick: () => __async(null, null, function* () {
15681
+ onClick: () => __async(void 0, null, function* () {
15495
15682
  if (message.senderUserId) {
15496
15683
  blacklistPeer(message.senderUserId);
15497
15684
  }
@@ -15504,7 +15691,7 @@ var ChatActions = ({
15504
15691
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.PeopleRemoveIcon, { style: iconStyle }),
15505
15692
  color: "$alert_error_default",
15506
15693
  show: !!canRemoveOthers && !sentByLocalPeer,
15507
- onClick: () => __async(null, null, function* () {
15694
+ onClick: () => __async(void 0, null, function* () {
15508
15695
  if (!message.sender) {
15509
15696
  return;
15510
15697
  }
@@ -15615,7 +15802,8 @@ var EmptyChat = () => {
15615
15802
  const isMobileHLSStream = useMobileHLSStream();
15616
15803
  const isLandscapeStream = useLandscapeHLSStream();
15617
15804
  const streaming = isMobileHLSStream || isLandscapeStream;
15618
- if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming) return /* @__PURE__ */ import_react66.default.createElement(import_react66.default.Fragment, null);
15805
+ if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming)
15806
+ return /* @__PURE__ */ import_react66.default.createElement(import_react66.default.Fragment, null);
15619
15807
  return /* @__PURE__ */ import_react66.default.createElement(
15620
15808
  Flex,
15621
15809
  {
@@ -16102,7 +16290,8 @@ var PIPChat = () => {
16102
16290
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
16103
16291
  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);
16104
16292
  const getChatStatus = (0, import_react69.useCallback)(() => {
16105
- if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
16293
+ if (isLocalPeerBlacklisted)
16294
+ return "You've been blocked from sending messages";
16106
16295
  if (!isChatEnabled)
16107
16296
  return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
16108
16297
  return message_placeholder;
@@ -16418,7 +16607,7 @@ var RoleChangeContent = ({
16418
16607
  "data-testid": "change_button",
16419
16608
  variant: "primary",
16420
16609
  css: { width: "100%" },
16421
- onClick: () => __async(null, null, function* () {
16610
+ onClick: () => __async(void 0, null, function* () {
16422
16611
  if (selectedRole) {
16423
16612
  yield hmsActions.changeRoleOfPeer(peer.id, selectedRole, true);
16424
16613
  onOpenChange(false);
@@ -16700,7 +16889,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16700
16889
  "data-testid": "stop_recording_confirm_mobile",
16701
16890
  variant: "danger",
16702
16891
  icon: true,
16703
- onClick: () => __async(null, null, function* () {
16892
+ onClick: () => __async(void 0, null, function* () {
16704
16893
  try {
16705
16894
  yield hmsActions.stopRTMPAndRecording();
16706
16895
  } catch (error) {
@@ -16732,7 +16921,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16732
16921
  css: { ml: "auto" },
16733
16922
  type: "submit",
16734
16923
  disabled: recordingStarted || isStreamingOn,
16735
- onClick: () => __async(null, null, function* () {
16924
+ onClick: () => __async(void 0, null, function* () {
16736
16925
  yield startRecording(resolution);
16737
16926
  onOpenChange(false);
16738
16927
  })
@@ -17002,7 +17191,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
17002
17191
  const [roleDialog, setRoleDialog] = (0, import_react76.useState)(false);
17003
17192
  const [errorMessage, setErrorMessage] = (0, import_react76.useState)("");
17004
17193
  const [isSubmiting, setIsSubmiting] = (0, import_react76.useState)(false);
17005
- const changeBulkRole = (0, import_react76.useCallback)(() => __async(null, null, function* () {
17194
+ const changeBulkRole = (0, import_react76.useCallback)(() => __async(void 0, null, function* () {
17006
17195
  if (selectedBulkRole.length > 0 && selectedRole) {
17007
17196
  try {
17008
17197
  setIsSubmiting(true);
@@ -17173,7 +17362,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
17173
17362
  variant: isTranscriptionEnabled ? "danger" : "primary",
17174
17363
  css: { width: "100%" },
17175
17364
  "data-testid": "popup_change_btn",
17176
- onClick: () => __async(null, null, function* () {
17365
+ onClick: () => __async(void 0, null, function* () {
17177
17366
  try {
17178
17367
  if (isTranscriptionEnabled) {
17179
17368
  yield actions.stopTranscription({
@@ -17246,7 +17435,7 @@ var import_react79 = require("react");
17246
17435
  var import_screenfull = __toESM(require("screenfull"));
17247
17436
  var useFullscreen = () => {
17248
17437
  const [isFullScreenEnabled, setIsFullScreenEnabled] = (0, import_react79.useState)(import_screenfull.default.isFullscreen);
17249
- const toggle = (0, import_react79.useCallback)(() => __async(null, null, function* () {
17438
+ const toggle = (0, import_react79.useCallback)(() => __async(void 0, null, function* () {
17250
17439
  if (!import_screenfull.default.isEnabled) {
17251
17440
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
17252
17441
  return;
@@ -17358,7 +17547,7 @@ var MuteAllModal = ({
17358
17547
  const [trackType, setTrackType] = (0, import_react82.useState)();
17359
17548
  const [selectedRole, setRole] = (0, import_react82.useState)();
17360
17549
  const [selectedSource, setSource] = (0, import_react82.useState)();
17361
- const muteAll = (0, import_react82.useCallback)(() => __async(null, null, function* () {
17550
+ const muteAll = (0, import_react82.useCallback)(() => __async(void 0, null, function* () {
17362
17551
  yield hmsActions.setRemoteTracksEnabled({
17363
17552
  enabled,
17364
17553
  type: trackType,
@@ -17396,7 +17585,7 @@ var useMyMetadata = () => {
17396
17585
  const vanillaStore = (0, import_react_sdk38.useHMSVanillaStore)();
17397
17586
  const metaData = (0, import_react_sdk38.useHMSStore)((0, import_react_sdk38.selectPeerMetadata)(localPeerId));
17398
17587
  const isHandRaised = (0, import_react_sdk38.useHMSStore)((0, import_react_sdk38.selectHasPeerHandRaised)(localPeerId));
17399
- const update = (updatedFields) => __async(null, null, function* () {
17588
+ const update = (updatedFields) => __async(void 0, null, function* () {
17400
17589
  try {
17401
17590
  const currentMetadata = vanillaStore.getState((0, import_react_sdk38.selectPeerMetadata)(localPeerId));
17402
17591
  yield hmsActions.changeMetadata(Object.assign(currentMetadata, updatedFields));
@@ -17406,7 +17595,7 @@ var useMyMetadata = () => {
17406
17595
  }
17407
17596
  return false;
17408
17597
  });
17409
- const toggleHandRaise = (0, import_react83.useCallback)(() => __async(null, null, function* () {
17598
+ const toggleHandRaise = (0, import_react83.useCallback)(() => __async(void 0, null, function* () {
17410
17599
  if (isHandRaised) {
17411
17600
  yield hmsActions.lowerLocalPeerHand();
17412
17601
  yield update({ handRaisedAt: void 0 });
@@ -17415,7 +17604,7 @@ var useMyMetadata = () => {
17415
17604
  yield update({ isBRBOn: false, handRaisedAt: Date.now() });
17416
17605
  }
17417
17606
  }), [isHandRaised]);
17418
- const toggleBRB = (0, import_react83.useCallback)(() => __async(null, null, function* () {
17607
+ const toggleBRB = (0, import_react83.useCallback)(() => __async(void 0, null, function* () {
17419
17608
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
17420
17609
  yield update({ isBRBOn: newValue });
17421
17610
  if (newValue) {
@@ -17499,7 +17688,8 @@ var usePIPChat = () => {
17499
17688
  "click",
17500
17689
  () => setTimeout(() => marker == null ? void 0 : marker.scrollIntoView({ block: "end", behavior: "smooth" }), 0)
17501
17690
  );
17502
- } else if (messageId) observer.observe(message);
17691
+ } else if (messageId)
17692
+ observer.observe(message);
17503
17693
  });
17504
17694
  }
17505
17695
  });
@@ -17507,7 +17697,7 @@ var usePIPChat = () => {
17507
17697
  mutationObserver.observe(chatContainer, {
17508
17698
  childList: true
17509
17699
  });
17510
- const sendMessage = () => __async(null, null, function* () {
17700
+ const sendMessage = () => __async(void 0, null, function* () {
17511
17701
  const selection = (selector == null ? void 0 : selector.value) || "Everyone";
17512
17702
  if (selection === "Everyone") {
17513
17703
  yield hmsActions.sendBroadcastMessage(pipChatInput.value.trim());
@@ -17525,7 +17715,8 @@ var usePIPChat = () => {
17525
17715
  }
17526
17716
  });
17527
17717
  const sendOnEnter = (e) => {
17528
- if (e.key === "Enter") sendMessage();
17718
+ if (e.key === "Enter")
17719
+ sendMessage();
17529
17720
  };
17530
17721
  sendBtn.addEventListener("click", sendMessage);
17531
17722
  pipChatInput.addEventListener("keypress", sendOnEnter);
@@ -17637,7 +17828,7 @@ var DesktopOptions = ({
17637
17828
  PIPChatOption,
17638
17829
  {
17639
17830
  showPIPChat: showPipChatOption,
17640
- openChat: () => __async(null, null, function* () {
17831
+ openChat: () => __async(void 0, null, function* () {
17641
17832
  isChatOpen && toggleChat();
17642
17833
  yield requestPipWindow(350, 500);
17643
17834
  })
@@ -17892,7 +18083,8 @@ var enumerize = function(arr) {
17892
18083
  var has = function(str1, str2) {
17893
18084
  if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
17894
18085
  for (var i in str1) {
17895
- if (lowerize(str2) == lowerize(str1[i])) return true;
18086
+ if (lowerize(str2) == lowerize(str1[i]))
18087
+ return true;
17896
18088
  }
17897
18089
  return false;
17898
18090
  }
@@ -17907,7 +18099,8 @@ var isString = function(val) {
17907
18099
  return typeof val === TYPEOF.STRING;
17908
18100
  };
17909
18101
  var itemListToArray = function(header) {
17910
- if (!header) return void 0;
18102
+ if (!header)
18103
+ return void 0;
17911
18104
  var arr = [];
17912
18105
  var tokens = strip(/\\?\"/g, header).split(",");
17913
18106
  for (var i = 0; i < tokens.length; i++) {
@@ -17928,7 +18121,8 @@ var majorize = function(version) {
17928
18121
  };
17929
18122
  var setProps = function(arr) {
17930
18123
  for (var i in arr) {
17931
- if (!arr.hasOwnProperty(i)) continue;
18124
+ if (!arr.hasOwnProperty(i))
18125
+ continue;
17932
18126
  var propName = arr[i];
17933
18127
  if (typeof propName == TYPEOF.OBJECT && propName.length == 2) {
17934
18128
  this[propName[0]] = propName[1];
@@ -17949,7 +18143,8 @@ var trim = function(str, len) {
17949
18143
  return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
17950
18144
  };
17951
18145
  var rgxMapper = function(ua2, arrays) {
17952
- if (!ua2 || !arrays) return;
18146
+ if (!ua2 || !arrays)
18147
+ return;
17953
18148
  var i = 0, j, k2, p, q2, matches, match18;
17954
18149
  while (i < arrays.length && !matches) {
17955
18150
  var regex = arrays[i], props = arrays[i + 1];
@@ -19278,7 +19473,7 @@ var defaultRegexes = {
19278
19473
  [NAME, VERSION]
19279
19474
  ]
19280
19475
  };
19281
- var defaultProps = (function() {
19476
+ var defaultProps = function() {
19282
19477
  var props = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
19283
19478
  setProps.call(props.init, [
19284
19479
  [BROWSER, [NAME, VERSION, MAJOR, TYPE]],
@@ -19304,7 +19499,7 @@ var defaultProps = (function() {
19304
19499
  [OS, [NAME, VERSION]]
19305
19500
  ]);
19306
19501
  return props;
19307
- })();
19502
+ }();
19308
19503
  var createIData = function(item, itemType) {
19309
19504
  var init_props = defaultProps.init[itemType], is_ignoreProps = defaultProps.isIgnore[itemType] || 0, is_ignoreRgx = defaultProps.isIgnoreRgx[itemType] || 0, toString_props = defaultProps.toString[itemType] || 0;
19310
19505
  function IData() {
@@ -19330,7 +19525,8 @@ var createIData = function(item, itemType) {
19330
19525
  for (var i in this) {
19331
19526
  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)) {
19332
19527
  is2 = true;
19333
- if (strToCheck != TYPEOF.UNDEFINED) break;
19528
+ if (strToCheck != TYPEOF.UNDEFINED)
19529
+ break;
19334
19530
  } else if (strToCheck == TYPEOF.UNDEFINED && is2) {
19335
19531
  is2 = !is2;
19336
19532
  break;
@@ -19386,13 +19582,15 @@ function UACHData(uach, isHttpUACH) {
19386
19582
  ]);
19387
19583
  } else {
19388
19584
  for (var prop in uach) {
19389
- if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED) this[prop] = uach[prop];
19585
+ if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED)
19586
+ this[prop] = uach[prop];
19390
19587
  }
19391
19588
  }
19392
19589
  }
19393
19590
  function UAItem(itemType, ua2, rgxMap, uaCH) {
19394
19591
  this.get = function(prop) {
19395
- if (!prop) return this.data;
19592
+ if (!prop)
19593
+ return this.data;
19396
19594
  return this.data.hasOwnProperty(prop) ? this.data[prop] : void 0;
19397
19595
  };
19398
19596
  this.set = function(prop, val) {
@@ -19479,7 +19677,8 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19479
19677
  case CPU:
19480
19678
  var archName = uaCH2[ARCHITECTURE];
19481
19679
  if (archName) {
19482
- if (archName && uaCH2[BITNESS] == "64") archName += "64";
19680
+ if (archName && uaCH2[BITNESS] == "64")
19681
+ archName += "64";
19483
19682
  rgxMapper.call(this.data, archName + ";", rgxMap2);
19484
19683
  }
19485
19684
  break;
@@ -19517,7 +19716,8 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19517
19716
  var osName = uaCH2[PLATFORM];
19518
19717
  if (osName) {
19519
19718
  var osVersion = uaCH2[PLATFORMVER];
19520
- if (osName == WINDOWS) osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19719
+ if (osName == WINDOWS)
19720
+ osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19521
19721
  this.set(NAME, osName).set(VERSION, osVersion);
19522
19722
  }
19523
19723
  if (this.get(NAME) == WINDOWS && uaCH2[MODEL] == "Xbox") {
@@ -19609,7 +19809,8 @@ function UAParser(ua2, extensions, headers) {
19609
19809
  return userAgent;
19610
19810
  }],
19611
19811
  ["setUA", function(ua3) {
19612
- if (isString(ua3)) userAgent = trim(ua3, UA_MAX_LENGTH);
19812
+ if (isString(ua3))
19813
+ userAgent = trim(ua3, UA_MAX_LENGTH);
19613
19814
  return this;
19614
19815
  }]
19615
19816
  ]).setUA(userAgent);
@@ -21740,15 +21941,21 @@ var ks = Object.prototype.hasOwnProperty;
21740
21941
  var Es = Object.prototype.propertyIsEnumerable;
21741
21942
  var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21742
21943
  var m = (a2, e) => {
21743
- for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21744
- if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
21944
+ for (var t in e || (e = {}))
21945
+ ks.call(e, t) && ys(a2, t, e[t]);
21946
+ if (di)
21947
+ for (var t of di(e))
21948
+ Es.call(e, t) && ys(a2, t, e[t]);
21745
21949
  return a2;
21746
21950
  };
21747
21951
  var M = (a2, e) => Po(a2, bo(e));
21748
21952
  var Ar = (a2, e) => {
21749
21953
  var t = {};
21750
- for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21751
- if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21954
+ for (var i in a2)
21955
+ ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21956
+ if (a2 != null && di)
21957
+ for (var i of di(a2))
21958
+ e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21752
21959
  return t;
21753
21960
  };
21754
21961
  var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
@@ -21769,7 +21976,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21769
21976
  n((t = t.apply(a2, e)).next());
21770
21977
  });
21771
21978
  var _r = Ro((gd, xo) => {
21772
- 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"] };
21979
+ xo.exports = { version: "0.13.3-alpha.7", 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"] };
21773
21980
  });
21774
21981
  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 || {});
21775
21982
  var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
@@ -21778,10 +21985,11 @@ var Hr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PE
21778
21985
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
21779
21986
  function We(a2, e) {
21780
21987
  let t, i;
21781
- if (e) for (let r of e.auxiliaryTracks) {
21782
- let s = a2[r];
21783
- Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21784
- }
21988
+ if (e)
21989
+ for (let r of e.auxiliaryTracks) {
21990
+ let s = a2[r];
21991
+ Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21992
+ }
21785
21993
  return { video: t, audio: i };
21786
21994
  }
21787
21995
  function vt(a2) {
@@ -21838,42 +22046,43 @@ var l = class {
21838
22046
  performance.clearMarks(), performance.clearMeasures();
21839
22047
  }
21840
22048
  static log(e, t, ...i) {
21841
- if (!(this.level.valueOf() > e.valueOf())) switch (e) {
21842
- case 0: {
21843
- console.log(t, ...i);
21844
- break;
21845
- }
21846
- case 1: {
21847
- console.debug(t, ...i);
21848
- break;
21849
- }
21850
- case 2: {
21851
- console.info(t, ...i);
21852
- break;
21853
- }
21854
- case 3: {
21855
- console.warn(t, ...i);
21856
- break;
21857
- }
21858
- case 6: {
21859
- console.error(t, ...i);
21860
- break;
21861
- }
21862
- case 4: {
21863
- performance.mark(i[0]);
21864
- break;
21865
- }
21866
- case 5: {
21867
- let r = i[0];
21868
- try {
21869
- let s = performance.measure(r, r);
21870
- this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
21871
- } catch (s) {
21872
- this.log(1, t, r, s);
22049
+ if (!(this.level.valueOf() > e.valueOf()))
22050
+ switch (e) {
22051
+ case 0: {
22052
+ console.log(t, ...i);
22053
+ break;
22054
+ }
22055
+ case 1: {
22056
+ console.debug(t, ...i);
22057
+ break;
22058
+ }
22059
+ case 2: {
22060
+ console.info(t, ...i);
22061
+ break;
22062
+ }
22063
+ case 3: {
22064
+ console.warn(t, ...i);
22065
+ break;
22066
+ }
22067
+ case 6: {
22068
+ console.error(t, ...i);
22069
+ break;
22070
+ }
22071
+ case 4: {
22072
+ performance.mark(i[0]);
22073
+ break;
22074
+ }
22075
+ case 5: {
22076
+ let r = i[0];
22077
+ try {
22078
+ let s = performance.measure(r, r);
22079
+ this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22080
+ } catch (s) {
22081
+ this.log(1, t, r, s);
22082
+ }
22083
+ break;
21873
22084
  }
21874
- break;
21875
22085
  }
21876
- }
21877
22086
  }
21878
22087
  };
21879
22088
  l.level = Lo ? 7 : 0;
@@ -21881,16 +22090,17 @@ var Cr = new UAParser();
21881
22090
  var Et = null;
21882
22091
  var Lr = null;
21883
22092
  var B = typeof window != "undefined";
21884
- if (B) try {
21885
- let a2 = Cr.getResult(), e = a2.withClientHints();
21886
- e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
21887
- Et = t;
21888
- }).catch(() => {
21889
- Et = a2;
21890
- })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
21891
- } catch (a2) {
21892
- Et = Cr.getResult();
21893
- }
22093
+ if (B)
22094
+ try {
22095
+ let a2 = Cr.getResult(), e = a2.withClientHints();
22096
+ e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22097
+ Et = t;
22098
+ }).catch(() => {
22099
+ Et = a2;
22100
+ })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22101
+ } catch (a2) {
22102
+ Et = Cr.getResult();
22103
+ }
21894
22104
  var we = () => Et || Cr.getResult();
21895
22105
  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()) };
21896
22106
  var Hs;
@@ -22099,7 +22309,8 @@ var wr = class {
22099
22309
  this.valuesMap.clear();
22100
22310
  }
22101
22311
  key(e) {
22102
- if (arguments.length === 0) throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22312
+ if (arguments.length === 0)
22313
+ throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22103
22314
  return Array.from(this.valuesMap.keys())[e];
22104
22315
  }
22105
22316
  get length() {
@@ -22149,10 +22360,11 @@ function $(a2) {
22149
22360
  }
22150
22361
  var qs = _r().version;
22151
22362
  function At(a2 = "prod", e) {
22152
- let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22153
- 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 });
22363
+ let t = "web", i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22364
+ if ($e)
22365
+ 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 });
22154
22366
  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;
22155
- 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 });
22367
+ 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 });
22156
22368
  }
22157
22369
  function Nr(a2) {
22158
22370
  return a2.replace(/ /g, "_");
@@ -22284,9 +22496,11 @@ var Or = class {
22284
22496
  }
22285
22497
  setDevices(e) {
22286
22498
  var r;
22287
- if (this.devices = e, !this.remember) return;
22499
+ if (this.devices = e, !this.remember)
22500
+ return;
22288
22501
  let t = this.storage.get();
22289
- if (!t) return;
22502
+ if (!t)
22503
+ return;
22290
22504
  let i = ["audioInput", "videoInput", "audioOutput"];
22291
22505
  for (let s of i) {
22292
22506
  let o = t[s];
@@ -22297,7 +22511,8 @@ var Or = class {
22297
22511
  this.remember = e;
22298
22512
  }
22299
22513
  updateSelection(e, { deviceId: t, groupId: i }) {
22300
- if (!this.devices || !this.remember) return;
22514
+ if (!this.devices || !this.remember)
22515
+ return;
22301
22516
  let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22302
22517
  if (!r) {
22303
22518
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
@@ -22311,7 +22526,8 @@ var Or = class {
22311
22526
  t[e] && (delete t[e], this.storage.set(t));
22312
22527
  }
22313
22528
  getSelection() {
22314
- if (this.remember) return this.storage.get();
22529
+ if (this.remember)
22530
+ return this.storage.get();
22315
22531
  }
22316
22532
  cleanup() {
22317
22533
  this.remember = false, this.devices = void 0;
@@ -22359,7 +22575,8 @@ var jr = class {
22359
22575
  };
22360
22576
  this.handleIntersection = (e) => {
22361
22577
  var t;
22362
- for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22578
+ for (let i of e)
22579
+ (t = this.listeners.get(i.target)) == null || t(i);
22363
22580
  };
22364
22581
  this.createObserver();
22365
22582
  }
@@ -22386,7 +22603,8 @@ var Qr = class {
22386
22603
  };
22387
22604
  this.handleResize = (e) => {
22388
22605
  var t;
22389
- for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22606
+ for (let i of e)
22607
+ (t = this.listeners.get(i.target)) == null || t(i);
22390
22608
  };
22391
22609
  this.createObserver();
22392
22610
  }
@@ -22439,7 +22657,8 @@ var zm = createSelector(Z, un, (a2, e) => {
22439
22657
  });
22440
22658
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
22441
22659
  let i = t[0][1].peerID;
22442
- if (i in a2) return a2[i];
22660
+ if (i in a2)
22661
+ return a2[i];
22443
22662
  }
22444
22663
  return null;
22445
22664
  });
@@ -22451,7 +22670,8 @@ var Sn = createSelector(Z, N, (a2, e) => {
22451
22670
  let t;
22452
22671
  for (let i in a2) {
22453
22672
  let r = a2[i], { video: s, audio: o } = We(e, r);
22454
- if (s) return r;
22673
+ if (s)
22674
+ return r;
22455
22675
  o && !t && (t = r);
22456
22676
  }
22457
22677
  return t;
@@ -22460,7 +22680,8 @@ var Xm = createSelector(Sn, (a2) => !!a2);
22460
22680
  var Zm = createSelector(Z, N, (a2, e) => {
22461
22681
  for (let t in a2) {
22462
22682
  let i = a2[t], { audio: r, video: s } = We(e, i);
22463
- if (!s && r) return i;
22683
+ if (!s && r)
22684
+ return i;
22464
22685
  }
22465
22686
  });
22466
22687
  var eS = createSelector(Z, N, (a2, e) => {
@@ -22474,13 +22695,15 @@ var eS = createSelector(Z, N, (a2, e) => {
22474
22695
  var tS = createSelector(Z, N, (a2, e) => {
22475
22696
  for (let t in e) {
22476
22697
  let i = e[t];
22477
- if (yt(i) && Mt(i) && i.peerId) return a2[i.peerId];
22698
+ if (yt(i) && Mt(i) && i.peerId)
22699
+ return a2[i.peerId];
22478
22700
  }
22479
22701
  });
22480
22702
  var iS = createSelector(Z, N, (a2, e) => {
22481
22703
  for (let t in e) {
22482
22704
  let i = e[t];
22483
- if (pi(i) && i.peerId) return a2[i.peerId];
22705
+ if (pi(i) && i.peerId)
22706
+ return a2[i.peerId];
22484
22707
  }
22485
22708
  });
22486
22709
  var rS = createSelector(hn, (a2) => a2.filter(Is));
@@ -22536,7 +22759,8 @@ var Oa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22536
22759
  var xa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22537
22760
  var Ua = (a2 = "audio") => createSelector(wa(a2), (e) => Object.values(e));
22538
22761
  var Ba = (a2 = "audio") => createSelector(wa(a2), as(a2), (e, t) => {
22539
- if (t.id) return e[t.id];
22762
+ if (t.id)
22763
+ return e[t.id];
22540
22764
  });
22541
22765
  var Va = { selection: as("audio"), progress: _a7("audio"), currentTime: Na("audio"), playbackRate: Oa("audio"), volume: xa("audio"), list: Ua("audio"), selectedItem: Ba("audio") };
22542
22766
  var Fa = { selection: as("video"), progress: _a7("video"), currentTime: Na("video"), playbackRate: Oa("video"), volume: xa("video"), list: Ua("video"), selectedItem: Ba("video") };
@@ -22570,42 +22794,43 @@ var b = class {
22570
22794
  performance.clearMarks(), performance.clearMeasures();
22571
22795
  }
22572
22796
  static log(e, ...t) {
22573
- if (!(this.level.valueOf() > e.valueOf())) switch (e) {
22574
- case 0: {
22575
- console.log(xt, ...t);
22576
- break;
22577
- }
22578
- case 1: {
22579
- console.debug(xt, ...t);
22580
- break;
22581
- }
22582
- case 2: {
22583
- console.info(xt, ...t);
22584
- break;
22585
- }
22586
- case 3: {
22587
- console.warn(xt, ...t);
22588
- break;
22589
- }
22590
- case 6: {
22591
- console.error(xt, ...t);
22592
- break;
22593
- }
22594
- case 4: {
22595
- performance.mark(t[1]);
22596
- break;
22597
- }
22598
- case 5: {
22599
- let i = t[0], r = t[1];
22600
- try {
22601
- let s = performance.measure(r, r);
22602
- this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22603
- } catch (s) {
22604
- this.log(1, i, r, s);
22797
+ if (!(this.level.valueOf() > e.valueOf()))
22798
+ switch (e) {
22799
+ case 0: {
22800
+ console.log(xt, ...t);
22801
+ break;
22802
+ }
22803
+ case 1: {
22804
+ console.debug(xt, ...t);
22805
+ break;
22806
+ }
22807
+ case 2: {
22808
+ console.info(xt, ...t);
22809
+ break;
22810
+ }
22811
+ case 3: {
22812
+ console.warn(xt, ...t);
22813
+ break;
22814
+ }
22815
+ case 6: {
22816
+ console.error(xt, ...t);
22817
+ break;
22818
+ }
22819
+ case 4: {
22820
+ performance.mark(t[1]);
22821
+ break;
22822
+ }
22823
+ case 5: {
22824
+ let i = t[0], r = t[1];
22825
+ try {
22826
+ let s = performance.measure(r, r);
22827
+ this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22828
+ } catch (s) {
22829
+ this.log(1, i, r, s);
22830
+ }
22831
+ break;
22605
22832
  }
22606
- break;
22607
22833
  }
22608
- }
22609
22834
  }
22610
22835
  };
22611
22836
  b.level = 0;
@@ -22617,33 +22842,39 @@ var Mn = (a2, e) => e;
22617
22842
  var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22618
22843
  var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22619
22844
  var yn = createSelector([N, Ut], (a2, e) => {
22620
- if (!e) return null;
22845
+ if (!e)
22846
+ return null;
22621
22847
  let t = a2[e];
22622
22848
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22623
22849
  });
22624
22850
  var kn = createSelector([N, Ut], (a2, e) => {
22625
- if (!e) return null;
22851
+ if (!e)
22852
+ return null;
22626
22853
  let t = a2[e];
22627
22854
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22628
22855
  });
22629
22856
  var En = createSelector([N, Ut], (a2, e) => {
22630
- if (!e) return null;
22857
+ if (!e)
22858
+ return null;
22631
22859
  let t = a2[e];
22632
22860
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22633
22861
  });
22634
22862
  var Pn = createSelector([N, Ut], (a2, e) => {
22635
- if (!e) return null;
22863
+ if (!e)
22864
+ return null;
22636
22865
  let t = a2[e];
22637
22866
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22638
22867
  });
22639
22868
  var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
22640
22869
  var re = H(ee);
22641
22870
  var OS2 = H(createSelector([is, vn], (a2, e) => {
22642
- if (a2) return e ? a2[e] : a2;
22871
+ if (a2)
22872
+ return e ? a2[e] : a2;
22643
22873
  }));
22644
22874
  function xS(a2) {
22645
22875
  return (e) => {
22646
- if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
22876
+ if (e.sessionStore)
22877
+ return a2 ? e.sessionStore[a2] : e.sessionStore;
22647
22878
  };
22648
22879
  }
22649
22880
  var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
@@ -22655,11 +22886,13 @@ var GS = H(En);
22655
22886
  var WS = H(Pn);
22656
22887
  var In = H((a2, e) => {
22657
22888
  let t = ee(a2, e);
22658
- if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
22889
+ if (t && t.videoTrack && t.videoTrack !== "")
22890
+ return a2.tracks[t.videoTrack];
22659
22891
  });
22660
22892
  var An = H((a2, e) => {
22661
22893
  let t = ee(a2, e);
22662
- if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
22894
+ if (t && t.audioTrack && t.audioTrack !== "")
22895
+ return a2.tracks[t.audioTrack];
22663
22896
  });
22664
22897
  var KS = H((a2, e) => {
22665
22898
  let t = ee(a2, e);
@@ -22673,7 +22906,8 @@ var Rn = (a2, e) => {
22673
22906
  };
22674
22907
  var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22675
22908
  var QS = H((a2, e) => {
22676
- if (e) return a2.connectionQualities[e];
22909
+ if (e)
22910
+ return a2.connectionQualities[e];
22677
22911
  });
22678
22912
  var JS = H((a2, e) => {
22679
22913
  let t = ee(a2, e);
@@ -22714,7 +22948,8 @@ var tg = H((a2, e) => {
22714
22948
  return Xe(a2, t == null ? void 0 : t.videoTrack);
22715
22949
  });
22716
22950
  var ja = H((a2, e) => {
22717
- if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
22951
+ if (e && a2.tracks[e])
22952
+ return a2.tracks[e].volume === 0;
22718
22953
  });
22719
22954
  var ig = H((a2, e) => {
22720
22955
  let t = ee(a2, e);
@@ -22753,16 +22988,18 @@ var og = H((a2, e) => {
22753
22988
  }
22754
22989
  });
22755
22990
  var Ja = createSelector([Ot, Ae, os], (a2, e, t) => {
22756
- if (t) return a2.filter((i) => {
22757
- var r;
22758
- return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22759
- });
22991
+ if (t)
22992
+ return a2.filter((i) => {
22993
+ var r;
22994
+ return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22995
+ });
22760
22996
  });
22761
22997
  var za = createSelector([Ot, Ga], (a2, e) => {
22762
- if (e) return a2.filter((t) => {
22763
- var i, r;
22764
- return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22765
- });
22998
+ if (e)
22999
+ return a2.filter((t) => {
23000
+ var i, r;
23001
+ return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
23002
+ });
22766
23003
  });
22767
23004
  var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
22768
23005
  var t;
@@ -22818,7 +23055,8 @@ var ps = class {
22818
23055
  this.removeFromStorage(e);
22819
23056
  return;
22820
23057
  }
22821
- if (r.status !== 200) throw Error(r.statusText);
23058
+ if (r.status !== 200)
23059
+ throw Error(r.statusText);
22822
23060
  this.removeFromStorage(e);
22823
23061
  }).catch((r) => {
22824
23062
  l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
@@ -22840,8 +23078,10 @@ var ps = class {
22840
23078
  var He = new ps();
22841
23079
  var Qt = class {
22842
23080
  static handleError(e) {
22843
- if (e.status === 404) throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
22844
- if (e.status >= 400) throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
23081
+ if (e.status === 404)
23082
+ throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
23083
+ if (e.status >= 400)
23084
+ throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
22845
23085
  }
22846
23086
  static sendFeedback(s) {
22847
23087
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
@@ -23004,7 +23244,8 @@ var RecordingStatus = () => {
23004
23244
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
23005
23245
  (value) => !!value
23006
23246
  )) {
23007
- if (!(isMobile && isRecordingOn)) return null;
23247
+ if (!(isMobile && isRecordingOn))
23248
+ return null;
23008
23249
  }
23009
23250
  return /* @__PURE__ */ import_react88.default.createElement(
23010
23251
  Tooltip,
@@ -23072,7 +23313,7 @@ var StartRecording2 = () => {
23072
23313
  variant: "danger",
23073
23314
  icon: true,
23074
23315
  css: { ml: "auto" },
23075
- onClick: () => __async(null, null, function* () {
23316
+ onClick: () => __async(void 0, null, function* () {
23076
23317
  try {
23077
23318
  yield hmsActions.stopRTMPAndRecording();
23078
23319
  } catch (error) {
@@ -23095,7 +23336,7 @@ var StartRecording2 = () => {
23095
23336
  variant: "standard",
23096
23337
  icon: true,
23097
23338
  disabled: recordingStarted || isStreamingOn,
23098
- onClick: () => __async(null, null, function* () {
23339
+ onClick: () => __async(void 0, null, function* () {
23099
23340
  yield startRecording();
23100
23341
  })
23101
23342
  },
@@ -23157,7 +23398,7 @@ var ChangeNameContent = ({
23157
23398
  return /* @__PURE__ */ import_react89.default.createElement(
23158
23399
  "form",
23159
23400
  {
23160
- onSubmit: (e) => __async(null, null, function* () {
23401
+ onSubmit: (e) => __async(void 0, null, function* () {
23161
23402
  e.preventDefault();
23162
23403
  yield changeName();
23163
23404
  })
@@ -23199,7 +23440,7 @@ var ChangeNameContent = ({
23199
23440
  autoComplete: "name",
23200
23441
  required: true,
23201
23442
  "data-testid": "change_name_field",
23202
- onKeyDown: (e) => __async(null, null, function* () {
23443
+ onKeyDown: (e) => __async(void 0, null, function* () {
23203
23444
  if (e.key === "Enter" && currentName && currentName.trim().length > 0 && currentName !== localPeerName) {
23204
23445
  e.preventDefault();
23205
23446
  if (isMobile) {
@@ -23259,7 +23500,7 @@ var ChangeNameModal = ({
23259
23500
  const localPeerName = (0, import_react_sdk42.useHMSStore)(import_react_sdk42.selectLocalPeerName);
23260
23501
  const [currentName, setCurrentName] = (0, import_react90.useState)(localPeerName);
23261
23502
  const isMobile = (0, import_react_use16.useMedia)(config.media.md);
23262
- const changeName = () => __async(null, null, function* () {
23503
+ const changeName = () => __async(void 0, null, function* () {
23263
23504
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
23264
23505
  if (!name || name === localPeerName) {
23265
23506
  return;
@@ -23527,7 +23768,7 @@ var MwebOptions = ({
23527
23768
  ActionTile.Root,
23528
23769
  {
23529
23770
  disabled: isHLSRunning,
23530
- onClick: () => __async(null, null, function* () {
23771
+ onClick: () => __async(void 0, null, function* () {
23531
23772
  if (isRecordingLoading) {
23532
23773
  return;
23533
23774
  }
@@ -23587,7 +23828,7 @@ var MwebOptions = ({
23587
23828
  StopRecordingInSheet,
23588
23829
  {
23589
23830
  onClose: () => setShowRecordingOn(false),
23590
- onStopRecording: () => __async(null, null, function* () {
23831
+ onStopRecording: () => __async(void 0, null, function* () {
23591
23832
  try {
23592
23833
  yield hmsActions.stopRTMPAndRecording();
23593
23834
  setShowRecordingOn(false);
@@ -23629,7 +23870,7 @@ var RaiseHand = ({ css: css2 }) => {
23629
23870
  "data-testid": "hand_raise_btn",
23630
23871
  css: css2,
23631
23872
  active: !isHandRaised,
23632
- onClick: () => __async(null, null, function* () {
23873
+ onClick: () => __async(void 0, null, function* () {
23633
23874
  return yield toggleHandRaise();
23634
23875
  })
23635
23876
  },
@@ -24122,7 +24363,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
24122
24363
  active: !isVideoScreenshare,
24123
24364
  css: css2,
24124
24365
  disabled: isAudioOnly,
24125
- onClick: () => __async(null, null, function* () {
24366
+ onClick: () => __async(void 0, null, function* () {
24126
24367
  yield toggleScreenShare();
24127
24368
  yield requestPermission();
24128
24369
  })
@@ -24343,7 +24584,7 @@ var RemoveParticipant = ({ peerId }) => {
24343
24584
  Dropdown.Item,
24344
24585
  {
24345
24586
  css: { color: "$alert_error_default", bg: "$surface_default" },
24346
- onClick: () => __async(null, null, function* () {
24587
+ onClick: () => __async(void 0, null, function* () {
24347
24588
  try {
24348
24589
  yield actions.removePeer(peerId, "");
24349
24590
  } catch (error) {
@@ -24439,7 +24680,7 @@ var RoleOptions = ({ roleName, peerList }) => {
24439
24680
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
24440
24681
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
24441
24682
  });
24442
- const setTrackEnabled = (type, enabled = false) => __async(null, null, function* () {
24683
+ const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
24443
24684
  try {
24444
24685
  yield hmsActions.setRemoteTracksEnabled({ roles: [roleName], source: "regular", type, enabled });
24445
24686
  } catch (e) {
@@ -24459,9 +24700,9 @@ var RoleOptions = ({ roleName, peerList }) => {
24459
24700
  }
24460
24701
  });
24461
24702
  };
24462
- const removePeersFromRoom = () => __async(null, null, function* () {
24703
+ const removePeersFromRoom = () => __async(void 0, null, function* () {
24463
24704
  try {
24464
- peerList.forEach((peer) => __async(null, null, function* () {
24705
+ peerList.forEach((peer) => __async(void 0, null, function* () {
24465
24706
  yield hmsActions.removePeer(peer.id, "");
24466
24707
  }));
24467
24708
  } catch (e) {
@@ -24521,7 +24762,7 @@ var useGroupOnStageActions = ({ peers }) => {
24521
24762
  () => true
24522
24763
  ).otherwise(() => false)
24523
24764
  );
24524
- const lowerAllHands = () => __async(null, null, function* () {
24765
+ const lowerAllHands = () => __async(void 0, null, function* () {
24525
24766
  return Promise.all(peers.map((peer) => hmsActions.lowerRemotePeerHand(peer.id)));
24526
24767
  });
24527
24768
  const bringAllToStage = () => {
@@ -24710,10 +24951,10 @@ var usePeerOnStageActions = ({ peerId, role }) => {
24710
24951
  const shouldShowStageRoleChange = canChangeRole && (isInStage && remove_from_stage_label || (off_stage_roles == null ? void 0 : off_stage_roles.includes(role)) && bring_to_stage_label);
24711
24952
  const prevRole = (_b7 = (0, import_react_sdk56.useHMSStore)((0, import_react_sdk56.selectPeerMetadata)(peerId))) == null ? void 0 : _b7.prevRole;
24712
24953
  const [open, setOpen] = (0, import_react110.useState)(false);
24713
- const lowerPeerHand = () => __async(null, null, function* () {
24954
+ const lowerPeerHand = () => __async(void 0, null, function* () {
24714
24955
  yield hmsActions.lowerRemotePeerHand(peerId);
24715
24956
  });
24716
- const handleStageAction = () => __async(null, null, function* () {
24957
+ const handleStageAction = () => __async(void 0, null, function* () {
24717
24958
  if (isInStage) {
24718
24959
  prevRole && hmsActions.changeRoleOfPeer(peerId, prevRole, true);
24719
24960
  } else if (on_stage_role) {
@@ -25127,7 +25368,7 @@ var WhiteboardToggle = () => {
25127
25368
  /* @__PURE__ */ import_react113.default.createElement(
25128
25369
  IconButton_default,
25129
25370
  {
25130
- onClick: () => __async(null, null, function* () {
25371
+ onClick: () => __async(void 0, null, function* () {
25131
25372
  if (disabled || isLoading) {
25132
25373
  return;
25133
25374
  }
@@ -25224,7 +25465,7 @@ function HLSFailureModal() {
25224
25465
  const hmsActions = (0, import_react_sdk59.useHMSActions)();
25225
25466
  const { isRTMPRunning } = (0, import_react_sdk59.useRecordingStreaming)();
25226
25467
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
25227
- const startHLS = (0, import_react115.useCallback)(() => __async(null, null, function* () {
25468
+ const startHLS = (0, import_react115.useCallback)(() => __async(this, null, function* () {
25228
25469
  try {
25229
25470
  if (isHLSStarted || isRTMPRunning) {
25230
25471
  return;
@@ -25367,7 +25608,8 @@ var statusMap = {
25367
25608
  stopped: "ENDED" /* ENDED */
25368
25609
  };
25369
25610
  var StatusIndicator = ({ status }) => {
25370
- if (!status) return null;
25611
+ if (!status)
25612
+ return null;
25371
25613
  return /* @__PURE__ */ import_react117.default.createElement(Flex, { align: "center" }, /* @__PURE__ */ import_react117.default.createElement(
25372
25614
  Flex,
25373
25615
  {
@@ -25500,7 +25742,7 @@ var AddMenu = () => {
25500
25742
  variant: "primary",
25501
25743
  disabled: validateTitle,
25502
25744
  css: { mt: "$10" },
25503
- onClick: () => __async(null, null, function* () {
25745
+ onClick: () => __async(void 0, null, function* () {
25504
25746
  const id = Date.now().toString();
25505
25747
  yield actions.interactivityCenter.createPoll({
25506
25748
  id,
@@ -25531,7 +25773,7 @@ var PrevMenu = () => {
25531
25773
  );
25532
25774
  const permissions = (0, import_react_sdk61.useHMSStore)(import_react_sdk61.selectPermissions);
25533
25775
  (0, import_react118.useEffect)(() => {
25534
- const updatePolls = () => __async(null, null, function* () {
25776
+ const updatePolls = () => __async(void 0, null, function* () {
25535
25777
  yield hmsActions.interactivityCenter.getPolls();
25536
25778
  });
25537
25779
  updatePolls();
@@ -26113,12 +26355,12 @@ function CreateQuestions() {
26113
26355
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: (0, import_uuid11.v4)() }]
26114
26356
  );
26115
26357
  const isValidPoll = (0, import_react128.useMemo)(() => questions.length > 0 && questions.every(isValidQuestion), [questions]);
26116
- const launchPoll = () => __async(null, null, function* () {
26358
+ const launchPoll = () => __async(this, null, function* () {
26117
26359
  yield actions.interactivityCenter.startPoll(id);
26118
26360
  yield sendTimedMetadata(id);
26119
26361
  setPollView(POLL_VIEWS.VOTE);
26120
26362
  });
26121
- const sendTimedMetadata = (poll_id) => __async(null, null, function* () {
26363
+ const sendTimedMetadata = (poll_id) => __async(this, null, function* () {
26122
26364
  if (poll_id && isHLSRunning) {
26123
26365
  try {
26124
26366
  yield actions.sendHLSTimedMetadata([
@@ -26148,14 +26390,14 @@ function CreateQuestions() {
26148
26390
  question,
26149
26391
  index,
26150
26392
  length: questions.length,
26151
- onSave: (questionParams) => __async(null, null, function* () {
26393
+ onSave: (questionParams) => __async(this, null, function* () {
26152
26394
  const updatedQuestions = [...questions.slice(0, index), questionParams, ...questions.slice(index + 1)];
26153
26395
  setQuestions(updatedQuestions);
26154
26396
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
26155
26397
  yield actions.interactivityCenter.addQuestionsToPoll(id, validQuestions);
26156
26398
  }),
26157
26399
  isQuiz,
26158
- removeQuestion: (questionID) => __async(null, null, function* () {
26400
+ removeQuestion: (questionID) => __async(this, null, function* () {
26159
26401
  const updatedQuestions = questions.filter((questionFromSet) => questionID !== (questionFromSet == null ? void 0 : questionFromSet.draftID));
26160
26402
  setQuestions(updatedQuestions);
26161
26403
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
@@ -26184,7 +26426,7 @@ function CreateQuestions() {
26184
26426
  },
26185
26427
  /* @__PURE__ */ import_react128.default.createElement(import_react_icons59.AddCircleIcon, null),
26186
26428
  /* @__PURE__ */ import_react128.default.createElement(Text, { variant: "body1", css: { ml: "$md", c: "$inherit" } }, "Add another question")
26187
- ), /* @__PURE__ */ import_react128.default.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ import_react128.default.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(null, null, function* () {
26429
+ ), /* @__PURE__ */ import_react128.default.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ import_react128.default.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(this, null, function* () {
26188
26430
  return launchPoll();
26189
26431
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
26190
26432
  }
@@ -26216,7 +26458,8 @@ var import_react_icons60 = require("@100mslive/react-icons");
26216
26458
  // src/Prebuilt/components/Polls/common/utils.ts
26217
26459
  init_define_process_env();
26218
26460
  var getFormattedTime = (milliseconds, precise = true) => {
26219
- if (!milliseconds) return "-";
26461
+ if (!milliseconds)
26462
+ return "-";
26220
26463
  const totalSeconds = milliseconds / 1e3;
26221
26464
  const hours = Math.floor(totalSeconds / 3600);
26222
26465
  const minutes = Math.floor(totalSeconds % 3600 / 60);
@@ -26304,7 +26547,7 @@ var useQuizSummary = (quizID) => {
26304
26547
  };
26305
26548
  const [calculations, setCalculations] = (0, import_react131.useState)({ maxPossibleScore: 0, totalResponses: 0 });
26306
26549
  (0, import_react131.useEffect)(() => {
26307
- const fetchLeaderboardData = () => __async(null, null, function* () {
26550
+ const fetchLeaderboardData = () => __async(void 0, null, function* () {
26308
26551
  var _a8;
26309
26552
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
26310
26553
  const leaderboardData = yield hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
@@ -26500,7 +26743,7 @@ var QuestionCard2 = ({
26500
26743
  return multipleOptionAnswer.size > 0;
26501
26744
  }
26502
26745
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
26503
- const handleVote = (0, import_react134.useCallback)(() => __async(null, null, function* () {
26746
+ const handleVote = (0, import_react134.useCallback)(() => __async(void 0, null, function* () {
26504
26747
  if (!isValidVote) {
26505
26748
  return;
26506
26749
  }
@@ -26731,7 +26974,7 @@ var Voting = ({ id, toggleVoting }) => {
26731
26974
  setSavedResponses({});
26732
26975
  }, [id, setSavedResponses]);
26733
26976
  (0, import_react137.useEffect)(() => {
26734
- const getResponses = () => __async(null, null, function* () {
26977
+ const getResponses = () => __async(void 0, null, function* () {
26735
26978
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26736
26979
  yield actions.interactivityCenter.getPollResponses(poll, true);
26737
26980
  fetchedInitialResponses.current = true;
@@ -27386,7 +27629,7 @@ var ChatFooter = ({ onSend, children }) => {
27386
27629
  inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27387
27630
  }
27388
27631
  }, []);
27389
- const sendMessage = (0, import_react147.useCallback)(() => __async(null, null, function* () {
27632
+ const sendMessage = (0, import_react147.useCallback)(() => __async(void 0, null, function* () {
27390
27633
  var _a9;
27391
27634
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
27392
27635
  if (!message || !message.trim().length) {
@@ -27493,7 +27736,7 @@ var ChatFooter = ({ onSend, children }) => {
27493
27736
  ref: inputRef,
27494
27737
  required: true,
27495
27738
  autoFocus: !(isMobile || isLandscapeHLSStream),
27496
- onKeyPress: (event) => __async(null, null, function* () {
27739
+ onKeyPress: (event) => __async(void 0, null, function* () {
27497
27740
  if (event.key === "Enter") {
27498
27741
  if (!event.shiftKey && !messageLengthExceeded) {
27499
27742
  event.preventDefault();
@@ -27564,7 +27807,7 @@ var ChatPaused = () => {
27564
27807
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = (0, import_react_sdk72.useHMSStore)((0, import_react_sdk72.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
27565
27808
  const localPeer = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectLocalPeer);
27566
27809
  const unPauseChat = (0, import_react149.useCallback)(
27567
- () => __async(null, null, function* () {
27810
+ () => __async(void 0, null, function* () {
27568
27811
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
27569
27812
  enabled: true,
27570
27813
  updatedBy: { userName: localPeer == null ? void 0 : localPeer.name, userId: localPeer == null ? void 0 : localPeer.customerUserId, peerId: localPeer == null ? void 0 : localPeer.id },
@@ -28380,7 +28623,7 @@ var SimulcastLayers = ({ trackId }) => {
28380
28623
  {
28381
28624
  className: dragClassName,
28382
28625
  key: layer.layer,
28383
- onClick: () => __async(null, null, function* () {
28626
+ onClick: () => __async(void 0, null, function* () {
28384
28627
  yield actions.setPreferredLayer(trackId, layer.layer);
28385
28628
  }),
28386
28629
  css: {
@@ -28532,7 +28775,7 @@ var TileMenuContent = ({
28532
28775
  StyledMenuTile.RemoveItem,
28533
28776
  {
28534
28777
  css: __spreadProps(__spreadValues({}, spacingCSS), { borderTop: "none" }),
28535
- onClick: () => __async(null, null, function* () {
28778
+ onClick: () => __async(void 0, null, function* () {
28536
28779
  try {
28537
28780
  yield actions.removePeer(peerID, "");
28538
28781
  } catch (error) {
@@ -28787,7 +29030,7 @@ var Root25 = ({
28787
29030
  "&:hover": { border: "4px solid $primary_dim" }
28788
29031
  }
28789
29032
  }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
28790
- onClick: () => __async(null, null, function* () {
29033
+ onClick: () => __async(void 0, null, function* () {
28791
29034
  yield onClick == null ? void 0 : onClick();
28792
29035
  })
28793
29036
  },
@@ -28857,7 +29100,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28857
29100
  const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
28858
29101
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28859
29102
  (0, import_react163.useEffect)(() => {
28860
- const addHMSVBPlugin = () => __async(null, null, function* () {
29103
+ const addHMSVBPlugin = () => __async(void 0, null, function* () {
28861
29104
  setLoadingEffects(false);
28862
29105
  if (!role) {
28863
29106
  return;
@@ -28868,7 +29111,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28868
29111
  Math.floor(role.publishParams.video.frameRate / 2)
28869
29112
  );
28870
29113
  });
28871
- const initializeVirtualBackground = () => __async(null, null, function* () {
29114
+ const initializeVirtualBackground = () => __async(void 0, null, function* () {
28872
29115
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
28873
29116
  return;
28874
29117
  }
@@ -28888,7 +29131,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28888
29131
  } else {
28889
29132
  yield addHMSVBPlugin();
28890
29133
  }
28891
- const handleDefaultBackground = () => __async(null, null, function* () {
29134
+ const handleDefaultBackground = () => __async(void 0, null, function* () {
28892
29135
  switch (background) {
28893
29136
  case import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE:
28894
29137
  break;
@@ -28960,7 +29203,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28960
29203
  title: "No effect",
28961
29204
  icon: /* @__PURE__ */ import_react163.default.createElement(import_react_icons79.CrossCircleIcon, { style: iconDims }),
28962
29205
  value: import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE,
28963
- onClick: () => __async(null, null, function* () {
29206
+ onClick: () => __async(void 0, null, function* () {
28964
29207
  yield VBHandler.removeEffects();
28965
29208
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE);
28966
29209
  if (isMobile) {
@@ -28973,7 +29216,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28973
29216
  title: "Blur",
28974
29217
  icon: /* @__PURE__ */ import_react163.default.createElement(import_react_icons79.BlurPersonHighIcon, { style: iconDims }),
28975
29218
  value: import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR,
28976
- onClick: () => __async(null, null, function* () {
29219
+ onClick: () => __async(void 0, null, function* () {
28977
29220
  var _a9;
28978
29221
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBlur(blurAmount);
28979
29222
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR);
@@ -28989,7 +29232,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28989
29232
  {
28990
29233
  showTooltip: false,
28991
29234
  value: [blurAmount],
28992
- onValueChange: (e) => __async(null, null, function* () {
29235
+ onValueChange: (e) => __async(void 0, null, function* () {
28993
29236
  setBlurAmount(e[0]);
28994
29237
  yield VBHandler.setBlur(e[0]);
28995
29238
  }),
@@ -29005,7 +29248,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29005
29248
  options: mediaList.map((mediaURL) => ({
29006
29249
  mediaURL,
29007
29250
  value: mediaURL,
29008
- onClick: () => __async(null, null, function* () {
29251
+ onClick: () => __async(void 0, null, function* () {
29009
29252
  var _a9;
29010
29253
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBackground(mediaURL);
29011
29254
  hmsActions.setAppData(APP_DATA.background, mediaURL);
@@ -29533,7 +29776,7 @@ var RoleChangeRequestModal = () => {
29533
29776
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29534
29777
  return;
29535
29778
  }
29536
- (() => __async(null, null, function* () {
29779
+ (() => __async(void 0, null, function* () {
29537
29780
  yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
29538
29781
  }))();
29539
29782
  }, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
@@ -29570,7 +29813,7 @@ var RoleChangeRequestModal = () => {
29570
29813
  RequestPrompt,
29571
29814
  {
29572
29815
  title: "You're invited to join the stage",
29573
- onOpenChange: (value) => __async(null, null, function* () {
29816
+ onOpenChange: (value) => __async(void 0, null, function* () {
29574
29817
  var _a8;
29575
29818
  if (!value) {
29576
29819
  hmsActions.rejectChangeRole(roleChangeRequest);
@@ -29580,7 +29823,7 @@ var RoleChangeRequestModal = () => {
29580
29823
  }
29581
29824
  }),
29582
29825
  body,
29583
- onAction: () => __async(null, null, function* () {
29826
+ onAction: () => __async(void 0, null, function* () {
29584
29827
  yield hmsActions.acceptChangeRole(roleChangeRequest);
29585
29828
  yield updateMetaData({ prevRole: currentRole });
29586
29829
  yield hmsActions.lowerLocalPeerHand();
@@ -30385,7 +30628,7 @@ var ScreenshareDisplay = () => {
30385
30628
  {
30386
30629
  variant: "danger",
30387
30630
  css: { fontWeight: "$semiBold" },
30388
- onClick: () => __async(null, null, function* () {
30631
+ onClick: () => __async(void 0, null, function* () {
30389
30632
  yield hmsActions.setScreenShareEnabled(false);
30390
30633
  }),
30391
30634
  "data-testid": "stop_screen_share_btn"
@@ -30851,7 +31094,7 @@ var EmbedComponent = () => {
30851
31094
  const resetConfig = useResetEmbedConfig();
30852
31095
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk97.useEmbedShare)(resetConfig);
30853
31096
  (0, import_react188.useEffect)(() => {
30854
- (() => __async(null, null, function* () {
31097
+ (() => __async(void 0, null, function* () {
30855
31098
  if (embedConfig && !isEmbedShareInProgress) {
30856
31099
  try {
30857
31100
  yield startEmbedShare(embedConfig);
@@ -31109,7 +31352,7 @@ var PlayPauseButton = ({
31109
31352
  height = 20
31110
31353
  }) => {
31111
31354
  const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
31112
- const onClick = (event) => __async(null, null, function* () {
31355
+ const onClick = (event) => __async(void 0, null, function* () {
31113
31356
  event == null ? void 0 : event.stopPropagation();
31114
31357
  isPaused ? yield hlsPlayer2 == null ? void 0 : hlsPlayer2.play() : hlsPlayer2 == null ? void 0 : hlsPlayer2.pause();
31115
31358
  });
@@ -31551,7 +31794,7 @@ function HLSAutoplayBlockedPrompt({
31551
31794
  color: "#000",
31552
31795
  r: "$2"
31553
31796
  },
31554
- onClick: () => __async(null, null, function* () {
31797
+ onClick: () => __async(this, null, function* () {
31555
31798
  return yield unblockAutoPlay();
31556
31799
  })
31557
31800
  },
@@ -31574,7 +31817,7 @@ function HLSAutoplayBlockedPrompt({
31574
31817
  Dialog.Root,
31575
31818
  {
31576
31819
  open,
31577
- onOpenChange: (value) => __async(null, null, function* () {
31820
+ onOpenChange: (value) => __async(this, null, function* () {
31578
31821
  if (!value) {
31579
31822
  yield unblockAutoPlay();
31580
31823
  }
@@ -31584,7 +31827,7 @@ function HLSAutoplayBlockedPrompt({
31584
31827
  Button,
31585
31828
  {
31586
31829
  variant: "primary",
31587
- onClick: () => __async(null, null, function* () {
31830
+ onClick: () => __async(this, null, function* () {
31588
31831
  yield unblockAutoPlay();
31589
31832
  })
31590
31833
  },
@@ -31951,7 +32194,8 @@ var HLSView = () => {
31951
32194
  }
31952
32195
  }, [hlsUrl, streamEnded, lastHlsUrl]);
31953
32196
  (0, import_react203.useEffect)(() => {
31954
- if (!notification) return;
32197
+ if (!notification)
32198
+ return;
31955
32199
  const toastID = toastMap == null ? void 0 : toastMap[notification.data.id];
31956
32200
  if (toastID) {
31957
32201
  ToastManager.removeToast(toastMap[notification.data.id]);
@@ -32104,7 +32348,7 @@ var HLSView = () => {
32104
32348
  hlsPlayer == null ? void 0 : hlsPlayer.off(import_hls_player3.HMSHLSPlayerEvents.STATS, onHLSStats);
32105
32349
  };
32106
32350
  }, [enablHlsStats]);
32107
- const unblockAutoPlay = () => __async(null, null, function* () {
32351
+ const unblockAutoPlay = () => __async(void 0, null, function* () {
32108
32352
  try {
32109
32353
  yield hlsPlayer.play();
32110
32354
  setIsHlsAutoplayBlocked(false);
@@ -32184,9 +32428,9 @@ var HLSView = () => {
32184
32428
  },
32185
32429
  [hlsState == null ? void 0 : hlsState.variants, hoverControlsVisible, isLandscape, isMobile, onSeekTo]
32186
32430
  );
32187
- const onClickHandler = (0, import_react203.useCallback)(() => __async(null, null, function* () {
32431
+ const onClickHandler = (0, import_react203.useCallback)(() => __async(void 0, null, function* () {
32188
32432
  var _a9;
32189
- (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: import_react_sdk98.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(null, null, function* () {
32433
+ (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: import_react_sdk98.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
32190
32434
  if (isPaused) {
32191
32435
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
32192
32436
  } else {
@@ -32282,7 +32526,7 @@ var HLSView = () => {
32282
32526
  },
32283
32527
  outline: "none"
32284
32528
  },
32285
- onKeyDown: (event) => __async(null, null, function* () {
32529
+ onKeyDown: (event) => __async(void 0, null, function* () {
32286
32530
  var _a9;
32287
32531
  if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR) {
32288
32532
  yield keyHandler(event);
@@ -32427,7 +32671,7 @@ var HLSView = () => {
32427
32671
  IconButton,
32428
32672
  {
32429
32673
  css: { px: "$2" },
32430
- onClick: (e) => __async(null, null, function* () {
32674
+ onClick: (e) => __async(void 0, null, function* () {
32431
32675
  e.stopPropagation();
32432
32676
  yield hlsPlayer == null ? void 0 : hlsPlayer.seekToLivePosition();
32433
32677
  setIsVideoLive(true);
@@ -32493,7 +32737,7 @@ var PDFView = () => {
32493
32737
  };
32494
32738
  }, []);
32495
32739
  (0, import_react204.useEffect)(() => {
32496
- (() => __async(null, null, function* () {
32740
+ (() => __async(void 0, null, function* () {
32497
32741
  try {
32498
32742
  if (!isPDFShareInProgress && pdfConfig) {
32499
32743
  yield startPDFShare(pdfConfig);
@@ -32648,7 +32892,8 @@ var Queue = class {
32648
32892
  return captionData;
32649
32893
  }
32650
32894
  peek() {
32651
- if (this.size() <= 0) return void 0;
32895
+ if (this.size() <= 0)
32896
+ return void 0;
32652
32897
  const key = Object.keys(this.storage).shift() || "";
32653
32898
  return this.storage[key];
32654
32899
  }
@@ -32678,7 +32923,8 @@ var CaptionMaintainerQueue = class {
32678
32923
  var TranscriptView = ({ peer_id, data: data3 }) => {
32679
32924
  const peerName = (0, import_react_sdk100.useHMSStore)((0, import_react_sdk100.selectPeerNameByID)(peer_id)) || "Participant";
32680
32925
  data3 = data3.trim();
32681
- if (!data3) return null;
32926
+ if (!data3)
32927
+ return null;
32682
32928
  return /* @__PURE__ */ import_react205.default.createElement(
32683
32929
  Text,
32684
32930
  {
@@ -32950,7 +33196,7 @@ var CamaraFlipActions = () => {
32950
33196
  IconButton_default,
32951
33197
  {
32952
33198
  disabled: !isVideoOn,
32953
- onClick: () => __async(null, null, function* () {
33199
+ onClick: () => __async(void 0, null, function* () {
32954
33200
  try {
32955
33201
  yield actions.switchCamera();
32956
33202
  } catch (e) {
@@ -32994,7 +33240,7 @@ var AudioActions = () => {
32994
33240
  {
32995
33241
  audioDevices: availableAudioDevices,
32996
33242
  audioSelected: selectedAudio,
32997
- onChange: (deviceId) => __async(null, null, function* () {
33243
+ onChange: (deviceId) => __async(void 0, null, function* () {
32998
33244
  try {
32999
33245
  yield updateDevice({
33000
33246
  deviceId,
@@ -33011,7 +33257,7 @@ var AudioActions = () => {
33011
33257
  /* @__PURE__ */ import_react209.default.createElement(
33012
33258
  Box,
33013
33259
  {
33014
- onClick: () => __async(null, null, function* () {
33260
+ onClick: () => __async(void 0, null, function* () {
33015
33261
  yield hmsActions.refreshDevices();
33016
33262
  })
33017
33263
  },
@@ -33411,8 +33657,8 @@ var isEvenListenersAttached = false;
33411
33657
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
33412
33658
  var KeyboardInputManager = class {
33413
33659
  constructor(store, actions) {
33414
- __privateAdd(this, _actions);
33415
- __privateAdd(this, _store);
33660
+ __privateAdd(this, _actions, void 0);
33661
+ __privateAdd(this, _store, void 0);
33416
33662
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
33417
33663
  const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalAudioEnabled);
33418
33664
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
@@ -33575,7 +33821,7 @@ var FeedbackContent = ({
33575
33821
  }
33576
33822
  setSelectedReasons(newSelected);
33577
33823
  };
33578
- const submitFeedback = () => __async(null, null, function* () {
33824
+ const submitFeedback = () => __async(void 0, null, function* () {
33579
33825
  if (indexSelected < 0 || ratings.length <= indexSelected) {
33580
33826
  return;
33581
33827
  }
@@ -34104,7 +34350,7 @@ function AutoplayBlockedModal() {
34104
34350
  Dialog.Root,
34105
34351
  {
34106
34352
  open: !!error,
34107
- onOpenChange: (value) => __async(null, null, function* () {
34353
+ onOpenChange: (value) => __async(this, null, function* () {
34108
34354
  if (!value) {
34109
34355
  yield unblockAudio();
34110
34356
  }
@@ -34115,7 +34361,7 @@ function AutoplayBlockedModal() {
34115
34361
  Button,
34116
34362
  {
34117
34363
  variant: "primary",
34118
- onClick: () => __async(null, null, function* () {
34364
+ onClick: () => __async(this, null, function* () {
34119
34365
  yield unblockAudio();
34120
34366
  resetError();
34121
34367
  })
@@ -34235,7 +34481,8 @@ var ErrorNotifications = () => {
34235
34481
  const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.ERROR);
34236
34482
  const subscribedNotifications = useSubscribedNotifications() || {};
34237
34483
  (0, import_react226.useEffect)(() => {
34238
- if (!notification || !notification.data) return;
34484
+ if (!notification || !notification.data)
34485
+ return;
34239
34486
  const { isTerminal, action, code, message, description } = notification.data;
34240
34487
  if (isTerminal && action !== "INIT") {
34241
34488
  if ([500, 6008].includes(code)) {
@@ -34262,7 +34509,8 @@ var ErrorNotifications = () => {
34262
34509
  if (action === "INIT") {
34263
34510
  return;
34264
34511
  }
34265
- if (!subscribedNotifications.ERROR) return;
34512
+ if (!subscribedNotifications.ERROR)
34513
+ return;
34266
34514
  ToastManager.addToast({
34267
34515
  title: `Error: ${message} - ${description}`
34268
34516
  });
@@ -34305,7 +34553,7 @@ var HandRaiseAction = import_react227.default.forwardRef(({ id = "", isSingleHan
34305
34553
  off_stage_roles = [],
34306
34554
  skip_preview_for_role_change = false
34307
34555
  } = ((_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) || {};
34308
- const onClickHandler = (0, import_react227.useCallback)(() => __async(null, null, function* () {
34556
+ const onClickHandler = (0, import_react227.useCallback)(() => __async(void 0, null, function* () {
34309
34557
  if (isSingleHandRaise) {
34310
34558
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
34311
34559
  if (skip_preview_for_role_change) {
@@ -35045,7 +35293,7 @@ var PIPProvider = ({ children }) => {
35045
35293
  }
35046
35294
  }, [pipWindow]);
35047
35295
  const requestPipWindow = (0, import_react241.useCallback)(
35048
- (width, height) => __async(null, null, function* () {
35296
+ (width, height) => __async(void 0, null, function* () {
35049
35297
  if (pipWindow != null) {
35050
35298
  return;
35051
35299
  }
@@ -35214,7 +35462,7 @@ function FlyingEmoji() {
35214
35462
  const isLargeRoom = (0, import_react_sdk131.useHMSStore)(import_react_sdk131.selectIsLargeRoom);
35215
35463
  const startingPoints = (0, import_react247.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
35216
35464
  const showFlyingEmoji = (0, import_react247.useCallback)(
35217
- (_0) => __async(null, [_0], function* ({ emojiId, senderId }) {
35465
+ (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
35218
35466
  if (!emojiId || !senderId || document.hidden) {
35219
35467
  return;
35220
35468
  }
@@ -35312,7 +35560,7 @@ var import_react248 = __toESM(require("react"));
35312
35560
  var import_react_sdk132 = require("@100mslive/react-sdk");
35313
35561
  function RemoteStopScreenshare() {
35314
35562
  const actions = (0, import_react_sdk132.useHMSActions)();
35315
- const onRemoteStopScreenshare = (0, import_react248.useCallback)(() => __async(null, null, function* () {
35563
+ const onRemoteStopScreenshare = (0, import_react248.useCallback)(() => __async(this, null, function* () {
35316
35564
  yield actions.setScreenShareEnabled(false);
35317
35565
  }), [actions]);
35318
35566
  (0, import_react_sdk132.useCustomEvent)({
@@ -35334,7 +35582,7 @@ var useAutoStartStreaming = () => {
35334
35582
  const isConnected = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectIsConnectedToRoom);
35335
35583
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk133.useRecordingStreaming)();
35336
35584
  const streamStartedRef = (0, import_react249.useRef)(false);
35337
- const startHLS = (0, import_react249.useCallback)(() => __async(null, null, function* () {
35585
+ const startHLS = (0, import_react249.useCallback)(() => __async(void 0, null, function* () {
35338
35586
  try {
35339
35587
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
35340
35588
  return;
@@ -35525,7 +35773,7 @@ var BackSwipe = () => {
35525
35773
  const isConnectedToRoom = (0, import_react_sdk134.useHMSStore)(import_react_sdk134.selectIsConnectedToRoom);
35526
35774
  const hmsActions = (0, import_react_sdk134.useHMSActions)();
35527
35775
  (0, import_react250.useEffect)(() => {
35528
- const onRouteLeave = () => __async(null, null, function* () {
35776
+ const onRouteLeave = () => __async(void 0, null, function* () {
35529
35777
  if (isConnectedToRoom) {
35530
35778
  yield hmsActions.leave();
35531
35779
  }
@@ -36236,7 +36484,7 @@ var VideoTest = () => {
36236
36484
  devices: videoInput || [],
36237
36485
  icon: /* @__PURE__ */ import_react257.default.createElement(import_react_icons115.VideoOnIcon, null),
36238
36486
  selection: sdkSelectedDevices.videoInputDeviceId,
36239
- onChange: (deviceId) => __async(null, null, function* () {
36487
+ onChange: (deviceId) => __async(void 0, null, function* () {
36240
36488
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.stopCameraCheck();
36241
36489
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck(deviceId);
36242
36490
  })
@@ -36370,6 +36618,16 @@ lodash/lodash.js:
36370
36618
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
36371
36619
  *)
36372
36620
 
36621
+ react-is/cjs/react-is.production.min.js:
36622
+ (** @license React v16.13.1
36623
+ * react-is.production.min.js
36624
+ *
36625
+ * Copyright (c) Facebook, Inc. and its affiliates.
36626
+ *
36627
+ * This source code is licensed under the MIT license found in the
36628
+ * LICENSE file in the root directory of this source tree.
36629
+ *)
36630
+
36373
36631
  react-is/cjs/react-is.development.js:
36374
36632
  (** @license React v16.13.1
36375
36633
  * react-is.development.js