@100mslive/roomkit-react 0.4.3-alpha.9 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -37,8 +37,8 @@ var __objRest = (source, exclude) => {
37
37
  }
38
38
  return target;
39
39
  };
40
- var __esm = (fn2, res) => function __init() {
41
- return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
40
+ var __esm = (fn, res) => function __init() {
41
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
42
42
  };
43
43
  var __commonJS = (cb, mod) => function __require() {
44
44
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -93,7 +93,7 @@ var __async = (__this, __arguments, generator) => {
93
93
  var define_process_env_default;
94
94
  var init_define_process_env = __esm({
95
95
  "<define:process.env>"() {
96
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_95d1cccf-3d5a-49bd-812c-0bd4a73b9ac0", 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.13", 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.9", USER: "runner", npm_package_resolutions_picomatch: "^2.3.2", 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_resolutions____babel_plugin_istanbul_test_exclude_minimatch: "^3.1.4", 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.9", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_95d1cccf-3d5a-49bd-812c-0bd4a73b9ac0", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", 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.9", 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__babel_runtime: "^7.29.2", 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_resolutions_____nx_devkit_minimatch: "^9.0.7", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.4.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_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: "2107", ACTIONS_ORCHESTRATION_ID: "8274a0e4-9c08-4a88-a529-d71f2d94a977.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_resolutions____typedoc_minimatch: "^9.0.7", 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: "20260323.65.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.3", 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:14284", 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: "^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.9", 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: "23860444520", npm_package_workspaces_0: "packages/*", npm_package_resolutions_cross_spawn: "^7.0.6", 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: "3cb258416edd3118cc49bf3db3f8f3e64776ac78", 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: "14271799643705099315", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/ci/release-abdca1f00", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9jaS9yZWxlYXNlLWFiZGNhMWYwMFwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NWUxMmUwMDktZGQwMS00Y2NjLTllODktNDUyMzAyNTAzZGI1IiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBT0V2USIsImV4cCI6MTc3NTA4NDc0MywiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzc1MDYyNTQzLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiMWQ2MTgwNGMtZGEwMi01Mzg3LTg5OWItYWI3NzgxNmE5OGRiIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzc1MDYyMjQzLCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcInJhdml0ZWphODNcIixcImFjdG9yX2lkXCI6XCI2NzYzMjYxXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjY5NTY1MzY1NjIyXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiMTAwbXNsaXZlL3dlYi1zZGtzLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gueW1sQHJlZnMvaGVhZHMvY2kvcmVsZWFzZS1hYmRjYTFmMDBcIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjNjYjI1ODQxNmVkZDMxMThjYzQ5YmYzZGIzZjhmM2U2NDc3NmFjNzhcIixcInJlZlwiOlwicmVmcy9oZWFkcy9jaS9yZWxlYXNlLWFiZGNhMWYwMFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjM4NjA0NDQ1MjBcIixcInJ1bl9udW1iZXJcIjpcIjgxNFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjNjYjI1ODQxNmVkZDMxMThjYzQ5YmYzZGIzZjhmM2U2NDc3NmFjNzhcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL2NpL3JlbGVhc2UtYWJkY2ExZjAwXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjNjYjI1ODQxNmVkZDMxMThjYzQ5YmYzZGIzZjhmM2U2NDc3NmFjNzhcIn0iLCJvaWRjX3N1YiI6InJlcG86MTAwbXNsaXZlL3dlYi1zZGtzOnJlZjpyZWZzL2hlYWRzL2NpL3JlbGVhc2UtYWJkY2ExZjAwIiwib3JjaF9pZCI6IjgyNzRhMGU0LTljMDgtNGE4OC1hNTI5LWQ3MWYyZDk0YTk3Ny5wdWJsaXNoX3BhY2thZ2VzLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFPRXZRIiwicGxhbl9pZCI6IjgyNzRhMGU0LTljMDgtNGE4OC1hNTI5LWQ3MWYyZDk0YTk3NyIsInJlcG9zaXRvcnlfaWQiOiI0Mjk4MjY1MTUiLCJydW5faWQiOiIyMzg2MDQ0NDUyMCIsInJ1bl9udW1iZXIiOiI4MTQiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMjQxNjkxIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6ODI3NGEwZTQtOWMwOC00YTg4LWE1MjktZDcxZjJkOTRhOTc3OjFkNjE4MDRjLWRhMDItNTM4Ny04OTliLWFiNzc4MTZhOThkYiBBY3Rpb25zLlJ1bm5lcjo4Mjc0YTBlNC05YzA4LTRhODgtYTUyOS1kNzFmMmQ5NGE5Nzc6MWQ2MTgwNGMtZGEwMi01Mzg3LTg5OWItYWI3NzgxNmE5OGRiIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjgyNzRhMGU0LTljMDgtNGE4OC1hNTI5LWQ3MWYyZDk0YTk3NzoxZDYxODA0Yy1kYTAyLTUzODctODk5Yi1hYjc3ODE2YTk4ZGIgZ2VuZXJhdGVfaWRfdG9rZW46ODI3NGEwZTQtOWMwOC00YTg4LWE1MjktZDcxZjJkOTRhOTc3OjFkNjE4MDRjLWRhMDItNTM4Ny04OTliLWFiNzc4MTZhOThkYiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjNjYjI1ODQxNmVkZDMxMThjYzQ5YmYzZGIzZjhmM2U2NDc3NmFjNzgiLCJ0cnVzdF90aWVyIjoiMSJ9.rTpI7ktUCT0ztOG3E10-sSQOT-Zs7BG8xKKPNzhkEe1-G3w-tAH4li2adR7H4zhFereWBGUGBoVacDrO0Qn2dzvnBkhl3WThoUi-X3uREXOCHiIqL-MFt30N8ai69uzZl9--la19xkD4jbDf_Ckyeq587RG09qIcj5KwF6Lwx6SqBG8z1TJgCWOVe01vWmPGw67PNpECkpEmnHOrRrm9uKMz9iiKTZa3W3uVAeX4aa6xGXhdnI1-dP2xxxKMIIRivUmKn_B2RbpmaDc2-wJ-mqaqZJlIPTqjOtf7qVFJYLchtFtWrDdh_Q-oXPa7QIbHvMwLso5b3tHR1z_iQrGkRw", 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--1775062622958-0.5277797429432121:/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--1775062622790-0.910518331751538:/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--1775062603971-0.839636037630583:/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--1775062603814-0.9450073175470931:/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_f26f03a7-cde8-4318-9f73-b48ee5724dbe", INVOCATION_ID: "f19fe147808c4a4abb7f5c216b1a7a94", 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: "814", 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_resolutions____glob_minimatch: "^3.1.4", npm_package_resolutions_flatted: "^3.4.2", 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 1000241691", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "ci/release-abdca1f00", 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____eslint_minimatch: "^3.1.4", 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.9", 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.9", 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.6", 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____nx_minimatch: "^9.0.7", npm_package_resolutions__babel_helpers: "^7.29.2", GITHUB_SHA: "3cb258416edd3118cc49bf3db3f8f3e64776ac78", 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____tinyglobby_picomatch: "^4.0.4", npm_package_resolutions__adobe_css_tools: "^4.4.4", 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/ci/release-abdca1f00", 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_package_resolutions_yaml: "^2.8.3", 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_95d1cccf-3d5a-49bd-812c-0bd4a73b9ac0", 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__tootallnate_once: "^3.0.1", 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/69//idtoken/8274a0e4-9c08-4a88-a529-d71f2d94a977/1d61804c-da02-5387-899b-ab77816a98db?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_95d1cccf-3d5a-49bd-812c-0bd4a73b9ac0", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_micromatch: "^4.0.8", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.27.4", 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", 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_95d1cccf-3d5a-49bd-812c-0bd4a73b9ac0", npm_package_resolutions_sass: "^1.83.0" };
96
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", 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.13", 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", USER: "runner", npm_package_resolutions_picomatch: "^2.3.2", 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.1 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_resolutions____babel_plugin_istanbul_test_exclude_minimatch: "^3.1.4", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.1/x64/bin/node", 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", 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__babel_runtime: "^7.29.2", 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_resolutions_____nx_devkit_minimatch: "^9.0.7", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.4.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_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: "2115", ACTIONS_ORCHESTRATION_ID: "9bf78a2b-ab58-44e2-b7c8-0ce4758ae0eb.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_resolutions____typedoc_minimatch: "^9.0.7", 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: "20260406.80.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.3", 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:11838", 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: "^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", 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: "24469012851", npm_package_workspaces_0: "packages/*", npm_package_resolutions_cross_spawn: "^7.0.6", 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: "c0f4a6914d590b6b97135191e08498bad314ff2b", 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: "2015343816306599853", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjVlMTJlMDA5LWRkMDEtNGNjYy05ZTg5LTQ1MjMwMjUwM2RiNSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJleHAiOjE3NzYyOTY4MzMsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjI3NDYzMywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImRhMjUxMGNkLTYzYmEtNWYzZS04ZmI3LTU2YjcwMWY5ZjdhOCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjI3NDMzMywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJyYXZpdGVqYTgzXCIsXCJhY3Rvcl9pZFwiOlwiNjc2MzI2MVwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MTUwMzkwNjYxM1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImMwZjRhNjkxNGQ1OTBiNmI5NzEzNTE5MWUwODQ5OGJhZDMxNGZmMmJcIixcInJlZlwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJ0cnVlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCIxMDBtc2xpdmUvd2ViLXNka3NcIixcInJlcG9zaXRvcnlfaWRcIjpcIjQyOTgyNjUxNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiMTAwbXNsaXZlXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI3Mzg4MzEzMVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwdWJsaWNcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI0NDY5MDEyODUxXCIsXCJydW5fbnVtYmVyXCI6XCI4MjZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJjMGY0YTY5MTRkNTkwYjZiOTcxMzUxOTFlMDg0OThiYWQzMTRmZjJiXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBQYWNrYWdlc1wiLFwid29ya2Zsb3dfcmVmXCI6XCIxMDBtc2xpdmUvd2ViLXNka3MvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC55bWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcImMwZjRhNjkxNGQ1OTBiNmI5NzEzNTE5MWUwODQ5OGJhZDMxNGZmMmJcIn0iLCJvaWRjX3N1YiI6InJlcG86MTAwbXNsaXZlL3dlYi1zZGtzOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoX2lkIjoiOWJmNzhhMmItYWI1OC00NGUyLWI3YzgtMGNlNDc1OGFlMGViLnB1Ymxpc2hfcGFja2FnZXMuX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJwbGFuX2lkIjoiOWJmNzhhMmItYWI1OC00NGUyLWI3YzgtMGNlNDc1OGFlMGViIiwicmVwb3NpdG9yeV9pZCI6IjQyOTgyNjUxNSIsInJ1bl9pZCI6IjI0NDY5MDEyODUxIiwicnVuX251bWJlciI6IjgyNiIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAyNzAwOTkiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo5YmY3OGEyYi1hYjU4LTQ0ZTItYjdjOC0wY2U0NzU4YWUwZWI6ZGEyNTEwY2QtNjNiYS01ZjNlLThmYjctNTZiNzAxZjlmN2E4IEFjdGlvbnMuUnVubmVyOjliZjc4YTJiLWFiNTgtNDRlMi1iN2M4LTBjZTQ3NThhZTBlYjpkYTI1MTBjZC02M2JhLTVmM2UtOGZiNy01NmI3MDFmOWY3YTggQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6OWJmNzhhMmItYWI1OC00NGUyLWI3YzgtMGNlNDc1OGFlMGViOmRhMjUxMGNkLTYzYmEtNWYzZS04ZmI3LTU2YjcwMWY5ZjdhOCBnZW5lcmF0ZV9pZF90b2tlbjo5YmY3OGEyYi1hYjU4LTQ0ZTItYjdjOC0wY2U0NzU4YWUwZWI6ZGEyNTEwY2QtNjNiYS01ZjNlLThmYjctNTZiNzAxZjlmN2E4IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiYzBmNGE2OTE0ZDU5MGI2Yjk3MTM1MTkxZTA4NDk4YmFkMzE0ZmYyYiIsInRydXN0X3RpZXIiOiIxIn0.B0AyitpG3NDopShxQFj86fcW-V4AfH1p9fPkpwQcGrrX_PdPtEC-xT6ZrudYZdmH1KtatfsiofMYAbrFAMXQh5zJQxiBa657U9tkZou6hNUpx28eiudMOKdh-NlGfsxG5kXh9BCEJzZikyJCBAxU0ZTotonmD-jntk1w4tV6aXlA-4wAV1CaPFdXNO-QheTS3rXiSXxGJo069n-DVNyQaaphywlKB2RBswEod6k3gcJns-qO9lLCr4fZaP19M0PiKUaVGOREB_WRJgnDLOtW5d6wiOGpXFKO6AczsgbYYcLHX21AxZo8t5AZtxxRMBA_yqhVZWI0XCQzDE-9t9BK5g", 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--1776274694440-0.6163197370155823:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1776274694265-0.7486801238756506:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1776274675268-0.6357453747209215:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1776274675111-0.16020789730269913:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/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.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_64cb9f22-ca3c-4a64-b768-937c27698e2f", INVOCATION_ID: "3910bf7aef134167b7d937c42c7b64bf", 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: "826", 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_resolutions____glob_minimatch: "^3.1.4", npm_package_resolutions_flatted: "^3.4.2", 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 1000270099", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", 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____eslint_minimatch: "^3.1.4", 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", 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", 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.15.0", 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: "true", 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____nx_minimatch: "^9.0.7", npm_package_resolutions__babel_helpers: "^7.29.2", GITHUB_SHA: "c0f4a6914d590b6b97135191e08498bad314ff2b", 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____tinyglobby_picomatch: "^4.0.4", npm_package_resolutions__adobe_css_tools: "^4.4.4", 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/main", 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_package_resolutions_yaml: "^2.8.3", 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_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", 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__tootallnate_once: "^3.0.1", 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/186//idtoken/9bf78a2b-ab58-44e2-b7c8-0ce4758ae0eb/da2510cd-63ba-5f3e-8fb7-56b701f9f7a8?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_micromatch: "^4.0.8", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.27.4", 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_resolutions_lodash: "^4.18.1", 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", 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_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", npm_package_resolutions_sass: "^1.83.0" };
97
97
  }
98
98
  });
99
99
 
@@ -103,9 +103,9 @@ var require_lodash = __commonJS({
103
103
  init_define_process_env();
104
104
  (function() {
105
105
  var undefined2;
106
- var VERSION2 = "4.17.23";
106
+ var VERSION2 = "4.18.1";
107
107
  var LARGE_ARRAY_SIZE = 200;
108
- var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
108
+ var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`", INVALID_TEMPL_IMPORTS_ERROR_TEXT = "Invalid `imports` option passed into `_.template`";
109
109
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
110
110
  var MAX_MEMOIZE_SIZE = 500;
111
111
  var PLACEHOLDER = "__lodash_placeholder__";
@@ -2035,19 +2035,12 @@ var require_lodash = __commonJS({
2035
2035
  if (!length) {
2036
2036
  return true;
2037
2037
  }
2038
- var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
2039
2038
  while (++index < length) {
2040
- var key = path[index];
2041
- if (typeof key !== "string") {
2042
- continue;
2043
- }
2039
+ var key = toKey(path[index]);
2044
2040
  if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
2045
2041
  return false;
2046
2042
  }
2047
- if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
2048
- if (isRootPrimitive && index === 0) {
2049
- continue;
2050
- }
2043
+ if ((key === "constructor" || key === "prototype") && index < length - 1) {
2051
2044
  return false;
2052
2045
  }
2053
2046
  }
@@ -2292,8 +2285,8 @@ var require_lodash = __commonJS({
2292
2285
  function createBind(func, bitmask, thisArg) {
2293
2286
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2294
2287
  function wrapper() {
2295
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2296
- return fn2.apply(isBind ? thisArg : this, arguments);
2288
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2289
+ return fn.apply(isBind ? thisArg : this, arguments);
2297
2290
  }
2298
2291
  return wrapper;
2299
2292
  }
@@ -2359,8 +2352,8 @@ var require_lodash = __commonJS({
2359
2352
  arity - length
2360
2353
  );
2361
2354
  }
2362
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2363
- return apply(fn2, this, args);
2355
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2356
+ return apply(fn, this, args);
2364
2357
  }
2365
2358
  return wrapper;
2366
2359
  }
@@ -2448,7 +2441,7 @@ var require_lodash = __commonJS({
2448
2441
  arity - length
2449
2442
  );
2450
2443
  }
2451
- var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
2444
+ var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
2452
2445
  length = args.length;
2453
2446
  if (argPos) {
2454
2447
  args = reorder(args, argPos);
@@ -2459,9 +2452,9 @@ var require_lodash = __commonJS({
2459
2452
  args.length = ary2;
2460
2453
  }
2461
2454
  if (this && this !== root && this instanceof wrapper) {
2462
- fn2 = Ctor || createCtor(fn2);
2455
+ fn = Ctor || createCtor(fn);
2463
2456
  }
2464
- return fn2.apply(thisBinding, args);
2457
+ return fn.apply(thisBinding, args);
2465
2458
  }
2466
2459
  return wrapper;
2467
2460
  }
@@ -2518,14 +2511,14 @@ var require_lodash = __commonJS({
2518
2511
  function createPartial(func, bitmask, thisArg, partials) {
2519
2512
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2520
2513
  function wrapper() {
2521
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2514
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2522
2515
  while (++leftIndex < leftLength) {
2523
2516
  args[leftIndex] = partials[leftIndex];
2524
2517
  }
2525
2518
  while (argsLength--) {
2526
2519
  args[leftIndex++] = arguments[++argsIndex];
2527
2520
  }
2528
- return apply(fn2, isBind ? thisArg : this, args);
2521
+ return apply(fn, isBind ? thisArg : this, args);
2529
2522
  }
2530
2523
  return wrapper;
2531
2524
  }
@@ -2935,8 +2928,8 @@ var require_lodash = __commonJS({
2935
2928
  return { "start": start, "end": end };
2936
2929
  }
2937
2930
  function getWrapDetails(source) {
2938
- var match18 = source.match(reWrapDetails);
2939
- return match18 ? match18[1].split(reSplitDetails) : [];
2931
+ var match17 = source.match(reWrapDetails);
2932
+ return match17 ? match17[1].split(reSplitDetails) : [];
2940
2933
  }
2941
2934
  function hasPath(object, path, hasFunc) {
2942
2935
  path = castPath(path, object);
@@ -3204,8 +3197,8 @@ var require_lodash = __commonJS({
3204
3197
  if (string.charCodeAt(0) === 46) {
3205
3198
  result2.push("");
3206
3199
  }
3207
- string.replace(rePropName, function(match18, number, quote, subString) {
3208
- result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match18);
3200
+ string.replace(rePropName, function(match17, number, quote, subString) {
3201
+ result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match17);
3209
3202
  });
3210
3203
  return result2;
3211
3204
  });
@@ -3379,7 +3372,7 @@ var require_lodash = __commonJS({
3379
3372
  var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
3380
3373
  while (++index < length) {
3381
3374
  var pair = pairs[index];
3382
- result2[pair[0]] = pair[1];
3375
+ baseAssignValue(result2, pair[0], pair[1]);
3383
3376
  }
3384
3377
  return result2;
3385
3378
  }
@@ -4763,15 +4756,20 @@ var require_lodash = __commonJS({
4763
4756
  options = undefined2;
4764
4757
  }
4765
4758
  string = toString(string);
4766
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
4767
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4759
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
4760
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4761
+ arrayEach(importsKeys, function(key) {
4762
+ if (reForbiddenIdentifierChars.test(key)) {
4763
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4764
+ }
4765
+ });
4768
4766
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
4769
4767
  var reDelimiters = RegExp2(
4770
4768
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
4771
4769
  "g"
4772
4770
  );
4773
4771
  var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
4774
- string.replace(reDelimiters, function(match18, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4772
+ string.replace(reDelimiters, function(match17, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4775
4773
  interpolateValue || (interpolateValue = esTemplateValue);
4776
4774
  source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
4777
4775
  if (escapeValue) {
@@ -4785,8 +4783,8 @@ var require_lodash = __commonJS({
4785
4783
  if (interpolateValue) {
4786
4784
  source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
4787
4785
  }
4788
- index = offset + match18.length;
4789
- return match18;
4786
+ index = offset + match17.length;
4787
+ return match17;
4790
4788
  });
4791
4789
  source += "';\n";
4792
4790
  var variable = hasOwnProperty.call(options, "variable") && options.variable;
@@ -4874,13 +4872,13 @@ var require_lodash = __commonJS({
4874
4872
  }
4875
4873
  if (isRegExp(separator)) {
4876
4874
  if (string.slice(end).search(separator)) {
4877
- var match18, substring = result2;
4875
+ var match17, substring = result2;
4878
4876
  if (!separator.global) {
4879
4877
  separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
4880
4878
  }
4881
4879
  separator.lastIndex = 0;
4882
- while (match18 = separator.exec(substring)) {
4883
- var newEnd = match18.index;
4880
+ while (match17 = separator.exec(substring)) {
4881
+ var newEnd = match17.index;
4884
4882
  }
4885
4883
  result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd);
4886
4884
  }
@@ -7389,13 +7387,13 @@ var require_parser = __commonJS({
7389
7387
  var toIntIfInt = function(v) {
7390
7388
  return String(Number(v)) === v ? Number(v) : v;
7391
7389
  };
7392
- var attachProperties = function(match18, location, names, rawName) {
7390
+ var attachProperties = function(match17, location, names, rawName) {
7393
7391
  if (rawName && !names) {
7394
- location[rawName] = toIntIfInt(match18[1]);
7392
+ location[rawName] = toIntIfInt(match17[1]);
7395
7393
  } else {
7396
7394
  for (var i = 0; i < names.length; i += 1) {
7397
- if (match18[i + 1] != null) {
7398
- location[names[i]] = toIntIfInt(match18[i + 1]);
7395
+ if (match17[i + 1] != null) {
7396
+ location[names[i]] = toIntIfInt(match17[i + 1]);
7399
7397
  }
7400
7398
  }
7401
7399
  }
@@ -11516,8 +11514,8 @@ var Collapsible = {
11516
11514
 
11517
11515
  // src/Prebuilt/App.tsx
11518
11516
  init_define_process_env();
11519
- import React204, { useEffect as useEffect88, useRef as useRef36 } from "react";
11520
- import { match as match17 } from "ts-pattern";
11517
+ import React204, { useEffect as useEffect88, useRef as useRef37 } from "react";
11518
+ import { match as match16 } from "ts-pattern";
11521
11519
  import {
11522
11520
  HMSReactiveStore,
11523
11521
  HMSRoomProvider,
@@ -15748,13 +15746,13 @@ var usePinnedBy = (messageId) => {
15748
15746
  const pinnedMessages = useHMSStore18(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
15749
15747
  const [pinnedBy, setPinnedBy] = useState17("");
15750
15748
  useEffect15(() => {
15751
- let match18 = "";
15749
+ let match17 = "";
15752
15750
  pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
15753
15751
  if (pinnedMessage.id === messageId) {
15754
- match18 = pinnedMessage.pinnedBy;
15752
+ match17 = pinnedMessage.pinnedBy;
15755
15753
  }
15756
15754
  });
15757
- setPinnedBy(match18);
15755
+ setPinnedBy(match17);
15758
15756
  }, [messageId, pinnedMessages]);
15759
15757
  return pinnedBy;
15760
15758
  };
@@ -18097,7 +18095,7 @@ var trim = function(str, len) {
18097
18095
  };
18098
18096
  var rgxMapper = function(ua2, arrays) {
18099
18097
  if (!ua2 || !arrays) return;
18100
- var i = 0, j, k2, p, q2, matches, match18;
18098
+ var i = 0, j, k2, p, q2, matches, match17;
18101
18099
  while (i < arrays.length && !matches) {
18102
18100
  var regex = arrays[i], props = arrays[i + 1];
18103
18101
  j = k2 = 0;
@@ -18108,34 +18106,34 @@ var rgxMapper = function(ua2, arrays) {
18108
18106
  matches = regex[j++].exec(ua2);
18109
18107
  if (!!matches) {
18110
18108
  for (p = 0; p < props.length; p++) {
18111
- match18 = matches[++k2];
18109
+ match17 = matches[++k2];
18112
18110
  q2 = props[p];
18113
18111
  if (typeof q2 === TYPEOF.OBJECT && q2.length > 0) {
18114
18112
  if (q2.length === 2) {
18115
18113
  if (typeof q2[1] == TYPEOF.FUNCTION) {
18116
- this[q2[0]] = q2[1].call(this, match18);
18114
+ this[q2[0]] = q2[1].call(this, match17);
18117
18115
  } else {
18118
18116
  this[q2[0]] = q2[1];
18119
18117
  }
18120
18118
  } else if (q2.length >= 3) {
18121
18119
  if (typeof q2[1] === TYPEOF.FUNCTION && !(q2[1].exec && q2[1].test)) {
18122
18120
  if (q2.length > 3) {
18123
- this[q2[0]] = match18 ? q2[1].apply(this, q2.slice(2)) : void 0;
18121
+ this[q2[0]] = match17 ? q2[1].apply(this, q2.slice(2)) : void 0;
18124
18122
  } else {
18125
- this[q2[0]] = match18 ? q2[1].call(this, match18, q2[2]) : void 0;
18123
+ this[q2[0]] = match17 ? q2[1].call(this, match17, q2[2]) : void 0;
18126
18124
  }
18127
18125
  } else {
18128
18126
  if (q2.length == 3) {
18129
- this[q2[0]] = match18 ? match18.replace(q2[1], q2[2]) : void 0;
18127
+ this[q2[0]] = match17 ? match17.replace(q2[1], q2[2]) : void 0;
18130
18128
  } else if (q2.length == 4) {
18131
- this[q2[0]] = match18 ? q2[3].call(this, match18.replace(q2[1], q2[2])) : void 0;
18129
+ this[q2[0]] = match17 ? q2[3].call(this, match17.replace(q2[1], q2[2])) : void 0;
18132
18130
  } else if (q2.length > 4) {
18133
- this[q2[0]] = match18 ? q2[3].apply(this, [match18.replace(q2[1], q2[2])].concat(q2.slice(4))) : void 0;
18131
+ this[q2[0]] = match17 ? q2[3].apply(this, [match17.replace(q2[1], q2[2])].concat(q2.slice(4))) : void 0;
18134
18132
  }
18135
18133
  }
18136
18134
  }
18137
18135
  } else {
18138
- this[q2] = match18 ? match18 : void 0;
18136
+ this[q2] = match17 ? match17 : void 0;
18139
18137
  }
18140
18138
  }
18141
18139
  }
@@ -19770,9 +19768,9 @@ UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);
19770
19768
 
19771
19769
  // ../hms-video-store/dist/index.js
19772
19770
  var import_lodash3 = __toESM(require_lodash2());
19773
- import { v4 as Uo } from "uuid";
19774
- import { v4 as Oo } from "uuid";
19775
- import { v4 as Wo } from "uuid";
19771
+ import { v4 as Un } from "uuid";
19772
+ import { v4 as On } from "uuid";
19773
+ import { v4 as Wn } from "uuid";
19776
19774
 
19777
19775
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
19778
19776
  init_define_process_env();
@@ -19785,8 +19783,8 @@ init_define_process_env();
19785
19783
  var logDisabled_ = true;
19786
19784
  var deprecationWarnings_ = true;
19787
19785
  function extractVersion(uastring, expr, pos) {
19788
- const match18 = uastring.match(expr);
19789
- return match18 && match18.length >= pos && parseInt(match18[pos], 10);
19786
+ const match17 = uastring.match(expr);
19787
+ return match17 && match17.length >= pos && parseInt(match17[pos], 10);
19790
19788
  }
19791
19789
  function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
19792
19790
  if (!window2.RTCPeerConnection) {
@@ -20088,7 +20086,7 @@ function shimGetUserMedia(window2, browserDetails) {
20088
20086
  if (matches) {
20089
20087
  return navigator2.mediaDevices.enumerateDevices().then((devices) => {
20090
20088
  devices = devices.filter((d) => d.kind === "videoinput");
20091
- let dev = devices.find((d) => matches.some((match18) => d.label.toLowerCase().includes(match18)));
20089
+ let dev = devices.find((d) => matches.some((match17) => d.label.toLowerCase().includes(match17)));
20092
20090
  if (!dev && devices.length && matches.includes("back")) {
20093
20091
  dev = devices[devices.length - 1];
20094
20092
  }
@@ -21515,11 +21513,11 @@ function shimMaxMessageSize(window2, browserDetails) {
21515
21513
  });
21516
21514
  };
21517
21515
  const getRemoteFirefoxVersion = function(description) {
21518
- const match18 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
21519
- if (match18 === null || match18.length < 2) {
21516
+ const match17 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
21517
+ if (match17 === null || match17.length < 2) {
21520
21518
  return -1;
21521
21519
  }
21522
- const version = parseInt(match18[1], 10);
21520
+ const version = parseInt(match17[1], 10);
21523
21521
  return version !== version ? -1 : version;
21524
21522
  };
21525
21523
  const getCanSendMaxMessageSize = function(remoteIsFirefox) {
@@ -21544,12 +21542,12 @@ function shimMaxMessageSize(window2, browserDetails) {
21544
21542
  if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
21545
21543
  maxMessageSize = 65535;
21546
21544
  }
21547
- const match18 = import_sdp.default.matchPrefix(
21545
+ const match17 = import_sdp.default.matchPrefix(
21548
21546
  description.sdp,
21549
21547
  "a=max-message-size:"
21550
21548
  );
21551
- if (match18.length > 0) {
21552
- maxMessageSize = parseInt(match18[0].substring(19), 10);
21549
+ if (match17.length > 0) {
21550
+ maxMessageSize = parseInt(match17[0].substring(19), 10);
21553
21551
  } else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
21554
21552
  maxMessageSize = 2147483637;
21555
21553
  }
@@ -21869,57 +21867,57 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
21869
21867
 
21870
21868
  // ../hms-video-store/dist/index.js
21871
21869
  var import_lodash4 = __toESM(require_lodash2());
21872
- import { v4 as Qo } from "uuid";
21873
- import { v4 as cn } from "uuid";
21874
- import { EventEmitter2 as dn } from "eventemitter2";
21875
- var ti = __toESM(require_lib());
21876
- import { EventEmitter2 as On } from "eventemitter2";
21877
- import { v4 as Fn } from "uuid";
21878
- import { EventEmitter2 as Gn } from "eventemitter2";
21879
- import $n from "eventemitter2";
21880
- import { v4 as Kn } from "uuid";
21881
21870
  import { v4 as Qn } from "uuid";
21882
- var Eo = Object.defineProperty;
21883
- var Po = Object.defineProperties;
21884
- var bo = Object.getOwnPropertyDescriptors;
21871
+ import { v4 as oo } from "uuid";
21872
+ import { EventEmitter2 as co } from "eventemitter2";
21873
+ var ti = __toESM(require_lib());
21874
+ import { EventEmitter2 as Oo } from "eventemitter2";
21875
+ import { v4 as Fo } from "uuid";
21876
+ import { EventEmitter2 as Go } from "eventemitter2";
21877
+ import $o from "eventemitter2";
21878
+ import { v4 as Ko } from "uuid";
21879
+ import { v4 as Qo } from "uuid";
21880
+ var En = Object.defineProperty;
21881
+ var Pn = Object.defineProperties;
21882
+ var bn = Object.getOwnPropertyDescriptors;
21885
21883
  var di = Object.getOwnPropertySymbols;
21886
21884
  var ks = Object.prototype.hasOwnProperty;
21887
21885
  var Es = Object.prototype.propertyIsEnumerable;
21888
- var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21886
+ var ys = (a2, e, t) => e in a2 ? En(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21889
21887
  var m = (a2, e) => {
21890
21888
  for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21891
21889
  if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
21892
21890
  return a2;
21893
21891
  };
21894
- var M = (a2, e) => Po(a2, bo(e));
21892
+ var M = (a2, e) => Pn(a2, bn(e));
21895
21893
  var Ar = (a2, e) => {
21896
21894
  var t = {};
21897
21895
  for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21898
21896
  if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21899
21897
  return t;
21900
21898
  };
21901
- var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21899
+ var Rn = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21902
21900
  var c = (a2, e, t) => new Promise((i, r) => {
21903
21901
  var s = (d) => {
21904
21902
  try {
21905
- n(t.next(d));
21903
+ o(t.next(d));
21906
21904
  } catch (u) {
21907
21905
  r(u);
21908
21906
  }
21909
- }, o = (d) => {
21907
+ }, n = (d) => {
21910
21908
  try {
21911
- n(t.throw(d));
21909
+ o(t.throw(d));
21912
21910
  } catch (u) {
21913
21911
  r(u);
21914
21912
  }
21915
- }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
21916
- n((t = t.apply(a2, e)).next());
21913
+ }, o = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, n);
21914
+ o((t = t.apply(a2, e)).next());
21917
21915
  });
21918
- var _r = Ro((gd, xo) => {
21919
- xo.exports = { version: "0.13.3-alpha.9", 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"] };
21916
+ var _r = Rn((gd, xn) => {
21917
+ xn.exports = { version: "0.13.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21920
21918
  });
21921
- var Rr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Rr || {});
21922
- var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
21919
+ var Rr = ((o) => (o.Disconnected = "Disconnected", o.Preview = "Preview", o.Connecting = "Connecting", o.Connected = "Connected", o.Reconnecting = "Reconnecting", o.Disconnecting = "Disconnecting", o.Failed = "Failed", o))(Rr || {});
21920
+ var Hn = ((e) => (e.CHAT = "chat", e))(Hn || {});
21923
21921
  var Ps = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Ps || {});
21924
21922
  var Hr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(Hr || {});
21925
21923
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
@@ -21927,7 +21925,7 @@ function We(a2, e) {
21927
21925
  let t, i;
21928
21926
  if (e) for (let r of e.auxiliaryTracks) {
21929
21927
  let s = a2[r];
21930
- Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21928
+ Cn(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21931
21929
  }
21932
21930
  return { video: t, audio: i };
21933
21931
  }
@@ -21937,7 +21935,7 @@ function vt(a2) {
21937
21935
  function Mt(a2) {
21938
21936
  return a2 && a2.type === "video";
21939
21937
  }
21940
- function Co(a2) {
21938
+ function Cn(a2) {
21941
21939
  return a2 && a2.source === "screen";
21942
21940
  }
21943
21941
  function pi(a2) {
@@ -21958,7 +21956,7 @@ function kt(a2) {
21958
21956
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
21959
21957
  }
21960
21958
  var Rs = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(Rs || {});
21961
- var Lo = typeof window != "undefined" && typeof window.expect != "undefined";
21959
+ var Ln = typeof window != "undefined" && typeof window.expect != "undefined";
21962
21960
  var l = class {
21963
21961
  static v(e, ...t) {
21964
21962
  this.log(0, e, ...t);
@@ -22023,7 +22021,7 @@ var l = class {
22023
22021
  }
22024
22022
  }
22025
22023
  };
22026
- l.level = Lo ? 7 : 0;
22024
+ l.level = Ln ? 7 : 0;
22027
22025
  var Cr = new UAParser();
22028
22026
  var Et = null;
22029
22027
  var Lr = null;
@@ -22042,8 +22040,8 @@ var we = () => Et || Cr.getResult();
22042
22040
  var Se = { getBrowser: () => we().browser, getOS: () => we().os, getDevice: () => we().device, getCPU: () => we().cpu, getEngine: () => we().engine, getUA: () => we().ua, getResult: we, withClientHints: () => Lr || Promise.resolve(we()) };
22043
22041
  var Hs;
22044
22042
  var $e = typeof window == "undefined" && !((Hs = Se.getBrowser().name) != null && Hs.toLowerCase().includes("electron"));
22045
- var wo = () => !$e;
22046
- var Bc = wo();
22043
+ var wn = () => !$e;
22044
+ var Bc = wn();
22047
22045
  var Cs;
22048
22046
  var Ls;
22049
22047
  var Us = (Ls = (Cs = Se.getBrowser()) == null ? void 0 : Cs.name) == null ? void 0 : Ls.toLowerCase().includes("safari");
@@ -22054,23 +22052,23 @@ var _s;
22054
22052
  var Ns;
22055
22053
  var Vs = ((Ns = (_s = Se.getEngine()) == null ? void 0 : _s.name) == null ? void 0 : Ns.toLowerCase()) === "blink";
22056
22054
  var Fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Fs || {});
22057
- function _o() {
22055
+ function _n() {
22058
22056
  if (B && window) {
22059
22057
  let a2 = window.location.hostname;
22060
22058
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
22061
22059
  }
22062
22060
  return "CUSTOM";
22063
22061
  }
22064
- var et = _o();
22062
+ var et = _n();
22065
22063
  var k = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014, NO_DATA: 3015 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
22066
22064
  var E = class a extends Error {
22067
- constructor(t, i, r, s, o, n = false) {
22065
+ constructor(t, i, r, s, n, o = false) {
22068
22066
  super(s);
22069
22067
  this.code = t;
22070
22068
  this.name = i;
22071
22069
  this.message = s;
22072
- this.description = o;
22073
- this.isTerminal = n;
22070
+ this.description = n;
22071
+ this.isTerminal = o;
22074
22072
  Object.setPrototypeOf(this, a.prototype), this.action = r.toString();
22075
22073
  }
22076
22074
  toAnalyticsProperties() {
@@ -22093,13 +22091,13 @@ var E = class a extends Error {
22093
22091
  }
22094
22092
  };
22095
22093
  var q = class extends E {
22096
- constructor(t, i, r, s, o, n) {
22097
- super(t, i, r, s, o, false);
22094
+ constructor(t, i, r, s, n, o) {
22095
+ super(t, i, r, s, n, false);
22098
22096
  this.code = t;
22099
22097
  this.name = i;
22100
22098
  this.message = s;
22101
- this.description = o;
22102
- this.trackType = n;
22099
+ this.description = n;
22100
+ this.trackType = o;
22103
22101
  }
22104
22102
  toAnalyticsProperties() {
22105
22103
  return M(m({}, super.toAnalyticsProperties()), { track_type: this.trackType });
@@ -22119,7 +22117,7 @@ var q = class extends E {
22119
22117
  }
22120
22118
  };
22121
22119
  var Gs = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Gs || {});
22122
- var No = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
22120
+ var Nn = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
22123
22121
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
22124
22122
  return new E(k.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
22125
22123
  }, WebSocketConnectionLost(a2, e = "") {
@@ -22181,7 +22179,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
22181
22179
  }, StatsFailed(a2, e = "") {
22182
22180
  return new E(k.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
22183
22181
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
22184
- return new E(a2, "ServerErrors", e, t, t, No.includes(e));
22182
+ return new E(a2, "ServerErrors", e, t, t, Nn.includes(e));
22185
22183
  }, AlreadyJoined(a2, e = "") {
22186
22184
  return new E(k.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
22187
22185
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -22289,7 +22287,7 @@ var ve = class {
22289
22287
  };
22290
22288
  var hi = () => {
22291
22289
  let a2, e = new ve("hms-analytics-deviceId"), t = e.get();
22292
- return t ? a2 = t : (a2 = Oo(), e.set(a2)), a2;
22290
+ return t ? a2 = t : (a2 = On(), e.set(a2)), a2;
22293
22291
  };
22294
22292
  function $(a2) {
22295
22293
  return a2 != null;
@@ -22298,8 +22296,8 @@ var qs = _r().version;
22298
22296
  function At(a2 = "prod", e) {
22299
22297
  let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22300
22298
  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 });
22301
- let r = Se.getOS(), s = Se.getDevice(), o = Se.getBrowser(), n = Nr(`web_${r.name}`), d = r.version || "", u = Nr(`${o.name}_${o.version}`), p = u;
22302
- return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: "web", sdk_version: qs, device_model: p, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22299
+ let r = Se.getOS(), s = Se.getDevice(), n = Se.getBrowser(), o = Nr(`web_${r.name}`), d = r.version || "", u = Nr(`${n.name}_${n.version}`), p = u;
22300
+ return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: o, 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 });
22303
22301
  }
22304
22302
  function Nr(a2) {
22305
22303
  return a2.replace(/ /g, "_");
@@ -22308,7 +22306,7 @@ var js = (a2, e = ",") => Object.keys(a2).filter((t) => $(a2[t])).map((t) => `${
22308
22306
  var C = class {
22309
22307
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
22310
22308
  this.metadata = { peer: {}, userAgent: At() };
22311
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Uo(), this.device_id = hi();
22309
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Un(), this.device_id = hi();
22312
22310
  }
22313
22311
  toSignalParams() {
22314
22312
  return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: et }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -22316,8 +22314,8 @@ var C = class {
22316
22314
  };
22317
22315
  var y = class {
22318
22316
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
22319
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
22320
- return new C({ name: o, level: n, properties: d });
22317
+ let n = this.eventNameFor("connect", e === void 0), o = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
22318
+ return new C({ name: n, level: o, properties: d });
22321
22319
  }
22322
22320
  static disconnect(e, t) {
22323
22321
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
@@ -22325,17 +22323,17 @@ var y = class {
22325
22323
  }
22326
22324
  static preview(i) {
22327
22325
  var r = i, { error: e } = r, t = Ar(r, ["error"]);
22328
- let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
22329
- return new C({ name: s, level: o, properties: n });
22326
+ let s = this.eventNameFor("preview", e === void 0), n = e ? 2 : 1, o = this.getPropertiesWithError(t, e);
22327
+ return new C({ name: s, level: n, properties: o });
22330
22328
  }
22331
22329
  static join(i) {
22332
22330
  var r = i, { error: e } = r, t = Ar(r, ["error"]);
22333
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
22334
- return new C({ name: s, level: o, properties: n });
22331
+ let s = this.eventNameFor("join", e === void 0), n = e ? 2 : 1, o = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
22332
+ return new C({ name: s, level: n, properties: o });
22335
22333
  }
22336
22334
  static publish({ devices: e, settings: t, error: i }) {
22337
- let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
22338
- return new C({ name: r, level: s, properties: o });
22335
+ let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, n = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
22336
+ return new C({ name: r, level: s, properties: n });
22339
22337
  }
22340
22338
  static hlsPlayerError(e) {
22341
22339
  return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
@@ -22360,8 +22358,8 @@ var y = class {
22360
22358
  return new C({ name: "permissionChanged", level: 1, properties: { message: `Perrmission for ${e} changed to ${t}` } });
22361
22359
  }
22362
22360
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
22363
- let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
22364
- return new C({ name: o, level: n, properties: d });
22361
+ let n = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), o = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
22362
+ return new C({ name: n, level: o, properties: d });
22365
22363
  }
22366
22364
  static performance(e) {
22367
22365
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
@@ -22378,8 +22376,8 @@ var y = class {
22378
22376
  static degradationStats(e, t) {
22379
22377
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
22380
22378
  if (!t && e.degradedAt instanceof Date) {
22381
- let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
22382
- s = M(m({}, s), { duration: n, restoredAt: o });
22379
+ let n = /* @__PURE__ */ new Date(), o = n.valueOf() - e.degradedAt.valueOf();
22380
+ s = M(m({}, s), { duration: o, restoredAt: n });
22383
22381
  }
22384
22382
  return new C({ name: i, level: r, properties: s });
22385
22383
  }
@@ -22436,8 +22434,8 @@ var Or = class {
22436
22434
  if (!t) return;
22437
22435
  let i = ["audioInput", "videoInput", "audioOutput"];
22438
22436
  for (let s of i) {
22439
- let o = t[s];
22440
- o && ((r = e[s]) != null && r.some((d) => this.isSame(o, d)) || (l.w(this.TAG, `Removing ${s} device from storage as it's no longer available: ${o.deviceId}`), this.removeSelection(s)));
22437
+ let n = t[s];
22438
+ n && ((r = e[s]) != null && r.some((d) => this.isSame(n, d)) || (l.w(this.TAG, `Removing ${s} device from storage as it's no longer available: ${n.deviceId}`), this.removeSelection(s)));
22441
22439
  }
22442
22440
  }
22443
22441
  rememberDevices(e) {
@@ -22445,7 +22443,7 @@ var Or = class {
22445
22443
  }
22446
22444
  updateSelection(e, { deviceId: t, groupId: i }) {
22447
22445
  if (!this.devices || !this.remember) return;
22448
- let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22446
+ let r = this.devices[e].find((n) => this.isSame({ deviceId: t, groupId: i }, n));
22449
22447
  if (!r) {
22450
22448
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
22451
22449
  return;
@@ -22471,7 +22469,7 @@ var te = new Or();
22471
22469
  var xr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(xr || {});
22472
22470
  var Ur = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Ur || {});
22473
22471
  var Br = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Br || {});
22474
- var Js = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Js || {});
22472
+ var Js = ((o) => (o.NONE = "none", o.INITIALISED = "initialised", o.STARTED = "started", o.PAUSED = "paused", o.RESUMED = "resumed", o.STOPPED = "stopped", o.FAILED = "failed", o))(Js || {});
22475
22473
  var zs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(zs || {});
22476
22474
  var Ys = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ys || {});
22477
22475
  var Xs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Xs || {});
@@ -22515,7 +22513,7 @@ var jr = class {
22515
22513
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
22516
22514
  }
22517
22515
  };
22518
- var oa = new jr();
22516
+ var na = new jr();
22519
22517
  var Qr = class {
22520
22518
  constructor() {
22521
22519
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -22542,7 +22540,7 @@ var Qr = class {
22542
22540
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
22543
22541
  }
22544
22542
  };
22545
- var na = new Qr();
22543
+ var oa = new Qr();
22546
22544
  var Jr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Jr || {});
22547
22545
  var zr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(zr || {});
22548
22546
  var la = "https://event.100ms.live/v2/client/report";
@@ -22550,38 +22548,38 @@ var ua = "https://event-nonprod.100ms.live/v2/client/report";
22550
22548
  var Dt = Math.pow(2, 31) - 1;
22551
22549
  var ct = class {
22552
22550
  };
22553
- ct.makePeerId = () => cn();
22554
- var G = (a2) => a2.room;
22555
- var ln = (a2) => a2.errors;
22556
- var Gm = createSelector(ln, (a2) => a2.length === 0 ? null : a2.at(-1));
22557
- var Wm = createSelector(G, (a2) => a2.id);
22551
+ ct.makePeerId = () => oo();
22552
+ var F = (a2) => a2.room;
22553
+ var lo = (a2) => a2.errors;
22554
+ var Gm = createSelector(lo, (a2) => a2.length === 0 ? null : a2.at(-1));
22555
+ var Wm = createSelector(F, (a2) => a2.id);
22558
22556
  var Z = (a2) => a2.peers;
22559
22557
  var Ci = (a2) => a2.messages.byID;
22560
22558
  var Pa = (a2) => a2.messages.allIDs;
22561
22559
  var N = (a2) => a2.tracks;
22562
22560
  var is = (a2) => a2.appData;
22563
- var un = (a2) => a2.speakers;
22564
- var Fe = createSelector([G], (a2) => a2 && a2.isConnected);
22565
- var qm = createSelector([Fe, G], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
22566
- var pn = (a2) => a2.hideLocalPeer;
22567
- var Ee = createSelector([G, Z, pn], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22568
- var hn = createSelector(N, (a2) => Object.values(a2));
22569
- var ne = createSelector(G, Z, (a2, e) => e[a2.localPeer]);
22570
- var Ae = createSelector(G, (a2) => a2.localPeer);
22571
- var jm = createSelector(ne, (a2) => a2 == null ? void 0 : a2.name);
22572
- var Qm = createSelector(ne, (a2) => a2 == null ? void 0 : a2.roleName);
22573
- var me = createSelector(ne, (a2) => a2 == null ? void 0 : a2.audioTrack);
22574
- var ie = createSelector(ne, (a2) => a2 == null ? void 0 : a2.videoTrack);
22575
- var mn = createSelector(ne, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22576
- var Ia = createSelector([me, ie, mn], (a2, e, t) => {
22561
+ var uo = (a2) => a2.speakers;
22562
+ var Fe = createSelector([F], (a2) => a2 && a2.isConnected);
22563
+ var qm = createSelector([Fe, F], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
22564
+ var po = (a2) => a2.hideLocalPeer;
22565
+ var Ee = createSelector([F, Z, po], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22566
+ var ho = createSelector(N, (a2) => Object.values(a2));
22567
+ var oe = createSelector(F, Z, (a2, e) => e[a2.localPeer]);
22568
+ var Ae = createSelector(F, (a2) => a2.localPeer);
22569
+ var jm = createSelector(oe, (a2) => a2 == null ? void 0 : a2.name);
22570
+ var Qm = createSelector(oe, (a2) => a2 == null ? void 0 : a2.roleName);
22571
+ var me = createSelector(oe, (a2) => a2 == null ? void 0 : a2.audioTrack);
22572
+ var ie = createSelector(oe, (a2) => a2 == null ? void 0 : a2.videoTrack);
22573
+ var mo = createSelector(oe, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22574
+ var Ia = createSelector([me, ie, mo], (a2, e, t) => {
22577
22575
  let i = t ? [...t] : [];
22578
22576
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22579
22577
  });
22580
22578
  var Jm = createSelector(Ee, (a2) => a2.filter((e) => !e.isLocal));
22581
- var zm = createSelector(Z, un, (a2, e) => {
22579
+ var zm = createSelector(Z, uo, (a2, e) => {
22582
22580
  let t = Object.entries(e).sort((i, r) => {
22583
- var n, d;
22584
- let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
22581
+ var o, d;
22582
+ let s = ((o = i[1]) == null ? void 0 : o.audioLevel) || 0;
22585
22583
  return (((d = r[1]) == null ? void 0 : d.audioLevel) || 0) > s ? 1 : -1;
22586
22584
  });
22587
22585
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
@@ -22590,20 +22588,20 @@ var zm = createSelector(Z, un, (a2, e) => {
22590
22588
  }
22591
22589
  return null;
22592
22590
  });
22593
- var ss = createSelector(ne, N, (a2, e) => {
22591
+ var ss = createSelector(oe, N, (a2, e) => {
22594
22592
  let { video: t, audio: i } = We(e, a2);
22595
22593
  return !!(t || i);
22596
22594
  });
22597
- var Sn = createSelector(Z, N, (a2, e) => {
22595
+ var So = createSelector(Z, N, (a2, e) => {
22598
22596
  let t;
22599
22597
  for (let i in a2) {
22600
- let r = a2[i], { video: s, audio: o } = We(e, r);
22598
+ let r = a2[i], { video: s, audio: n } = We(e, r);
22601
22599
  if (s) return r;
22602
- o && !t && (t = r);
22600
+ n && !t && (t = r);
22603
22601
  }
22604
22602
  return t;
22605
22603
  });
22606
- var Xm = createSelector(Sn, (a2) => !!a2);
22604
+ var Xm = createSelector(So, (a2) => !!a2);
22607
22605
  var Zm = createSelector(Z, N, (a2, e) => {
22608
22606
  for (let t in a2) {
22609
22607
  let i = a2[t], { audio: r, video: s } = We(e, i);
@@ -22613,8 +22611,8 @@ var Zm = createSelector(Z, N, (a2, e) => {
22613
22611
  var eS = createSelector(Z, N, (a2, e) => {
22614
22612
  let t = [], i = [];
22615
22613
  for (let r in a2) {
22616
- let s = a2[r], { video: o, audio: n } = We(e, s);
22617
- o ? t.push(s) : n && i.push(s);
22614
+ let s = a2[r], { video: n, audio: o } = We(e, s);
22615
+ n ? t.push(s) : o && i.push(s);
22618
22616
  }
22619
22617
  return t.concat(i);
22620
22618
  });
@@ -22630,7 +22628,7 @@ var iS = createSelector(Z, N, (a2, e) => {
22630
22628
  if (pi(i) && i.peerId) return a2[i.peerId];
22631
22629
  }
22632
22630
  });
22633
- var rS = createSelector(hn, (a2) => a2.filter(Is));
22631
+ var rS = createSelector(ho, (a2) => a2.filter(Is));
22634
22632
  var sS = createSelector(Pa, (a2) => a2.length);
22635
22633
  var aS = createSelector(Ci, (a2) => Object.values(a2).filter((e) => !e.read).length);
22636
22634
  var Ot = createSelector(Pa, Ci, (a2, e) => {
@@ -22639,42 +22637,49 @@ var Ot = createSelector(Pa, Ci, (a2, e) => {
22639
22637
  t.push(e[i]);
22640
22638
  }), t;
22641
22639
  });
22642
- var gn = createSelector(Ot, (a2) => a2.filter((e) => {
22640
+ var go = createSelector(Ot, (a2) => a2.filter((e) => {
22643
22641
  var t;
22644
22642
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22645
22643
  }));
22646
- var oS = createSelector(gn, (a2) => a2.filter((e) => !e.read).length);
22647
- var ce = createSelector([G], (a2) => a2 && a2.roomState);
22644
+ var nS = createSelector(go, (a2) => a2.filter((e) => !e.read).length);
22645
+ var ce = createSelector([F], (a2) => a2 && a2.roomState);
22648
22646
  var Ra = createSelector(ce, (a2) => a2 === "Preview");
22649
- var nS = createSelector(G, (a2) => a2.roomState !== "Disconnected");
22650
- var cS = createSelector(G, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22647
+ var oS = createSelector(F, (a2) => a2.roomState !== "Disconnected");
22648
+ var cS = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22651
22649
  var Pe = (a2) => a2.roles;
22652
22650
  var dS = createSelector([Pe], (a2) => Object.keys(a2));
22653
- var lt = createSelector([ne, Pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22654
- var Tn = (a2) => {
22651
+ var lt = createSelector([oe, Pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22652
+ var To = (a2) => {
22655
22653
  var e;
22656
22654
  return (e = a2.preview) == null ? void 0 : e.asRole;
22657
22655
  };
22658
- var Ha = createSelector([Tn, Pe], (a2, e) => a2 ? e[a2] : null);
22656
+ var Ha = createSelector([To, Pe], (a2, e) => a2 ? e[a2] : null);
22659
22657
  var lS = createSelector([lt], (a2) => {
22660
22658
  var e;
22661
22659
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22662
22660
  });
22663
22661
  var Ca = createSelector(lt, (a2) => a2 == null ? void 0 : a2.permissions);
22664
- var uS = createSelector(G, (a2) => a2.recording);
22665
- var pS = createSelector(G, (a2) => a2.rtmp);
22666
- var hS = createSelector(G, (a2) => a2.hls);
22667
- var mS = createSelector(G, (a2) => a2.transcriptions);
22668
- var SS = createSelector(G, (a2) => a2.sessionId);
22669
- var gS = createSelector(G, (a2) => a2.startedAt);
22670
- var TS = createSelector(G, (a2) => !!a2.isLargeRoom);
22671
- var fS = createSelector(G, (a2) => !!a2.isEffectsEnabled);
22672
- var vS = createSelector(G, (a2) => !!a2.isVBEnabled);
22673
- var MS = createSelector(G, (a2) => a2.effectsKey);
22662
+ var uS = createSelector(F, (a2) => a2.recording);
22663
+ var pS = createSelector(F, (a2) => a2.rtmp);
22664
+ var hS = createSelector(F, (a2) => a2.hls);
22665
+ var mS = createSelector(F, (a2) => a2.transcriptions);
22666
+ var SS = createSelector(F, (a2) => {
22667
+ var i, r;
22668
+ let e = (i = a2.transcriptions) == null ? void 0 : i.find((s) => s.mode === "caption");
22669
+ if (e != null && e.translation) return { available: true, enabled: e.translation.enabled, roleLanguages: e.translation.roleLanguages };
22670
+ let t = (r = a2.translationConfig) == null ? void 0 : r.caption;
22671
+ return t ? { available: true, enabled: false, roleLanguages: t.roleLanguages } : { available: false, enabled: false, roleLanguages: void 0 };
22672
+ });
22673
+ var gS = createSelector(F, (a2) => a2.sessionId);
22674
+ var TS = createSelector(F, (a2) => a2.startedAt);
22675
+ var fS = createSelector(F, (a2) => !!a2.isLargeRoom);
22676
+ var vS = createSelector(F, (a2) => !!a2.isEffectsEnabled);
22677
+ var MS = createSelector(F, (a2) => !!a2.isVBEnabled);
22678
+ var yS = createSelector(F, (a2) => a2.effectsKey);
22674
22679
  var La = (a2) => a2.polls;
22675
- var PS = createSelector(Ee, (a2) => a2.filter((e) => e.isHandRaised));
22676
- var fn = (a2) => a2.whiteboards;
22677
- var bS = createSelector(fn, (a2) => Object.values(a2)[0]);
22680
+ var bS = createSelector(Ee, (a2) => a2.filter((e) => e.isHandRaised));
22681
+ var fo = (a2) => a2.whiteboards;
22682
+ var IS = createSelector(fo, (a2) => Object.values(a2)[0]);
22678
22683
  var wa = (a2 = "audio") => (e) => e.playlist[a2].list;
22679
22684
  var as = (a2 = "audio") => (e) => e.playlist[a2].selection;
22680
22685
  var _a7 = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -22756,94 +22761,94 @@ var b = class {
22756
22761
  }
22757
22762
  };
22758
22763
  b.level = 0;
22759
- var os = (a2, e) => e;
22764
+ var ns = (a2, e) => e;
22760
22765
  var Ut = (a2, e) => e;
22761
22766
  var Ga = (a2, e) => e;
22762
- var vn = (a2, e) => e;
22763
- var Mn = (a2, e) => e;
22764
- var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22765
- var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22766
- var yn = createSelector([N, Ut], (a2, e) => {
22767
+ var vo = (a2, e) => e;
22768
+ var Mo = (a2, e) => e;
22769
+ var ee = createSelector([Z, ns], (a2, e) => e ? a2[e] : null);
22770
+ var os = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22771
+ var yo = createSelector([N, Ut], (a2, e) => {
22767
22772
  if (!e) return null;
22768
22773
  let t = a2[e];
22769
22774
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22770
22775
  });
22771
- var kn = createSelector([N, Ut], (a2, e) => {
22776
+ var ko = createSelector([N, Ut], (a2, e) => {
22772
22777
  if (!e) return null;
22773
22778
  let t = a2[e];
22774
22779
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22775
22780
  });
22776
- var En = createSelector([N, Ut], (a2, e) => {
22781
+ var Eo = createSelector([N, Ut], (a2, e) => {
22777
22782
  if (!e) return null;
22778
22783
  let t = a2[e];
22779
22784
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22780
22785
  });
22781
- var Pn = createSelector([N, Ut], (a2, e) => {
22786
+ var Po = createSelector([N, Ut], (a2, e) => {
22782
22787
  if (!e) return null;
22783
22788
  let t = a2[e];
22784
22789
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22785
22790
  });
22786
- var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
22791
+ var bo = createSelector([La, Mo], (a2, e) => e ? a2[e] : null);
22787
22792
  var re = H(ee);
22788
- var OS2 = H(createSelector([is, vn], (a2, e) => {
22793
+ var xS = H(createSelector([is, vo], (a2, e) => {
22789
22794
  if (a2) return e ? a2[e] : a2;
22790
22795
  }));
22791
- function xS(a2) {
22796
+ function US(a2) {
22792
22797
  return (e) => {
22793
22798
  if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
22794
22799
  };
22795
22800
  }
22796
- var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
22797
- var VS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.type));
22798
- var Li = H(ns);
22799
- var Wa = H(yn);
22800
- var FS = H(kn);
22801
- var GS = H(En);
22802
- var WS = H(Pn);
22803
- var In = H((a2, e) => {
22801
+ var VS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
22802
+ var FS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.type));
22803
+ var Li = H(os);
22804
+ var Wa = H(yo);
22805
+ var GS = H(ko);
22806
+ var WS = H(Eo);
22807
+ var $S = H(Po);
22808
+ var Io = H((a2, e) => {
22804
22809
  let t = ee(a2, e);
22805
22810
  if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
22806
22811
  });
22807
- var An = H((a2, e) => {
22812
+ var Ao = H((a2, e) => {
22808
22813
  let t = ee(a2, e);
22809
22814
  if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
22810
22815
  });
22811
- var KS = H((a2, e) => {
22816
+ var qS = H((a2, e) => {
22812
22817
  let t = ee(a2, e);
22813
22818
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22814
22819
  });
22815
22820
  var $a = (a2, e) => e ? a2.speakers[e] : null;
22816
- var qS = H(createSelector($a, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22817
- var Rn = (a2, e) => {
22818
- let t = An(e)(a2);
22821
+ var jS = H(createSelector($a, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22822
+ var Ro = (a2, e) => {
22823
+ let t = Ao(e)(a2);
22819
22824
  return $a(a2, t == null ? void 0 : t.id);
22820
22825
  };
22821
- var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22822
- var QS = H((a2, e) => {
22826
+ var QS = H(createSelector(Ro, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22827
+ var JS = H((a2, e) => {
22823
22828
  if (e) return a2.connectionQualities[e];
22824
22829
  });
22825
- var JS = H((a2, e) => {
22830
+ var zS = H((a2, e) => {
22826
22831
  let t = ee(a2, e);
22827
22832
  if (t) {
22828
22833
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => vt(a2.tracks[r]));
22829
22834
  return i ? a2.tracks[i] : void 0;
22830
22835
  }
22831
22836
  });
22832
- var zS = H(createSelector(N, ee, (a2, e) => {
22837
+ var YS = H(createSelector(N, ee, (a2, e) => {
22833
22838
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22834
22839
  let r = a2[i];
22835
22840
  return yt(r) && Mt(r);
22836
22841
  });
22837
22842
  return t ? a2[t] : void 0;
22838
22843
  }));
22839
- var YS = H(createSelector(N, ee, (a2, e) => {
22844
+ var XS = H(createSelector(N, ee, (a2, e) => {
22840
22845
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22841
22846
  let r = a2[i];
22842
22847
  return yt(r) && vt(r);
22843
22848
  });
22844
22849
  return t ? a2[t] : void 0;
22845
22850
  }));
22846
- var XS = H(createSelector(N, ee, (a2, e) => {
22851
+ var ZS = H(createSelector(N, ee, (a2, e) => {
22847
22852
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22848
22853
  let r = a2[i];
22849
22854
  return pi(r) && vt(r);
@@ -22852,27 +22857,27 @@ var XS = H(createSelector(N, ee, (a2, e) => {
22852
22857
  }));
22853
22858
  var Ka = H(createSelector(N, ee, (a2, e) => We(a2, e)));
22854
22859
  var qa = (a2) => createSelector(Ka(a2), (e) => e.audio);
22855
- var eg = H((a2, e) => {
22860
+ var tg = H((a2, e) => {
22856
22861
  let t = ee(a2, e);
22857
22862
  return Xe(a2, t == null ? void 0 : t.audioTrack);
22858
22863
  });
22859
- var tg = H((a2, e) => {
22864
+ var ig = H((a2, e) => {
22860
22865
  let t = ee(a2, e);
22861
22866
  return Xe(a2, t == null ? void 0 : t.videoTrack);
22862
22867
  });
22863
22868
  var ja = H((a2, e) => {
22864
22869
  if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
22865
22870
  });
22866
- var ig = H((a2, e) => {
22871
+ var rg = H((a2, e) => {
22867
22872
  let t = ee(a2, e);
22868
22873
  return ja(t == null ? void 0 : t.audioTrack)(a2);
22869
22874
  });
22870
- var rg = H((a2, e) => {
22875
+ var sg = H((a2, e) => {
22871
22876
  let t = qa(e)(a2);
22872
22877
  return ja(t == null ? void 0 : t.id)(a2);
22873
22878
  });
22874
22879
  var Qa = H((a2, e) => {
22875
- let t = ns(a2, e);
22880
+ let t = os(a2, e);
22876
22881
  if (t) {
22877
22882
  if (t.type !== "audio") {
22878
22883
  b.w("Please pass audio track here");
@@ -22881,16 +22886,16 @@ var Qa = H((a2, e) => {
22881
22886
  return t.volume;
22882
22887
  }
22883
22888
  });
22884
- var sg = H((a2, e) => {
22889
+ var ag = H((a2, e) => {
22885
22890
  let t = ee(a2, e);
22886
22891
  return Qa(t == null ? void 0 : t.audioTrack)(a2);
22887
22892
  });
22888
- var ag = H((a2, e) => {
22893
+ var ng = H((a2, e) => {
22889
22894
  let t = qa(e)(a2);
22890
22895
  return Qa(t == null ? void 0 : t.id)(a2);
22891
22896
  });
22892
22897
  var og = H((a2, e) => {
22893
- let t = ns(a2, e);
22898
+ let t = os(a2, e);
22894
22899
  if (t) {
22895
22900
  if (t.type !== "video") {
22896
22901
  b.w("Please pass video track here");
@@ -22899,7 +22904,7 @@ var og = H((a2, e) => {
22899
22904
  return t.layer;
22900
22905
  }
22901
22906
  });
22902
- var Ja = createSelector([Ot, Ae, os], (a2, e, t) => {
22907
+ var Ja = createSelector([Ot, Ae, ns], (a2, e, t) => {
22903
22908
  if (t) return a2.filter((i) => {
22904
22909
  var r;
22905
22910
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
@@ -22911,35 +22916,35 @@ var za = createSelector([Ot, Ga], (a2, e) => {
22911
22916
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22912
22917
  });
22913
22918
  });
22914
- var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
22919
+ var Ho = createSelector(Ot, (a2) => a2.filter((e) => {
22915
22920
  var t;
22916
22921
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22917
22922
  }));
22918
- var Cn = createSelector([za, Ga], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22919
- var Ln = createSelector([Ja, os], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22920
- var ng = createSelector(Hn, (a2) => a2.filter((e) => !e.read).length);
22921
- var cg = H(Ja);
22922
- var dg = H(za);
22923
- var lg = H(Cn);
22924
- var ug = H(Ln);
22925
- var Ya = H(bn);
22926
- var Eg = createSelector([Z, N], (a2, e) => Object.values(a2).map((i) => {
22923
+ var Co = createSelector([za, Ga], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22924
+ var Lo = createSelector([Ja, ns], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22925
+ var cg = createSelector(Ho, (a2) => a2.filter((e) => !e.read).length);
22926
+ var dg = H(Ja);
22927
+ var lg = H(za);
22928
+ var ug = H(Co);
22929
+ var pg = H(Lo);
22930
+ var Ya = H(bo);
22931
+ var Pg = createSelector([Z, N], (a2, e) => Object.values(a2).map((i) => {
22927
22932
  var r;
22928
22933
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22929
22934
  }));
22930
- var Dn = (a2) => a2.roleChangeRequests[0] || null;
22931
- var Pg = createSelector([Dn, Z, Pe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22932
- var bg2 = createSelector([lt], (a2) => kt(a2));
22933
- var Ig = createSelector([Ha], (a2) => kt(a2));
22934
- var _n = createSelector([ie, N], (a2, e) => {
22935
+ var Do = (a2) => a2.roleChangeRequests[0] || null;
22936
+ var bg2 = createSelector([Do, Z, Pe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22937
+ var Ig = createSelector([lt], (a2) => kt(a2));
22938
+ var Ag = createSelector([Ha], (a2) => kt(a2));
22939
+ var _o = createSelector([ie, N], (a2, e) => {
22935
22940
  let t = null;
22936
22941
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22937
22942
  });
22938
- var Nn = createSelector([me, N], (a2, e) => {
22943
+ var No = createSelector([me, N], (a2, e) => {
22939
22944
  let t = null;
22940
22945
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22941
22946
  });
22942
- var Un = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(Un || {});
22947
+ var Uo = ((o) => (o[o.STARTING = 0] = "STARTING", o[o.INIT_FETCHED = 1] = "INIT_FETCHED", o[o.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", o[o.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", o[o.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", o[o.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", o[o.COMPLETED = 6] = "COMPLETED", o))(Uo || {});
22943
22948
  var ps = class {
22944
22949
  constructor() {
22945
22950
  this.TAG = "[HTTPAnalyticsTransport]";
@@ -22993,9 +22998,9 @@ var Qt = class {
22993
22998
  static sendFeedback(s) {
22994
22999
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
22995
23000
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
22996
- let o = new URL("v2/client/feedback", t), n = M(m({}, i), { payload: r });
23001
+ let n = new URL("v2/client/feedback", t), o = M(m({}, i), { payload: r });
22997
23002
  try {
22998
- let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
23003
+ let d = yield fetch(n, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(o), method: "POST" });
22999
23004
  try {
23000
23005
  this.handleError(d);
23001
23006
  return;
@@ -23012,17 +23017,17 @@ var Qt = class {
23012
23017
  Qt.TAG = "[FeedbackService]";
23013
23018
  var hs = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(hs || {});
23014
23019
  var z = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(z || {});
23015
- var mr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(mr || {});
23020
+ var mr = ((o) => (o.Disconnected = "Disconnected", o.Connecting = "Connecting", o.Joined = "Joined", o.Preview = "Preview", o.Failed = "Failed", o.Reconnecting = "Reconnecting", o.Leaving = "Leaving", o))(mr || {});
23016
23021
  var St = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(St || {});
23017
23022
  var ac = (a2) => a2.localPeer.id;
23018
- var oc = (a2) => a2.localPeer.audioTrack;
23019
- var nc = (a2) => a2.localPeer.videoTrack;
23023
+ var nc = (a2) => a2.localPeer.audioTrack;
23024
+ var oc = (a2) => a2.localPeer.videoTrack;
23020
23025
  var cc = (a2, e) => e;
23021
- var yo = (a2, e) => e;
23026
+ var yn = (a2, e) => e;
23022
23027
  var dc = (a2) => a2.remoteTrackStats;
23023
- var ko = (a2) => a2.peerStats;
23028
+ var kn = (a2) => a2.peerStats;
23024
23029
  var Ts = (a2) => a2.localTrackStats;
23025
- var Le = createSelector([ko, ac], (a2, e) => a2[e]);
23030
+ var Le = createSelector([kn, ac], (a2, e) => a2[e]);
23026
23031
  var lc = createSelector(Le, (a2) => {
23027
23032
  var e;
23028
23033
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
@@ -23055,17 +23060,17 @@ var Tc = createSelector(Le, (a2) => {
23055
23060
  var e;
23056
23061
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
23057
23062
  });
23058
- var fc = createSelector([ko, cc], (a2, e) => e ? a2[e] : void 0);
23059
- var vc = createSelector([dc, yo], (a2, e) => e ? a2[e] : void 0);
23060
- var fs = createSelector([Ts, yo], (a2, e) => e ? a2[e] : void 0);
23063
+ var fc = createSelector([kn, cc], (a2, e) => e ? a2[e] : void 0);
23064
+ var vc = createSelector([dc, yn], (a2, e) => e ? a2[e] : void 0);
23065
+ var fs = createSelector([Ts, yn], (a2, e) => e ? a2[e] : void 0);
23061
23066
  var Mc = H(fc);
23062
23067
  var yc = H(vc);
23063
- var kc = createSelector([Ts, oc], (a2, e) => {
23068
+ var kc = createSelector([Ts, nc], (a2, e) => {
23064
23069
  var t;
23065
23070
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
23066
23071
  });
23067
23072
  var Ec = H(createSelector(fs, (a2) => a2 == null ? void 0 : a2[0]));
23068
- var Pc = createSelector([Ts, nc], (a2, e) => {
23073
+ var Pc = createSelector([Ts, oc], (a2, e) => {
23069
23074
  var t;
23070
23075
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
23071
23076
  });
@@ -28043,7 +28048,7 @@ var Chat = () => {
28043
28048
  const listRef = useRef26(null);
28044
28049
  const hmsActions = useHMSActions42();
28045
28050
  const vanillaStore = useHMSVanillaStore11();
28046
- const { enabled: isChatEnabled = true } = useHMSStore61(xS("chatState" /* CHAT_STATE */)) || {};
28051
+ const { enabled: isChatEnabled = true } = useHMSStore61(US("chatState" /* CHAT_STATE */)) || {};
28047
28052
  const isMobile = useMedia20(config.media.md);
28048
28053
  const isMobileHLSStream = useMobileHLSStream();
28049
28054
  const isLandscapeStream = useLandscapeHLSStream();
@@ -29155,12 +29160,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29155
29160
  const roomState = useHMSStore69(selectRoomState6);
29156
29161
  const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
29157
29162
  const isEffectsSupported = VBHandler.isEffectsSupported();
29158
- const isEffectsEnabled = useHMSStore69(fS);
29159
- const effectsKey = useHMSStore69(MS);
29163
+ const isEffectsEnabled = useHMSStore69(vS);
29164
+ const effectsKey = useHMSStore69(yS);
29160
29165
  const isMobile = useMedia24(config.media.md);
29161
29166
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
29162
29167
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
29163
- const background = useHMSStore69(OS2(APP_DATA.background));
29168
+ const background = useHMSStore69(xS(APP_DATA.background));
29164
29169
  const mediaList = backgroundMedia.map((media) => media.url || "");
29165
29170
  const pluginLoadingRef = useRef27(false);
29166
29171
  const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
@@ -35392,45 +35397,57 @@ var TrackUnmuteModal = () => {
35392
35397
 
35393
35398
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
35394
35399
  init_define_process_env();
35395
- import React194, { useEffect as useEffect84 } from "react";
35396
- import { match as match16 } from "ts-pattern";
35400
+ import React194, { useEffect as useEffect84, useRef as useRef35 } from "react";
35397
35401
  import { HMSNotificationTypes as HMSNotificationTypes16, HMSTranscriptionState, useHMSNotifications as useHMSNotifications17 } from "@100mslive/react-sdk";
35398
- import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon4, OpenCaptionIcon as OpenCaptionIcon5 } from "@100mslive/react-icons";
35402
+ import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon4, GlobeIcon, OpenCaptionIcon as OpenCaptionIcon5 } from "@100mslive/react-icons";
35399
35403
  var TranscriptionNotifications = () => {
35400
35404
  const notification = useHMSNotifications17(HMSNotificationTypes16.TRANSCRIPTION_STATE_UPDATED);
35401
35405
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
35406
+ const prevState = useRef35(void 0);
35407
+ const prevTranslationEnabled = useRef35(void 0);
35402
35408
  useEffect84(() => {
35403
35409
  if (!(notification == null ? void 0 : notification.data)) {
35404
35410
  return;
35405
35411
  }
35406
- console.debug(`[${notification.type}]`, notification);
35407
35412
  const transcriptionStates = notification.data;
35408
- if (transcriptionStates.length > 0) {
35409
- let id = "";
35410
- match16({ state: transcriptionStates[0].state, error: transcriptionStates[0].error }).when(
35411
- ({ error }) => !!error,
35412
- () => {
35413
- id = ToastManager.replaceToast(toastId, {
35414
- title: `Failed to enable Closed Caption`,
35415
- variant: "error",
35416
- icon: /* @__PURE__ */ React194.createElement(AlertTriangleIcon8, { style: { marginRight: "0.5rem" } })
35417
- });
35418
- }
35419
- ).with({ state: HMSTranscriptionState.STARTED }, () => {
35420
- id = ToastManager.replaceToast(toastId, {
35421
- title: `Closed Captioning enabled for everyone`,
35422
- variant: "standard",
35423
- duration: 2e3,
35424
- icon: /* @__PURE__ */ React194.createElement(ClosedCaptionIcon4, { style: { marginRight: "0.5rem" } })
35425
- });
35426
- }).with({ state: HMSTranscriptionState.STOPPED }, () => {
35427
- id = ToastManager.replaceToast(toastId, {
35428
- title: `Closed Captioning disabled for everyone`,
35429
- variant: "standard",
35430
- duration: 2e3,
35431
- icon: /* @__PURE__ */ React194.createElement(OpenCaptionIcon5, { style: { marginRight: "0.5rem" } })
35432
- });
35433
- }).otherwise(() => null);
35413
+ if (transcriptionStates.length === 0) {
35414
+ return;
35415
+ }
35416
+ const { state, error, translation } = transcriptionStates[0];
35417
+ const stateChanged = prevState.current !== state;
35418
+ const translationChanged = prevTranslationEnabled.current !== !!(translation == null ? void 0 : translation.enabled);
35419
+ prevState.current = state;
35420
+ prevTranslationEnabled.current = !!(translation == null ? void 0 : translation.enabled);
35421
+ let id = "";
35422
+ if (error) {
35423
+ id = ToastManager.replaceToast(toastId, {
35424
+ title: `Failed to enable Closed Caption`,
35425
+ variant: "error",
35426
+ icon: /* @__PURE__ */ React194.createElement(AlertTriangleIcon8, { style: { marginRight: "0.5rem" } })
35427
+ });
35428
+ } else if (stateChanged && state === HMSTranscriptionState.STARTED) {
35429
+ id = ToastManager.replaceToast(toastId, {
35430
+ title: (translation == null ? void 0 : translation.enabled) ? `Closed Captioning enabled with Translation` : `Closed Captioning enabled for everyone`,
35431
+ variant: "standard",
35432
+ duration: 2e3,
35433
+ icon: (translation == null ? void 0 : translation.enabled) ? /* @__PURE__ */ React194.createElement(GlobeIcon, { style: { marginRight: "0.5rem" } }) : /* @__PURE__ */ React194.createElement(ClosedCaptionIcon4, { style: { marginRight: "0.5rem" } })
35434
+ });
35435
+ } else if (stateChanged && state === HMSTranscriptionState.STOPPED) {
35436
+ id = ToastManager.replaceToast(toastId, {
35437
+ title: `Closed Captioning disabled for everyone`,
35438
+ variant: "standard",
35439
+ duration: 2e3,
35440
+ icon: /* @__PURE__ */ React194.createElement(OpenCaptionIcon5, { style: { marginRight: "0.5rem" } })
35441
+ });
35442
+ } else if (!stateChanged && translationChanged) {
35443
+ id = ToastManager.replaceToast(toastId, {
35444
+ title: (translation == null ? void 0 : translation.enabled) ? `Translation enabled for everyone` : `Translation disabled for everyone`,
35445
+ variant: "standard",
35446
+ duration: 2e3,
35447
+ icon: /* @__PURE__ */ React194.createElement(GlobeIcon, { style: { marginRight: "0.5rem" } })
35448
+ });
35449
+ }
35450
+ if (id) {
35434
35451
  setToastId(id);
35435
35452
  }
35436
35453
  }, [notification, setToastId]);
@@ -35754,7 +35771,7 @@ function RemoteStopScreenshare() {
35754
35771
 
35755
35772
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
35756
35773
  init_define_process_env();
35757
- import { useCallback as useCallback43, useEffect as useEffect87, useRef as useRef35 } from "react";
35774
+ import { useCallback as useCallback43, useEffect as useEffect87, useRef as useRef36 } from "react";
35758
35775
  import {
35759
35776
  selectIsConnectedToRoom as selectIsConnectedToRoom12,
35760
35777
  selectPermissions as selectPermissions20,
@@ -35769,7 +35786,7 @@ var useAutoStartStreaming = () => {
35769
35786
  const hmsActions = useHMSActions59();
35770
35787
  const isConnected = useHMSStore98(selectIsConnectedToRoom12);
35771
35788
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
35772
- const streamStartedRef = useRef35(false);
35789
+ const streamStartedRef = useRef36(false);
35773
35790
  const startHLS = useCallback43(() => __async(null, null, function* () {
35774
35791
  try {
35775
35792
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
@@ -35822,7 +35839,7 @@ var HMSPrebuilt = React204.forwardRef(
35822
35839
  onJoin
35823
35840
  }, ref) => {
35824
35841
  var _a8, _b7, _c, _d;
35825
- const reactiveStore = useRef36();
35842
+ const reactiveStore = useRef37();
35826
35843
  const [hydrated, setHydrated] = React204.useState(false);
35827
35844
  useEffect88(() => {
35828
35845
  setHydrated(true);
@@ -35955,7 +35972,7 @@ var AppStates = ({ activeState }) => {
35955
35972
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
35956
35973
  const { isLeaveScreenEnabled } = useRoomLayoutLeaveScreen();
35957
35974
  useAutoStartStreaming();
35958
- return match17({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React204.createElement(ConferenceScreen, null));
35975
+ return match16({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React204.createElement(ConferenceScreen, null));
35959
35976
  };
35960
35977
  var BackSwipe = () => {
35961
35978
  const isConnectedToRoom = useHMSStore99(selectIsConnectedToRoom13);
@@ -36011,13 +36028,13 @@ init_define_process_env();
36011
36028
 
36012
36029
  // src/Diagnostics/Diagnostics.tsx
36013
36030
  init_define_process_env();
36014
- import React212, { useCallback as useCallback45, useRef as useRef38, useState as useState91 } from "react";
36031
+ import React212, { useCallback as useCallback45, useRef as useRef39, useState as useState91 } from "react";
36015
36032
  import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions62 } from "@100mslive/react-sdk";
36016
36033
  import {
36017
36034
  CheckCircleIcon as CheckCircleIcon7,
36018
36035
  ConnectivityIcon as ConnectivityIcon2,
36019
36036
  CrossCircleIcon as CrossCircleIcon5,
36020
- GlobeIcon,
36037
+ GlobeIcon as GlobeIcon2,
36021
36038
  MicOnIcon as MicOnIcon8,
36022
36039
  VideoOnIcon as VideoOnIcon6
36023
36040
  } from "@100mslive/react-icons";
@@ -36117,11 +36134,11 @@ var TestFooter = ({
36117
36134
  // src/Diagnostics/DeviceSelector.jsx
36118
36135
  init_define_process_env();
36119
36136
  var import_prop_types = __toESM(require_prop_types());
36120
- import React207, { useRef as useRef37, useState as useState86 } from "react";
36137
+ import React207, { useRef as useRef38, useState as useState86 } from "react";
36121
36138
  var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
36122
36139
  var _a8, _b7;
36123
36140
  const [open, setOpen] = useState86(false);
36124
- const ref = useRef37(null);
36141
+ const ref = useRef38(null);
36125
36142
  return /* @__PURE__ */ React207.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React207.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React207.createElement(
36126
36143
  Flex,
36127
36144
  {
@@ -36703,7 +36720,7 @@ var VideoTest = () => {
36703
36720
  var DiagnosticsStepIcon = {
36704
36721
  [1 /* VIDEO */]: /* @__PURE__ */ React212.createElement(VideoOnIcon6, { width: "2rem", height: "2rem" }),
36705
36722
  [2 /* AUDIO */]: /* @__PURE__ */ React212.createElement(MicOnIcon8, { width: "2rem", height: "2rem" }),
36706
- [0 /* BROWSER */]: /* @__PURE__ */ React212.createElement(GlobeIcon, { width: "2rem", height: "2rem" }),
36723
+ [0 /* BROWSER */]: /* @__PURE__ */ React212.createElement(GlobeIcon2, { width: "2rem", height: "2rem" }),
36707
36724
  [3 /* CONNECTIVITY */]: /* @__PURE__ */ React212.createElement(ConnectivityIcon2, { width: "2rem", height: "2rem" })
36708
36725
  };
36709
36726
  var Container5 = ({ children }) => /* @__PURE__ */ React212.createElement(
@@ -36792,7 +36809,7 @@ var DiagnosticsProvider = () => {
36792
36809
  const actions = useHMSActions62();
36793
36810
  const [activeStep, setActiveStep] = useState91(0);
36794
36811
  const [steps, setSteps] = useState91(initialSteps);
36795
- const diagnosticsRef = useRef38(actions.initDiagnostics());
36812
+ const diagnosticsRef = useRef39(actions.initDiagnostics());
36796
36813
  const updateStep = useCallback45((step, value) => {
36797
36814
  setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));
36798
36815
  }, []);