@100mslive/roomkit-react 0.3.19 → 0.3.20-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
109
109
  var define_process_env_default;
110
110
  var init_define_process_env = __esm({
111
111
  "<define:process.env>"() {
112
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3239d931-854f-451e-b2a1-00f943ca805c", 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", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", 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.0.9", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.19", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3239d931-854f-451e-b2a1-00f943ca805c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.13.19", 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_devDependencies__storybook_addon_links: "^7.0.27", 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_files_1: "src", 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_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", 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", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240901.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.6/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.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:3006", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.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", 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.3.19", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10775631112", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b1bdfdb1965a14fd6b61e9bb8f9a9c48c556fd37", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "35d1ee9741adef39d80387e400edbf575b9a7703324c18f8da2bef3bc3d960a2", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", 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--1725893382741-0.6519746386750118:/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/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725893382550-0.5635610781867195:/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/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725893357442-0.015279308298105088:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725893357267-0.1435051772390752:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8c8def3e-ea24-4030-925c-559498fb7454", INVOCATION_ID: "62be4ee69caf4730b4b25bc5bc6354c7", 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_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "668", 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: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 113", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.19", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", 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_nx: "^14.5.1", 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", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "b1bdfdb1965a14fd6b61e9bb8f9a9c48c556fd37", 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_config_version_git_tag: "true", npm_config_version_git_sign: "", 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_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", 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_3239d931-854f-451e-b2a1-00f943ca805c", JAVA_HOME: "/usr/lib/jvm/temurin-11-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_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", 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", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3239d931-854f-451e-b2a1-00f943ca805c", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", 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", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3239d931-854f-451e-b2a1-00f943ca805c" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_208a3df6-7e0b-4573-8836-09b3eec6bee0", 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", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", 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.0.10-alpha.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_208a3df6-7e0b-4573-8836-09b3eec6bee0", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.13.20-alpha.0", 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_devDependencies__storybook_addon_links: "^7.0.27", 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_files_1: "src", 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_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "597", npm_package_scripts_postinstall: "husky install && lerna bootstrap", 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", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/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.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:16089", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.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", 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.3.20-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10826597823", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9292ef206d23ad3743254e046fce98240fa3a134", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "c22e362d4a124a26295b0874be722fa21bab0084774b9eb8f80d1f704097281b", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", 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--1726127935058-0.22146944684020453:/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/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127934862-0.9808093359390244:/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/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127909308-0.7527905752517778:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127909129-0.6871808028331288:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_227df9f5-3da9-43eb-8ad2-df1b6b3aaaf9", INVOCATION_ID: "1c6566e8da8c474d85e2b8c4afdcf924", 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_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "669", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", 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: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 222", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", 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_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", 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_nx: "^14.5.1", 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", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "9292ef206d23ad3743254e046fce98240fa3a134", 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_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", 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_208a3df6-7e0b-4573-8836-09b3eec6bee0", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", 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_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", 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", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_208a3df6-7e0b-4573-8836-09b3eec6bee0", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", 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", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_208a3df6-7e0b-4573-8836-09b3eec6bee0" };
113
113
  }
114
114
  });
115
115
 
@@ -11950,7 +11950,6 @@ var init_SettingsModal = __esm({
11950
11950
  {
11951
11951
  direction: "column",
11952
11952
  css: {
11953
- px: "$8",
11954
11953
  pb: "$8",
11955
11954
  overflowY: "auto"
11956
11955
  }
@@ -11968,7 +11967,7 @@ var init_SettingsModal = __esm({
11968
11967
  css: {
11969
11968
  all: "unset",
11970
11969
  fontFamily: "$sans",
11971
- py: "$10",
11970
+ p: "$10 $8",
11972
11971
  display: "flex",
11973
11972
  alignItems: "center",
11974
11973
  fontSize: "$sm",
@@ -21685,7 +21684,7 @@ var init_dist = __esm({
21685
21684
  n((t = t.apply(a2, e)).next());
21686
21685
  });
21687
21686
  yr = ro((Dc, ho) => {
21688
- ho.exports = { version: "0.12.19", 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", "src"], 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": "^1.0.1", 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.36", "@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"] };
21687
+ ho.exports = { version: "0.12.20-alpha.0", 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", "src"], 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": "^1.0.1", 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.36", "@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"] };
21689
21688
  });
21690
21689
  Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
21691
21690
  so = ((e) => (e.CHAT = "chat", e))(so || {});
@@ -28755,6 +28754,44 @@ var init_TileConnection = __esm({
28755
28754
  }
28756
28755
  });
28757
28756
 
28757
+ // src/Prebuilt/components/peerTileUtils.tsx
28758
+ var PEER_NAME_PLACEHOLDER, labelMap, getVideoTileLabel;
28759
+ var init_peerTileUtils = __esm({
28760
+ "src/Prebuilt/components/peerTileUtils.tsx"() {
28761
+ "use strict";
28762
+ init_define_process_env();
28763
+ PEER_NAME_PLACEHOLDER = "peerName";
28764
+ labelMap = /* @__PURE__ */ new Map([
28765
+ [[true, "screen"].toString(), "Your Screen"],
28766
+ [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28767
+ [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
28768
+ [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
28769
+ [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28770
+ [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
28771
+ ]);
28772
+ getVideoTileLabel = ({
28773
+ peerName,
28774
+ isLocal,
28775
+ videoTrack,
28776
+ audioTrack
28777
+ }) => {
28778
+ const isPeerPresent = peerName !== void 0;
28779
+ if (!isPeerPresent || !videoTrack) {
28780
+ const label2 = labelMap.get([isLocal, void 0].toString());
28781
+ return isPeerPresent && label2 ? label2.replace(PEER_NAME_PLACEHOLDER, peerName) : "";
28782
+ }
28783
+ const isLocallyMuted = (audioTrack == null ? void 0 : audioTrack.volume) === 0;
28784
+ let label = labelMap.get([isLocal, videoTrack.source].toString());
28785
+ if (label) {
28786
+ label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
28787
+ } else {
28788
+ label = `${peerName} ${videoTrack.source}`;
28789
+ }
28790
+ return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
28791
+ };
28792
+ }
28793
+ });
28794
+
28758
28795
  // src/Prebuilt/components/TileMenu/utils.ts
28759
28796
  var getDragClassName;
28760
28797
  var init_utils6 = __esm({
@@ -28990,7 +29027,7 @@ var init_TileMenuContent = __esm({
28990
29027
  },
28991
29028
  isAudioEnabled ? /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.MicOnIcon, { height: 20, width: 20 }) : /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.MicOffIcon, { height: 20, width: 20 }),
28992
29029
  /* @__PURE__ */ import_react158.default.createElement("span", null, isAudioEnabled ? "Mute Audio" : "Request to Unmute Audio")
28993
- ) : null, canChangeRole && roles.length > 1 ? /* @__PURE__ */ import_react158.default.createElement(
29030
+ ) : null, !isScreenshare && canChangeRole && roles.length > 1 ? /* @__PURE__ */ import_react158.default.createElement(
28994
29031
  StyledMenuTile.ItemButton,
28995
29032
  {
28996
29033
  className: dragClassName,
@@ -29003,7 +29040,7 @@ var init_TileMenuContent = __esm({
29003
29040
  },
29004
29041
  /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.PersonSettingsIcon, { height: 20, width: 20 }),
29005
29042
  /* @__PURE__ */ import_react158.default.createElement("span", null, "Switch Role")
29006
- ) : null, audioTrackID ? /* @__PURE__ */ import_react158.default.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ import_react158.default.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.SpeakerIcon, { height: 20, width: 20 }), /* @__PURE__ */ import_react158.default.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ import_react158.default.createElement(
29043
+ ) : null, !isIOS && audioTrackID ? /* @__PURE__ */ import_react158.default.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ import_react158.default.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.SpeakerIcon, { height: 20, width: 20 }), /* @__PURE__ */ import_react158.default.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ import_react158.default.createElement(
29007
29044
  Slider,
29008
29045
  {
29009
29046
  css: { my: "0.5rem" },
@@ -29058,6 +29095,7 @@ var init_TileMenu2 = __esm({
29058
29095
  init_Theme();
29059
29096
  init_TileMenu();
29060
29097
  init_ChangeNameModal();
29098
+ init_peerTileUtils();
29061
29099
  init_RoleChangeModal();
29062
29100
  init_TileMenuContent();
29063
29101
  init_useDropdownList();
@@ -29082,6 +29120,7 @@ var init_TileMenu2 = __esm({
29082
29120
  const isPrimaryVideoTrack = ((_a7 = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectVideoTrackByPeerID)(peerID))) == null ? void 0 : _a7.id) === videoTrackID;
29083
29121
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
29084
29122
  const track = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectTrackByID)(videoTrackID));
29123
+ const audioTrack = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectTrackByID)(audioTrackID));
29085
29124
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
29086
29125
  const isMobile = (0, import_react_use30.useMedia)(config.media.md);
29087
29126
  const peer = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectPeerByID)(peerID));
@@ -29089,7 +29128,7 @@ var init_TileMenu2 = __esm({
29089
29128
  const [showRoleChangeModal, setShowRoleChangeModal] = (0, import_react159.useState)(false);
29090
29129
  useDropdownList({ open, name: "TileMenu" });
29091
29130
  const dragClassName = getDragClassName();
29092
- if (!(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
29131
+ if (!peer || !(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
29093
29132
  return null;
29094
29133
  }
29095
29134
  const openNameChangeModal = () => setShowNameChangeModal(true);
@@ -29100,7 +29139,6 @@ var init_TileMenu2 = __esm({
29100
29139
  audioTrackID,
29101
29140
  videoTrackID,
29102
29141
  peerID,
29103
- isPrimaryVideoTrack,
29104
29142
  showSpotlight,
29105
29143
  showPinAction,
29106
29144
  canMinimise,
@@ -29130,7 +29168,7 @@ var init_TileMenu2 = __esm({
29130
29168
  borderBottom: "1px solid $border_default"
29131
29169
  }
29132
29170
  },
29133
- /* @__PURE__ */ import_react159.default.createElement(Box, null, /* @__PURE__ */ import_react159.default.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, peer == null ? void 0 : peer.name, isLocal ? ` (You)` : null), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ import_react159.default.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
29171
+ /* @__PURE__ */ import_react159.default.createElement(Box, null, /* @__PURE__ */ import_react159.default.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, getVideoTileLabel({ peerName: peer == null ? void 0 : peer.name, isLocal, audioTrack, videoTrack: track })), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ import_react159.default.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
29134
29172
  /* @__PURE__ */ import_react159.default.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ import_react159.default.createElement(import_react_icons77.CrossIcon, null))
29135
29173
  ), /* @__PURE__ */ import_react159.default.createElement(Box, { css: { px: "$8", pb: "$8", maxHeight: "80vh", overflowY: "auto" } }, /* @__PURE__ */ import_react159.default.createElement(TileMenuContent, __spreadProps(__spreadValues({}, props), { closeSheetOnClick: () => setOpen(false) }))))) : /* @__PURE__ */ import_react159.default.createElement(StyledMenuTile.Content, { side: "top", align: "end", css: { maxHeight: "$80", overflowY: "auto" } }, /* @__PURE__ */ import_react159.default.createElement(TileMenuContent, __spreadValues({}, props)))), showNameChangeModal && /* @__PURE__ */ import_react159.default.createElement(ChangeNameModal, { onOpenChange: setShowNameChangeModal }), showRoleChangeModal && /* @__PURE__ */ import_react159.default.createElement(RoleChangeModal, { peerId: peerID, onOpenChange: setShowRoleChangeModal }));
29136
29174
  };
@@ -29138,38 +29176,6 @@ var init_TileMenu2 = __esm({
29138
29176
  }
29139
29177
  });
29140
29178
 
29141
- // src/Prebuilt/components/peerTileUtils.jsx
29142
- var PEER_NAME_PLACEHOLDER, labelMap, getVideoTileLabel;
29143
- var init_peerTileUtils = __esm({
29144
- "src/Prebuilt/components/peerTileUtils.jsx"() {
29145
- "use strict";
29146
- init_define_process_env();
29147
- PEER_NAME_PLACEHOLDER = "peerName";
29148
- labelMap = /* @__PURE__ */ new Map([
29149
- [[true, "screen"].toString(), "Your Screen"],
29150
- [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
29151
- [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
29152
- [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
29153
- [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
29154
- [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
29155
- ]);
29156
- getVideoTileLabel = ({ peerName, isLocal, track }) => {
29157
- const isPeerPresent = peerName !== void 0;
29158
- if (!isPeerPresent || !track) {
29159
- return isPeerPresent ? labelMap.get([isLocal, void 0].toString()).replace(PEER_NAME_PLACEHOLDER, peerName) : "";
29160
- }
29161
- const isLocallyMuted = track.volume === 0;
29162
- let label = labelMap.get([isLocal, track.source].toString());
29163
- if (label) {
29164
- label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
29165
- } else {
29166
- label = `${peerName} ${track.source}`;
29167
- }
29168
- return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
29169
- };
29170
- }
29171
- });
29172
-
29173
29179
  // src/Prebuilt/components/VideoTile.tsx
29174
29180
  var import_react160, import_react_use31, import_react_sdk81, import_react_icons78, PeerMetadata, Tile, VideoTile, VideoTile_default;
29175
29181
  var init_VideoTile2 = __esm({
@@ -29234,8 +29240,9 @@ var init_VideoTile2 = __esm({
29234
29240
  });
29235
29241
  const label = getVideoTileLabel({
29236
29242
  peerName,
29237
- track,
29238
- isLocal
29243
+ isLocal,
29244
+ videoTrack: track,
29245
+ audioTrack
29239
29246
  });
29240
29247
  const onHoverHandler = (0, import_react160.useCallback)((event) => {
29241
29248
  setIsMouseHovered(event.type === "mouseenter");
@@ -30686,6 +30693,7 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
30686
30693
  const isMobile = (0, import_react_use39.useMedia)(config.media.md);
30687
30694
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
30688
30695
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
30696
+ const peerCount = (0, import_react_sdk89.useHMSStore)(import_react_sdk89.selectPeerCount);
30689
30697
  const pageList = usePagesWithTiles({
30690
30698
  peers,
30691
30699
  maxTileCount
@@ -30715,19 +30723,20 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
30715
30723
  ), pageList.length === 0 ? /* @__PURE__ */ import_react177.default.createElement(
30716
30724
  WaitingView,
30717
30725
  {
30718
- title: "You're the first to join",
30719
- subtitle: "Sit back and relax till others join",
30726
+ title: peerCount <= 1 ? "You're the only one here" : "Glad to have you here",
30727
+ subtitle: peerCount <= 1 ? "Sit back and relax till others join" : "",
30720
30728
  icon: /* @__PURE__ */ import_react177.default.createElement(import_react_icons84.PeopleAddIcon, { width: "56px", height: "56px", style: { color: "white" } })
30721
30729
  }
30722
30730
  ) : null, isInsetEnabled && /* @__PURE__ */ import_react177.default.createElement(InsetTile, null));
30723
30731
  }
30724
- var import_react177, import_react_use39, import_react_icons84;
30732
+ var import_react177, import_react_use39, import_react_sdk89, import_react_icons84;
30725
30733
  var init_EqualProminence = __esm({
30726
30734
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx"() {
30727
30735
  "use strict";
30728
30736
  init_define_process_env();
30729
30737
  import_react177 = __toESM(require("react"));
30730
30738
  import_react_use39 = require("react-use");
30739
+ import_react_sdk89 = require("@100mslive/react-sdk");
30731
30740
  import_react_icons84 = require("@100mslive/react-icons");
30732
30741
  init_Layout();
30733
30742
  init_Theme();
@@ -30830,14 +30839,14 @@ var init_ProminenceLayout = __esm({
30830
30839
  });
30831
30840
 
30832
30841
  // src/Prebuilt/components/SecondaryTiles.tsx
30833
- var import_react179, import_react_use40, import_react_sdk89, SecondaryTiles;
30842
+ var import_react179, import_react_use40, import_react_sdk90, SecondaryTiles;
30834
30843
  var init_SecondaryTiles = __esm({
30835
30844
  "src/Prebuilt/components/SecondaryTiles.tsx"() {
30836
30845
  "use strict";
30837
30846
  init_define_process_env();
30838
30847
  import_react179 = __toESM(require("react"));
30839
30848
  import_react_use40 = require("react-use");
30840
- import_react_sdk89 = require("@100mslive/react-sdk");
30849
+ import_react_sdk90 = require("@100mslive/react-sdk");
30841
30850
  init_ProminenceLayout();
30842
30851
  init_Theme();
30843
30852
  init_Pagination2();
@@ -30848,10 +30857,10 @@ var init_SecondaryTiles = __esm({
30848
30857
  const isMobile = (0, import_react_use40.useMedia)(config.media.md);
30849
30858
  const maxTileCount = isMobile ? 2 : 4;
30850
30859
  const [page, setPage] = (0, import_react179.useState)(0);
30851
- const pinnedTrackId = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectAppData)(APP_DATA.pinnedTrackId));
30852
- const spotlightPeerId = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectSessionStore)("spotlight" /* SPOTLIGHT */));
30853
- const activeScreensharePeerId = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectAppData)(APP_DATA.activeScreensharePeerId));
30854
- const pinnedPeer = (_a7 = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectTrackByID)(pinnedTrackId))) == null ? void 0 : _a7.peerId;
30860
+ const pinnedTrackId = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectAppData)(APP_DATA.pinnedTrackId));
30861
+ const spotlightPeerId = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectSessionStore)("spotlight" /* SPOTLIGHT */));
30862
+ const activeScreensharePeerId = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectAppData)(APP_DATA.activeScreensharePeerId));
30863
+ const pinnedPeer = (_a7 = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectTrackByID)(pinnedTrackId))) == null ? void 0 : _a7.peerId;
30855
30864
  const pageChangedAfterPinning = (0, import_react179.useRef)(false);
30856
30865
  const pagesWithTiles = usePagesWithTiles({
30857
30866
  peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
@@ -30960,7 +30969,7 @@ function RoleProminence({
30960
30969
  }) {
30961
30970
  var _a7;
30962
30971
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
30963
- const localPeer = (0, import_react_sdk90.useHMSStore)(import_react_sdk90.selectLocalPeer);
30972
+ const localPeer = (0, import_react_sdk91.useHMSStore)(import_react_sdk91.selectLocalPeer);
30964
30973
  const isMobile = (0, import_react_use41.useMedia)(config.media.md);
30965
30974
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
30966
30975
  maxTileCount = isMobile ? 4 : maxTileCount;
@@ -30991,14 +31000,14 @@ function RoleProminence({
30991
31000
  }
30992
31001
  ), /* @__PURE__ */ import_react181.default.createElement(SecondaryTiles, { peers: secondaryPeers, isInsetEnabled, edgeToEdge }), isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && /* @__PURE__ */ import_react181.default.createElement(InsetTile, null));
30993
31002
  }
30994
- var import_react181, import_react_use41, import_react_sdk90;
31003
+ var import_react181, import_react_use41, import_react_sdk91;
30995
31004
  var init_RoleProminence = __esm({
30996
31005
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx"() {
30997
31006
  "use strict";
30998
31007
  init_define_process_env();
30999
31008
  import_react181 = __toESM(require("react"));
31000
31009
  import_react_use41 = require("react-use");
31001
- import_react_sdk90 = require("@100mslive/react-sdk");
31010
+ import_react_sdk91 = require("@100mslive/react-sdk");
31002
31011
  init_Theme();
31003
31012
  init_InsetTile();
31004
31013
  init_Pagination2();
@@ -31129,19 +31138,19 @@ var init_LayoutModeSelector = __esm({
31129
31138
  });
31130
31139
 
31131
31140
  // src/Prebuilt/components/ScreenshareDisplay.tsx
31132
- var import_react183, import_react_sdk91, import_react_icons86, ScreenshareDisplay;
31141
+ var import_react183, import_react_sdk92, import_react_icons86, ScreenshareDisplay;
31133
31142
  var init_ScreenshareDisplay = __esm({
31134
31143
  "src/Prebuilt/components/ScreenshareDisplay.tsx"() {
31135
31144
  "use strict";
31136
31145
  init_define_process_env();
31137
31146
  import_react183 = __toESM(require("react"));
31138
- import_react_sdk91 = require("@100mslive/react-sdk");
31147
+ import_react_sdk92 = require("@100mslive/react-sdk");
31139
31148
  import_react_icons86 = require("@100mslive/react-icons");
31140
31149
  init_Button2();
31141
31150
  init_Layout();
31142
31151
  init_Text2();
31143
31152
  ScreenshareDisplay = () => {
31144
- const hmsActions = (0, import_react_sdk91.useHMSActions)();
31153
+ const hmsActions = (0, import_react_sdk92.useHMSActions)();
31145
31154
  return /* @__PURE__ */ import_react183.default.createElement(
31146
31155
  Flex,
31147
31156
  {
@@ -31175,7 +31184,7 @@ var init_ScreenshareDisplay = __esm({
31175
31184
  });
31176
31185
 
31177
31186
  // src/Prebuilt/components/ScreenshareTile.tsx
31178
- var import_react184, import_react_use42, import_screenfull2, import_react_sdk92, import_react_icons87, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
31187
+ var import_react184, import_react_use42, import_screenfull2, import_react_sdk93, import_react_icons87, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
31179
31188
  var init_ScreenshareTile = __esm({
31180
31189
  "src/Prebuilt/components/ScreenshareTile.tsx"() {
31181
31190
  "use strict";
@@ -31183,7 +31192,7 @@ var init_ScreenshareTile = __esm({
31183
31192
  import_react184 = __toESM(require("react"));
31184
31193
  import_react_use42 = require("react-use");
31185
31194
  import_screenfull2 = __toESM(require("screenfull"));
31186
- import_react_sdk92 = require("@100mslive/react-sdk");
31195
+ import_react_sdk93 = require("@100mslive/react-sdk");
31187
31196
  import_react_icons87 = require("@100mslive/react-icons");
31188
31197
  init_TileMenu2();
31189
31198
  init_Layout();
@@ -31205,10 +31214,10 @@ var init_ScreenshareTile = __esm({
31205
31214
  flexShrink: 0
31206
31215
  };
31207
31216
  Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
31208
- const isLocal = (0, import_react_sdk92.useHMSStore)(import_react_sdk92.selectLocalPeerID) === peerId;
31209
- const track = (0, import_react_sdk92.useHMSStore)((0, import_react_sdk92.selectScreenShareByPeerID)(peerId));
31217
+ const isLocal = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectLocalPeerID) === peerId;
31218
+ const track = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectScreenShareByPeerID)(peerId));
31210
31219
  const { theme: theme2 } = useTheme();
31211
- const peer = (0, import_react_sdk92.useHMSStore)((0, import_react_sdk92.selectPeerByID)(peerId));
31220
+ const peer = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectPeerByID)(peerId));
31212
31221
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
31213
31222
  const [isMouseHovered, setIsMouseHovered] = (0, import_react184.useState)(false);
31214
31223
  const isMobile = (0, import_react_use42.useMedia)(config.media.md);
@@ -31219,7 +31228,7 @@ var init_ScreenshareTile = __esm({
31219
31228
  onClose: () => setFullscreen(false)
31220
31229
  });
31221
31230
  const isFullScreenSupported = import_screenfull2.default.isEnabled;
31222
- const audioTrack = (0, import_react_sdk92.useHMSStore)((0, import_react_sdk92.selectScreenShareAudioByPeerID)(peer == null ? void 0 : peer.id));
31231
+ const audioTrack = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectScreenShareAudioByPeerID)(peer == null ? void 0 : peer.id));
31223
31232
  if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
31224
31233
  return /* @__PURE__ */ import_react184.default.createElement(ScreenshareDisplay, null);
31225
31234
  }
@@ -31229,7 +31238,8 @@ var init_ScreenshareTile = __esm({
31229
31238
  const label = getVideoTileLabel({
31230
31239
  peerName: peer == null ? void 0 : peer.name,
31231
31240
  isLocal: false,
31232
- track
31241
+ videoTrack: track,
31242
+ audioTrack
31233
31243
  });
31234
31244
  return /* @__PURE__ */ import_react184.default.createElement(
31235
31245
  StyledVideoTile.Root,
@@ -31298,14 +31308,14 @@ var init_ScreenshareTile = __esm({
31298
31308
  });
31299
31309
 
31300
31310
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
31301
- var import_react185, import_react_use43, import_react_sdk93, ScreenshareLayout;
31311
+ var import_react185, import_react_use43, import_react_sdk94, ScreenshareLayout;
31302
31312
  var init_ScreenshareLayout = __esm({
31303
31313
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx"() {
31304
31314
  "use strict";
31305
31315
  init_define_process_env();
31306
31316
  import_react185 = __toESM(require("react"));
31307
31317
  import_react_use43 = require("react-use");
31308
- import_react_sdk93 = require("@100mslive/react-sdk");
31318
+ import_react_sdk94 = require("@100mslive/react-sdk");
31309
31319
  init_Theme();
31310
31320
  init_InsetTile();
31311
31321
  init_Pagination2();
@@ -31317,7 +31327,7 @@ var init_ScreenshareLayout = __esm({
31317
31327
  init_constants();
31318
31328
  ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
31319
31329
  var _a7;
31320
- const peersSharing = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectPeersScreenSharing);
31330
+ const peersSharing = (0, import_react_sdk94.useHMSStore)(import_react_sdk94.selectPeersScreenSharing);
31321
31331
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
31322
31332
  const [page, setPage] = (0, import_react185.useState)(0);
31323
31333
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
@@ -31366,14 +31376,14 @@ var init_ScreenshareLayout = __esm({
31366
31376
  }
31367
31377
  });
31368
31378
 
31369
- // ../../../../../../../tmp/tmp-2799-gii2d1tovvOE/191d74313de0/index.css
31370
- var init_d74313de0 = __esm({
31371
- "../../../../../../../tmp/tmp-2799-gii2d1tovvOE/191d74313de0/index.css"() {
31379
+ // ../../../../../../../tmp/tmp-2794-pnjjOzMWvvN1/191e53e0fba0/index.css
31380
+ var init_e53e0fba0 = __esm({
31381
+ "../../../../../../../tmp/tmp-2794-pnjjOzMWvvN1/191e53e0fba0/index.css"() {
31372
31382
  }
31373
31383
  });
31374
31384
 
31375
31385
  // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
31376
- var import_react186, import_react_use44, import_hms_whiteboard, import_react_sdk94, WhiteboardEmbed, WhiteboardLayout;
31386
+ var import_react186, import_react_use44, import_hms_whiteboard, import_react_sdk95, WhiteboardEmbed, WhiteboardLayout;
31377
31387
  var init_WhiteboardLayout = __esm({
31378
31388
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx"() {
31379
31389
  "use strict";
@@ -31381,7 +31391,7 @@ var init_WhiteboardLayout = __esm({
31381
31391
  import_react186 = __toESM(require("react"));
31382
31392
  import_react_use44 = require("react-use");
31383
31393
  import_hms_whiteboard = require("@100mslive/hms-whiteboard");
31384
- import_react_sdk94 = require("@100mslive/react-sdk");
31394
+ import_react_sdk95 = require("@100mslive/react-sdk");
31385
31395
  init_Layout();
31386
31396
  init_Theme();
31387
31397
  init_InsetTile();
@@ -31390,10 +31400,10 @@ var init_WhiteboardLayout = __esm({
31390
31400
  init_ProminenceLayout();
31391
31401
  init_useUISettings();
31392
31402
  init_constants();
31393
- init_d74313de0();
31403
+ init_e53e0fba0();
31394
31404
  WhiteboardEmbed = () => {
31395
31405
  const isMobile = (0, import_react_use44.useMedia)(config.media.md);
31396
- const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
31406
+ const { token, endpoint, zoomToContent } = (0, import_react_sdk95.useWhiteboard)(isMobile);
31397
31407
  if (!token) {
31398
31408
  return null;
31399
31409
  }
@@ -31414,8 +31424,8 @@ var init_WhiteboardLayout = __esm({
31414
31424
  );
31415
31425
  };
31416
31426
  WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
31417
- const whiteboard = (0, import_react_sdk94.useHMSStore)(import_react_sdk94.selectWhiteboard);
31418
- const whiteboardOwner = (0, import_react_sdk94.useHMSStore)((0, import_react_sdk94.selectPeerByCondition)((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
31427
+ const whiteboard = (0, import_react_sdk95.useHMSStore)(import_react_sdk95.selectWhiteboard);
31428
+ const whiteboardOwner = (0, import_react_sdk95.useHMSStore)((0, import_react_sdk95.selectPeerByCondition)((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
31419
31429
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
31420
31430
  const isMobile = (0, import_react_use44.useMedia)(config.media.md);
31421
31431
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
@@ -31456,12 +31466,12 @@ var init_WhiteboardLayout = __esm({
31456
31466
  });
31457
31467
 
31458
31468
  // src/Prebuilt/common/PeersSorter.ts
31459
- var import_react_sdk95, PeersSorter, PeersSorter_default;
31469
+ var import_react_sdk96, PeersSorter, PeersSorter_default;
31460
31470
  var init_PeersSorter = __esm({
31461
31471
  "src/Prebuilt/common/PeersSorter.ts"() {
31462
31472
  "use strict";
31463
31473
  init_define_process_env();
31464
- import_react_sdk95 = require("@100mslive/react-sdk");
31474
+ import_react_sdk96 = require("@100mslive/react-sdk");
31465
31475
  PeersSorter = class {
31466
31476
  constructor(store) {
31467
31477
  this.storeUnsubscribe = void 0;
@@ -31482,7 +31492,7 @@ var init_PeersSorter = __esm({
31482
31492
  }
31483
31493
  });
31484
31494
  if (!this.storeUnsubscribe) {
31485
- this.storeUnsubscribe = this.store.subscribe(this.onDominantSpeakerChange, import_react_sdk95.selectDominantSpeaker);
31495
+ this.storeUnsubscribe = this.store.subscribe(this.onDominantSpeakerChange, import_react_sdk96.selectDominantSpeaker);
31486
31496
  }
31487
31497
  this.moveSpeakerToFront(this.speaker);
31488
31498
  };
@@ -31557,13 +31567,13 @@ var init_PeersSorter = __esm({
31557
31567
  });
31558
31568
 
31559
31569
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
31560
- var import_react187, import_react_sdk96, GridLayout;
31570
+ var import_react187, import_react_sdk97, GridLayout;
31561
31571
  var init_GridLayout = __esm({
31562
31572
  "src/Prebuilt/components/VideoLayouts/GridLayout.tsx"() {
31563
31573
  "use strict";
31564
31574
  init_define_process_env();
31565
31575
  import_react187 = __toESM(require("react"));
31566
- import_react_sdk96 = require("@100mslive/react-sdk");
31576
+ import_react_sdk97 = require("@100mslive/react-sdk");
31567
31577
  init_EqualProminence();
31568
31578
  init_RoleProminence();
31569
31579
  init_ScreenshareLayout();
@@ -31583,12 +31593,12 @@ var init_GridLayout = __esm({
31583
31593
  edge_to_edge = false,
31584
31594
  hide_metadata_on_tile = false
31585
31595
  }) => {
31586
- const peerSharing = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectPeerScreenSharing);
31587
- const whiteboard = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectWhiteboard);
31596
+ const peerSharing = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeerScreenSharing);
31597
+ const whiteboard = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectWhiteboard);
31588
31598
  const pinnedTrack = usePinnedTrack();
31589
- const peers = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectPeers);
31590
- const localPeerRole = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectLocalPeerRoleName);
31591
- const localPeerID = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectLocalPeerID);
31599
+ const peers = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeers);
31600
+ const localPeerRole = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectLocalPeerRoleName);
31601
+ const localPeerID = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectLocalPeerID);
31592
31602
  const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
31593
31603
  const isRoleProminence = prominentRoles.length && peers.some(
31594
31604
  (peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
@@ -31616,7 +31626,7 @@ var init_GridLayout = __esm({
31616
31626
  peers,
31617
31627
  pinnedTrack
31618
31628
  ]);
31619
- const vanillaStore = (0, import_react_sdk96.useHMSVanillaStore)();
31629
+ const vanillaStore = (0, import_react_sdk97.useHMSVanillaStore)();
31620
31630
  const [sortedPeers, setSortedPeers] = (0, import_react187.useState)(updatedPeers);
31621
31631
  const peersSorter = (0, import_react187.useMemo)(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
31622
31632
  const [pageSize, setPageSize] = (0, import_react187.useState)(0);
@@ -31687,13 +31697,13 @@ var init_GridLayout = __esm({
31687
31697
  });
31688
31698
 
31689
31699
  // src/Prebuilt/layouts/EmbedView.jsx
31690
- var import_react188, import_react_sdk97, EmbedView, EmbedScreenShareView, EmbedComponent;
31700
+ var import_react188, import_react_sdk98, EmbedView, EmbedScreenShareView, EmbedComponent;
31691
31701
  var init_EmbedView = __esm({
31692
31702
  "src/Prebuilt/layouts/EmbedView.jsx"() {
31693
31703
  "use strict";
31694
31704
  init_define_process_env();
31695
31705
  import_react188 = __toESM(require("react"));
31696
- import_react_sdk97 = require("@100mslive/react-sdk");
31706
+ import_react_sdk98 = require("@100mslive/react-sdk");
31697
31707
  init_SecondaryTiles();
31698
31708
  init_ToastManager();
31699
31709
  init_ProminenceLayout();
@@ -31704,8 +31714,8 @@ var init_EmbedView = __esm({
31704
31714
  return /* @__PURE__ */ import_react188.default.createElement(EmbedScreenShareView, null, /* @__PURE__ */ import_react188.default.createElement(EmbedComponent, null));
31705
31715
  };
31706
31716
  EmbedScreenShareView = ({ children }) => {
31707
- const peers = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeers);
31708
- const peerPresenting = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeerScreenSharing);
31717
+ const peers = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectPeers);
31718
+ const peerPresenting = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectPeerScreenSharing);
31709
31719
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
31710
31720
  const smallTilePeers = (0, import_react188.useMemo)(() => {
31711
31721
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
@@ -31720,9 +31730,9 @@ var init_EmbedView = __esm({
31720
31730
  return /* @__PURE__ */ import_react188.default.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ import_react188.default.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ import_react188.default.createElement(SecondaryTiles, { peers: smallTilePeers }));
31721
31731
  };
31722
31732
  EmbedComponent = () => {
31723
- const embedConfig = (0, import_react_sdk97.useHMSStore)((0, import_react_sdk97.selectAppData)(APP_DATA.embedConfig));
31733
+ const embedConfig = (0, import_react_sdk98.useHMSStore)((0, import_react_sdk98.selectAppData)(APP_DATA.embedConfig));
31724
31734
  const resetConfig = useResetEmbedConfig();
31725
- const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk97.useEmbedShare)(resetConfig);
31735
+ const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk98.useEmbedShare)(resetConfig);
31726
31736
  (0, import_react188.useEffect)(() => {
31727
31737
  (() => __async(void 0, null, function* () {
31728
31738
  if (embedConfig && !isEmbedShareInProgress) {
@@ -31772,13 +31782,13 @@ var init_EmbedView = __esm({
31772
31782
  });
31773
31783
 
31774
31784
  // src/Prebuilt/layouts/PDFView.jsx
31775
- var import_react189, import_react_sdk98, PDFView;
31785
+ var import_react189, import_react_sdk99, PDFView;
31776
31786
  var init_PDFView = __esm({
31777
31787
  "src/Prebuilt/layouts/PDFView.jsx"() {
31778
31788
  "use strict";
31779
31789
  init_define_process_env();
31780
31790
  import_react189 = __toESM(require("react"));
31781
- import_react_sdk98 = require("@100mslive/react-sdk");
31791
+ import_react_sdk99 = require("@100mslive/react-sdk");
31782
31792
  init_ToastManager();
31783
31793
  init_Layout();
31784
31794
  init_EmbedView();
@@ -31786,7 +31796,7 @@ var init_PDFView = __esm({
31786
31796
  PDFView = () => {
31787
31797
  const pdfConfig = usePDFConfig();
31788
31798
  const resetConfig = useResetPDFConfig();
31789
- const { iframeRef, startPDFShare, isPDFShareInProgress } = (0, import_react_sdk98.usePDFShare)(resetConfig);
31799
+ const { iframeRef, startPDFShare, isPDFShareInProgress } = (0, import_react_sdk99.usePDFShare)(resetConfig);
31790
31800
  (0, import_react189.useEffect)(() => {
31791
31801
  return () => {
31792
31802
  resetConfig();
@@ -31841,7 +31851,7 @@ var init_PDFView = __esm({
31841
31851
  });
31842
31852
 
31843
31853
  // src/Prebuilt/plugins/CaptionsViewer.tsx
31844
- var import_react190, import_react_draggable2, import_react_use45, import_react_sdk99, SimpleQueue, Queue, CaptionMaintainerQueue, TranscriptView, CaptionsViewer;
31854
+ var import_react190, import_react_draggable2, import_react_use45, import_react_sdk100, SimpleQueue, Queue, CaptionMaintainerQueue, TranscriptView, CaptionsViewer;
31845
31855
  var init_CaptionsViewer = __esm({
31846
31856
  "src/Prebuilt/plugins/CaptionsViewer.tsx"() {
31847
31857
  "use strict";
@@ -31849,7 +31859,7 @@ var init_CaptionsViewer = __esm({
31849
31859
  import_react190 = __toESM(require("react"));
31850
31860
  import_react_draggable2 = __toESM(require("react-draggable"));
31851
31861
  import_react_use45 = require("react-use");
31852
- import_react_sdk99 = require("@100mslive/react-sdk");
31862
+ import_react_sdk100 = require("@100mslive/react-sdk");
31853
31863
  init_Layout();
31854
31864
  init_Text2();
31855
31865
  init_Theme();
@@ -31990,7 +32000,7 @@ var init_CaptionsViewer = __esm({
31990
32000
  }
31991
32001
  };
31992
32002
  TranscriptView = ({ peer_id, data: data3 }) => {
31993
- const peerName = (0, import_react_sdk99.useHMSStore)((0, import_react_sdk99.selectPeerNameByID)(peer_id)) || "Participant";
32003
+ const peerName = (0, import_react_sdk100.useHMSStore)((0, import_react_sdk100.selectPeerNameByID)(peer_id)) || "Participant";
31994
32004
  data3 = data3.trim();
31995
32005
  if (!data3)
31996
32006
  return null;
@@ -32018,7 +32028,7 @@ var init_CaptionsViewer = __esm({
32018
32028
  const [captionQueue] = (0, import_react190.useState)(new CaptionMaintainerQueue());
32019
32029
  const [currentData, setCurrentData] = (0, import_react190.useState)([]);
32020
32030
  const isCaptionEnabled = useIsCaptionEnabled();
32021
- const isTranscriptionEnabled = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectIsTranscriptionEnabled);
32031
+ const isTranscriptionEnabled = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectIsTranscriptionEnabled);
32022
32032
  const nodeRef = (0, import_react190.useRef)(null);
32023
32033
  (0, import_react190.useEffect)(() => {
32024
32034
  const timeInterval = setInterval(() => {
@@ -32031,7 +32041,7 @@ var init_CaptionsViewer = __esm({
32031
32041
  }, 1e3);
32032
32042
  return () => clearInterval(timeInterval);
32033
32043
  }, [captionQueue]);
32034
- (0, import_react_sdk99.useTranscript)({
32044
+ (0, import_react_sdk100.useTranscript)({
32035
32045
  onTranscript: (data3) => {
32036
32046
  captionQueue && captionQueue.push(data3);
32037
32047
  }
@@ -32088,16 +32098,16 @@ var init_CaptionsViewer = __esm({
32088
32098
  });
32089
32099
 
32090
32100
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
32091
- var import_react191, import_react_sdk100, useCloseScreenshareWhiteboard;
32101
+ var import_react191, import_react_sdk101, useCloseScreenshareWhiteboard;
32092
32102
  var init_useCloseScreenshareWhiteboard = __esm({
32093
32103
  "src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx"() {
32094
32104
  "use strict";
32095
32105
  init_define_process_env();
32096
32106
  import_react191 = require("react");
32097
- import_react_sdk100 = require("@100mslive/react-sdk");
32107
+ import_react_sdk101 = require("@100mslive/react-sdk");
32098
32108
  useCloseScreenshareWhiteboard = () => {
32099
- const peerSharing = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectPeerScreenSharing);
32100
- const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = (0, import_react_sdk100.useWhiteboard)();
32109
+ const peerSharing = (0, import_react_sdk101.useHMSStore)(import_react_sdk101.selectPeerScreenSharing);
32110
+ const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = (0, import_react_sdk101.useWhiteboard)();
32101
32111
  (0, import_react191.useEffect)(() => {
32102
32112
  if (isWhiteboardOwner && peerSharing) {
32103
32113
  toggleWhiteboard == null ? void 0 : toggleWhiteboard();
@@ -33205,7 +33215,7 @@ var HLSView_exports = {};
33205
33215
  __export(HLSView_exports, {
33206
33216
  default: () => HLSView_default
33207
33217
  });
33208
- var import_react206, import_react_use49, import_hls_player3, import_screenfull3, import_ts_pattern13, import_react_sdk101, import_react_icons97, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
33218
+ var import_react206, import_react_use49, import_hls_player3, import_screenfull3, import_ts_pattern13, import_react_sdk102, import_react_icons97, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
33209
33219
  var init_HLSView = __esm({
33210
33220
  "src/Prebuilt/layouts/HLSView.jsx"() {
33211
33221
  "use strict";
@@ -33215,7 +33225,7 @@ var init_HLSView = __esm({
33215
33225
  import_hls_player3 = require("@100mslive/hls-player");
33216
33226
  import_screenfull3 = __toESM(require("screenfull"));
33217
33227
  import_ts_pattern13 = require("ts-pattern");
33218
- import_react_sdk101 = require("@100mslive/react-sdk");
33228
+ import_react_sdk102 = require("@100mslive/react-sdk");
33219
33229
  import_react_icons97 = require("@100mslive/react-icons");
33220
33230
  init_ChatToggle();
33221
33231
  init_HlsStatsOverlay();
@@ -33243,11 +33253,11 @@ var init_HLSView = __esm({
33243
33253
  toastMap = {};
33244
33254
  ToggleChat = ({ isFullScreen = false }) => {
33245
33255
  const { elements } = useRoomLayoutConferencingScreen();
33246
- const sidepane = (0, import_react_sdk101.useHMSStore)((0, import_react_sdk101.selectAppData)(APP_DATA.sidePane));
33256
+ const sidepane = (0, import_react_sdk102.useHMSStore)((0, import_react_sdk102.selectAppData)(APP_DATA.sidePane));
33247
33257
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
33248
33258
  const showChat = !!(elements == null ? void 0 : elements.chat);
33249
33259
  const isMobile = (0, import_react_use49.useMedia)(config.media.md);
33250
- const hmsActions = (0, import_react_sdk101.useHMSActions)();
33260
+ const hmsActions = (0, import_react_sdk102.useHMSActions)();
33251
33261
  (0, import_react206.useEffect)(() => {
33252
33262
  (0, import_ts_pattern13.match)({ sidepane, isMobile, showChat, isFullScreen }).with({ isFullScreen: true }, () => {
33253
33263
  hmsActions.setAppData(APP_DATA.sidePane, "");
@@ -33265,10 +33275,10 @@ var init_HLSView = __esm({
33265
33275
  const videoRef = (0, import_react206.useRef)(null);
33266
33276
  const hlsViewRef = (0, import_react206.useRef)();
33267
33277
  const { elements } = useRoomLayoutConferencingScreen();
33268
- const hlsState = (0, import_react_sdk101.useHMSStore)(import_react_sdk101.selectHLSState);
33269
- const enablHlsStats = (0, import_react_sdk101.useHMSStore)((0, import_react_sdk101.selectAppData)(APP_DATA.hlsStats));
33270
- const notification = (0, import_react_sdk101.useHMSNotifications)(import_react_sdk101.HMSNotificationTypes.POLL_STOPPED);
33271
- const hmsActions = (0, import_react_sdk101.useHMSActions)();
33278
+ const hlsState = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectHLSState);
33279
+ const enablHlsStats = (0, import_react_sdk102.useHMSStore)((0, import_react_sdk102.selectAppData)(APP_DATA.hlsStats));
33280
+ const notification = (0, import_react_sdk102.useHMSNotifications)(import_react_sdk102.HMSNotificationTypes.POLL_STOPPED);
33281
+ const hmsActions = (0, import_react_sdk102.useHMSActions)();
33272
33282
  const { themeType } = useTheme();
33273
33283
  const [streamEnded, setStreamEnded] = (0, import_react206.useState)(false);
33274
33284
  let [hlsStatsState, setHlsStatsState] = (0, import_react206.useState)(null);
@@ -33287,7 +33297,7 @@ var init_HLSView = __esm({
33287
33297
  const [isPaused, setIsPaused] = (0, import_react206.useState)(false);
33288
33298
  const [show, toggle] = (0, import_react_use49.useToggle)(false);
33289
33299
  const lastHlsUrl = (0, import_react_use49.usePrevious)(hlsUrl);
33290
- const vanillaStore = (0, import_react_sdk101.useHMSVanillaStore)();
33300
+ const vanillaStore = (0, import_react_sdk102.useHMSVanillaStore)();
33291
33301
  const [controlsVisible, setControlsVisible] = (0, import_react206.useState)(true);
33292
33302
  const [isUserSelectedAuto, setIsUserSelectedAuto] = (0, import_react206.useState)(true);
33293
33303
  const [qualityDropDownOpen, setQualityDropDownOpen] = (0, import_react206.useState)(false);
@@ -33373,8 +33383,8 @@ var init_HLSView = __esm({
33373
33383
  const parsedPayload = parsePayload(payload);
33374
33384
  if (parsedPayload.startsWith("poll:")) {
33375
33385
  const pollId = parsedPayload.substr(parsedPayload.indexOf(":") + 1);
33376
- const poll = vanillaStore.getState((0, import_react_sdk101.selectPollByID)(pollId));
33377
- const pollStartedBy = vanillaStore.getState((0, import_react_sdk101.selectPeerNameByID)(poll.startedBy)) || "Participant";
33386
+ const poll = vanillaStore.getState((0, import_react_sdk102.selectPollByID)(pollId));
33387
+ const pollStartedBy = vanillaStore.getState((0, import_react_sdk102.selectPeerNameByID)(poll.startedBy)) || "Participant";
33378
33388
  if (!toastMap[pollId]) {
33379
33389
  const toastID = ToastManager.addToast({
33380
33390
  title: `${pollStartedBy} started a ${poll.type}: ${poll.title}`,
@@ -33530,7 +33540,7 @@ var init_HLSView = __esm({
33530
33540
  const onDoubleClickHandler = (0, import_react206.useCallback)(
33531
33541
  (event) => {
33532
33542
  var _a8;
33533
- if (!(isMobile || isLandscape) || ((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) !== import_react_sdk101.HLSPlaylistType.DVR) {
33543
+ if (!(isMobile || isLandscape) || ((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) !== import_react_sdk102.HLSPlaylistType.DVR) {
33534
33544
  return;
33535
33545
  }
33536
33546
  const sidePercentage = event.screenX * 100 / event.target.clientWidth;
@@ -33556,7 +33566,7 @@ var init_HLSView = __esm({
33556
33566
  );
33557
33567
  const onClickHandler = (0, import_react206.useCallback)(() => __async(void 0, null, function* () {
33558
33568
  var _a8;
33559
- (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type }).with({ playlist_type: import_react_sdk101.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
33569
+ (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type }).with({ playlist_type: import_react_sdk102.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
33560
33570
  if (isPaused) {
33561
33571
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
33562
33572
  } else {
@@ -33659,7 +33669,7 @@ var init_HLSView = __esm({
33659
33669
  },
33660
33670
  onKeyDown: (event) => __async(void 0, null, function* () {
33661
33671
  var _a8;
33662
- if (((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR) {
33672
+ if (((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR) {
33663
33673
  yield keyHandler(event);
33664
33674
  }
33665
33675
  }),
@@ -33703,7 +33713,7 @@ var init_HLSView = __esm({
33703
33713
  size: "100%"
33704
33714
  }
33705
33715
  },
33706
- !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33716
+ !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33707
33717
  HMSVideoPlayer.PlayPauseSeekControls.Overlay,
33708
33718
  {
33709
33719
  isPaused,
@@ -33711,7 +33721,7 @@ var init_HLSView = __esm({
33711
33721
  hoverControlsVisible
33712
33722
  }
33713
33723
  )
33714
- ), isMobile || isLandscape ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, !showLoader && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33724
+ ), isMobile || isLandscape ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, !showLoader && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33715
33725
  HMSVideoPlayer.PlayPauseSeekControls.Overlay,
33716
33726
  {
33717
33727
  isPaused,
@@ -33778,7 +33788,7 @@ var init_HLSView = __esm({
33778
33788
  align: "start",
33779
33789
  css: {
33780
33790
  position: "absolute",
33781
- bottom: isFullScreen && ((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? "$8" : "0",
33791
+ bottom: isFullScreen && ((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? "$8" : "0",
33782
33792
  left: "0",
33783
33793
  zIndex: 1,
33784
33794
  background: isMobile || isLandscape ? "" : `linear-gradient(180deg, ${theme.colors.background_dim.value}00 29.46%, ${theme.colors.background_dim.value}A3 100%);`,
@@ -33788,7 +33798,7 @@ var init_HLSView = __esm({
33788
33798
  transition: "visibility 0s 0.5s, opacity 0.5s linear"
33789
33799
  }
33790
33800
  },
33791
- ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
33801
+ ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
33792
33802
  /* @__PURE__ */ import_react206.default.createElement(
33793
33803
  HMSVideoPlayer.Controls.Root,
33794
33804
  {
@@ -33797,7 +33807,7 @@ var init_HLSView = __esm({
33797
33807
  },
33798
33808
  onClick: (e) => e.stopPropagation()
33799
33809
  },
33800
- /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.PlayPauseSeekControls.Button, { isPaused, onSeekTo }), !isVideoLive ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null) : null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Volume, null)), /* @__PURE__ */ import_react206.default.createElement(
33810
+ /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.PlayPauseSeekControls.Button, { isPaused, onSeekTo }), !isVideoLive ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null) : null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Volume, null)), /* @__PURE__ */ import_react206.default.createElement(
33801
33811
  IconButton,
33802
33812
  {
33803
33813
  css: { px: "$2" },
@@ -33830,7 +33840,7 @@ var init_HLSView = __esm({
33830
33840
  },
33831
33841
  isVideoLive ? "LIVE" : "GO LIVE"
33832
33842
  )))
33833
- ), (isMobile || isLandscape) && !isVideoLive && ((_g = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _g.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null),
33843
+ ), (isMobile || isLandscape) && !isVideoLive && ((_g = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _g.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null),
33834
33844
  /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Controls.Right, null, hasCaptions && !(isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(HLSCaptionSelector, { isEnabled: isCaptionEnabled }), availableLayers.length > 0 && !(isMobile || isLandscape) ? /* @__PURE__ */ import_react206.default.createElement(
33835
33845
  HLSQualitySelector,
33836
33846
  {
@@ -33855,7 +33865,7 @@ var init_HLSView = __esm({
33855
33865
  });
33856
33866
 
33857
33867
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
33858
- var import_react207, import_react_use50, import_ts_pattern14, import_react_sdk102, import_react_icons98, HLSView2, VideoStreamingSection;
33868
+ var import_react207, import_react_use50, import_ts_pattern14, import_react_sdk103, import_react_icons98, HLSView2, VideoStreamingSection;
33859
33869
  var init_VideoStreamingSection = __esm({
33860
33870
  "src/Prebuilt/layouts/VideoStreamingSection.tsx"() {
33861
33871
  "use strict";
@@ -33863,7 +33873,7 @@ var init_VideoStreamingSection = __esm({
33863
33873
  import_react207 = __toESM(require("react"));
33864
33874
  import_react_use50 = require("react-use");
33865
33875
  import_ts_pattern14 = require("ts-pattern");
33866
- import_react_sdk102 = require("@100mslive/react-sdk");
33876
+ import_react_sdk103 = require("@100mslive/react-sdk");
33867
33877
  import_react_icons98 = require("@100mslive/react-icons");
33868
33878
  init_FullPageProgress();
33869
33879
  init_GridLayout();
@@ -33884,10 +33894,10 @@ var init_VideoStreamingSection = __esm({
33884
33894
  hideControls = false
33885
33895
  }) => {
33886
33896
  var _a7;
33887
- const localPeerRoleName = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectLocalPeerRoleName);
33888
- const isConnected = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectIsConnectedToRoom);
33889
- const isSharingScreen = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectIsLocalScreenShared);
33890
- const hmsActions = (0, import_react_sdk102.useHMSActions)();
33897
+ const localPeerRoleName = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectLocalPeerRoleName);
33898
+ const isConnected = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsConnectedToRoom);
33899
+ const isSharingScreen = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsLocalScreenShared);
33900
+ const hmsActions = (0, import_react_sdk103.useHMSActions)();
33891
33901
  const urlToIframe = useUrlToEmbed();
33892
33902
  const pdfAnnotatorActive = usePDFConfig();
33893
33903
  const isMobileHLSStream = useMobileHLSStream();
@@ -34029,13 +34039,13 @@ var init_RoomDetailsHeader = __esm({
34029
34039
  });
34030
34040
 
34031
34041
  // src/Prebuilt/components/Header/common.jsx
34032
- var import_react209, import_react_sdk103, import_react_icons100, CamaraFlipActions, AudioActions, AudioSelectionSheet, SelectWithLabel;
34042
+ var import_react209, import_react_sdk104, import_react_icons100, CamaraFlipActions, AudioActions, AudioSelectionSheet, SelectWithLabel;
34033
34043
  var init_common2 = __esm({
34034
34044
  "src/Prebuilt/components/Header/common.jsx"() {
34035
34045
  "use strict";
34036
34046
  init_define_process_env();
34037
34047
  import_react209 = __toESM(require("react"));
34038
- import_react_sdk103 = require("@100mslive/react-sdk");
34048
+ import_react_sdk104 = require("@100mslive/react-sdk");
34039
34049
  import_react_icons100 = require("@100mslive/react-icons");
34040
34050
  init_Divider2();
34041
34051
  init_Label2();
@@ -34045,12 +34055,12 @@ var init_common2 = __esm({
34045
34055
  init_IconButton3();
34046
34056
  init_ToastManager();
34047
34057
  CamaraFlipActions = () => {
34048
- const actions = (0, import_react_sdk103.useHMSActions)();
34049
- const { allDevices } = (0, import_react_sdk103.useDevices)();
34058
+ const actions = (0, import_react_sdk104.useHMSActions)();
34059
+ const { allDevices } = (0, import_react_sdk104.useDevices)();
34050
34060
  const { videoInput } = allDevices;
34051
- const isVideoOn = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsLocalVideoEnabled);
34052
- const videoTrackId = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectLocalVideoTrackID);
34053
- const localVideoTrack = (0, import_react_sdk103.useHMSStore)((0, import_react_sdk103.selectVideoTrackByID)(videoTrackId));
34061
+ const isVideoOn = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectIsLocalVideoEnabled);
34062
+ const videoTrackId = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectLocalVideoTrackID);
34063
+ const localVideoTrack = (0, import_react_sdk104.useHMSStore)((0, import_react_sdk104.selectVideoTrackByID)(videoTrackId));
34054
34064
  if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
34055
34065
  return null;
34056
34066
  }
@@ -34073,7 +34083,7 @@ var init_common2 = __esm({
34073
34083
  ));
34074
34084
  };
34075
34085
  AudioActions = () => {
34076
- const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk103.useDevices)();
34086
+ const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk104.useDevices)();
34077
34087
  const shouldShowAudioOutput = "setSinkId" in HTMLMediaElement.prototype;
34078
34088
  const { audioInput, audioOutput } = allDevices;
34079
34089
  let availableAudioDevices = audioInput;
@@ -34082,7 +34092,7 @@ var init_common2 = __esm({
34082
34092
  availableAudioDevices = audioOutput;
34083
34093
  selectedAudio = selectedDeviceIDs.audioOutput;
34084
34094
  }
34085
- const hmsActions = (0, import_react_sdk103.useHMSActions)();
34095
+ const hmsActions = (0, import_react_sdk104.useHMSActions)();
34086
34096
  const audioFiltered = availableAudioDevices == null ? void 0 : availableAudioDevices.find((item) => !!item.label);
34087
34097
  const currentSelection = availableAudioDevices == null ? void 0 : availableAudioDevices.find((item) => item.deviceId === selectedAudio);
34088
34098
  if (!audioFiltered) {
@@ -34105,7 +34115,7 @@ var init_common2 = __esm({
34105
34115
  try {
34106
34116
  yield updateDevice({
34107
34117
  deviceId,
34108
- deviceType: shouldShowAudioOutput ? import_react_sdk103.DeviceType.audioOutput : import_react_sdk103.DeviceType.audioInput
34118
+ deviceType: shouldShowAudioOutput ? import_react_sdk104.DeviceType.audioOutput : import_react_sdk104.DeviceType.audioInput
34109
34119
  });
34110
34120
  } catch (e) {
34111
34121
  ToastManager.addToast({
@@ -34189,23 +34199,23 @@ var init_common2 = __esm({
34189
34199
  });
34190
34200
 
34191
34201
  // src/Prebuilt/components/Header/Header.tsx
34192
- var import_react210, import_react_use52, import_react_sdk104, Header2;
34202
+ var import_react210, import_react_use52, import_react_sdk105, Header2;
34193
34203
  var init_Header = __esm({
34194
34204
  "src/Prebuilt/components/Header/Header.tsx"() {
34195
34205
  "use strict";
34196
34206
  init_define_process_env();
34197
34207
  import_react210 = __toESM(require("react"));
34198
34208
  import_react_use52 = require("react-use");
34199
- import_react_sdk104 = require("@100mslive/react-sdk");
34209
+ import_react_sdk105 = require("@100mslive/react-sdk");
34200
34210
  init_src();
34201
34211
  init_HeaderComponents();
34202
34212
  init_RoomDetailsHeader();
34203
34213
  init_StreamActions();
34204
34214
  init_common2();
34205
34215
  Header2 = () => {
34206
- const roomState = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectRoomState);
34216
+ const roomState = (0, import_react_sdk105.useHMSStore)(import_react_sdk105.selectRoomState);
34207
34217
  const isMobile = (0, import_react_use52.useMedia)(config.media.md);
34208
- if (roomState !== import_react_sdk104.HMSRoomState.Connected) {
34218
+ if (roomState !== import_react_sdk105.HMSRoomState.Connected) {
34209
34219
  return /* @__PURE__ */ import_react210.default.createElement(import_react210.default.Fragment, null);
34210
34220
  }
34211
34221
  return /* @__PURE__ */ import_react210.default.createElement(Flex, { justify: "between", align: "center", css: { position: "relative", height: "100%" } }, /* @__PURE__ */ import_react210.default.createElement(Flex, { align: "center", gap: "2", css: { position: "absolute", left: "$10" } }, /* @__PURE__ */ import_react210.default.createElement(Logo, null), /* @__PURE__ */ import_react210.default.createElement(RoomDetailsHeader, null), /* @__PURE__ */ import_react210.default.createElement(SpeakerTag, null), isMobile && /* @__PURE__ */ import_react210.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react210.default.createElement(LiveStatus, null), /* @__PURE__ */ import_react210.default.createElement(RecordingStatus, null), /* @__PURE__ */ import_react210.default.createElement(RecordingPauseStatus, null))), /* @__PURE__ */ import_react210.default.createElement(
@@ -34235,25 +34245,25 @@ var init_Header2 = __esm({
34235
34245
  });
34236
34246
 
34237
34247
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
34238
- var import_react211, import_react_sdk105, PreviousRoleInMetadata;
34248
+ var import_react211, import_react_sdk106, PreviousRoleInMetadata;
34239
34249
  var init_PreviousRoleInMetadata = __esm({
34240
34250
  "src/Prebuilt/components/PreviousRoleInMetadata.tsx"() {
34241
34251
  "use strict";
34242
34252
  init_define_process_env();
34243
34253
  import_react211 = require("react");
34244
- import_react_sdk105 = require("@100mslive/react-sdk");
34254
+ import_react_sdk106 = require("@100mslive/react-sdk");
34245
34255
  init_useMetadata();
34246
34256
  PreviousRoleInMetadata = () => {
34247
- const vanillaStore = (0, import_react_sdk105.useHMSVanillaStore)();
34257
+ const vanillaStore = (0, import_react_sdk106.useHMSVanillaStore)();
34248
34258
  const { updateMetaData } = useMyMetadata();
34249
34259
  (0, import_react211.useEffect)(() => {
34250
- let previousRole = vanillaStore.getState(import_react_sdk105.selectLocalPeerRoleName);
34260
+ let previousRole = vanillaStore.getState(import_react_sdk106.selectLocalPeerRoleName);
34251
34261
  const unsubscribe = vanillaStore.subscribe((currentRole) => {
34252
34262
  if (previousRole !== currentRole && currentRole) {
34253
34263
  updateMetaData({ prevRole: previousRole });
34254
34264
  previousRole = currentRole;
34255
34265
  }
34256
- }, import_react_sdk105.selectLocalPeerRoleName);
34266
+ }, import_react_sdk106.selectLocalPeerRoleName);
34257
34267
  return unsubscribe;
34258
34268
  }, [vanillaStore]);
34259
34269
  return null;
@@ -34262,14 +34272,14 @@ var init_PreviousRoleInMetadata = __esm({
34262
34272
  });
34263
34273
 
34264
34274
  // src/Prebuilt/components/ConferenceScreen.tsx
34265
- var import_react212, import_uuid12, import_react_sdk106, ConferenceScreen;
34275
+ var import_react212, import_uuid12, import_react_sdk107, ConferenceScreen;
34266
34276
  var init_ConferenceScreen = __esm({
34267
34277
  "src/Prebuilt/components/ConferenceScreen.tsx"() {
34268
34278
  "use strict";
34269
34279
  init_define_process_env();
34270
34280
  import_react212 = __toESM(require("react"));
34271
34281
  import_uuid12 = require("uuid");
34272
- import_react_sdk106 = require("@100mslive/react-sdk");
34282
+ import_react_sdk107 = require("@100mslive/react-sdk");
34273
34283
  init_Footer3();
34274
34284
  init_MoreSettings();
34275
34285
  init_HLSFailureModal();
@@ -34293,18 +34303,18 @@ var init_ConferenceScreen = __esm({
34293
34303
  const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
34294
34304
  const screenProps = useRoomLayoutConferencingScreen();
34295
34305
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
34296
- const roomState = (0, import_react_sdk106.useHMSStore)(import_react_sdk106.selectRoomState);
34297
- const isConnectedToRoom = (0, import_react_sdk106.useHMSStore)(import_react_sdk106.selectIsConnectedToRoom);
34298
- const hmsActions = (0, import_react_sdk106.useHMSActions)();
34306
+ const roomState = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectRoomState);
34307
+ const isConnectedToRoom = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectIsConnectedToRoom);
34308
+ const hmsActions = (0, import_react_sdk107.useHMSActions)();
34299
34309
  const [hideControls, setHideControls] = (0, import_react212.useState)(false);
34300
- const dropdownList = (0, import_react_sdk106.useHMSStore)((0, import_react_sdk106.selectAppData)(APP_DATA.dropdownList));
34310
+ const dropdownList = (0, import_react_sdk107.useHMSStore)((0, import_react_sdk107.selectAppData)(APP_DATA.dropdownList));
34301
34311
  const authTokenInAppData = useAuthToken();
34302
34312
  const headerRef = (0, import_react212.useRef)(null);
34303
34313
  const footerRef = (0, import_react212.useRef)(null);
34304
34314
  const isMobileDevice = isAndroid || isIOS || isIPadOS;
34305
34315
  const dropdownListRef = (0, import_react212.useRef)();
34306
34316
  const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
34307
- const { requestPermission } = (0, import_react_sdk106.useAwayNotifications)();
34317
+ const { requestPermission } = (0, import_react_sdk107.useAwayNotifications)();
34308
34318
  const showChat = !!((_a7 = screenProps.elements) == null ? void 0 : _a7.chat);
34309
34319
  const autoRoomJoined = (0, import_react212.useRef)(isPreviewScreenEnabled);
34310
34320
  const isMobileHLSStream = useMobileHLSStream();
@@ -34332,7 +34342,7 @@ var init_ConferenceScreen = __esm({
34332
34342
  };
34333
34343
  }, [dropdownList, hideControls, isMobileDevice]);
34334
34344
  (0, import_react212.useEffect)(() => {
34335
- if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk106.HMSRoomState.Connecting && !autoRoomJoined.current) {
34345
+ if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk107.HMSRoomState.Connecting && !autoRoomJoined.current) {
34336
34346
  hmsActions.join({
34337
34347
  userName: userName || (0, import_uuid12.v4)(),
34338
34348
  authToken: authTokenInAppData,
@@ -34361,8 +34371,8 @@ var init_ConferenceScreen = __esm({
34361
34371
  PictureInPicture.stop().catch((error) => console.error("stopping pip", error.message));
34362
34372
  };
34363
34373
  }, [onJoinFunc]);
34364
- if (!isConnectedToRoom && ![import_react_sdk106.HMSRoomState.Reconnecting, import_react_sdk106.HMSRoomState.Disconnected].includes(roomState)) {
34365
- return /* @__PURE__ */ import_react212.default.createElement(FullPageProgress_default, { text: roomState === import_react_sdk106.HMSRoomState.Connecting ? "Joining..." : "" });
34374
+ if (!isConnectedToRoom && ![import_react_sdk107.HMSRoomState.Reconnecting, import_react_sdk107.HMSRoomState.Disconnected].includes(roomState)) {
34375
+ return /* @__PURE__ */ import_react212.default.createElement(FullPageProgress_default, { text: roomState === import_react_sdk107.HMSRoomState.Connecting ? "Joining..." : "" });
34366
34376
  }
34367
34377
  const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
34368
34378
  return /* @__PURE__ */ import_react212.default.createElement(import_react212.default.Fragment, null, isHLSStarted ? /* @__PURE__ */ import_react212.default.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ import_react212.default.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ import_react212.default.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ import_react212.default.createElement(
@@ -34548,7 +34558,7 @@ var init_ErrorBoundary = __esm({
34548
34558
 
34549
34559
  // src/Prebuilt/services/FeatureFlags.jsx
34550
34560
  function FeatureFlagsInit() {
34551
- const roomId = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectRoomID);
34561
+ const roomId = (0, import_react_sdk108.useHMSStore)(import_react_sdk108.selectRoomID);
34552
34562
  (0, import_react214.useEffect)(() => {
34553
34563
  if (roomId) {
34554
34564
  FeatureFlags.init(roomId);
@@ -34556,13 +34566,13 @@ function FeatureFlagsInit() {
34556
34566
  }, [roomId]);
34557
34567
  return null;
34558
34568
  }
34559
- var import_react214, import_react_sdk107, FeatureFlags;
34569
+ var import_react214, import_react_sdk108, FeatureFlags;
34560
34570
  var init_FeatureFlags = __esm({
34561
34571
  "src/Prebuilt/services/FeatureFlags.jsx"() {
34562
34572
  "use strict";
34563
34573
  init_define_process_env();
34564
34574
  import_react214 = require("react");
34565
- import_react_sdk107 = require("@100mslive/react-sdk");
34575
+ import_react_sdk108 = require("@100mslive/react-sdk");
34566
34576
  FeatureFlags = class {
34567
34577
  static init(roomId) {
34568
34578
  if (!window.HMS) {
@@ -34620,13 +34630,13 @@ var init_Init = __esm({
34620
34630
  });
34621
34631
 
34622
34632
  // src/Prebuilt/components/Input/KeyboardInputManager.js
34623
- var import_react216, import_react_sdk108, isEvenListenersAttached, _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind, KeyboardInputManager, KeyboardHandler;
34633
+ var import_react216, import_react_sdk109, isEvenListenersAttached, _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind, KeyboardInputManager, KeyboardHandler;
34624
34634
  var init_KeyboardInputManager = __esm({
34625
34635
  "src/Prebuilt/components/Input/KeyboardInputManager.js"() {
34626
34636
  "use strict";
34627
34637
  init_define_process_env();
34628
34638
  import_react216 = require("react");
34629
- import_react_sdk108 = require("@100mslive/react-sdk");
34639
+ import_react_sdk109 = require("@100mslive/react-sdk");
34630
34640
  init_constants();
34631
34641
  isEvenListenersAttached = false;
34632
34642
  KeyboardInputManager = class {
@@ -34634,27 +34644,27 @@ var init_KeyboardInputManager = __esm({
34634
34644
  __privateAdd(this, _actions, void 0);
34635
34645
  __privateAdd(this, _store, void 0);
34636
34646
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
34637
- const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalAudioEnabled);
34647
+ const enabled = __privateGet(this, _store).getState(import_react_sdk109.selectIsLocalAudioEnabled);
34638
34648
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
34639
34649
  }));
34640
34650
  __privateAdd(this, _toggleVideo, () => __async(this, null, function* () {
34641
- const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalVideoEnabled);
34651
+ const enabled = __privateGet(this, _store).getState(import_react_sdk109.selectIsLocalVideoEnabled);
34642
34652
  yield __privateGet(this, _actions).setLocalVideoEnabled(!enabled);
34643
34653
  }));
34644
34654
  __privateAdd(this, _hideSidepane, () => {
34645
- if (__privateGet(this, _store).getState((0, import_react_sdk108.selectAppData)(APP_DATA.sidePane))) {
34655
+ if (__privateGet(this, _store).getState((0, import_react_sdk109.selectAppData)(APP_DATA.sidePane))) {
34646
34656
  __privateGet(this, _actions).setAppData(APP_DATA.sidePane, "");
34647
34657
  }
34648
34658
  });
34649
34659
  __privateAdd(this, _toggleStatsForNerds, () => {
34650
- const uiSettings = __privateGet(this, _store).getState((0, import_react_sdk108.selectAppData)(APP_DATA.uiSettings));
34660
+ const uiSettings = __privateGet(this, _store).getState((0, import_react_sdk109.selectAppData)(APP_DATA.uiSettings));
34651
34661
  const statsEnabled = uiSettings.showStatsOnTiles;
34652
34662
  __privateGet(this, _actions).setAppData(APP_DATA.uiSettings, __spreadProps(__spreadValues({}, uiSettings), {
34653
34663
  showStatsOnTiles: !statsEnabled
34654
34664
  }));
34655
34665
  });
34656
34666
  __privateAdd(this, _toggleHlsStats, () => {
34657
- __privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState((0, import_react_sdk108.selectAppData)(APP_DATA.hlsStats)));
34667
+ __privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState((0, import_react_sdk109.selectAppData)(APP_DATA.hlsStats)));
34658
34668
  });
34659
34669
  // eslint-disable-next-line complexity
34660
34670
  __privateAdd(this, _keyDownHandler, (e) => __async(this, null, function* () {
@@ -34712,8 +34722,8 @@ var init_KeyboardInputManager = __esm({
34712
34722
  _bind = new WeakMap();
34713
34723
  _unbind = new WeakMap();
34714
34724
  KeyboardHandler = () => {
34715
- const store = (0, import_react_sdk108.useHMSVanillaStore)();
34716
- const actions = (0, import_react_sdk108.useHMSActions)();
34725
+ const store = (0, import_react_sdk109.useHMSVanillaStore)();
34726
+ const actions = (0, import_react_sdk109.useHMSActions)();
34717
34727
  (0, import_react216.useEffect)(() => {
34718
34728
  const keyboardManager = new KeyboardInputManager(store, actions);
34719
34729
  keyboardManager.bindAllShortcuts();
@@ -34725,14 +34735,14 @@ var init_KeyboardInputManager = __esm({
34725
34735
  });
34726
34736
 
34727
34737
  // src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx
34728
- var import_react217, import_react_use53, import_react_sdk109, import_react_icons102, FEEBACK_INDEX, FeedbackModal, FeedbackContent, FeedbackHeader, FeedbackForm;
34738
+ var import_react217, import_react_use53, import_react_sdk110, import_react_icons102, FEEBACK_INDEX, FeedbackModal, FeedbackContent, FeedbackHeader, FeedbackForm;
34729
34739
  var init_FeedbackForm = __esm({
34730
34740
  "src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx"() {
34731
34741
  "use strict";
34732
34742
  init_define_process_env();
34733
34743
  import_react217 = __toESM(require("react"));
34734
34744
  import_react_use53 = require("react-use");
34735
- import_react_sdk109 = require("@100mslive/react-sdk");
34745
+ import_react_sdk110 = require("@100mslive/react-sdk");
34736
34746
  import_react_icons102 = require("@100mslive/react-icons");
34737
34747
  init_Button2();
34738
34748
  init_Checkbox2();
@@ -34790,7 +34800,7 @@ var init_FeedbackForm = __esm({
34790
34800
  const { feedback } = useRoomLayoutLeaveScreen();
34791
34801
  const { endpoints } = useHMSPrebuiltContext();
34792
34802
  const isMobile = (0, import_react_use53.useMedia)(config.media.md);
34793
- const hmsActions = (0, import_react_sdk109.useHMSActions)();
34803
+ const hmsActions = (0, import_react_sdk110.useHMSActions)();
34794
34804
  const [comment, setComment] = (0, import_react217.useState)("");
34795
34805
  const [selectedReasons, setSelectedReasons] = (0, import_react217.useState)(/* @__PURE__ */ new Set());
34796
34806
  const handleCheckedChange = (checked, index) => {
@@ -35352,7 +35362,7 @@ var init_MwebLandscapePrompt = __esm({
35352
35362
 
35353
35363
  // src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx
35354
35364
  function AutoplayBlockedModal() {
35355
- const { error, resetError, unblockAudio } = (0, import_react_sdk110.useAutoplayError)();
35365
+ const { error, resetError, unblockAudio } = (0, import_react_sdk111.useAutoplayError)();
35356
35366
  return /* @__PURE__ */ import_react222.default.createElement(
35357
35367
  Dialog.Root,
35358
35368
  {
@@ -35377,33 +35387,33 @@ function AutoplayBlockedModal() {
35377
35387
  )))
35378
35388
  );
35379
35389
  }
35380
- var import_react222, import_react_sdk110;
35390
+ var import_react222, import_react_sdk111;
35381
35391
  var init_AutoplayBlockedModal = __esm({
35382
35392
  "src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx"() {
35383
35393
  "use strict";
35384
35394
  init_define_process_env();
35385
35395
  import_react222 = __toESM(require("react"));
35386
- import_react_sdk110 = require("@100mslive/react-sdk");
35396
+ import_react_sdk111 = require("@100mslive/react-sdk");
35387
35397
  init_src();
35388
35398
  init_DialogContent2();
35389
35399
  }
35390
35400
  });
35391
35401
 
35392
35402
  // src/Prebuilt/components/Notifications/ChatNotifications.tsx
35393
- var import_react223, import_uuid13, import_react_sdk111, import_react_icons106, NOTIFICATION_TIME_DIFFERENCE, ChatNotifications;
35403
+ var import_react223, import_uuid13, import_react_sdk112, import_react_icons106, NOTIFICATION_TIME_DIFFERENCE, ChatNotifications;
35394
35404
  var init_ChatNotifications = __esm({
35395
35405
  "src/Prebuilt/components/Notifications/ChatNotifications.tsx"() {
35396
35406
  "use strict";
35397
35407
  init_define_process_env();
35398
35408
  import_react223 = __toESM(require("react"));
35399
35409
  import_uuid13 = require("uuid");
35400
- import_react_sdk111 = require("@100mslive/react-sdk");
35410
+ import_react_sdk112 = require("@100mslive/react-sdk");
35401
35411
  import_react_icons106 = require("@100mslive/react-icons");
35402
35412
  init_ToastManager();
35403
35413
  NOTIFICATION_TIME_DIFFERENCE = 5e3;
35404
35414
  ChatNotifications = () => {
35405
- const chatState = (0, import_react_sdk111.useHMSStore)((0, import_react_sdk111.selectSessionStore)("chatState" /* CHAT_STATE */));
35406
- const localPeerId = (0, import_react_sdk111.useHMSStore)(import_react_sdk111.selectLocalPeerID);
35415
+ const chatState = (0, import_react_sdk112.useHMSStore)((0, import_react_sdk112.selectSessionStore)("chatState" /* CHAT_STATE */));
35416
+ const localPeerId = (0, import_react_sdk112.useHMSStore)(import_react_sdk112.selectLocalPeerID);
35407
35417
  (0, import_react223.useEffect)(() => {
35408
35418
  var _a7, _b7;
35409
35419
  if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
@@ -35426,13 +35436,13 @@ var init_ChatNotifications = __esm({
35426
35436
  });
35427
35437
 
35428
35438
  // src/Prebuilt/components/Toast/ToastConfig.jsx
35429
- var import_react224, import_react_sdk112, import_react_icons107, ChatAction, HandRaiseAction, ToastConfig;
35439
+ var import_react224, import_react_sdk113, import_react_icons107, ChatAction, HandRaiseAction, ToastConfig;
35430
35440
  var init_ToastConfig = __esm({
35431
35441
  "src/Prebuilt/components/Toast/ToastConfig.jsx"() {
35432
35442
  "use strict";
35433
35443
  init_define_process_env();
35434
35444
  import_react224 = __toESM(require("react"));
35435
- import_react_sdk112 = require("@100mslive/react-sdk");
35445
+ import_react_sdk113 = require("@100mslive/react-sdk");
35436
35446
  import_react_icons107 = require("@100mslive/react-icons");
35437
35447
  init_Button2();
35438
35448
  init_roomLayoutProvider();
@@ -35448,10 +35458,10 @@ var init_ToastConfig = __esm({
35448
35458
  });
35449
35459
  HandRaiseAction = import_react224.default.forwardRef(({ id = "", isSingleHandRaise = true }, ref) => {
35450
35460
  var _a7, _b7, _c;
35451
- const hmsActions = (0, import_react_sdk112.useHMSActions)();
35461
+ const hmsActions = (0, import_react_sdk113.useHMSActions)();
35452
35462
  const toggleSidepane = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
35453
35463
  const isParticipantsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.PARTICIPANTS);
35454
- const peer = (0, import_react_sdk112.useHMSStore)((0, import_react_sdk112.selectPeerByID)(id));
35464
+ const peer = (0, import_react_sdk113.useHMSStore)((0, import_react_sdk113.selectPeerByID)(id));
35455
35465
  const layout = useRoomLayout();
35456
35466
  const {
35457
35467
  bring_to_stage_label,
@@ -35668,14 +35678,14 @@ var init_ToastBatcher = __esm({
35668
35678
  });
35669
35679
 
35670
35680
  // src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx
35671
- var import_react225, import_react_use57, import_react_sdk113, HandRaisedNotifications;
35681
+ var import_react225, import_react_use57, import_react_sdk114, HandRaisedNotifications;
35672
35682
  var init_HandRaisedNotifications = __esm({
35673
35683
  "src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx"() {
35674
35684
  "use strict";
35675
35685
  init_define_process_env();
35676
35686
  import_react225 = require("react");
35677
35687
  import_react_use57 = require("react-use");
35678
- import_react_sdk113 = require("@100mslive/react-sdk");
35688
+ import_react_sdk114 = require("@100mslive/react-sdk");
35679
35689
  init_roomLayoutProvider();
35680
35690
  init_ToastBatcher();
35681
35691
  init_useRoomLayoutScreen();
@@ -35683,24 +35693,24 @@ var init_HandRaisedNotifications = __esm({
35683
35693
  init_constants();
35684
35694
  HandRaisedNotifications = () => {
35685
35695
  var _a7, _b7;
35686
- const notification = (0, import_react_sdk113.useHMSNotifications)(import_react_sdk113.HMSNotificationTypes.HAND_RAISE_CHANGED);
35687
- const roomState = (0, import_react_sdk113.useHMSStore)(import_react_sdk113.selectRoomState);
35688
- const vanillaStore = (0, import_react_sdk113.useHMSVanillaStore)();
35696
+ const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.HAND_RAISE_CHANGED);
35697
+ const roomState = (0, import_react_sdk114.useHMSStore)(import_react_sdk114.selectRoomState);
35698
+ const vanillaStore = (0, import_react_sdk114.useHMSVanillaStore)();
35689
35699
  const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
35690
35700
  const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
35691
- const amIScreenSharing = (0, import_react_sdk113.useHMSStore)(import_react_sdk113.selectIsLocalScreenShared);
35692
- const { showNotification } = (0, import_react_sdk113.useAwayNotifications)();
35701
+ const amIScreenSharing = (0, import_react_sdk114.useHMSStore)(import_react_sdk114.selectIsLocalScreenShared);
35702
+ const { showNotification } = (0, import_react_sdk114.useAwayNotifications)();
35693
35703
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
35694
35704
  (0, import_react225.useEffect)(() => {
35695
35705
  var _a8;
35696
35706
  if (!(notification == null ? void 0 : notification.data)) {
35697
35707
  return;
35698
35708
  }
35699
- if (roomState !== import_react_sdk113.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35709
+ if (roomState !== import_react_sdk114.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35700
35710
  return;
35701
35711
  }
35702
- const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk113.selectHasPeerHandRaised)(notification.data.id));
35703
- const peer = vanillaStore.getState((0, import_react_sdk113.selectPeerByID)(notification.data.id));
35712
+ const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk114.selectHasPeerHandRaised)(notification.data.id));
35713
+ const peer = vanillaStore.getState((0, import_react_sdk114.selectPeerByID)(notification.data.id));
35704
35714
  if (hasPeerHandRaised) {
35705
35715
  const showCTA = (peer == null ? void 0 : peer.roleName) && ((_a8 = (on_stage_exp == null ? void 0 : on_stage_exp.off_stage_roles) || []) == null ? void 0 : _a8.includes(peer.roleName));
35706
35716
  ToastBatcher.showToast({ notification, type: showCTA ? "RAISE_HAND_HLS" : "RAISE_HAND" });
@@ -35712,12 +35722,12 @@ var init_HandRaisedNotifications = __esm({
35712
35722
  if (!(notification == null ? void 0 : notification.data)) {
35713
35723
  return;
35714
35724
  }
35715
- if (roomState !== import_react_sdk113.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35725
+ if (roomState !== import_react_sdk114.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35716
35726
  return;
35717
35727
  }
35718
- const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk113.selectHasPeerHandRaised)(notification.data.id));
35719
- const peer = vanillaStore.getState((0, import_react_sdk113.selectPeerByID)(notification.data.id));
35720
- const handRaisedPeers = vanillaStore.getState(import_react_sdk113.selectHandRaisedPeers);
35728
+ const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk114.selectHasPeerHandRaised)(notification.data.id));
35729
+ const peer = vanillaStore.getState((0, import_react_sdk114.selectPeerByID)(notification.data.id));
35730
+ const handRaisedPeers = vanillaStore.getState(import_react_sdk114.selectHandRaisedPeers);
35721
35731
  if (amIScreenSharing && hasPeerHandRaised) {
35722
35732
  const title = `${peer == null ? void 0 : peer.name} ${handRaisedPeers.length > 1 ? `and ${handRaisedPeers.length - 1} others` : ""} raised hand`;
35723
35733
  showNotification(title, { icon: logoURL });
@@ -35732,17 +35742,17 @@ var init_HandRaisedNotifications = __esm({
35732
35742
  });
35733
35743
 
35734
35744
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
35735
- var import_react226, import_react_sdk114, InitErrorModal;
35745
+ var import_react226, import_react_sdk115, InitErrorModal;
35736
35746
  var init_InitErrorModal = __esm({
35737
35747
  "src/Prebuilt/components/Notifications/InitErrorModal.tsx"() {
35738
35748
  "use strict";
35739
35749
  init_define_process_env();
35740
35750
  import_react226 = __toESM(require("react"));
35741
- import_react_sdk114 = require("@100mslive/react-sdk");
35751
+ import_react_sdk115 = require("@100mslive/react-sdk");
35742
35752
  init_src();
35743
35753
  init_DialogContent2();
35744
35754
  InitErrorModal = () => {
35745
- const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.ERROR);
35755
+ const notification = (0, import_react_sdk115.useHMSNotifications)(import_react_sdk115.HMSNotificationTypes.ERROR);
35746
35756
  const [showModal, setShowModal] = (0, import_react226.useState)(false);
35747
35757
  const [info, setInfo] = (0, import_react226.useState)({ title: "Init Error", description: "" });
35748
35758
  (0, import_react226.useEffect)(() => {
@@ -35771,19 +35781,19 @@ var init_InitErrorModal = __esm({
35771
35781
  });
35772
35782
 
35773
35783
  // src/Prebuilt/components/Notifications/PeerNotifications.tsx
35774
- var import_react227, import_react_sdk115, notificationTypes, PeerNotifications;
35784
+ var import_react227, import_react_sdk116, notificationTypes, PeerNotifications;
35775
35785
  var init_PeerNotifications = __esm({
35776
35786
  "src/Prebuilt/components/Notifications/PeerNotifications.tsx"() {
35777
35787
  "use strict";
35778
35788
  init_define_process_env();
35779
35789
  import_react227 = require("react");
35780
- import_react_sdk115 = require("@100mslive/react-sdk");
35790
+ import_react_sdk116 = require("@100mslive/react-sdk");
35781
35791
  init_ToastBatcher();
35782
35792
  init_useUISettings();
35783
35793
  init_constants();
35784
- notificationTypes = [import_react_sdk115.HMSNotificationTypes.PEER_JOINED, import_react_sdk115.HMSNotificationTypes.PEER_LEFT];
35794
+ notificationTypes = [import_react_sdk116.HMSNotificationTypes.PEER_JOINED, import_react_sdk116.HMSNotificationTypes.PEER_LEFT];
35785
35795
  PeerNotifications = () => {
35786
- const notification = (0, import_react_sdk115.useHMSNotifications)(notificationTypes);
35796
+ const notification = (0, import_react_sdk116.useHMSNotifications)(notificationTypes);
35787
35797
  const isPeerJoinSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_JOINED);
35788
35798
  const isPeerLeftSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_LEFT);
35789
35799
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
@@ -35793,12 +35803,12 @@ var init_PeerNotifications = __esm({
35793
35803
  }
35794
35804
  console.debug(`[${notification.type}]`, notification);
35795
35805
  switch (notification.type) {
35796
- case import_react_sdk115.HMSNotificationTypes.PEER_JOINED:
35806
+ case import_react_sdk116.HMSNotificationTypes.PEER_JOINED:
35797
35807
  if (!isPeerJoinSubscribed) {
35798
35808
  return;
35799
35809
  }
35800
35810
  break;
35801
- case import_react_sdk115.HMSNotificationTypes.PEER_LEFT:
35811
+ case import_react_sdk116.HMSNotificationTypes.PEER_LEFT:
35802
35812
  if (selectedPeer.id === notification.data.id) {
35803
35813
  setPeerSelector({});
35804
35814
  }
@@ -35834,17 +35844,17 @@ var init_ios_perm_0 = __esm({
35834
35844
 
35835
35845
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
35836
35846
  function PermissionErrorNotificationModal() {
35837
- const notification = (0, import_react_sdk116.useHMSNotifications)(import_react_sdk116.HMSNotificationTypes.ERROR);
35847
+ const notification = (0, import_react_sdk117.useHMSNotifications)(import_react_sdk117.HMSNotificationTypes.ERROR);
35838
35848
  return /* @__PURE__ */ import_react228.default.createElement(PermissionErrorModal, { error: notification == null ? void 0 : notification.data });
35839
35849
  }
35840
- var import_react228, import_react_use58, import_react_sdk116, PermissionErrorModal;
35850
+ var import_react228, import_react_use58, import_react_sdk117, PermissionErrorModal;
35841
35851
  var init_PermissionErrorModal = __esm({
35842
35852
  "src/Prebuilt/components/Notifications/PermissionErrorModal.tsx"() {
35843
35853
  "use strict";
35844
35854
  init_define_process_env();
35845
35855
  import_react228 = __toESM(require("react"));
35846
35856
  import_react_use58 = require("react-use");
35847
- import_react_sdk116 = require("@100mslive/react-sdk");
35857
+ import_react_sdk117 = require("@100mslive/react-sdk");
35848
35858
  init_src();
35849
35859
  init_android_perm_1();
35850
35860
  init_ios_perm_0();
@@ -35910,35 +35920,35 @@ var init_PermissionErrorModal = __esm({
35910
35920
  });
35911
35921
 
35912
35922
  // src/Prebuilt/components/Notifications/ReconnectNotifications.tsx
35913
- var import_react229, import_react_sdk117, notificationTypes2, notificationId, ReconnectNotifications;
35923
+ var import_react229, import_react_sdk118, notificationTypes2, notificationId, ReconnectNotifications;
35914
35924
  var init_ReconnectNotifications = __esm({
35915
35925
  "src/Prebuilt/components/Notifications/ReconnectNotifications.tsx"() {
35916
35926
  "use strict";
35917
35927
  init_define_process_env();
35918
35928
  import_react229 = require("react");
35919
- import_react_sdk117 = require("@100mslive/react-sdk");
35929
+ import_react_sdk118 = require("@100mslive/react-sdk");
35920
35930
  init_ToastConfig();
35921
35931
  init_ToastManager();
35922
35932
  notificationTypes2 = [
35923
- import_react_sdk117.HMSNotificationTypes.RECONNECTED,
35924
- import_react_sdk117.HMSNotificationTypes.RECONNECTING,
35925
- import_react_sdk117.HMSNotificationTypes.ERROR
35933
+ import_react_sdk118.HMSNotificationTypes.RECONNECTED,
35934
+ import_react_sdk118.HMSNotificationTypes.RECONNECTING,
35935
+ import_react_sdk118.HMSNotificationTypes.ERROR
35926
35936
  ];
35927
35937
  notificationId = null;
35928
35938
  ReconnectNotifications = () => {
35929
- const notification = (0, import_react_sdk117.useHMSNotifications)(notificationTypes2);
35939
+ const notification = (0, import_react_sdk118.useHMSNotifications)(notificationTypes2);
35930
35940
  const prevErrorCode = (0, import_react229.useRef)(0);
35931
35941
  (0, import_react229.useEffect)(() => {
35932
35942
  var _a7, _b7;
35933
35943
  if (!notification) {
35934
35944
  return;
35935
35945
  }
35936
- if (notification.type === import_react_sdk117.HMSNotificationTypes.RECONNECTED) {
35946
+ if (notification.type === import_react_sdk118.HMSNotificationTypes.RECONNECTED) {
35937
35947
  notificationId = ToastManager.replaceToast(
35938
35948
  notificationId,
35939
35949
  ToastConfig.RECONNECTED.single([4005, 4006].includes(prevErrorCode.current))
35940
35950
  );
35941
- } else if (notification.type === import_react_sdk117.HMSNotificationTypes.RECONNECTING) {
35951
+ } else if (notification.type === import_react_sdk118.HMSNotificationTypes.RECONNECTING) {
35942
35952
  prevErrorCode.current = ((_a7 = notification.data) == null ? void 0 : _a7.code) || 0;
35943
35953
  notificationId = ToastManager.replaceToast(
35944
35954
  notificationId,
@@ -35952,30 +35962,30 @@ var init_ReconnectNotifications = __esm({
35952
35962
  });
35953
35963
 
35954
35964
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
35955
- var import_react230, import_react_sdk118, import_react_icons108, TrackBulkUnmuteModal;
35965
+ var import_react230, import_react_sdk119, import_react_icons108, TrackBulkUnmuteModal;
35956
35966
  var init_TrackBulkUnmuteModal = __esm({
35957
35967
  "src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx"() {
35958
35968
  "use strict";
35959
35969
  init_define_process_env();
35960
35970
  import_react230 = __toESM(require("react"));
35961
- import_react_sdk118 = require("@100mslive/react-sdk");
35971
+ import_react_sdk119 = require("@100mslive/react-sdk");
35962
35972
  import_react_icons108 = require("@100mslive/react-icons");
35963
35973
  init_DialogContent2();
35964
35974
  TrackBulkUnmuteModal = () => {
35965
- const hmsActions = (0, import_react_sdk118.useHMSActions)();
35975
+ const hmsActions = (0, import_react_sdk119.useHMSActions)();
35966
35976
  const [muteNotification, setMuteNotification] = (0, import_react230.useState)(null);
35967
- const notification = (0, import_react_sdk118.useHMSNotifications)([
35968
- import_react_sdk118.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST,
35969
- import_react_sdk118.HMSNotificationTypes.ROOM_ENDED,
35970
- import_react_sdk118.HMSNotificationTypes.REMOVED_FROM_ROOM
35977
+ const notification = (0, import_react_sdk119.useHMSNotifications)([
35978
+ import_react_sdk119.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST,
35979
+ import_react_sdk119.HMSNotificationTypes.ROOM_ENDED,
35980
+ import_react_sdk119.HMSNotificationTypes.REMOVED_FROM_ROOM
35971
35981
  ]);
35972
35982
  (0, import_react230.useEffect)(() => {
35973
35983
  switch (notification == null ? void 0 : notification.type) {
35974
- case import_react_sdk118.HMSNotificationTypes.REMOVED_FROM_ROOM:
35975
- case import_react_sdk118.HMSNotificationTypes.ROOM_ENDED:
35984
+ case import_react_sdk119.HMSNotificationTypes.REMOVED_FROM_ROOM:
35985
+ case import_react_sdk119.HMSNotificationTypes.ROOM_ENDED:
35976
35986
  setMuteNotification(null);
35977
35987
  break;
35978
- case import_react_sdk118.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST:
35988
+ case import_react_sdk119.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST:
35979
35989
  if (notification == null ? void 0 : notification.data.enabled) {
35980
35990
  setMuteNotification(notification.data);
35981
35991
  }
@@ -36009,21 +36019,21 @@ var init_TrackBulkUnmuteModal = __esm({
36009
36019
  });
36010
36020
 
36011
36021
  // src/Prebuilt/components/Notifications/TrackNotifications.tsx
36012
- var import_react231, import_react_sdk119, notificationTypes3, TrackNotifications;
36022
+ var import_react231, import_react_sdk120, notificationTypes3, TrackNotifications;
36013
36023
  var init_TrackNotifications = __esm({
36014
36024
  "src/Prebuilt/components/Notifications/TrackNotifications.tsx"() {
36015
36025
  "use strict";
36016
36026
  init_define_process_env();
36017
36027
  import_react231 = require("react");
36018
- import_react_sdk119 = require("@100mslive/react-sdk");
36028
+ import_react_sdk120 = require("@100mslive/react-sdk");
36019
36029
  notificationTypes3 = [
36020
- import_react_sdk119.HMSNotificationTypes.TRACK_ADDED,
36021
- import_react_sdk119.HMSNotificationTypes.TRACK_REMOVED,
36022
- import_react_sdk119.HMSNotificationTypes.TRACK_MUTED,
36023
- import_react_sdk119.HMSNotificationTypes.TRACK_UNMUTED
36030
+ import_react_sdk120.HMSNotificationTypes.TRACK_ADDED,
36031
+ import_react_sdk120.HMSNotificationTypes.TRACK_REMOVED,
36032
+ import_react_sdk120.HMSNotificationTypes.TRACK_MUTED,
36033
+ import_react_sdk120.HMSNotificationTypes.TRACK_UNMUTED
36024
36034
  ];
36025
36035
  TrackNotifications = () => {
36026
- const notification = (0, import_react_sdk119.useHMSNotifications)(notificationTypes3);
36036
+ const notification = (0, import_react_sdk120.useHMSNotifications)(notificationTypes3);
36027
36037
  (0, import_react231.useEffect)(() => {
36028
36038
  if (notification) {
36029
36039
  console.debug(`[${notification.type}]`, notification);
@@ -36035,30 +36045,30 @@ var init_TrackNotifications = __esm({
36035
36045
  });
36036
36046
 
36037
36047
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
36038
- var import_react232, import_react_sdk120, import_react_icons109, TrackUnmuteModal;
36048
+ var import_react232, import_react_sdk121, import_react_icons109, TrackUnmuteModal;
36039
36049
  var init_TrackUnmuteModal = __esm({
36040
36050
  "src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx"() {
36041
36051
  "use strict";
36042
36052
  init_define_process_env();
36043
36053
  import_react232 = __toESM(require("react"));
36044
- import_react_sdk120 = require("@100mslive/react-sdk");
36054
+ import_react_sdk121 = require("@100mslive/react-sdk");
36045
36055
  import_react_icons109 = require("@100mslive/react-icons");
36046
36056
  init_DialogContent2();
36047
36057
  TrackUnmuteModal = () => {
36048
- const hmsActions = (0, import_react_sdk120.useHMSActions)();
36049
- const notification = (0, import_react_sdk120.useHMSNotifications)([
36050
- import_react_sdk120.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST,
36051
- import_react_sdk120.HMSNotificationTypes.ROOM_ENDED,
36052
- import_react_sdk120.HMSNotificationTypes.REMOVED_FROM_ROOM
36058
+ const hmsActions = (0, import_react_sdk121.useHMSActions)();
36059
+ const notification = (0, import_react_sdk121.useHMSNotifications)([
36060
+ import_react_sdk121.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST,
36061
+ import_react_sdk121.HMSNotificationTypes.ROOM_ENDED,
36062
+ import_react_sdk121.HMSNotificationTypes.REMOVED_FROM_ROOM
36053
36063
  ]);
36054
36064
  const [muteNotification, setMuteNotification] = (0, import_react232.useState)(null);
36055
36065
  (0, import_react232.useEffect)(() => {
36056
36066
  switch (notification == null ? void 0 : notification.type) {
36057
- case import_react_sdk120.HMSNotificationTypes.REMOVED_FROM_ROOM:
36058
- case import_react_sdk120.HMSNotificationTypes.ROOM_ENDED:
36067
+ case import_react_sdk121.HMSNotificationTypes.REMOVED_FROM_ROOM:
36068
+ case import_react_sdk121.HMSNotificationTypes.ROOM_ENDED:
36059
36069
  setMuteNotification(null);
36060
36070
  break;
36061
- case import_react_sdk120.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36071
+ case import_react_sdk121.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36062
36072
  if (notification == null ? void 0 : notification.data.enabled) {
36063
36073
  setMuteNotification(notification.data);
36064
36074
  }
@@ -36076,7 +36086,7 @@ var init_TrackUnmuteModal = __esm({
36076
36086
  {
36077
36087
  title: `Unmute your ${track.type}?`,
36078
36088
  onOpenChange: (value) => !value && setMuteNotification(null),
36079
- body: `${peer == null ? void 0 : peer.name}is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
36089
+ body: `${peer == null ? void 0 : peer.name} is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
36080
36090
  onAction: () => {
36081
36091
  hmsActions.setEnabledTrack(track.id, enabled);
36082
36092
  setMuteNotification(null);
@@ -36089,20 +36099,20 @@ var init_TrackUnmuteModal = __esm({
36089
36099
  });
36090
36100
 
36091
36101
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
36092
- var import_react233, import_ts_pattern16, import_react_sdk121, import_react_icons110, TranscriptionNotifications;
36102
+ var import_react233, import_ts_pattern16, import_react_sdk122, import_react_icons110, TranscriptionNotifications;
36093
36103
  var init_TranscriptionNotifications = __esm({
36094
36104
  "src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx"() {
36095
36105
  "use strict";
36096
36106
  init_define_process_env();
36097
36107
  import_react233 = __toESM(require("react"));
36098
36108
  import_ts_pattern16 = require("ts-pattern");
36099
- import_react_sdk121 = require("@100mslive/react-sdk");
36109
+ import_react_sdk122 = require("@100mslive/react-sdk");
36100
36110
  import_react_icons110 = require("@100mslive/react-icons");
36101
36111
  init_ToastManager();
36102
36112
  init_useUISettings();
36103
36113
  init_constants();
36104
36114
  TranscriptionNotifications = () => {
36105
- const notification = (0, import_react_sdk121.useHMSNotifications)(import_react_sdk121.HMSNotificationTypes.TRANSCRIPTION_STATE_UPDATED);
36115
+ const notification = (0, import_react_sdk122.useHMSNotifications)(import_react_sdk122.HMSNotificationTypes.TRANSCRIPTION_STATE_UPDATED);
36106
36116
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
36107
36117
  (0, import_react233.useEffect)(() => {
36108
36118
  if (!(notification == null ? void 0 : notification.data)) {
@@ -36121,14 +36131,14 @@ var init_TranscriptionNotifications = __esm({
36121
36131
  icon: /* @__PURE__ */ import_react233.default.createElement(import_react_icons110.AlertTriangleIcon, { style: { marginRight: "0.5rem" } })
36122
36132
  });
36123
36133
  }
36124
- ).with({ state: import_react_sdk121.HMSTranscriptionState.STARTED }, () => {
36134
+ ).with({ state: import_react_sdk122.HMSTranscriptionState.STARTED }, () => {
36125
36135
  id = ToastManager.replaceToast(toastId, {
36126
36136
  title: `Closed Captioning enabled for everyone`,
36127
36137
  variant: "standard",
36128
36138
  duration: 2e3,
36129
36139
  icon: /* @__PURE__ */ import_react233.default.createElement(import_react_icons110.ClosedCaptionIcon, { style: { marginRight: "0.5rem" } })
36130
36140
  });
36131
- }).with({ state: import_react_sdk121.HMSTranscriptionState.STOPPED }, () => {
36141
+ }).with({ state: import_react_sdk122.HMSTranscriptionState.STOPPED }, () => {
36132
36142
  id = ToastManager.replaceToast(toastId, {
36133
36143
  title: `Closed Captioning disabled for everyone`,
36134
36144
  variant: "standard",
@@ -36147,17 +36157,17 @@ var init_TranscriptionNotifications = __esm({
36147
36157
  // src/Prebuilt/components/Notifications/Notifications.tsx
36148
36158
  function Notifications() {
36149
36159
  var _a7, _b7;
36150
- const localPeerID = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectLocalPeerID);
36151
- const notification = (0, import_react_sdk122.useHMSNotifications)();
36160
+ const localPeerID = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectLocalPeerID);
36161
+ const notification = (0, import_react_sdk123.useHMSNotifications)();
36152
36162
  const subscribedNotifications = useSubscribedNotifications() || {};
36153
- const roomState = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectRoomState);
36163
+ const roomState = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectRoomState);
36154
36164
  const updateRoomLayoutForRole = useUpdateRoomLayout();
36155
36165
  const isNotificationDisabled = useIsNotificationDisabled();
36156
36166
  const screenProps = useRoomLayoutConferencingScreen();
36157
- const vanillaStore = (0, import_react_sdk122.useHMSVanillaStore)();
36167
+ const vanillaStore = (0, import_react_sdk123.useHMSVanillaStore)();
36158
36168
  const togglePollView = usePollViewToggle();
36159
- const { showNotification } = (0, import_react_sdk122.useAwayNotifications)();
36160
- const amIScreenSharing = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectIsLocalScreenShared);
36169
+ const { showNotification } = (0, import_react_sdk123.useAwayNotifications)();
36170
+ const amIScreenSharing = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsLocalScreenShared);
36161
36171
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
36162
36172
  const { pipWindow } = usePIPWindow();
36163
36173
  const handleRoleChangeDenied = (0, import_react234.useCallback)((request) => {
@@ -36166,17 +36176,17 @@ function Notifications() {
36166
36176
  variant: "error"
36167
36177
  });
36168
36178
  }, []);
36169
- (0, import_react_sdk122.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
36179
+ (0, import_react_sdk123.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
36170
36180
  (0, import_react234.useEffect)(() => {
36171
36181
  var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
36172
36182
  if (!notification || isNotificationDisabled) {
36173
36183
  return;
36174
36184
  }
36175
36185
  switch (notification.type) {
36176
- case import_react_sdk122.HMSNotificationTypes.NAME_UPDATED:
36186
+ case import_react_sdk123.HMSNotificationTypes.NAME_UPDATED:
36177
36187
  console.log(notification.data.id + " changed their name to " + notification.data.name);
36178
36188
  break;
36179
- case import_react_sdk122.HMSNotificationTypes.ERROR:
36189
+ case import_react_sdk123.HMSNotificationTypes.ERROR:
36180
36190
  if (((_a8 = notification.data) == null ? void 0 : _a8.isTerminal) && ((_b8 = notification.data) == null ? void 0 : _b8.action) !== "INIT") {
36181
36191
  if ([500, 6008].includes((_c = notification.data) == null ? void 0 : _c.code)) {
36182
36192
  ToastManager.addToast({
@@ -36208,7 +36218,7 @@ function Notifications() {
36208
36218
  title: `Error: ${(_k = notification.data) == null ? void 0 : _k.message} - ${(_l = notification.data) == null ? void 0 : _l.description}`
36209
36219
  });
36210
36220
  break;
36211
- case import_react_sdk122.HMSNotificationTypes.ROLE_UPDATED: {
36221
+ case import_react_sdk123.HMSNotificationTypes.ROLE_UPDATED: {
36212
36222
  if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
36213
36223
  ToastManager.addToast({
36214
36224
  title: `You are now a ${notification.data.roleName}`
@@ -36217,7 +36227,7 @@ function Notifications() {
36217
36227
  }
36218
36228
  break;
36219
36229
  }
36220
- case import_react_sdk122.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36230
+ case import_react_sdk123.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36221
36231
  const track = (_o2 = notification.data) == null ? void 0 : _o2.track;
36222
36232
  if (!notification.data.enabled) {
36223
36233
  ToastManager.addToast({
@@ -36226,21 +36236,21 @@ function Notifications() {
36226
36236
  });
36227
36237
  }
36228
36238
  break;
36229
- case import_react_sdk122.HMSNotificationTypes.REMOVED_FROM_ROOM:
36230
- case import_react_sdk122.HMSNotificationTypes.ROOM_ENDED:
36239
+ case import_react_sdk123.HMSNotificationTypes.REMOVED_FROM_ROOM:
36240
+ case import_react_sdk123.HMSNotificationTypes.ROOM_ENDED:
36231
36241
  ToastManager.addToast({
36232
36242
  title: `${notification.message}.
36233
36243
  ${notification.data.reason && `Reason: ${notification.data.reason}`}`
36234
36244
  });
36235
36245
  break;
36236
- case import_react_sdk122.HMSNotificationTypes.DEVICE_CHANGE_UPDATE:
36246
+ case import_react_sdk123.HMSNotificationTypes.DEVICE_CHANGE_UPDATE:
36237
36247
  ToastManager.addToast({
36238
36248
  title: notification.message
36239
36249
  });
36240
36250
  break;
36241
- case import_react_sdk122.HMSNotificationTypes.POLL_STARTED:
36251
+ case import_react_sdk123.HMSNotificationTypes.POLL_STARTED:
36242
36252
  if (notification.data.startedBy !== localPeerID && screenProps.screenType !== "hls_live_streaming") {
36243
- const pollStartedBy = vanillaStore.getState((0, import_react_sdk122.selectPeerNameByID)(notification.data.startedBy)) || "Participant";
36253
+ const pollStartedBy = vanillaStore.getState((0, import_react_sdk123.selectPeerNameByID)(notification.data.startedBy)) || "Participant";
36244
36254
  const pollToastID = ToastManager.addToast({
36245
36255
  title: `${pollStartedBy} started a ${notification.data.type}: ${notification.data.title}`,
36246
36256
  action: /* @__PURE__ */ import_react234.default.createElement(
@@ -36262,14 +36272,14 @@ function Notifications() {
36262
36272
  pollToastKey[notification.data.id] = pollToastID;
36263
36273
  }
36264
36274
  break;
36265
- case import_react_sdk122.HMSNotificationTypes.POLL_STOPPED:
36275
+ case import_react_sdk123.HMSNotificationTypes.POLL_STOPPED:
36266
36276
  const pollID = notification == null ? void 0 : notification.data.id;
36267
36277
  if (pollID && (pollToastKey == null ? void 0 : pollToastKey[pollID])) {
36268
36278
  ToastManager.removeToast(pollToastKey == null ? void 0 : pollToastKey[notification.data.id]);
36269
36279
  delete pollToastKey[notification == null ? void 0 : notification.data.id];
36270
36280
  }
36271
36281
  break;
36272
- case import_react_sdk122.HMSNotificationTypes.NEW_MESSAGE:
36282
+ case import_react_sdk123.HMSNotificationTypes.NEW_MESSAGE:
36273
36283
  if (amIScreenSharing && !((_q = notification.data) == null ? void 0 : _q.ignored) && !pipWindow) {
36274
36284
  showNotification(`New message from ${notification.data.senderName}`, {
36275
36285
  body: notification.data.message,
@@ -36284,15 +36294,15 @@ function Notifications() {
36284
36294
  if (isNotificationDisabled) {
36285
36295
  return null;
36286
36296
  }
36287
- return /* @__PURE__ */ import_react234.default.createElement(import_react234.default.Fragment, null, /* @__PURE__ */ import_react234.default.createElement(TrackUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackBulkUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackNotifications, null), roomState === import_react_sdk122.HMSRoomState.Connected ? /* @__PURE__ */ import_react234.default.createElement(PeerNotifications, null) : null, /* @__PURE__ */ import_react234.default.createElement(ReconnectNotifications, null), /* @__PURE__ */ import_react234.default.createElement(AutoplayBlockedModal, null), /* @__PURE__ */ import_react234.default.createElement(PermissionErrorNotificationModal, null), /* @__PURE__ */ import_react234.default.createElement(InitErrorModal, null), /* @__PURE__ */ import_react234.default.createElement(ChatNotifications, null), /* @__PURE__ */ import_react234.default.createElement(HandRaisedNotifications, null), /* @__PURE__ */ import_react234.default.createElement(TranscriptionNotifications, null));
36297
+ return /* @__PURE__ */ import_react234.default.createElement(import_react234.default.Fragment, null, /* @__PURE__ */ import_react234.default.createElement(TrackUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackBulkUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackNotifications, null), roomState === import_react_sdk123.HMSRoomState.Connected ? /* @__PURE__ */ import_react234.default.createElement(PeerNotifications, null) : null, /* @__PURE__ */ import_react234.default.createElement(ReconnectNotifications, null), /* @__PURE__ */ import_react234.default.createElement(AutoplayBlockedModal, null), /* @__PURE__ */ import_react234.default.createElement(PermissionErrorNotificationModal, null), /* @__PURE__ */ import_react234.default.createElement(InitErrorModal, null), /* @__PURE__ */ import_react234.default.createElement(ChatNotifications, null), /* @__PURE__ */ import_react234.default.createElement(HandRaisedNotifications, null), /* @__PURE__ */ import_react234.default.createElement(TranscriptionNotifications, null));
36288
36298
  }
36289
- var import_react234, import_react_sdk122, import_react_icons111, pollToastKey;
36299
+ var import_react234, import_react_sdk123, import_react_icons111, pollToastKey;
36290
36300
  var init_Notifications = __esm({
36291
36301
  "src/Prebuilt/components/Notifications/Notifications.tsx"() {
36292
36302
  "use strict";
36293
36303
  init_define_process_env();
36294
36304
  import_react234 = __toESM(require("react"));
36295
- import_react_sdk122 = require("@100mslive/react-sdk");
36305
+ import_react_sdk123 = require("@100mslive/react-sdk");
36296
36306
  import_react_icons111 = require("@100mslive/react-icons");
36297
36307
  init_src();
36298
36308
  init_roomLayoutProvider();
@@ -36438,19 +36448,19 @@ var init_Toast3 = __esm({
36438
36448
  });
36439
36449
 
36440
36450
  // src/Prebuilt/components/Toast/ToastContainer.jsx
36441
- var import_react238, import_react_sdk123, ToastContainer;
36451
+ var import_react238, import_react_sdk124, ToastContainer;
36442
36452
  var init_ToastContainer = __esm({
36443
36453
  "src/Prebuilt/components/Toast/ToastContainer.jsx"() {
36444
36454
  "use strict";
36445
36455
  init_define_process_env();
36446
36456
  import_react238 = __toESM(require("react"));
36447
- import_react_sdk123 = require("@100mslive/react-sdk");
36457
+ import_react_sdk124 = require("@100mslive/react-sdk");
36448
36458
  init_Toast2();
36449
36459
  init_Toast3();
36450
36460
  init_ToastManager();
36451
36461
  init_constants();
36452
36462
  ToastContainer = () => {
36453
- const isConnected = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsConnectedToRoom);
36463
+ const isConnected = (0, import_react_sdk124.useHMSStore)(import_react_sdk124.selectIsConnectedToRoom);
36454
36464
  const [toasts, setToast] = (0, import_react238.useState)([]);
36455
36465
  (0, import_react238.useEffect)(() => {
36456
36466
  ToastManager.addListener(setToast);
@@ -36507,18 +36517,18 @@ var init_RoomDetailsSheet = __esm({
36507
36517
  });
36508
36518
 
36509
36519
  // src/Prebuilt/layouts/Sheet.tsx
36510
- var import_react240, import_react_sdk124, Sheet2;
36520
+ var import_react240, import_react_sdk125, Sheet2;
36511
36521
  var init_Sheet3 = __esm({
36512
36522
  "src/Prebuilt/layouts/Sheet.tsx"() {
36513
36523
  "use strict";
36514
36524
  init_define_process_env();
36515
36525
  import_react240 = __toESM(require("react"));
36516
- import_react_sdk124 = require("@100mslive/react-sdk");
36526
+ import_react_sdk125 = require("@100mslive/react-sdk");
36517
36527
  init_RoomDetailsSheet();
36518
36528
  init_Layout();
36519
36529
  init_constants();
36520
36530
  Sheet2 = () => {
36521
- const sheet = (0, import_react_sdk124.useHMSStore)((0, import_react_sdk124.selectAppData)(APP_DATA.sheet));
36531
+ const sheet = (0, import_react_sdk125.useHMSStore)((0, import_react_sdk125.selectAppData)(APP_DATA.sheet));
36522
36532
  let ViewComponent;
36523
36533
  if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
36524
36534
  ViewComponent = /* @__PURE__ */ import_react240.default.createElement(RoomDetailsSheet, null);
@@ -36530,19 +36540,19 @@ var init_Sheet3 = __esm({
36530
36540
 
36531
36541
  // src/Prebuilt/plugins/FlyingEmoji.jsx
36532
36542
  function FlyingEmoji() {
36533
- const localPeerId = (0, import_react_sdk125.useHMSStore)(import_react_sdk125.selectLocalPeerID);
36534
- const vanillaStore = (0, import_react_sdk125.useHMSVanillaStore)();
36535
- const hmsActions = (0, import_react_sdk125.useHMSActions)();
36543
+ const localPeerId = (0, import_react_sdk126.useHMSStore)(import_react_sdk126.selectLocalPeerID);
36544
+ const vanillaStore = (0, import_react_sdk126.useHMSVanillaStore)();
36545
+ const hmsActions = (0, import_react_sdk126.useHMSActions)();
36536
36546
  const [emojis, setEmojis] = (0, import_react241.useState)([]);
36537
36547
  const isMobile = (0, import_react_use60.useMedia)(config.media.md);
36538
- const isLargeRoom = (0, import_react_sdk125.useHMSStore)(import_react_sdk125.selectIsLargeRoom);
36548
+ const isLargeRoom = (0, import_react_sdk126.useHMSStore)(import_react_sdk126.selectIsLargeRoom);
36539
36549
  const startingPoints = (0, import_react241.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
36540
36550
  const showFlyingEmoji = (0, import_react241.useCallback)(
36541
36551
  (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
36542
36552
  if (!emojiId || !senderId || document.hidden) {
36543
36553
  return;
36544
36554
  }
36545
- let senderPeerName = vanillaStore.getState((0, import_react_sdk125.selectPeerNameByID)(senderId));
36555
+ let senderPeerName = vanillaStore.getState((0, import_react_sdk126.selectPeerNameByID)(senderId));
36546
36556
  if (!senderPeerName && isLargeRoom) {
36547
36557
  const sender = yield hmsActions.getPeer(senderId);
36548
36558
  senderPeerName = sender == null ? void 0 : sender.name;
@@ -36565,7 +36575,7 @@ function FlyingEmoji() {
36565
36575
  }),
36566
36576
  [vanillaStore, isLargeRoom, localPeerId, startingPoints, hmsActions]
36567
36577
  );
36568
- (0, import_react_sdk125.useCustomEvent)({
36578
+ (0, import_react_sdk126.useCustomEvent)({
36569
36579
  type: EMOJI_REACTION_TYPE,
36570
36580
  onEvent: showFlyingEmoji
36571
36581
  });
@@ -36629,14 +36639,14 @@ function FlyingEmoji() {
36629
36639
  })
36630
36640
  );
36631
36641
  }
36632
- var import_react241, import_react_use60, import_react_sdk125, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
36642
+ var import_react241, import_react_use60, import_react_sdk126, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
36633
36643
  var init_FlyingEmoji = __esm({
36634
36644
  "src/Prebuilt/plugins/FlyingEmoji.jsx"() {
36635
36645
  "use strict";
36636
36646
  init_define_process_env();
36637
36647
  import_react241 = __toESM(require("react"));
36638
36648
  import_react_use60 = require("react-use");
36639
- import_react_sdk125 = require("@100mslive/react-sdk");
36649
+ import_react_sdk126 = require("@100mslive/react-sdk");
36640
36650
  init_Layout();
36641
36651
  init_Text2();
36642
36652
  init_Theme();
@@ -36669,45 +36679,45 @@ var init_FlyingEmoji = __esm({
36669
36679
 
36670
36680
  // src/Prebuilt/plugins/RemoteStopScreenshare.jsx
36671
36681
  function RemoteStopScreenshare() {
36672
- const actions = (0, import_react_sdk126.useHMSActions)();
36682
+ const actions = (0, import_react_sdk127.useHMSActions)();
36673
36683
  const onRemoteStopScreenshare = (0, import_react242.useCallback)(() => __async(this, null, function* () {
36674
36684
  yield actions.setScreenShareEnabled(false);
36675
36685
  }), [actions]);
36676
- (0, import_react_sdk126.useCustomEvent)({
36686
+ (0, import_react_sdk127.useCustomEvent)({
36677
36687
  type: REMOTE_STOP_SCREENSHARE_TYPE,
36678
36688
  onEvent: onRemoteStopScreenshare
36679
36689
  });
36680
36690
  return /* @__PURE__ */ import_react242.default.createElement(import_react242.default.Fragment, null);
36681
36691
  }
36682
- var import_react242, import_react_sdk126;
36692
+ var import_react242, import_react_sdk127;
36683
36693
  var init_RemoteStopScreenshare = __esm({
36684
36694
  "src/Prebuilt/plugins/RemoteStopScreenshare.jsx"() {
36685
36695
  "use strict";
36686
36696
  init_define_process_env();
36687
36697
  import_react242 = __toESM(require("react"));
36688
- import_react_sdk126 = require("@100mslive/react-sdk");
36698
+ import_react_sdk127 = require("@100mslive/react-sdk");
36689
36699
  init_constants();
36690
36700
  }
36691
36701
  });
36692
36702
 
36693
36703
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
36694
- var import_react243, import_react_sdk127, useAutoStartStreaming;
36704
+ var import_react243, import_react_sdk128, useAutoStartStreaming;
36695
36705
  var init_useAutoStartStreaming = __esm({
36696
36706
  "src/Prebuilt/components/hooks/useAutoStartStreaming.tsx"() {
36697
36707
  "use strict";
36698
36708
  init_define_process_env();
36699
36709
  import_react243 = require("react");
36700
- import_react_sdk127 = require("@100mslive/react-sdk");
36710
+ import_react_sdk128 = require("@100mslive/react-sdk");
36701
36711
  init_useUISettings();
36702
36712
  init_hooks();
36703
36713
  init_constants();
36704
36714
  useAutoStartStreaming = () => {
36705
36715
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
36706
- const permissions = (0, import_react_sdk127.useHMSStore)(import_react_sdk127.selectPermissions);
36716
+ const permissions = (0, import_react_sdk128.useHMSStore)(import_react_sdk128.selectPermissions);
36707
36717
  const showStreamingUI = useShowStreamingUI();
36708
- const hmsActions = (0, import_react_sdk127.useHMSActions)();
36709
- const isConnected = (0, import_react_sdk127.useHMSStore)(import_react_sdk127.selectIsConnectedToRoom);
36710
- const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk127.useRecordingStreaming)();
36718
+ const hmsActions = (0, import_react_sdk128.useHMSActions)();
36719
+ const isConnected = (0, import_react_sdk128.useHMSStore)(import_react_sdk128.selectIsConnectedToRoom);
36720
+ const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk128.useRecordingStreaming)();
36711
36721
  const streamStartedRef = (0, import_react243.useRef)(false);
36712
36722
  const startHLS = (0, import_react243.useCallback)(() => __async(void 0, null, function* () {
36713
36723
  try {
@@ -36764,14 +36774,14 @@ function AppRoutes({
36764
36774
  }
36765
36775
  ), roomLayout && activeState && /* @__PURE__ */ import_react244.default.createElement(AppStates, { activeState })));
36766
36776
  }
36767
- var import_react244, import_ts_pattern17, import_react_sdk128, HMSPrebuilt, AppStates, BackSwipe;
36777
+ var import_react244, import_ts_pattern17, import_react_sdk129, HMSPrebuilt, AppStates, BackSwipe;
36768
36778
  var init_App = __esm({
36769
36779
  "src/Prebuilt/App.tsx"() {
36770
36780
  "use strict";
36771
36781
  init_define_process_env();
36772
36782
  import_react244 = __toESM(require("react"));
36773
36783
  import_ts_pattern17 = require("ts-pattern");
36774
- import_react_sdk128 = require("@100mslive/react-sdk");
36784
+ import_react_sdk129 = require("@100mslive/react-sdk");
36775
36785
  init_AppData();
36776
36786
  init_AuthToken();
36777
36787
  init_ConferenceScreen();
@@ -36818,7 +36828,7 @@ var init_App = __esm({
36818
36828
  const [hydrated, setHydrated] = import_react244.default.useState(false);
36819
36829
  (0, import_react244.useEffect)(() => {
36820
36830
  setHydrated(true);
36821
- const hms = new import_react_sdk128.HMSReactiveStore();
36831
+ const hms = new import_react_sdk129.HMSReactiveStore();
36822
36832
  const hmsStore = hms.getStore();
36823
36833
  const hmsActions = hms.getActions();
36824
36834
  const hmsNotifications = hms.getNotifications();
@@ -36886,7 +36896,7 @@ var init_App = __esm({
36886
36896
  }
36887
36897
  },
36888
36898
  /* @__PURE__ */ import_react244.default.createElement(
36889
- import_react_sdk128.HMSRoomProvider,
36899
+ import_react_sdk129.HMSRoomProvider,
36890
36900
  {
36891
36901
  isHMSStatsOn: FeatureFlags.enableStatsForNerds,
36892
36902
  actions: (_a7 = reactiveStore.current) == null ? void 0 : _a7.hmsActions,
@@ -36951,8 +36961,8 @@ var init_App = __esm({
36951
36961
  return (0, import_ts_pattern17.match)({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ import_react244.default.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ import_react244.default.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ import_react244.default.createElement(ConferenceScreen, null));
36952
36962
  };
36953
36963
  BackSwipe = () => {
36954
- const isConnectedToRoom = (0, import_react_sdk128.useHMSStore)(import_react_sdk128.selectIsConnectedToRoom);
36955
- const hmsActions = (0, import_react_sdk128.useHMSActions)();
36964
+ const isConnectedToRoom = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectIsConnectedToRoom);
36965
+ const hmsActions = (0, import_react_sdk129.useHMSActions)();
36956
36966
  (0, import_react244.useEffect)(() => {
36957
36967
  const onRouteLeave = () => __async(void 0, null, function* () {
36958
36968
  if (isConnectedToRoom) {
@@ -38128,13 +38138,13 @@ var init_DeviceSelector = __esm({
38128
38138
  });
38129
38139
 
38130
38140
  // src/Diagnostics/AudioTest.tsx
38131
- var import_react248, import_react_sdk129, import_react_icons113, SelectContainer, MicTest, SpeakerTest, AudioTest;
38141
+ var import_react248, import_react_sdk130, import_react_icons113, SelectContainer, MicTest, SpeakerTest, AudioTest;
38132
38142
  var init_AudioTest = __esm({
38133
38143
  "src/Diagnostics/AudioTest.tsx"() {
38134
38144
  "use strict";
38135
38145
  init_define_process_env();
38136
38146
  import_react248 = __toESM(require("react"));
38137
- import_react_sdk129 = require("@100mslive/react-sdk");
38147
+ import_react_sdk130 = require("@100mslive/react-sdk");
38138
38148
  import_react_icons113 = require("@100mslive/react-icons");
38139
38149
  init_PermissionErrorModal();
38140
38150
  init_components();
@@ -38150,12 +38160,12 @@ var init_AudioTest = __esm({
38150
38160
  MicTest = ({ setError }) => {
38151
38161
  var _a7, _b7;
38152
38162
  const { hmsDiagnostics } = useDiagnostics();
38153
- const devices = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectDevices);
38163
+ const devices = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectDevices);
38154
38164
  const [isRecording, setIsRecording] = (0, import_react248.useState)(false);
38155
38165
  const [selectedMic, setSelectedMic] = (0, import_react248.useState)(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
38156
- const trackID = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectLocalAudioTrackID);
38157
- const audioLevel = (0, import_react_sdk129.useHMSStore)((0, import_react_sdk129.selectTrackAudioByID)(trackID));
38158
- const { audioOutputDeviceId } = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectLocalMediaSettings);
38166
+ const trackID = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectLocalAudioTrackID);
38167
+ const audioLevel = (0, import_react_sdk130.useHMSStore)((0, import_react_sdk130.selectTrackAudioByID)(trackID));
38168
+ const { audioOutputDeviceId } = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectLocalMediaSettings);
38159
38169
  const { playing, setPlaying, audioRef } = useAudioOutputTest({
38160
38170
  deviceId: audioOutputDeviceId || ((_b7 = devices.audioOutput[0]) == null ? void 0 : _b7.deviceId)
38161
38171
  });
@@ -38230,9 +38240,9 @@ var init_AudioTest = __esm({
38230
38240
  };
38231
38241
  SpeakerTest = () => {
38232
38242
  var _a7;
38233
- const actions = (0, import_react_sdk129.useHMSActions)();
38234
- const devices = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectDevices);
38235
- const { audioOutputDeviceId } = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectLocalMediaSettings);
38243
+ const actions = (0, import_react_sdk130.useHMSActions)();
38244
+ const devices = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectDevices);
38245
+ const { audioOutputDeviceId } = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectLocalMediaSettings);
38236
38246
  if (devices.audioOutput.length === 0) {
38237
38247
  return /* @__PURE__ */ import_react248.default.createElement(import_react248.default.Fragment, null);
38238
38248
  }
@@ -38282,13 +38292,13 @@ var init_AudioTest = __esm({
38282
38292
  });
38283
38293
 
38284
38294
  // src/Diagnostics/BrowserTest.tsx
38285
- var import_react249, import_react_sdk130, CMS_MEDIA_SERVER, operatingSystemIconInfo, browserTypeIconInfo, CheckDetails, BrowserTest;
38295
+ var import_react249, import_react_sdk131, CMS_MEDIA_SERVER, operatingSystemIconInfo, browserTypeIconInfo, CheckDetails, BrowserTest;
38286
38296
  var init_BrowserTest = __esm({
38287
38297
  "src/Diagnostics/BrowserTest.tsx"() {
38288
38298
  "use strict";
38289
38299
  init_define_process_env();
38290
38300
  import_react249 = __toESM(require("react"));
38291
- import_react_sdk130 = require("@100mslive/react-sdk");
38301
+ import_react_sdk131 = require("@100mslive/react-sdk");
38292
38302
  init_components();
38293
38303
  init_Layout();
38294
38304
  init_Text2();
@@ -38390,15 +38400,15 @@ var init_BrowserTest = __esm({
38390
38400
  CheckDetails,
38391
38401
  {
38392
38402
  title: "Browser",
38393
- iconURL: import_react_sdk130.parsedUserAgent.getBrowser().name && ((_b7 = browserTypeIconInfo[(_a7 = import_react_sdk130.parsedUserAgent.getBrowser().name) == null ? void 0 : _a7.toLowerCase()]) == null ? void 0 : _b7.icon),
38394
- value: `${import_react_sdk130.parsedUserAgent.getBrowser().name} ${import_react_sdk130.parsedUserAgent.getBrowser().version}`
38403
+ iconURL: import_react_sdk131.parsedUserAgent.getBrowser().name && ((_b7 = browserTypeIconInfo[(_a7 = import_react_sdk131.parsedUserAgent.getBrowser().name) == null ? void 0 : _a7.toLowerCase()]) == null ? void 0 : _b7.icon),
38404
+ value: `${import_react_sdk131.parsedUserAgent.getBrowser().name} ${import_react_sdk131.parsedUserAgent.getBrowser().version}`
38395
38405
  }
38396
38406
  ), /* @__PURE__ */ import_react249.default.createElement(
38397
38407
  CheckDetails,
38398
38408
  {
38399
38409
  title: "Operating system",
38400
- iconURL: import_react_sdk130.parsedUserAgent.getOS().name && ((_d = operatingSystemIconInfo[(_c = import_react_sdk130.parsedUserAgent.getOS().name) == null ? void 0 : _c.toLowerCase()]) == null ? void 0 : _d.icon),
38401
- value: `${import_react_sdk130.parsedUserAgent.getOS().name} ${import_react_sdk130.parsedUserAgent.getOS().version}`
38410
+ iconURL: import_react_sdk131.parsedUserAgent.getOS().name && ((_d = operatingSystemIconInfo[(_c = import_react_sdk131.parsedUserAgent.getOS().name) == null ? void 0 : _c.toLowerCase()]) == null ? void 0 : _d.icon),
38411
+ value: `${import_react_sdk131.parsedUserAgent.getOS().name} ${import_react_sdk131.parsedUserAgent.getOS().version}`
38402
38412
  }
38403
38413
  )), /* @__PURE__ */ import_react249.default.createElement(TestFooter, { error, ctaText: "Is your device information correct?" }));
38404
38414
  };
@@ -38406,13 +38416,13 @@ var init_BrowserTest = __esm({
38406
38416
  });
38407
38417
 
38408
38418
  // src/Diagnostics/ConnectivityTest.tsx
38409
- var import_react250, import_react_sdk131, import_react_icons114, Regions, ConnectivityStateMessage, ConnectivityTestStepResult, DetailedInfo, MediaServerResult, SignallingResult, AudioStats, VideoStats, Footer3, ConnectivityTestReport, RegionSelector, ConnectivityTest, downloadJson;
38419
+ var import_react250, import_react_sdk132, import_react_icons114, Regions, ConnectivityStateMessage, ConnectivityTestStepResult, DetailedInfo, MediaServerResult, SignallingResult, AudioStats, VideoStats, Footer3, ConnectivityTestReport, RegionSelector, ConnectivityTest, downloadJson;
38410
38420
  var init_ConnectivityTest = __esm({
38411
38421
  "src/Diagnostics/ConnectivityTest.tsx"() {
38412
38422
  "use strict";
38413
38423
  init_define_process_env();
38414
38424
  import_react250 = __toESM(require("react"));
38415
- import_react_sdk131 = require("@100mslive/react-sdk");
38425
+ import_react_sdk132 = require("@100mslive/react-sdk");
38416
38426
  import_react_icons114 = require("@100mslive/react-icons");
38417
38427
  init_components();
38418
38428
  init_Button2();
@@ -38427,13 +38437,13 @@ var init_ConnectivityTest = __esm({
38427
38437
  us: "United States"
38428
38438
  };
38429
38439
  ConnectivityStateMessage = {
38430
- [import_react_sdk131.ConnectivityState.STARTING]: "Fetching Init",
38431
- [import_react_sdk131.ConnectivityState.INIT_FETCHED]: "Connecting to signal server",
38432
- [import_react_sdk131.ConnectivityState.SIGNAL_CONNECTED]: "Establishing ICE connection",
38433
- [import_react_sdk131.ConnectivityState.ICE_ESTABLISHED]: "Capturing Media",
38434
- [import_react_sdk131.ConnectivityState.MEDIA_CAPTURED]: "Publishing Media",
38435
- [import_react_sdk131.ConnectivityState.MEDIA_PUBLISHED]: "Finishing Up",
38436
- [import_react_sdk131.ConnectivityState.COMPLETED]: "Completed"
38440
+ [import_react_sdk132.ConnectivityState.STARTING]: "Fetching Init",
38441
+ [import_react_sdk132.ConnectivityState.INIT_FETCHED]: "Connecting to signal server",
38442
+ [import_react_sdk132.ConnectivityState.SIGNAL_CONNECTED]: "Establishing ICE connection",
38443
+ [import_react_sdk132.ConnectivityState.ICE_ESTABLISHED]: "Capturing Media",
38444
+ [import_react_sdk132.ConnectivityState.MEDIA_CAPTURED]: "Publishing Media",
38445
+ [import_react_sdk132.ConnectivityState.MEDIA_PUBLISHED]: "Finishing Up",
38446
+ [import_react_sdk132.ConnectivityState.COMPLETED]: "Completed"
38437
38447
  };
38438
38448
  ConnectivityTestStepResult = ({
38439
38449
  title,
@@ -38624,7 +38634,7 @@ var init_ConnectivityTest = __esm({
38624
38634
  {
38625
38635
  region,
38626
38636
  setRegion,
38627
- startTest: progress === void 0 || progress === import_react_sdk131.ConnectivityState.COMPLETED ? startTest : void 0
38637
+ startTest: progress === void 0 || progress === import_react_sdk132.ConnectivityState.COMPLETED ? startTest : void 0
38628
38638
  }
38629
38639
  ), /* @__PURE__ */ import_react250.default.createElement(ConnectivityTestReport, { error, result, progress, startTest }));
38630
38640
  };
@@ -38641,13 +38651,13 @@ var init_ConnectivityTest = __esm({
38641
38651
  });
38642
38652
 
38643
38653
  // src/Diagnostics/VideoTest.tsx
38644
- var import_react251, import_react_sdk132, import_react_icons115, VideoTest;
38654
+ var import_react251, import_react_sdk133, import_react_icons115, VideoTest;
38645
38655
  var init_VideoTest = __esm({
38646
38656
  "src/Diagnostics/VideoTest.tsx"() {
38647
38657
  "use strict";
38648
38658
  init_define_process_env();
38649
38659
  import_react251 = __toESM(require("react"));
38650
- import_react_sdk132 = require("@100mslive/react-sdk");
38660
+ import_react_sdk133 = require("@100mslive/react-sdk");
38651
38661
  import_react_icons115 = require("@100mslive/react-icons");
38652
38662
  init_PermissionErrorModal();
38653
38663
  init_components();
@@ -38659,10 +38669,10 @@ var init_VideoTest = __esm({
38659
38669
  init_DiagnosticsContext();
38660
38670
  VideoTest = () => {
38661
38671
  const { hmsDiagnostics, updateStep } = useDiagnostics();
38662
- const allDevices = (0, import_react_sdk132.useHMSStore)(import_react_sdk132.selectDevices);
38672
+ const allDevices = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectDevices);
38663
38673
  const { videoInput } = allDevices;
38664
- const trackID = (0, import_react_sdk132.useHMSStore)(import_react_sdk132.selectLocalVideoTrackID);
38665
- const sdkSelectedDevices = (0, import_react_sdk132.useHMSStore)(import_react_sdk132.selectLocalMediaSettings);
38674
+ const trackID = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectLocalVideoTrackID);
38675
+ const sdkSelectedDevices = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectLocalMediaSettings);
38666
38676
  const [error, setError] = (0, import_react251.useState)();
38667
38677
  (0, import_react251.useEffect)(() => {
38668
38678
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
@@ -38699,13 +38709,13 @@ var init_VideoTest = __esm({
38699
38709
  });
38700
38710
 
38701
38711
  // src/Diagnostics/Diagnostics.tsx
38702
- var import_react252, import_react_sdk133, import_react_icons116, DiagnosticsStepIcon, Container5, DiagnosticsStepTest, DiagnosticsStepHeader, DiagnosticsStepContainer, DiagnosticsStepsList, DiagnosticsProvider, Diagnostics;
38712
+ var import_react252, import_react_sdk134, import_react_icons116, DiagnosticsStepIcon, Container5, DiagnosticsStepTest, DiagnosticsStepHeader, DiagnosticsStepContainer, DiagnosticsStepsList, DiagnosticsProvider, Diagnostics;
38703
38713
  var init_Diagnostics = __esm({
38704
38714
  "src/Diagnostics/Diagnostics.tsx"() {
38705
38715
  "use strict";
38706
38716
  init_define_process_env();
38707
38717
  import_react252 = __toESM(require("react"));
38708
- import_react_sdk133 = require("@100mslive/react-sdk");
38718
+ import_react_sdk134 = require("@100mslive/react-sdk");
38709
38719
  import_react_icons116 = require("@100mslive/react-icons");
38710
38720
  init_Layout();
38711
38721
  init_Text2();
@@ -38804,7 +38814,7 @@ var init_Diagnostics = __esm({
38804
38814
  }));
38805
38815
  };
38806
38816
  DiagnosticsProvider = () => {
38807
- const actions = (0, import_react_sdk133.useHMSActions)();
38817
+ const actions = (0, import_react_sdk134.useHMSActions)();
38808
38818
  const [activeStep, setActiveStep] = (0, import_react252.useState)(0);
38809
38819
  const [steps, setSteps] = (0, import_react252.useState)(initialSteps);
38810
38820
  const diagnosticsRef = (0, import_react252.useRef)(actions.initDiagnostics());
@@ -38826,7 +38836,7 @@ var init_Diagnostics = __esm({
38826
38836
  );
38827
38837
  };
38828
38838
  Diagnostics = () => {
38829
- return /* @__PURE__ */ import_react252.default.createElement(import_react_sdk133.HMSRoomProvider, null, /* @__PURE__ */ import_react252.default.createElement(HMSThemeProvider, { themeType: "default" }, /* @__PURE__ */ import_react252.default.createElement(DiagnosticsProvider, null)));
38839
+ return /* @__PURE__ */ import_react252.default.createElement(import_react_sdk134.HMSRoomProvider, null, /* @__PURE__ */ import_react252.default.createElement(HMSThemeProvider, { themeType: "default" }, /* @__PURE__ */ import_react252.default.createElement(DiagnosticsProvider, null)));
38830
38840
  };
38831
38841
  }
38832
38842
  });