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

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5d40e4cd-a5bf-432a-9f0c-8938de0276f8", 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-alpha.6", 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-alpha.6", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5d40e4cd-a5bf-432a-9f0c-8938de0276f8", 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-alpha.6", 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: "590", 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: "20240825.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:3000", 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-alpha.6", 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: "10662670030", 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: "bff1ab1173426dcefe0c58e22ac406f01a110443", 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: "92cf93726e0613e11fee294fd6dc5ba1e6be24fd6db6d568cc6874018582f82a", 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--1725261964667-0.9714174939580624:/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--1725261964455-0.6683922873991801:/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--1725261939159-0.7955046597599891:/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--1725261938983-0.7180717708920137:/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_495de3dc-fc8e-4641-8ede-2790c7ec8e12", INVOCATION_ID: "50adb1508fd8445ea807c108c1a3ad5f", 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: "649", 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 473", 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.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-alpha.6", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-alpha.6", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_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: "bff1ab1173426dcefe0c58e22ac406f01a110443", 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_5d40e4cd-a5bf-432a-9f0c-8938de0276f8", 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_5d40e4cd-a5bf-432a-9f0c-8938de0276f8", 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_5d40e4cd-a5bf-432a-9f0c-8938de0276f8" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b4a596b6-99b0-442b-b4bc-f940f57f3996", 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-alpha.7", 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-alpha.7", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b4a596b6-99b0-442b-b4bc-f940f57f3996", 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-alpha.7", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_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: "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: "20240825.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:18124", 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-alpha.7", 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: "10665812811", 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: "50b8b39de066c76d8275b383a40e7d4b60d6851e", 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: "95e8492f5545425b3e4974fdb23a8b301fd1d4be3d6dacb182d54249d572260d", 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--1725274668562-0.3727104956176519:/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--1725274668352-0.4247454584357553:/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--1725274642656-0.8741617756242577:/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--1725274642448-0.4687128636411322:/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_224c3305-9440-403d-9b28-690c381e0a0b", INVOCATION_ID: "b1ed28efb94c4cfdbc8082b5b134a4c5", 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: "650", 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 1", 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.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-alpha.7", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-alpha.7", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_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: "50b8b39de066c76d8275b383a40e7d4b60d6851e", 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_b4a596b6-99b0-442b-b4bc-f940f57f3996", 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_b4a596b6-99b0-442b-b4bc-f940f57f3996", 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_b4a596b6-99b0-442b-b4bc-f940f57f3996" };
111
111
  }
112
112
  });
113
113
 
@@ -11262,7 +11262,7 @@ init_define_process_env();
11262
11262
 
11263
11263
  // src/Modal/Dialog.tsx
11264
11264
  init_define_process_env();
11265
- import React11, { useRef as useRef2 } from "react";
11265
+ import React11, { useEffect as useEffect3, useRef as useRef2 } from "react";
11266
11266
  import { Root as Root6 } from "@radix-ui/react-dialog";
11267
11267
  import { styled as styled2 } from "@stitches/react";
11268
11268
 
@@ -11341,6 +11341,15 @@ function useDialogContainerSelector() {
11341
11341
 
11342
11342
  // src/Modal/Dialog.tsx
11343
11343
  var StyledDialog = styled2(Root6, {});
11344
+ var DialogRoot = (props) => {
11345
+ useEffect3(() => {
11346
+ return () => {
11347
+ if (document)
11348
+ setTimeout(() => document.body.style.pointerEvents = "auto", 0);
11349
+ };
11350
+ }, []);
11351
+ return /* @__PURE__ */ React11.createElement(StyledDialog, __spreadValues({}, props));
11352
+ };
11344
11353
  var CustomDialogPortal = ({ children, container }) => {
11345
11354
  const dialogContainerSelector = useDialogContainerSelector();
11346
11355
  const containerRef = useRef2(null);
@@ -11354,7 +11363,7 @@ var CustomDialogPortal = ({ children, container }) => {
11354
11363
  return /* @__PURE__ */ React11.createElement(StyledDialogPortal, { container: containerRef.current }, /* @__PURE__ */ React11.createElement(React11.Fragment, null, children));
11355
11364
  };
11356
11365
  var Dialog = {
11357
- Root: StyledDialog,
11366
+ Root: DialogRoot,
11358
11367
  Trigger: StyledDialogTrigger,
11359
11368
  Overlay: CustomDialogOverlay,
11360
11369
  Content: CustomDialogContent,
@@ -12007,7 +12016,7 @@ var sigmoid = (z2) => {
12007
12016
 
12008
12017
  // src/AudioLevel/AudioLevel.tsx
12009
12018
  init_define_process_env();
12010
- import React14, { useEffect as useEffect3, useRef as useRef4 } from "react";
12019
+ import React14, { useEffect as useEffect4, useRef as useRef4 } from "react";
12011
12020
  import { selectTrackAudioByID, useHMSVanillaStore } from "@100mslive/react-sdk";
12012
12021
 
12013
12022
  // src/AudioLevel/audio-level.png
@@ -12053,7 +12062,7 @@ var AudioBar = () => {
12053
12062
  var AudioLevel = ({ trackId, size }) => {
12054
12063
  const ref = useRef4(null);
12055
12064
  const vanillaStore = useHMSVanillaStore();
12056
- useEffect3(() => {
12065
+ useEffect4(() => {
12057
12066
  const unsubscribe = vanillaStore.subscribe((audioLevel) => {
12058
12067
  if (ref.current) {
12059
12068
  let index = 0;
@@ -12911,7 +12920,7 @@ var Collapsible = {
12911
12920
 
12912
12921
  // src/Prebuilt/App.tsx
12913
12922
  init_define_process_env();
12914
- import React186, { useEffect as useEffect78, useRef as useRef34 } from "react";
12923
+ import React186, { useEffect as useEffect79, useRef as useRef34 } from "react";
12915
12924
  import { match as match16 } from "ts-pattern";
12916
12925
  import {
12917
12926
  HMSReactiveStore,
@@ -12923,7 +12932,7 @@ import {
12923
12932
 
12924
12933
  // src/Prebuilt/components/AppData/AppData.tsx
12925
12934
  init_define_process_env();
12926
- import React23, { useEffect as useEffect5, useMemo as useMemo4, useRef as useRef7 } from "react";
12935
+ import React23, { useEffect as useEffect6, useMemo as useMemo4, useRef as useRef7 } from "react";
12927
12936
  import { useMedia } from "react-use";
12928
12937
  import {
12929
12938
  HMSRoomState,
@@ -13266,7 +13275,7 @@ import React22 from "react";
13266
13275
 
13267
13276
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
13268
13277
  init_define_process_env();
13269
- import { useCallback as useCallback5, useEffect as useEffect4, useRef as useRef6, useState as useState5 } from "react";
13278
+ import { useCallback as useCallback5, useEffect as useEffect5, useRef as useRef6, useState as useState5 } from "react";
13270
13279
 
13271
13280
  // src/Prebuilt/provider/roomLayoutProvider/constants/index.ts
13272
13281
  init_define_process_env();
@@ -13362,7 +13371,7 @@ var useFetchRoomLayout = ({
13362
13371
  setLayout(layout2);
13363
13372
  }
13364
13373
  }, []);
13365
- useEffect4(() => {
13374
+ useEffect5(() => {
13366
13375
  (() => __async(void 0, null, function* () {
13367
13376
  var _a7, _b7;
13368
13377
  if (isFetchInProgress.current || !authToken) {
@@ -13741,7 +13750,7 @@ var AppData = React23.memo(() => {
13741
13750
  const sidepaneOpenedRef = useRef7(false);
13742
13751
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
13743
13752
  const isMobile = useMedia(config.media.md);
13744
- useEffect5(() => {
13753
+ useEffect6(() => {
13745
13754
  var _a8;
13746
13755
  if ((_a8 = elements == null ? void 0 : elements.noise_cancellation) == null ? void 0 : _a8.enabled_by_default) {
13747
13756
  setNoiseCancellationEnabled(true);
@@ -13757,7 +13766,7 @@ var AppData = React23.memo(() => {
13757
13766
  }
13758
13767
  return "";
13759
13768
  }, [(_b7 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _b7.background_media]);
13760
- useEffect5(() => {
13769
+ useEffect6(() => {
13761
13770
  hmsActions.initAppData(__spreadValues(__spreadValues({}, initialAppData), appData));
13762
13771
  hmsActions.setFrameworkInfo({
13763
13772
  type: "react-web",
@@ -13765,7 +13774,7 @@ var AppData = React23.memo(() => {
13765
13774
  version: React23.version
13766
13775
  });
13767
13776
  }, [hmsActions]);
13768
- useEffect5(() => {
13777
+ useEffect6(() => {
13769
13778
  const uiSettings = preferences || {};
13770
13779
  const updatedSettings = __spreadProps(__spreadValues({}, uiSettings), {
13771
13780
  [UI_SETTINGS.isAudioOnly]: void 0,
@@ -13773,7 +13782,7 @@ var AppData = React23.memo(() => {
13773
13782
  });
13774
13783
  hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
13775
13784
  }, [hmsActions, preferences]);
13776
- useEffect5(() => {
13785
+ useEffect6(() => {
13777
13786
  var _a8, _b8;
13778
13787
  hmsActions.setAppData(
13779
13788
  APP_DATA.uiSettings,
@@ -13783,13 +13792,13 @@ var AppData = React23.memo(() => {
13783
13792
  true
13784
13793
  );
13785
13794
  }, [hmsActions, isMobile, (_d = (_c = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _c.grid) == null ? void 0 : _d.tiles_in_view]);
13786
- useEffect5(() => {
13795
+ useEffect6(() => {
13787
13796
  if (!preferences.subscribedNotifications) {
13788
13797
  return;
13789
13798
  }
13790
13799
  hmsActions.setAppData(APP_DATA.subscribedNotifications, preferences.subscribedNotifications, true);
13791
13800
  }, [preferences.subscribedNotifications, hmsActions]);
13792
- useEffect5(() => {
13801
+ useEffect6(() => {
13793
13802
  if (defaultMediaURL && !sidepaneOpenedRef.current && isLocalVideoEnabled) {
13794
13803
  hmsActions.setAppData(APP_DATA.background, defaultMediaURL);
13795
13804
  sidepaneOpenedRef.current = true;
@@ -13808,19 +13817,19 @@ var ResetStreamingStart = () => {
13808
13817
  const [rtmpStarted, setRTMPStarted] = useSetAppDataByKey(APP_DATA.rtmpStarted);
13809
13818
  const toggleStreaming = useSidepaneToggle(SIDE_PANE_OPTIONS.STREAMING);
13810
13819
  const isStreamingOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.STREAMING);
13811
- useEffect5(() => {
13820
+ useEffect6(() => {
13812
13821
  if (isBrowserRecordingOn && recordingStarted) {
13813
13822
  setRecordingStarted(false);
13814
13823
  }
13815
13824
  }, [isBrowserRecordingOn, recordingStarted, setRecordingStarted]);
13816
- useEffect5(() => {
13825
+ useEffect6(() => {
13817
13826
  if (roomState === HMSRoomState.Disconnected) {
13818
13827
  setHLSStarted(false);
13819
13828
  setRecordingStarted(false);
13820
13829
  setRTMPStarted(false);
13821
13830
  }
13822
13831
  }, [roomState, setHLSStarted, setRTMPStarted, setRecordingStarted]);
13823
- useEffect5(() => {
13832
+ useEffect6(() => {
13824
13833
  if (isHLSRunning || hlsError) {
13825
13834
  if (hlsStarted) {
13826
13835
  setHLSStarted(false);
@@ -13830,7 +13839,7 @@ var ResetStreamingStart = () => {
13830
13839
  }
13831
13840
  }
13832
13841
  }, [isHLSRunning, hlsStarted, setHLSStarted, hlsError, isStreamingOpen, toggleStreaming]);
13833
- useEffect5(() => {
13842
+ useEffect6(() => {
13834
13843
  if (isRTMPRunning || rtmpError || isBrowserRecordingOn) {
13835
13844
  if (rtmpStarted) {
13836
13845
  setRTMPStarted(false);
@@ -13845,7 +13854,7 @@ var ResetStreamingStart = () => {
13845
13854
 
13846
13855
  // src/Prebuilt/components/AuthToken.tsx
13847
13856
  init_define_process_env();
13848
- import React26, { useEffect as useEffect7, useRef as useRef8, useState as useState6 } from "react";
13857
+ import React26, { useEffect as useEffect8, useRef as useRef8, useState as useState6 } from "react";
13849
13858
  import { useSessionStorage } from "react-use";
13850
13859
  import { match as match3 } from "ts-pattern";
13851
13860
  import { v4 as uuid } from "uuid";
@@ -13874,7 +13883,7 @@ var useHMSPrebuiltContext = () => {
13874
13883
 
13875
13884
  // src/Prebuilt/AppStateContext.tsx
13876
13885
  init_define_process_env();
13877
- import React25, { useContext as useContext3, useEffect as useEffect6 } from "react";
13886
+ import React25, { useContext as useContext3, useEffect as useEffect7 } from "react";
13878
13887
  import { usePreviousDistinct } from "react-use";
13879
13888
  import { match as match2, P as P2 } from "ts-pattern";
13880
13889
  import { HMSRoomState as HMSRoomState2, selectRoomState as selectRoomState2, useHMSActions as useHMSActions5, useHMSStore as useHMSStore7 } from "@100mslive/react-sdk";
@@ -14480,7 +14489,7 @@ var useAppStateManager = () => {
14480
14489
  hmsActions.setAppData(APP_DATA.authToken, "");
14481
14490
  setActiveState(isPreviewScreenEnabled ? "preview" /* PREVIEW */ : "meeting" /* MEETING */);
14482
14491
  };
14483
- useEffect6(() => {
14492
+ useEffect7(() => {
14484
14493
  if (!roomLayout) {
14485
14494
  return;
14486
14495
  }
@@ -14518,7 +14527,7 @@ var AuthToken = React26.memo(({ authTokenByRoomCodeEndpoint, defaultAuthToken, a
14518
14527
  const [tokenInAppData, setAuthTokenInAppData] = useSetAppDataByKey(APP_DATA.authToken);
14519
14528
  const [savedUserId, setSavedUserId] = useSessionStorage(UserPreferencesKeys.USER_ID);
14520
14529
  const progressRef = useRef8(null);
14521
- useEffect7(() => {
14530
+ useEffect8(() => {
14522
14531
  if (authToken) {
14523
14532
  setAuthTokenInAppData(authToken);
14524
14533
  return;
@@ -14612,7 +14621,7 @@ var AuthToken_default = AuthToken;
14612
14621
 
14613
14622
  // src/Prebuilt/components/ConferenceScreen.tsx
14614
14623
  init_define_process_env();
14615
- import React161, { useEffect as useEffect59, useRef as useRef31, useState as useState68 } from "react";
14624
+ import React161, { useEffect as useEffect60, useRef as useRef31, useState as useState68 } from "react";
14616
14625
  import { v4 as uuid3 } from "uuid";
14617
14626
  import {
14618
14627
  HMSRoomState as HMSRoomState8,
@@ -14626,13 +14635,13 @@ import {
14626
14635
 
14627
14636
  // src/Prebuilt/components/Footer/Footer.tsx
14628
14637
  init_define_process_env();
14629
- import React86, { useEffect as useEffect27 } from "react";
14638
+ import React86, { useEffect as useEffect28 } from "react";
14630
14639
  import { useMedia as useMedia15 } from "react-use";
14631
14640
  import { Chat_ChatState } from "@100mslive/types-prebuilt/elements/chat";
14632
14641
 
14633
14642
  // src/Prebuilt/components/AudioVideoToggle.tsx
14634
14643
  init_define_process_env();
14635
- import React34, { Fragment as Fragment3, useCallback as useCallback9, useEffect as useEffect11, useState as useState10 } from "react";
14644
+ import React34, { Fragment as Fragment3, useCallback as useCallback9, useEffect as useEffect12, useState as useState10 } from "react";
14636
14645
  import { HMSKrispPlugin } from "@100mslive/hms-noise-cancellation";
14637
14646
  import {
14638
14647
  DeviceType as DeviceType2,
@@ -14885,7 +14894,7 @@ var ActionTile = {
14885
14894
 
14886
14895
  // src/Prebuilt/components/Settings/SettingsModal.jsx
14887
14896
  init_define_process_env();
14888
- import React33, { useCallback as useCallback8, useEffect as useEffect10, useState as useState9 } from "react";
14897
+ import React33, { useCallback as useCallback8, useEffect as useEffect11, useState as useState9 } from "react";
14889
14898
  import { useMedia as useMedia3 } from "react-use";
14890
14899
  import { ChevronLeftIcon, CrossIcon as CrossIcon3, GridFourIcon, NotificationsIcon, SettingsIcon } from "@100mslive/react-icons";
14891
14900
 
@@ -14996,7 +15005,7 @@ var Sheet = {
14996
15005
 
14997
15006
  // src/Prebuilt/components/Settings/DeviceSettings.jsx
14998
15007
  init_define_process_env();
14999
- import React31, { Fragment as Fragment2, useEffect as useEffect9, useRef as useRef10, useState as useState8 } from "react";
15008
+ import React31, { Fragment as Fragment2, useEffect as useEffect10, useRef as useRef10, useState as useState8 } from "react";
15000
15009
  import { useMedia as useMedia2 } from "react-use";
15001
15010
  import {
15002
15011
  DeviceType,
@@ -15058,11 +15067,11 @@ var DialogDropdownTrigger = React30.forwardRef(({ title, css: css2, open, icon,
15058
15067
 
15059
15068
  // src/Prebuilt/components/hooks/useAudioOutputTest.tsx
15060
15069
  init_define_process_env();
15061
- import { useEffect as useEffect8, useRef as useRef9, useState as useState7 } from "react";
15070
+ import { useEffect as useEffect9, useRef as useRef9, useState as useState7 } from "react";
15062
15071
  var useAudioOutputTest = ({ deviceId }) => {
15063
15072
  const audioRef = useRef9(null);
15064
15073
  const [playing, setPlaying] = useState7(false);
15065
- useEffect8(() => {
15074
+ useEffect9(() => {
15066
15075
  if (audioRef.current && deviceId) {
15067
15076
  try {
15068
15077
  if (typeof audioRef.current.setSinkId !== "undefined") {
@@ -15095,7 +15104,7 @@ var Settings = ({ setHide }) => {
15095
15104
  const hmsActions = useHMSActions7();
15096
15105
  const track = useHMSStore8(trackSelector);
15097
15106
  const isMobile = useMedia2(config.media.md);
15098
- useEffect9(() => {
15107
+ useEffect10(() => {
15099
15108
  if (isMobile) {
15100
15109
  hmsActions.refreshDevices();
15101
15110
  }
@@ -15340,7 +15349,7 @@ var SettingsModal = ({ open, onOpenChange, screenType, children = /* @__PURE__ *
15340
15349
  (key) => (hide) => setShowSetting((prev) => __spreadProps(__spreadValues({}, prev), { [key]: !hide })),
15341
15350
  [setShowSetting]
15342
15351
  );
15343
- useEffect10(() => {
15352
+ useEffect11(() => {
15344
15353
  if (screenType === "hls_live_streaming") {
15345
15354
  hideSettingByTabName("layout")(true);
15346
15355
  }
@@ -15352,7 +15361,7 @@ var SettingsModal = ({ open, onOpenChange, screenType, children = /* @__PURE__ *
15352
15361
  const resetSelection = useCallback8(() => {
15353
15362
  setSelection("");
15354
15363
  }, []);
15355
- useEffect10(() => {
15364
+ useEffect11(() => {
15356
15365
  var _a7;
15357
15366
  if (isMobile) {
15358
15367
  setSelection("");
@@ -15753,7 +15762,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
15753
15762
  const isNoiseCancellationEnabled = useIsNoiseCancellationEnabled();
15754
15763
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
15755
15764
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
15756
- useEffect11(() => {
15765
+ useEffect12(() => {
15757
15766
  (() => __async(void 0, null, function* () {
15758
15767
  var _a7;
15759
15768
  const isEnabledForRoom = (_a7 = vanillaStore.getState(selectRoom)) == null ? void 0 : _a7.isNoiseCancellationEnabled;
@@ -15903,10 +15912,10 @@ var EmojiContainer = styled("span", {
15903
15912
 
15904
15913
  // src/Prebuilt/components/hooks/useDropdownList.ts
15905
15914
  init_define_process_env();
15906
- import { useEffect as useEffect12 } from "react";
15915
+ import { useEffect as useEffect13 } from "react";
15907
15916
  var useDropdownList = ({ name, open }) => {
15908
15917
  const [dropdownList = [], setDropdownList] = useSetAppDataByKey(APP_DATA.dropdownList);
15909
- useEffect12(() => {
15918
+ useEffect13(() => {
15910
15919
  if (open) {
15911
15920
  if (!dropdownList.includes(name)) {
15912
15921
  setDropdownList([...dropdownList, name]);
@@ -15924,7 +15933,7 @@ var useDropdownList = ({ name, open }) => {
15924
15933
 
15925
15934
  // src/Prebuilt/common/hooks.ts
15926
15935
  init_define_process_env();
15927
- import { useCallback as useCallback10, useEffect as useEffect13, useMemo as useMemo5, useRef as useRef11, useState as useState11 } from "react";
15936
+ import { useCallback as useCallback10, useEffect as useEffect14, useMemo as useMemo5, useRef as useRef11, useState as useState11 } from "react";
15928
15937
  import { useMedia as useMedia4 } from "react-use";
15929
15938
  import { JoinForm_JoinBtnType as JoinForm_JoinBtnType2 } from "@100mslive/types-prebuilt/elements/join_form";
15930
15939
  import {
@@ -16032,7 +16041,7 @@ var useRecordingHandler = () => {
16032
16041
  const recordingState = useHMSStore11(selectRecordingState);
16033
16042
  const [isRecordingLoading, setIsRecordingLoading] = useState11(false);
16034
16043
  const [recordingStarted, setRecordingState] = useSetAppDataByKey(APP_DATA.recordingStarted);
16035
- useEffect13(() => {
16044
+ useEffect14(() => {
16036
16045
  if (recordingState.browser.error && recordingStarted) {
16037
16046
  setRecordingState(false);
16038
16047
  }
@@ -16593,7 +16602,7 @@ import React45 from "react";
16593
16602
 
16594
16603
  // src/Prebuilt/components/PIP/PIPComponent.tsx
16595
16604
  init_define_process_env();
16596
- import React44, { useCallback as useCallback11, useEffect as useEffect14, useState as useState15 } from "react";
16605
+ import React44, { useCallback as useCallback11, useEffect as useEffect15, useState as useState15 } from "react";
16597
16606
  import { selectPeers as selectPeers2, selectTracksMap, useHMSActions as useHMSActions11, useHMSVanillaStore as useHMSVanillaStore6 } from "@100mslive/react-sdk";
16598
16607
  import { PipIcon } from "@100mslive/react-icons";
16599
16608
 
@@ -16673,7 +16682,7 @@ var PIPComponent = ({ content = null }) => {
16673
16682
  var ActivatedPIP = () => {
16674
16683
  const store = useHMSVanillaStore6();
16675
16684
  const pinnedTrack = usePinnedTrack();
16676
- useEffect14(() => {
16685
+ useEffect15(() => {
16677
16686
  function subscribeToStore() {
16678
16687
  return store.subscribe((tracksMap) => {
16679
16688
  let pipPeers = store.getState(selectPeers2);
@@ -16712,7 +16721,7 @@ var PIP = ({ content = null }) => {
16712
16721
 
16713
16722
  // src/Prebuilt/components/PIP/PIPChat.tsx
16714
16723
  init_define_process_env();
16715
- import React50, { useCallback as useCallback16, useEffect as useEffect17, useMemo as useMemo7, useState as useState19 } from "react";
16724
+ import React50, { useCallback as useCallback16, useEffect as useEffect18, useMemo as useMemo7, useState as useState19 } from "react";
16716
16725
  import {
16717
16726
  selectHMSMessages as selectHMSMessages2,
16718
16727
  selectLocalPeerID as selectLocalPeerID3,
@@ -16759,7 +16768,7 @@ var TextArea = styled("textarea", {
16759
16768
 
16760
16769
  // src/Prebuilt/components/Chat/ChatBody.tsx
16761
16770
  init_define_process_env();
16762
- import React49, { Fragment as Fragment6, useCallback as useCallback15, useEffect as useEffect16, useLayoutEffect, useMemo as useMemo6, useRef as useRef12, useState as useState18 } from "react";
16771
+ import React49, { Fragment as Fragment6, useCallback as useCallback15, useEffect as useEffect17, useLayoutEffect, useMemo as useMemo6, useRef as useRef12, useState as useState18 } from "react";
16763
16772
  import { useMedia as useMedia8 } from "react-use";
16764
16773
  import AutoSizer from "react-virtualized-auto-sizer";
16765
16774
  import { VariableSizeList } from "react-window";
@@ -17129,12 +17138,12 @@ var EmptyChat = () => {
17129
17138
 
17130
17139
  // src/Prebuilt/components/hooks/usePinnedBy.tsx
17131
17140
  init_define_process_env();
17132
- import { useEffect as useEffect15, useState as useState17 } from "react";
17141
+ import { useEffect as useEffect16, useState as useState17 } from "react";
17133
17142
  import { selectSessionStore as selectSessionStore4, useHMSStore as useHMSStore18 } from "@100mslive/react-sdk";
17134
17143
  var usePinnedBy = (messageId) => {
17135
17144
  const pinnedMessages = useHMSStore18(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
17136
17145
  const [pinnedBy, setPinnedBy] = useState17("");
17137
- useEffect15(() => {
17146
+ useEffect16(() => {
17138
17147
  let match17 = "";
17139
17148
  pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
17140
17149
  if (pinnedMessage.id === messageId) {
@@ -17456,7 +17465,7 @@ var VirtualizedChatMessages = React49.forwardRef(({ messages, scrollToBottom },
17456
17465
  const itemKey2 = useCallback15((index, data3) => {
17457
17466
  return data3[index].id;
17458
17467
  }, []);
17459
- useEffect16(() => {
17468
+ useEffect17(() => {
17460
17469
  requestAnimationFrame(() => scrollToBottom(1));
17461
17470
  }, [scrollToBottom]);
17462
17471
  return /* @__PURE__ */ React49.createElement(
@@ -17515,7 +17524,7 @@ var ChatBody = React49.forwardRef(
17515
17524
  }, [blacklistedMessageIDs, messages]);
17516
17525
  const vanillaStore = useHMSVanillaStore8();
17517
17526
  const rerenderOnFirstMount = useRef12(false);
17518
- useEffect16(() => {
17527
+ useEffect17(() => {
17519
17528
  const unsubscribe = vanillaStore.subscribe(() => {
17520
17529
  if (!listRef.current) {
17521
17530
  return;
@@ -17527,7 +17536,7 @@ var ChatBody = React49.forwardRef(
17527
17536
  }, selectUnreadHMSMessagesCount);
17528
17537
  return unsubscribe;
17529
17538
  }, [vanillaStore, listRef, scrollToBottom]);
17530
- useEffect16(() => {
17539
+ useEffect17(() => {
17531
17540
  if (filteredMessages.length > 0 && (listRef == null ? void 0 : listRef.current) && !rerenderOnFirstMount.current) {
17532
17541
  rerenderOnFirstMount.current = true;
17533
17542
  listRef.current.resetAfterIndex(0);
@@ -17573,7 +17582,7 @@ var PIPChat = () => {
17573
17582
  },
17574
17583
  [localPeerID]
17575
17584
  );
17576
- useEffect17(() => {
17585
+ useEffect18(() => {
17577
17586
  const timeoutId = setTimeout(() => {
17578
17587
  setUnreadMessageCount(count);
17579
17588
  }, 100);
@@ -18233,7 +18242,7 @@ var StartRecording_default = StartRecording;
18233
18242
 
18234
18243
  // src/Prebuilt/components/StatsForNerds.jsx
18235
18244
  init_define_process_env();
18236
- import React56, { useEffect as useEffect18, useMemo as useMemo8, useRef as useRef15, useState as useState23 } from "react";
18245
+ import React56, { useEffect as useEffect19, useMemo as useMemo8, useRef as useRef15, useState as useState23 } from "react";
18237
18246
  import { match as match4, P as P3 } from "ts-pattern";
18238
18247
  import {
18239
18248
  selectHMSStats as selectHMSStats3,
@@ -18255,7 +18264,7 @@ var StatsForNerds = ({ onOpenChange }) => {
18255
18264
  const [open, setOpen] = useState23(false);
18256
18265
  const ref = useRef15();
18257
18266
  const selectionBg = useDropdownSelection();
18258
- useEffect18(() => {
18267
+ useEffect19(() => {
18259
18268
  if (selectedStat.id !== "local-peer" && !tracksWithLabels.find((track) => track.id === selectedStat.id)) {
18260
18269
  setSelectedStat("local-peer");
18261
18270
  }
@@ -18664,7 +18673,7 @@ import { ExpandIcon } from "@100mslive/react-icons";
18664
18673
 
18665
18674
  // src/Prebuilt/components/hooks/useFullscreen.ts
18666
18675
  init_define_process_env();
18667
- import { useCallback as useCallback19, useEffect as useEffect19, useState as useState25 } from "react";
18676
+ import { useCallback as useCallback19, useEffect as useEffect20, useState as useState25 } from "react";
18668
18677
  import screenfull from "screenfull";
18669
18678
  var useFullscreen = () => {
18670
18679
  const [isFullScreenEnabled, setIsFullScreenEnabled] = useState25(screenfull.isFullscreen);
@@ -18684,7 +18693,7 @@ var useFullscreen = () => {
18684
18693
  ToastManager.addToast({ title: err.message });
18685
18694
  }
18686
18695
  }), [isFullScreenEnabled]);
18687
- useEffect19(() => {
18696
+ useEffect20(() => {
18688
18697
  const onChange = () => {
18689
18698
  setIsFullScreenEnabled(screenfull.isFullscreen);
18690
18699
  };
@@ -18867,7 +18876,7 @@ var useMyMetadata = () => {
18867
18876
 
18868
18877
  // src/Prebuilt/components/PIP/usePIPChat.tsx
18869
18878
  init_define_process_env();
18870
- import { useEffect as useEffect20 } from "react";
18879
+ import { useEffect as useEffect21 } from "react";
18871
18880
  import { useHMSActions as useHMSActions22 } from "@100mslive/react-sdk";
18872
18881
 
18873
18882
  // src/Prebuilt/components/PIP/usePIPWindow.tsx
@@ -18892,7 +18901,7 @@ var usePIPWindow = () => {
18892
18901
  var usePIPChat = () => {
18893
18902
  const hmsActions = useHMSActions22();
18894
18903
  const { isSupported, requestPipWindow, pipWindow, closePipWindow } = usePIPWindow();
18895
- useEffect20(() => {
18904
+ useEffect21(() => {
18896
18905
  if (document && pipWindow) {
18897
18906
  const style = document.createElement("style");
18898
18907
  style.id = "stitches";
@@ -18900,7 +18909,7 @@ var usePIPChat = () => {
18900
18909
  pipWindow.document.head.appendChild(style);
18901
18910
  }
18902
18911
  }, [pipWindow]);
18903
- useEffect20(() => {
18912
+ useEffect21(() => {
18904
18913
  if (pipWindow) {
18905
18914
  const chatContainer = pipWindow.document.getElementById("chat-container");
18906
18915
  const selector = pipWindow.document.getElementById("selector");
@@ -18973,7 +18982,7 @@ var usePIPChat = () => {
18973
18982
  }
18974
18983
  }
18975
18984
  }, [pipWindow, hmsActions]);
18976
- useEffect20(() => {
18985
+ useEffect21(() => {
18977
18986
  return () => {
18978
18987
  pipWindow && closePipWindow();
18979
18988
  };
@@ -19159,7 +19168,7 @@ import {
19159
19168
 
19160
19169
  // src/Prebuilt/components/Header/StreamActions.tsx
19161
19170
  init_define_process_env();
19162
- import React64, { useCallback as useCallback22, useEffect as useEffect21, useRef as useRef17, useState as useState28 } from "react";
19171
+ import React64, { useCallback as useCallback22, useEffect as useEffect22, useRef as useRef17, useState as useState28 } from "react";
19163
19172
  import { useMedia as useMedia11 } from "react-use";
19164
19173
 
19165
19174
  // ../hms-video-store/dist/index.js
@@ -21397,7 +21406,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21397
21406
  n((t = t.apply(a2, e)).next());
21398
21407
  });
21399
21408
  var yr = ro((Dc, ho) => {
21400
- ho.exports = { version: "0.12.19-alpha.6", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "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"] };
21409
+ ho.exports = { version: "0.12.19-alpha.7", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "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"] };
21401
21410
  });
21402
21411
  var 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 || {});
21403
21412
  var so = ((e) => (e.CHAT = "chat", e))(so || {});
@@ -22563,7 +22572,7 @@ var LiveStatus = () => {
22563
22572
  }
22564
22573
  }, 1e3);
22565
22574
  }, [hlsState == null ? void 0 : hlsState.running, hlsState == null ? void 0 : hlsState.variants, screenType]);
22566
- useEffect21(() => {
22575
+ useEffect22(() => {
22567
22576
  if (hlsState == null ? void 0 : hlsState.running) {
22568
22577
  startTimer();
22569
22578
  }
@@ -22906,13 +22915,13 @@ var useSheetToggle = (sheetType) => {
22906
22915
 
22907
22916
  // src/Prebuilt/components/hooks/useUnreadPollQuizPresent.tsx
22908
22917
  init_define_process_env();
22909
- import { useEffect as useEffect22, useState as useState30 } from "react";
22918
+ import { useEffect as useEffect23, useState as useState30 } from "react";
22910
22919
  import { HMSNotificationTypes, useHMSNotifications, useHMSStore as useHMSStore32 } from "@100mslive/react-sdk";
22911
22920
  var useUnreadPollQuizPresent = () => {
22912
22921
  const localPeerID = useHMSStore32(Ee);
22913
22922
  const notification = useHMSNotifications(HMSNotificationTypes.POLL_STARTED);
22914
22923
  const [unreadPollQuiz, setUnreadPollQuiz] = useState30(false);
22915
- useEffect22(() => {
22924
+ useEffect23(() => {
22916
22925
  if (!notification) {
22917
22926
  return;
22918
22927
  }
@@ -23715,7 +23724,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
23715
23724
 
23716
23725
  // src/Prebuilt/components/VirtualBackground/VBToggle.tsx
23717
23726
  init_define_process_env();
23718
- import React77, { useEffect as useEffect23 } from "react";
23727
+ import React77, { useEffect as useEffect24 } from "react";
23719
23728
  import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes2 } from "@100mslive/hms-virtual-background/hmsvbplugin";
23720
23729
  import {
23721
23730
  selectAppData as selectAppData5,
@@ -23736,7 +23745,7 @@ var VBToggle = () => {
23736
23745
  const loadingEffects = useHMSStore35(selectAppData5(APP_DATA.loadingEffects));
23737
23746
  const hmsActions = useHMSActions28();
23738
23747
  const { toggleVideo } = useAVToggle3();
23739
- useEffect23(() => {
23748
+ useEffect24(() => {
23740
23749
  var _a7;
23741
23750
  if (!toggleVideo) {
23742
23751
  (_a7 = VBHandler) == null ? void 0 : _a7.reset();
@@ -23971,7 +23980,7 @@ var RemoveParticipant = ({ peerId }) => {
23971
23980
 
23972
23981
  // src/Prebuilt/components/Footer/RoleAccordion.tsx
23973
23982
  init_define_process_env();
23974
- import React82, { useEffect as useEffect24 } from "react";
23983
+ import React82, { useEffect as useEffect25 } from "react";
23975
23984
  import { useMeasure } from "react-use";
23976
23985
  import { FixedSizeList } from "react-window";
23977
23986
  import { selectIsLargeRoom, useHMSStore as useHMSStore41, usePaginatedParticipants } from "@100mslive/react-sdk";
@@ -24215,7 +24224,7 @@ var RoleAccordion = ({
24215
24224
  const { bringAllToStage, bring_to_stage_label, canBringToStage, lowerAllHands } = useGroupOnStageActions({
24216
24225
  peers: peersInAccordion
24217
24226
  });
24218
- useEffect24(() => {
24227
+ useEffect25(() => {
24219
24228
  if (!isOffStageRole || !isLargeRoom) {
24220
24229
  return;
24221
24230
  }
@@ -24303,13 +24312,13 @@ var RoleAccordion = ({
24303
24312
 
24304
24313
  // src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx
24305
24314
  init_define_process_env();
24306
- import { useEffect as useEffect25 } from "react";
24315
+ import { useEffect as useEffect26 } from "react";
24307
24316
  import { selectAppData as selectAppData6, useHMSStore as useHMSStore42 } from "@100mslive/react-sdk";
24308
24317
  var useSidepaneResetOnLayoutUpdate = (layoutKey, sidepaneOption) => {
24309
24318
  const { elements } = useRoomLayoutConferencingScreen();
24310
24319
  const sidepane = useHMSStore42(selectAppData6(APP_DATA.sidePane));
24311
24320
  const resetSidePane = useSidepaneReset();
24312
- useEffect25(() => {
24321
+ useEffect26(() => {
24313
24322
  if (sidepane === sidepaneOption && !(elements == null ? void 0 : elements[layoutKey])) {
24314
24323
  resetSidePane();
24315
24324
  }
@@ -24706,13 +24715,13 @@ var ParticipantSearch = ({
24706
24715
 
24707
24716
  // src/Prebuilt/components/Footer/PollsToggle.tsx
24708
24717
  init_define_process_env();
24709
- import React84, { useEffect as useEffect26 } from "react";
24718
+ import React84, { useEffect as useEffect27 } from "react";
24710
24719
  import { QuizActiveIcon as QuizActiveIcon2, QuizIcon as QuizIcon2 } from "@100mslive/react-icons";
24711
24720
  var PollsToggle = () => {
24712
24721
  const isPollsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.POLLS);
24713
24722
  const togglePollView = usePollViewToggle();
24714
24723
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
24715
- useEffect26(() => {
24724
+ useEffect27(() => {
24716
24725
  if (unreadPollQuiz && isPollsOpen) {
24717
24726
  setUnreadPollQuiz(false);
24718
24727
  }
@@ -24783,7 +24792,7 @@ var Footer2 = ({
24783
24792
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
24784
24793
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
24785
24794
  const { showPolls } = useShowPolls();
24786
- useEffect27(() => {
24795
+ useEffect28(() => {
24787
24796
  if (!isChatOpen && openByDefault) {
24788
24797
  toggleChat();
24789
24798
  }
@@ -24883,7 +24892,7 @@ function HLSFailureModal() {
24883
24892
 
24884
24893
  // src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx
24885
24894
  init_define_process_env();
24886
- import React138, { useEffect as useEffect43 } from "react";
24895
+ import React138, { useEffect as useEffect44 } from "react";
24887
24896
  import {
24888
24897
  selectIsInPreview,
24889
24898
  selectLocalPeerName as selectLocalPeerName4,
@@ -24896,7 +24905,7 @@ import {
24896
24905
 
24897
24906
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
24898
24907
  init_define_process_env();
24899
- import React136, { Fragment as Fragment12, useCallback as useCallback33, useEffect as useEffect42, useMemo as useMemo15, useState as useState57 } from "react";
24908
+ import React136, { Fragment as Fragment12, useCallback as useCallback33, useEffect as useEffect43, useMemo as useMemo15, useState as useState57 } from "react";
24900
24909
  import { useMeasure as useMeasure4, useMedia as useMedia27 } from "react-use";
24901
24910
  import {
24902
24911
  HMSRoomState as HMSRoomState6,
@@ -24917,7 +24926,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
24917
24926
 
24918
24927
  // src/Prebuilt/layouts/SidePane.tsx
24919
24928
  init_define_process_env();
24920
- import React132, { useEffect as useEffect41 } from "react";
24929
+ import React132, { useEffect as useEffect42 } from "react";
24921
24930
  import { useMedia as useMedia25 } from "react-use";
24922
24931
  import { match as match12 } from "ts-pattern";
24923
24932
  import { selectAppData as selectAppData8, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore70 } from "@100mslive/react-sdk";
@@ -24928,7 +24937,7 @@ import React109 from "react";
24928
24937
 
24929
24938
  // src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx
24930
24939
  init_define_process_env();
24931
- import React90, { useEffect as useEffect28, useMemo as useMemo9, useRef as useRef19, useState as useState38 } from "react";
24940
+ import React90, { useEffect as useEffect29, useMemo as useMemo9, useRef as useRef19, useState as useState38 } from "react";
24932
24941
  import {
24933
24942
  selectLocalPeerRoleName as selectLocalPeerRoleName2,
24934
24943
  selectPermissions as selectPermissions16,
@@ -25091,7 +25100,7 @@ var AddMenu = () => {
25091
25100
  const { setPollState } = usePollViewState();
25092
25101
  const [interactionType, setInteractionType] = useState38("Poll" /* POLL */);
25093
25102
  const inputRef = useRef19(null);
25094
- useEffect28(() => {
25103
+ useEffect29(() => {
25095
25104
  if (inputRef.current) {
25096
25105
  inputRef.current.focus();
25097
25106
  }
@@ -25178,7 +25187,7 @@ var PrevMenu = () => {
25178
25187
  [polls]
25179
25188
  );
25180
25189
  const permissions = useHMSStore48(selectPermissions16);
25181
- useEffect28(() => {
25190
+ useEffect29(() => {
25182
25191
  const updatePolls = () => __async(void 0, null, function* () {
25183
25192
  yield hmsActions.interactivityCenter.getPolls();
25184
25193
  });
@@ -25938,7 +25947,7 @@ var StatisticBox = ({ title, value = 0 }) => {
25938
25947
 
25939
25948
  // src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx
25940
25949
  init_define_process_env();
25941
- import { useEffect as useEffect29, useState as useState41 } from "react";
25950
+ import { useEffect as useEffect30, useState as useState41 } from "react";
25942
25951
  import {
25943
25952
  selectPollByID as selectPollByID2,
25944
25953
  useHMSActions as useHMSActions36,
@@ -25956,7 +25965,7 @@ var useQuizSummary = (quizID) => {
25956
25965
  correctUsers: 0
25957
25966
  };
25958
25967
  const [calculations, setCalculations] = useState41({ maxPossibleScore: 0, totalResponses: 0 });
25959
- useEffect29(() => {
25968
+ useEffect30(() => {
25960
25969
  const fetchLeaderboardData = () => __async(void 0, null, function* () {
25961
25970
  var _a7;
25962
25971
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
@@ -26096,7 +26105,7 @@ var LeaderboardSummary = ({ pollID }) => {
26096
26105
 
26097
26106
  // src/Prebuilt/components/Polls/Voting/Voting.tsx
26098
26107
  init_define_process_env();
26099
- import React108, { useEffect as useEffect32, useRef as useRef22, useState as useState45 } from "react";
26108
+ import React108, { useEffect as useEffect33, useRef as useRef22, useState as useState45 } from "react";
26100
26109
  import {
26101
26110
  selectLocalPeer as selectLocalPeer4,
26102
26111
  selectPeerNameByID as selectPeerNameByID4,
@@ -26113,7 +26122,7 @@ import React106 from "react";
26113
26122
 
26114
26123
  // src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
26115
26124
  init_define_process_env();
26116
- import React105, { useCallback as useCallback27, useEffect as useEffect30, useMemo as useMemo12, useRef as useRef21, useState as useState43 } from "react";
26125
+ import React105, { useCallback as useCallback27, useEffect as useEffect31, useMemo as useMemo12, useRef as useRef21, useState as useState43 } from "react";
26117
26126
  import { match as match9 } from "ts-pattern";
26118
26127
  import { selectLocalPeer as selectLocalPeer3, selectLocalPeerRoleName as selectLocalPeerRoleName3, useHMSActions as useHMSActions37, useHMSStore as useHMSStore53 } from "@100mslive/react-sdk";
26119
26128
  import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon4, CrossCircleIcon as CrossCircleIcon2 } from "@100mslive/react-icons";
@@ -26139,7 +26148,7 @@ var QuestionCard2 = ({
26139
26148
  const localPeerRoleName = useHMSStore53(selectLocalPeerRoleName3);
26140
26149
  const roleCanViewResponse = !rolesThatCanViewResponses || rolesThatCanViewResponses.length === 0 || rolesThatCanViewResponses.includes(localPeerRoleName || "");
26141
26150
  const [localPeerChoice, setLocalPeerChoice] = useState43(localPeerResponse);
26142
- useEffect30(() => {
26151
+ useEffect31(() => {
26143
26152
  setLocalPeerChoice(localPeerResponse);
26144
26153
  }, [localPeerResponse]);
26145
26154
  const showVoteCount = roleCanViewResponse && (localPeerChoice || isLocalPeerCreator && pollState === "stopped") && !isQuiz;
@@ -26321,7 +26330,7 @@ var StandardView = ({
26321
26330
 
26322
26331
  // src/Prebuilt/components/Polls/Voting/TimedVoting.tsx
26323
26332
  init_define_process_env();
26324
- import React107, { useEffect as useEffect31, useState as useState44 } from "react";
26333
+ import React107, { useEffect as useEffect32, useState as useState44 } from "react";
26325
26334
  var TimedView = ({
26326
26335
  poll,
26327
26336
  localPeerResponses,
@@ -26331,7 +26340,7 @@ var TimedView = ({
26331
26340
  const [currentIndex, setCurrentIndex] = useState44(getIndexToShow(localPeerResponses));
26332
26341
  const activeQuestion = (_a7 = poll.questions) == null ? void 0 : _a7.find((question) => question.index === currentIndex);
26333
26342
  const attemptedAll = (((_b7 = poll.questions) == null ? void 0 : _b7.length) || 0) < currentIndex;
26334
- useEffect31(() => {
26343
+ useEffect32(() => {
26335
26344
  setCurrentIndex(getIndexToShow(localPeerResponses));
26336
26345
  }, [localPeerResponses]);
26337
26346
  if (!activeQuestion && !attemptedAll || !((_c = poll.questions) == null ? void 0 : _c.length)) {
@@ -26376,11 +26385,11 @@ var Voting = ({ id, toggleVoting }) => {
26376
26385
  const localPeer = useHMSStore54(selectLocalPeer4);
26377
26386
  const localPeerId = localPeer == null ? void 0 : localPeer.id;
26378
26387
  const customerUserId = localPeer == null ? void 0 : localPeer.customerUserId;
26379
- useEffect32(() => {
26388
+ useEffect33(() => {
26380
26389
  fetchedInitialResponses.current = false;
26381
26390
  setSavedResponses({});
26382
26391
  }, [id, setSavedResponses]);
26383
- useEffect32(() => {
26392
+ useEffect33(() => {
26384
26393
  const getResponses = () => __async(void 0, null, function* () {
26385
26394
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26386
26395
  yield actions.interactivityCenter.getPollResponses(poll, true);
@@ -26389,7 +26398,7 @@ var Voting = ({ id, toggleVoting }) => {
26389
26398
  });
26390
26399
  getResponses();
26391
26400
  }, [poll, actions.interactivityCenter]);
26392
- useEffect32(() => {
26401
+ useEffect33(() => {
26393
26402
  if (poll == null ? void 0 : poll.questions) {
26394
26403
  const localPeerResponses = getPeerResponses(poll.questions, localPeerId, customerUserId);
26395
26404
  localPeerResponses == null ? void 0 : localPeerResponses.forEach((response) => {
@@ -26487,7 +26496,7 @@ import { CrossIcon as CrossIcon20 } from "@100mslive/react-icons";
26487
26496
 
26488
26497
  // src/Prebuilt/components/Header/HeaderComponents.jsx
26489
26498
  init_define_process_env();
26490
- import React110, { useEffect as useEffect33, useState as useState46 } from "react";
26499
+ import React110, { useEffect as useEffect34, useState as useState46 } from "react";
26491
26500
  import { selectDominantSpeaker, useHMSStore as useHMSStore55 } from "@100mslive/react-sdk";
26492
26501
  import { VolumeOneIcon } from "@100mslive/react-icons";
26493
26502
  var SpeakerTag = () => {
@@ -26516,7 +26525,7 @@ var Logo = () => {
26516
26525
  const roomLayout = useRoomLayout();
26517
26526
  const logo = (_a7 = roomLayout == null ? void 0 : roomLayout.logo) == null ? void 0 : _a7.url;
26518
26527
  const [hideImage, setHideImage] = useState46(false);
26519
- useEffect33(() => {
26528
+ useEffect34(() => {
26520
26529
  if (hideImage) {
26521
26530
  setHideImage(false);
26522
26531
  }
@@ -26540,10 +26549,10 @@ import React112 from "react";
26540
26549
 
26541
26550
  // src/Prebuilt/components/RoomDetails/Duration.tsx
26542
26551
  init_define_process_env();
26543
- import React111, { useEffect as useEffect34, useState as useState47 } from "react";
26552
+ import React111, { useEffect as useEffect35, useState as useState47 } from "react";
26544
26553
  var Duration = ({ timestamp }) => {
26545
26554
  const [elapsedTime, setElapsedTime] = useState47(getFormattedTime(Date.now() - timestamp.getTime(), false));
26546
- useEffect34(() => {
26555
+ useEffect35(() => {
26547
26556
  const timerAdded = setInterval(() => {
26548
26557
  setElapsedTime(getFormattedTime(Date.now() - timestamp.getTime(), false));
26549
26558
  }, 1e3);
@@ -26585,7 +26594,7 @@ var ShowRoomDetailHeader = () => {
26585
26594
 
26586
26595
  // src/Prebuilt/components/SidePaneTabs.tsx
26587
26596
  init_define_process_env();
26588
- import React124, { useEffect as useEffect39, useState as useState53 } from "react";
26597
+ import React124, { useEffect as useEffect40, useState as useState53 } from "react";
26589
26598
  import { useMedia as useMedia21 } from "react-use";
26590
26599
  import { match as match11 } from "ts-pattern";
26591
26600
  import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore64 } from "@100mslive/react-sdk";
@@ -26601,7 +26610,7 @@ import { ChevronDownIcon as ChevronDownIcon7 } from "@100mslive/react-icons";
26601
26610
 
26602
26611
  // src/Prebuilt/components/Chat/ChatFooter.tsx
26603
26612
  init_define_process_env();
26604
- import React116, { useCallback as useCallback29, useEffect as useEffect36, useRef as useRef24, useState as useState50 } from "react";
26613
+ import React116, { useCallback as useCallback29, useEffect as useEffect37, useRef as useRef24, useState as useState50 } from "react";
26605
26614
  import { useMedia as useMedia18 } from "react-use";
26606
26615
  import data2 from "@emoji-mart/data";
26607
26616
  import Picker from "@emoji-mart/react";
@@ -26924,10 +26933,10 @@ var useChatDraftMessage = () => {
26924
26933
 
26925
26934
  // src/Prebuilt/components/Chat/useEmojiPickerStyles.js
26926
26935
  init_define_process_env();
26927
- import { useEffect as useEffect35, useRef as useRef23 } from "react";
26936
+ import { useEffect as useEffect36, useRef as useRef23 } from "react";
26928
26937
  var useEmojiPickerStyles = (showing) => {
26929
26938
  const ref = useRef23(null);
26930
- useEffect35(() => {
26939
+ useEffect36(() => {
26931
26940
  if (showing) {
26932
26941
  setTimeout(() => {
26933
26942
  var _a7, _b7;
@@ -27019,7 +27028,7 @@ var ChatFooter = ({ onSend, children }) => {
27019
27028
  const isMwebHLSStream = useMobileHLSStream();
27020
27029
  const [messageLengthExceeded, setMessageLengthExceeded] = useState50(false);
27021
27030
  const isLandscapeHLSStream = useLandscapeHLSStream();
27022
- useEffect36(() => {
27031
+ useEffect37(() => {
27023
27032
  var _a8, _b8;
27024
27033
  if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
27025
27034
  setRoleSelector(defaultSelection);
@@ -27068,7 +27077,7 @@ var ChatFooter = ({ onSend, children }) => {
27068
27077
  });
27069
27078
  }
27070
27079
  }), [selectedRole, selectedPeer, hmsActions, onSend]);
27071
- useEffect36(() => {
27080
+ useEffect37(() => {
27072
27081
  const messageElement = inputRef.current;
27073
27082
  if (messageElement) {
27074
27083
  messageElement.value = draftMessage;
@@ -27076,7 +27085,7 @@ var ChatFooter = ({ onSend, children }) => {
27076
27085
  setMessageLengthExceeded(draftMessage.length > CHAT_MESSAGE_LIMIT);
27077
27086
  }
27078
27087
  }, [draftMessage]);
27079
- useEffect36(() => {
27088
+ useEffect37(() => {
27080
27089
  const messageElement = inputRef.current;
27081
27090
  return () => {
27082
27091
  setDraftMessage((messageElement == null ? void 0 : messageElement.value) || "");
@@ -27266,7 +27275,7 @@ var ChatBlocked = () => {
27266
27275
 
27267
27276
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
27268
27277
  init_define_process_env();
27269
- import React120, { useEffect as useEffect37, useState as useState51 } from "react";
27278
+ import React120, { useEffect as useEffect38, useState as useState51 } from "react";
27270
27279
  import { useSwipeable } from "react-swipeable";
27271
27280
  import { useMedia as useMedia19 } from "react-use";
27272
27281
  import { selectSessionStore as selectSessionStore8, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
@@ -27349,7 +27358,7 @@ var PinnedMessage = () => {
27349
27358
  onSwipedUp: () => showNextPinnedMessage(),
27350
27359
  onSwipedDown: () => showPreviousPinnedMessage()
27351
27360
  });
27352
- useEffect37(() => {
27361
+ useEffect38(() => {
27353
27362
  const count = (pinnedMessages == null ? void 0 : pinnedMessages.length) || 1;
27354
27363
  if (pinnedMessageIndex >= count) {
27355
27364
  setPinnedMessageIndex(count - 1);
@@ -27581,7 +27590,7 @@ var NewMessageIndicator = ({
27581
27590
 
27582
27591
  // src/Prebuilt/components/Footer/PaginatedParticipants.tsx
27583
27592
  init_define_process_env();
27584
- import React122, { useEffect as useEffect38, useState as useState52 } from "react";
27593
+ import React122, { useEffect as useEffect39, useState as useState52 } from "react";
27585
27594
  import { useInView } from "react-intersection-observer";
27586
27595
  import { useMeasure as useMeasure2 } from "react-use";
27587
27596
  import { VariableSizeList as VariableSizeList2 } from "react-window";
@@ -27594,7 +27603,7 @@ var LoadMoreParticipants = ({
27594
27603
  }) => {
27595
27604
  const { ref, inView } = useInView();
27596
27605
  const [inProgress, setInProgress] = useState52(false);
27597
- useEffect38(() => {
27606
+ useEffect39(() => {
27598
27607
  if (hasNext && inView && !inProgress) {
27599
27608
  setInProgress(true);
27600
27609
  loadMore().catch(console.error).finally(() => setInProgress(false));
@@ -27633,7 +27642,7 @@ var PaginatedParticipants = ({ roleName, onBack }) => {
27633
27642
  const [ref, { width }] = useMeasure2();
27634
27643
  const height = ROW_HEIGHT * (filteredPeers.length + 1);
27635
27644
  const resetSidePane = useSidepaneReset();
27636
- useEffect38(() => {
27645
+ useEffect39(() => {
27637
27646
  loadPeers();
27638
27647
  }, []);
27639
27648
  return /* @__PURE__ */ React122.createElement(Flex, { ref, direction: "column", css: { size: "100%", gap: "$4" } }, /* @__PURE__ */ React122.createElement(Flex, { align: "center" }, /* @__PURE__ */ React122.createElement(Flex, { align: "center", css: { flex: "1 1 0", cursor: "pointer" }, onClick: onBack }, /* @__PURE__ */ React122.createElement(ChevronLeftIcon6, null), /* @__PURE__ */ React122.createElement(Text, { variant: "lg", css: { flex: "1 1 0" } }, "Participants")), /* @__PURE__ */ React122.createElement(
@@ -27750,7 +27759,7 @@ var SidePaneTabs = React124.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
27750
27759
  const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
27751
27760
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
27752
27761
  const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
27753
- useEffect39(() => {
27762
+ useEffect40(() => {
27754
27763
  match11({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
27755
27764
  setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
27756
27765
  }).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
@@ -27759,7 +27768,7 @@ var SidePaneTabs = React124.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
27759
27768
  resetSidePane();
27760
27769
  });
27761
27770
  }, [showChat, activeTab, showParticipants, resetSidePane]);
27762
- useEffect39(() => {
27771
+ useEffect40(() => {
27763
27772
  setActiveTab(active);
27764
27773
  }, [active]);
27765
27774
  if (activeRole) {
@@ -28446,7 +28455,7 @@ var VideoTile_default = VideoTile;
28446
28455
 
28447
28456
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28448
28457
  init_define_process_env();
28449
- import React131, { useEffect as useEffect40, useRef as useRef26, useState as useState56 } from "react";
28458
+ import React131, { useEffect as useEffect41, useRef as useRef26, useState as useState56 } from "react";
28450
28459
  import { useMedia as useMedia24 } from "react-use";
28451
28460
  import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes4 } from "@100mslive/hms-virtual-background/hmsvbplugin";
28452
28461
  import {
@@ -28573,7 +28582,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28573
28582
  const pluginLoadingRef = useRef26(false);
28574
28583
  const inPreview = roomState === HMSRoomState5.Preview;
28575
28584
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28576
- useEffect40(() => {
28585
+ useEffect41(() => {
28577
28586
  const initializeVirtualBackground = () => __async(void 0, null, function* () {
28578
28587
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
28579
28588
  return;
@@ -28628,7 +28637,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28628
28637
  blurAmount,
28629
28638
  setLoadingEffects
28630
28639
  ]);
28631
- useEffect40(() => {
28640
+ useEffect41(() => {
28632
28641
  if (!isVideoOn) {
28633
28642
  toggleVB();
28634
28643
  }
@@ -28867,7 +28876,7 @@ var SidePane = ({
28867
28876
  return null;
28868
28877
  });
28869
28878
  const resetSidePane = useSidepaneReset();
28870
- useEffect41(() => {
28879
+ useEffect42(() => {
28871
28880
  return () => {
28872
28881
  resetSidePane();
28873
28882
  };
@@ -29081,7 +29090,7 @@ var PreviewJoin = ({
29081
29090
  const { elements = {} } = useRoomLayoutPreviewScreen();
29082
29091
  const { preview_header: previewHeader = {}, virtual_background } = elements || {};
29083
29092
  const aspectRatio = useLocalTileAspectRatio();
29084
- useEffect42(() => {
29093
+ useEffect43(() => {
29085
29094
  if (authToken) {
29086
29095
  if (skipPreview) {
29087
29096
  savePreferenceAndJoin();
@@ -29090,7 +29099,7 @@ var PreviewJoin = ({
29090
29099
  }
29091
29100
  }
29092
29101
  }, [authToken, skipPreview]);
29093
- useEffect42(() => {
29102
+ useEffect43(() => {
29094
29103
  if (initialName) {
29095
29104
  setName(initialName);
29096
29105
  }
@@ -29233,7 +29242,7 @@ var RoleChangeRequestModal = () => {
29233
29242
  const { sendEvent } = useCustomEvent3({ type: ROLE_CHANGE_DECLINED });
29234
29243
  const { elements = {} } = useRoomLayoutPreviewScreen();
29235
29244
  const { virtual_background } = elements || {};
29236
- useEffect43(() => {
29245
+ useEffect44(() => {
29237
29246
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29238
29247
  return;
29239
29248
  }
@@ -29297,7 +29306,7 @@ var RoleChangeRequestModal = () => {
29297
29306
 
29298
29307
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
29299
29308
  init_define_process_env();
29300
- import React157, { Suspense, useEffect as useEffect57, useState as useState67 } from "react";
29309
+ import React157, { Suspense, useEffect as useEffect58, useState as useState67 } from "react";
29301
29310
  import { useMedia as useMedia38 } from "react-use";
29302
29311
  import { match as match13 } from "ts-pattern";
29303
29312
  import {
@@ -29311,7 +29320,7 @@ import { PeopleAddIcon as PeopleAddIcon3, ShareScreenIcon as ShareScreenIcon5 }
29311
29320
 
29312
29321
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
29313
29322
  init_define_process_env();
29314
- import React153, { useEffect as useEffect52, useMemo as useMemo20, useState as useState65 } from "react";
29323
+ import React153, { useEffect as useEffect53, useMemo as useMemo20, useState as useState65 } from "react";
29315
29324
  import {
29316
29325
  selectLocalPeerID as selectLocalPeerID13,
29317
29326
  selectLocalPeerRoleName as selectLocalPeerRoleName5,
@@ -29324,7 +29333,7 @@ import {
29324
29333
 
29325
29334
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
29326
29335
  init_define_process_env();
29327
- import React144, { useEffect as useEffect47, useState as useState59 } from "react";
29336
+ import React144, { useEffect as useEffect48, useState as useState59 } from "react";
29328
29337
  import { useMedia as useMedia31 } from "react-use";
29329
29338
  import { PeopleAddIcon as PeopleAddIcon2 } from "@100mslive/react-icons";
29330
29339
 
@@ -29386,7 +29395,7 @@ var WaitingView = React139.memo(
29386
29395
 
29387
29396
  // src/Prebuilt/components/InsetTile.tsx
29388
29397
  init_define_process_env();
29389
- import React141, { useEffect as useEffect44, useRef as useRef27 } from "react";
29398
+ import React141, { useEffect as useEffect45, useRef as useRef27 } from "react";
29390
29399
  import Draggable from "react-draggable";
29391
29400
  import { useMedia as useMedia29 } from "react-use";
29392
29401
  import {
@@ -29451,7 +29460,7 @@ var InsetTile = ({ peerId }) => {
29451
29460
  height = width / aspectRatio;
29452
29461
  }
29453
29462
  const nodeRef = useRef27(null);
29454
- useEffect44(() => {
29463
+ useEffect45(() => {
29455
29464
  const node = nodeRef.current;
29456
29465
  if (!node || !window.ResizeObserver) {
29457
29466
  return;
@@ -29511,7 +29520,7 @@ var InsetTile = ({ peerId }) => {
29511
29520
 
29512
29521
  // src/Prebuilt/components/Pagination.tsx
29513
29522
  init_define_process_env();
29514
- import React142, { useEffect as useEffect45 } from "react";
29523
+ import React142, { useEffect as useEffect46 } from "react";
29515
29524
  import { ChevronLeftIcon as ChevronLeftIcon7, ChevronRightIcon as ChevronRightIcon4 } from "@100mslive/react-icons";
29516
29525
  var Pagination = ({
29517
29526
  page,
@@ -29528,7 +29537,7 @@ var Pagination = ({
29528
29537
  e.stopPropagation();
29529
29538
  onPageChange(Math.max(page - 1, 0));
29530
29539
  };
29531
- useEffect45(() => {
29540
+ useEffect46(() => {
29532
29541
  if (page >= numPages) {
29533
29542
  onPageChange(Math.max(0, numPages - 1));
29534
29543
  }
@@ -29592,7 +29601,7 @@ var Grid = React143.forwardRef(
29592
29601
 
29593
29602
  // src/Prebuilt/components/hooks/useTileLayout.tsx
29594
29603
  init_define_process_env();
29595
- import { useEffect as useEffect46, useMemo as useMemo16, useState as useState58 } from "react";
29604
+ import { useEffect as useEffect47, useMemo as useMemo16, useState as useState58 } from "react";
29596
29605
  import { useMeasure as useMeasure5, useMedia as useMedia30 } from "react-use";
29597
29606
  import {
29598
29607
  getPeersWithTiles,
@@ -29631,7 +29640,7 @@ var useTileLayout = ({
29631
29640
  const [ref, { width, height }] = useMeasure5();
29632
29641
  const isMobile = useMedia30(config.media.lg);
29633
29642
  const [pagesWithTiles, setPagesWithTiles] = useState58([]);
29634
- useEffect46(() => {
29643
+ useEffect47(() => {
29635
29644
  if (width === 0 || height === 0) {
29636
29645
  return;
29637
29646
  }
@@ -29712,7 +29721,7 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29712
29721
  });
29713
29722
  const [page, setPage] = useState59(0);
29714
29723
  const pageSize = ((_a7 = pagesWithTiles[0]) == null ? void 0 : _a7.length) || 0;
29715
- useEffect47(() => {
29724
+ useEffect48(() => {
29716
29725
  if (pageSize > 0) {
29717
29726
  onPageSize == null ? void 0 : onPageSize(pageSize);
29718
29727
  }
@@ -29739,13 +29748,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29739
29748
 
29740
29749
  // src/Prebuilt/components/VideoLayouts/RoleProminence.tsx
29741
29750
  init_define_process_env();
29742
- import React147, { useEffect as useEffect49, useState as useState61 } from "react";
29751
+ import React147, { useEffect as useEffect50, useState as useState61 } from "react";
29743
29752
  import { useMedia as useMedia33 } from "react-use";
29744
29753
  import { selectLocalPeer as selectLocalPeer11, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
29745
29754
 
29746
29755
  // src/Prebuilt/components/SecondaryTiles.tsx
29747
29756
  init_define_process_env();
29748
- import React146, { useEffect as useEffect48, useRef as useRef28, useState as useState60 } from "react";
29757
+ import React146, { useEffect as useEffect49, useRef as useRef28, useState as useState60 } from "react";
29749
29758
  import { useMedia as useMedia32 } from "react-use";
29750
29759
  import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
29751
29760
 
@@ -29859,18 +29868,18 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
29859
29868
  maxTileCount
29860
29869
  });
29861
29870
  const pageSize = ((_b7 = pagesWithTiles[0]) == null ? void 0 : _b7.length) || 0;
29862
- useEffect48(() => {
29871
+ useEffect49(() => {
29863
29872
  var _a8;
29864
29873
  if (peers.length > 0 && !((_a8 = pagesWithTiles[page]) == null ? void 0 : _a8.length)) {
29865
29874
  setPage(Math.max(0, page - 1));
29866
29875
  }
29867
29876
  }, [peers, page, pagesWithTiles]);
29868
- useEffect48(() => {
29877
+ useEffect49(() => {
29869
29878
  if (pageSize > 0) {
29870
29879
  onPageSize == null ? void 0 : onPageSize(pageSize);
29871
29880
  }
29872
29881
  }, [pageSize, onPageSize]);
29873
- useEffect48(() => {
29882
+ useEffect49(() => {
29874
29883
  if ((pinnedPeer || spotlightPeerId) && page !== 0 && !pageChangedAfterPinning.current) {
29875
29884
  setPage(0);
29876
29885
  pageChangedAfterPinning.current = true;
@@ -29952,7 +29961,7 @@ function RoleProminence({
29952
29961
  });
29953
29962
  const [page, setPage] = useState61(0);
29954
29963
  const pageSize = ((_a7 = pagesWithTiles[0]) == null ? void 0 : _a7.length) || 0;
29955
- useEffect49(() => {
29964
+ useEffect50(() => {
29956
29965
  if (pageSize > 0) {
29957
29966
  onPageSize == null ? void 0 : onPageSize(pageSize);
29958
29967
  }
@@ -29980,7 +29989,7 @@ function RoleProminence({
29980
29989
 
29981
29990
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
29982
29991
  init_define_process_env();
29983
- import React151, { useEffect as useEffect50, useMemo as useMemo18, useState as useState64 } from "react";
29992
+ import React151, { useEffect as useEffect51, useMemo as useMemo18, useState as useState64 } from "react";
29984
29993
  import { useMedia as useMedia35 } from "react-use";
29985
29994
  import { selectPeersScreenSharing, useHMSStore as useHMSStore77 } from "@100mslive/react-sdk";
29986
29995
 
@@ -30258,7 +30267,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30258
30267
  }
30259
30268
  return peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id));
30260
30269
  }, [activeSharePeer, peers, isMobile, layoutMode]);
30261
- useEffect50(() => {
30270
+ useEffect51(() => {
30262
30271
  if (isMobile) {
30263
30272
  setLayoutMode(LayoutMode.GALLERY);
30264
30273
  return;
@@ -30271,7 +30280,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30271
30280
  setLayoutMode(LayoutMode.GALLERY);
30272
30281
  };
30273
30282
  }, [isMobile]);
30274
- useEffect50(() => {
30283
+ useEffect51(() => {
30275
30284
  setActiveScreenSharePeer(activeSharePeer == null ? void 0 : activeSharePeer.id);
30276
30285
  return () => {
30277
30286
  setActiveScreenSharePeer("");
@@ -30291,7 +30300,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30291
30300
 
30292
30301
  // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
30293
30302
  init_define_process_env();
30294
- import React152, { useEffect as useEffect51, useMemo as useMemo19 } from "react";
30303
+ import React152, { useEffect as useEffect52, useMemo as useMemo19 } from "react";
30295
30304
  import { useMedia as useMedia36 } from "react-use";
30296
30305
  import { Whiteboard } from "@100mslive/hms-whiteboard";
30297
30306
  import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore78, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
@@ -30332,7 +30341,7 @@ var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30332
30341
  }
30333
30342
  return peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id));
30334
30343
  }, [whiteboardOwner, peers, isMobile, layoutMode]);
30335
- useEffect51(() => {
30344
+ useEffect52(() => {
30336
30345
  if (isMobile) {
30337
30346
  setLayoutMode(LayoutMode.GALLERY);
30338
30347
  return;
@@ -30510,7 +30519,7 @@ var GridLayout = ({
30510
30519
  hideMetadataOnTile: hide_metadata_on_tile,
30511
30520
  objectFit: video_object_fit
30512
30521
  };
30513
- useEffect52(() => {
30522
+ useEffect53(() => {
30514
30523
  if (mainPage !== 0) {
30515
30524
  return;
30516
30525
  }
@@ -30567,7 +30576,7 @@ var GridLayout = ({
30567
30576
 
30568
30577
  // src/Prebuilt/layouts/EmbedView.jsx
30569
30578
  init_define_process_env();
30570
- import React154, { useEffect as useEffect53, useMemo as useMemo21 } from "react";
30579
+ import React154, { useEffect as useEffect54, useMemo as useMemo21 } from "react";
30571
30580
  import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as useHMSStore80 } from "@100mslive/react-sdk";
30572
30581
  var EmbedView = () => {
30573
30582
  return /* @__PURE__ */ React154.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React154.createElement(EmbedComponent, null));
@@ -30580,7 +30589,7 @@ var EmbedScreenShareView = ({ children }) => {
30580
30589
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
30581
30590
  return smallTilePeers2;
30582
30591
  }, [peers, peerPresenting]);
30583
- useEffect53(() => {
30592
+ useEffect54(() => {
30584
30593
  setActiveScreenSharePeer(peerPresenting == null ? void 0 : peerPresenting.id);
30585
30594
  return () => {
30586
30595
  setActiveScreenSharePeer("");
@@ -30592,7 +30601,7 @@ var EmbedComponent = () => {
30592
30601
  const embedConfig = useHMSStore80(selectAppData11(APP_DATA.embedConfig));
30593
30602
  const resetConfig = useResetEmbedConfig();
30594
30603
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
30595
- useEffect53(() => {
30604
+ useEffect54(() => {
30596
30605
  (() => __async(void 0, null, function* () {
30597
30606
  if (embedConfig && !isEmbedShareInProgress) {
30598
30607
  try {
@@ -30640,18 +30649,18 @@ var EmbedComponent = () => {
30640
30649
 
30641
30650
  // src/Prebuilt/layouts/PDFView.jsx
30642
30651
  init_define_process_env();
30643
- import React155, { useEffect as useEffect54 } from "react";
30652
+ import React155, { useEffect as useEffect55 } from "react";
30644
30653
  import { usePDFShare } from "@100mslive/react-sdk";
30645
30654
  var PDFView = () => {
30646
30655
  const pdfConfig = usePDFConfig();
30647
30656
  const resetConfig = useResetPDFConfig();
30648
30657
  const { iframeRef, startPDFShare, isPDFShareInProgress } = usePDFShare(resetConfig);
30649
- useEffect54(() => {
30658
+ useEffect55(() => {
30650
30659
  return () => {
30651
30660
  resetConfig();
30652
30661
  };
30653
30662
  }, []);
30654
- useEffect54(() => {
30663
+ useEffect55(() => {
30655
30664
  (() => __async(void 0, null, function* () {
30656
30665
  try {
30657
30666
  if (!isPDFShareInProgress && pdfConfig) {
@@ -30699,7 +30708,7 @@ var PDFView = () => {
30699
30708
 
30700
30709
  // src/Prebuilt/plugins/CaptionsViewer.tsx
30701
30710
  init_define_process_env();
30702
- import React156, { useEffect as useEffect55, useRef as useRef30, useState as useState66 } from "react";
30711
+ import React156, { useEffect as useEffect56, useRef as useRef30, useState as useState66 } from "react";
30703
30712
  import Draggable2 from "react-draggable";
30704
30713
  import { useMedia as useMedia37 } from "react-use";
30705
30714
  import {
@@ -30871,7 +30880,7 @@ var CaptionsViewer = ({
30871
30880
  const isCaptionEnabled = useIsCaptionEnabled();
30872
30881
  const isTranscriptionEnabled = useHMSStore81(selectIsTranscriptionEnabled5);
30873
30882
  const nodeRef = useRef30(null);
30874
- useEffect55(() => {
30883
+ useEffect56(() => {
30875
30884
  const timeInterval = setInterval(() => {
30876
30885
  var _a8;
30877
30886
  if (!captionQueue) {
@@ -30938,12 +30947,12 @@ var CaptionsViewer = ({
30938
30947
 
30939
30948
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
30940
30949
  init_define_process_env();
30941
- import { useEffect as useEffect56 } from "react";
30950
+ import { useEffect as useEffect57 } from "react";
30942
30951
  import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore82, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
30943
30952
  var useCloseScreenshareWhiteboard = () => {
30944
30953
  const peerSharing = useHMSStore82(selectPeerScreenSharing4);
30945
30954
  const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
30946
- useEffect56(() => {
30955
+ useEffect57(() => {
30947
30956
  if (isWhiteboardOwner && peerSharing) {
30948
30957
  toggleWhiteboard == null ? void 0 : toggleWhiteboard();
30949
30958
  }
@@ -30951,7 +30960,7 @@ var useCloseScreenshareWhiteboard = () => {
30951
30960
  };
30952
30961
 
30953
30962
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30954
- var HLSView = React157.lazy(() => import("./HLSView-2P2FVCEW.js"));
30963
+ var HLSView = React157.lazy(() => import("./HLSView-XC3A2RPP.js"));
30955
30964
  var VideoStreamingSection = ({
30956
30965
  screenType,
30957
30966
  elements,
@@ -30970,7 +30979,7 @@ var VideoStreamingSection = ({
30970
30979
  const [captionPosition, setCaptionPosition] = useState67({ x: isMobile ? 0 : -200, y: 0 });
30971
30980
  useCloseScreenshareWhiteboard();
30972
30981
  const { isNotAllowedToPublish, isScreenOnlyPublishParams, hasSubscribedRolePublishing } = useWaitingRoomInfo();
30973
- useEffect57(() => {
30982
+ useEffect58(() => {
30974
30983
  if (!isConnected) {
30975
30984
  return;
30976
30985
  }
@@ -31283,12 +31292,12 @@ var Header2 = () => {
31283
31292
 
31284
31293
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
31285
31294
  init_define_process_env();
31286
- import { useEffect as useEffect58 } from "react";
31295
+ import { useEffect as useEffect59 } from "react";
31287
31296
  import { selectLocalPeerRoleName as selectLocalPeerRoleName7, useHMSVanillaStore as useHMSVanillaStore14 } from "@100mslive/react-sdk";
31288
31297
  var PreviousRoleInMetadata = () => {
31289
31298
  const vanillaStore = useHMSVanillaStore14();
31290
31299
  const { updateMetaData } = useMyMetadata();
31291
- useEffect58(() => {
31300
+ useEffect59(() => {
31292
31301
  let previousRole = vanillaStore.getState(selectLocalPeerRoleName7);
31293
31302
  const unsubscribe = vanillaStore.subscribe((currentRole) => {
31294
31303
  if (previousRole !== currentRole && currentRole) {
@@ -31330,7 +31339,7 @@ var ConferenceScreen = () => {
31330
31339
  setHideControls((value) => !value);
31331
31340
  }
31332
31341
  };
31333
- useEffect59(() => {
31342
+ useEffect60(() => {
31334
31343
  let timeout;
31335
31344
  dropdownListRef.current = dropdownList || [];
31336
31345
  if (dropdownListRef.current && dropdownListRef.current.length === 0) {
@@ -31345,7 +31354,7 @@ var ConferenceScreen = () => {
31345
31354
  clearTimeout(timeout);
31346
31355
  };
31347
31356
  }, [dropdownList, hideControls, isMobileDevice]);
31348
- useEffect59(() => {
31357
+ useEffect60(() => {
31349
31358
  if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== HMSRoomState8.Connecting && !autoRoomJoined.current) {
31350
31359
  hmsActions.join({
31351
31360
  userName: userName || uuid3(),
@@ -31369,7 +31378,7 @@ var ConferenceScreen = () => {
31369
31378
  userName,
31370
31379
  requestPermission
31371
31380
  ]);
31372
- useEffect59(() => {
31381
+ useEffect60(() => {
31373
31382
  onJoinFunc == null ? void 0 : onJoinFunc();
31374
31383
  return () => {
31375
31384
  PictureInPicture.stop().catch((error) => console.error("stopping pip", error.message));
@@ -31550,11 +31559,11 @@ var ErrorBoundary = class extends Component {
31550
31559
 
31551
31560
  // src/Prebuilt/components/init/Init.jsx
31552
31561
  init_define_process_env();
31553
- import React163, { useEffect as useEffect61 } from "react";
31562
+ import React163, { useEffect as useEffect62 } from "react";
31554
31563
 
31555
31564
  // src/Prebuilt/services/FeatureFlags.jsx
31556
31565
  init_define_process_env();
31557
- import { useEffect as useEffect60 } from "react";
31566
+ import { useEffect as useEffect61 } from "react";
31558
31567
  import { selectRoomID, useHMSStore as useHMSStore87 } from "@100mslive/react-sdk";
31559
31568
  var FeatureFlags = class {
31560
31569
  static init(roomId) {
@@ -31581,7 +31590,7 @@ __publicField(FeatureFlags, "enableStatsForNerds", define_process_env_default.RE
31581
31590
  __publicField(FeatureFlags, "enableWhiteboard", define_process_env_default.REACT_APP_ENABLE_WHITEBOARD && define_process_env_default.REACT_APP_PUSHER_APP_KEY && define_process_env_default.REACT_APP_PUSHER_AUTHENDPOINT);
31582
31591
  function FeatureFlagsInit() {
31583
31592
  const roomId = useHMSStore87(selectRoomID);
31584
- useEffect60(() => {
31593
+ useEffect61(() => {
31585
31594
  if (roomId) {
31586
31595
  FeatureFlags.init(roomId);
31587
31596
  }
@@ -31592,10 +31601,10 @@ function FeatureFlagsInit() {
31592
31601
  // src/Prebuilt/components/init/Init.jsx
31593
31602
  var Init = () => {
31594
31603
  const { toggleTheme } = useTheme();
31595
- useEffect61(() => {
31604
+ useEffect62(() => {
31596
31605
  window.toggleUiTheme = toggleTheme;
31597
31606
  }, [toggleTheme]);
31598
- useEffect61(() => {
31607
+ useEffect62(() => {
31599
31608
  function resetHeight() {
31600
31609
  var _a7;
31601
31610
  document.body.style.height = `${((_a7 = window.visualViewport) == null ? void 0 : _a7.height) || window.innerHeight}px`;
@@ -31611,7 +31620,7 @@ var Init = () => {
31611
31620
 
31612
31621
  // src/Prebuilt/components/Input/KeyboardInputManager.js
31613
31622
  init_define_process_env();
31614
- import { useEffect as useEffect62 } from "react";
31623
+ import { useEffect as useEffect63 } from "react";
31615
31624
  import {
31616
31625
  selectAppData as selectAppData13,
31617
31626
  selectIsLocalAudioEnabled as selectIsLocalAudioEnabled2,
@@ -31706,7 +31715,7 @@ _unbind = new WeakMap();
31706
31715
  var KeyboardHandler = () => {
31707
31716
  const store = useHMSVanillaStore15();
31708
31717
  const actions = useHMSActions51();
31709
- useEffect62(() => {
31718
+ useEffect63(() => {
31710
31719
  const keyboardManager = new KeyboardInputManager(store, actions);
31711
31720
  keyboardManager.bindAllShortcuts();
31712
31721
  return keyboardManager.unbindAllShortcuts;
@@ -32220,7 +32229,7 @@ var LeaveScreen = () => {
32220
32229
 
32221
32230
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
32222
32231
  init_define_process_env();
32223
- import React168, { useEffect as useEffect63, useState as useState71 } from "react";
32232
+ import React168, { useEffect as useEffect64, useState as useState71 } from "react";
32224
32233
  import { useMedia as useMedia44 } from "react-use";
32225
32234
  import { match as match14, P as P6 } from "ts-pattern";
32226
32235
  import { RefreshIcon } from "@100mslive/react-icons";
@@ -32228,7 +32237,7 @@ var MwebLandscapePrompt = () => {
32228
32237
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState71(false);
32229
32238
  const isLandscape = useMedia44(config.media.ls);
32230
32239
  const isLandscapeHLSStream = useLandscapeHLSStream();
32231
- useEffect63(() => {
32240
+ useEffect64(() => {
32232
32241
  var _a7;
32233
32242
  if (!isMobileUserAgent) {
32234
32243
  setShowMwebLandscapePrompt(false);
@@ -32273,7 +32282,7 @@ init_define_process_env();
32273
32282
 
32274
32283
  // src/Prebuilt/components/Notifications/Notifications.tsx
32275
32284
  init_define_process_env();
32276
- import React177, { useCallback as useCallback36, useEffect as useEffect74 } from "react";
32285
+ import React177, { useCallback as useCallback36, useEffect as useEffect75 } from "react";
32277
32286
  import {
32278
32287
  HMSNotificationTypes as HMSNotificationTypes11,
32279
32288
  HMSRoomState as HMSRoomState10,
@@ -32322,7 +32331,7 @@ function AutoplayBlockedModal() {
32322
32331
 
32323
32332
  // src/Prebuilt/components/Notifications/ChatNotifications.tsx
32324
32333
  init_define_process_env();
32325
- import React170, { useEffect as useEffect64 } from "react";
32334
+ import React170, { useEffect as useEffect65 } from "react";
32326
32335
  import { v4 as uuid4 } from "uuid";
32327
32336
  import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as useHMSStore88 } from "@100mslive/react-sdk";
32328
32337
  import { ChatIcon as ChatIcon2, ChatUnreadIcon } from "@100mslive/react-icons";
@@ -32330,7 +32339,7 @@ var NOTIFICATION_TIME_DIFFERENCE = 5e3;
32330
32339
  var ChatNotifications = () => {
32331
32340
  const chatState = useHMSStore88(selectSessionStore13("chatState" /* CHAT_STATE */));
32332
32341
  const localPeerId = useHMSStore88(selectLocalPeerID14);
32333
- useEffect64(() => {
32342
+ useEffect65(() => {
32334
32343
  var _a7, _b7;
32335
32344
  if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
32336
32345
  return;
@@ -32351,7 +32360,7 @@ var ChatNotifications = () => {
32351
32360
 
32352
32361
  // src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx
32353
32362
  init_define_process_env();
32354
- import { useEffect as useEffect65 } from "react";
32363
+ import { useEffect as useEffect66 } from "react";
32355
32364
  import { useDebounce as useDebounce2 } from "react-use";
32356
32365
  import {
32357
32366
  HMSNotificationTypes as HMSNotificationTypes2,
@@ -32611,7 +32620,7 @@ var HandRaisedNotifications = () => {
32611
32620
  const amIScreenSharing = useHMSStore90(selectIsLocalScreenShared3);
32612
32621
  const { showNotification } = useAwayNotifications4();
32613
32622
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
32614
- useEffect65(() => {
32623
+ useEffect66(() => {
32615
32624
  var _a8;
32616
32625
  if (!(notification == null ? void 0 : notification.data)) {
32617
32626
  return;
@@ -32651,13 +32660,13 @@ var HandRaisedNotifications = () => {
32651
32660
 
32652
32661
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
32653
32662
  init_define_process_env();
32654
- import React172, { useEffect as useEffect66, useState as useState72 } from "react";
32663
+ import React172, { useEffect as useEffect67, useState as useState72 } from "react";
32655
32664
  import { HMSNotificationTypes as HMSNotificationTypes3, useHMSNotifications as useHMSNotifications3 } from "@100mslive/react-sdk";
32656
32665
  var InitErrorModal = () => {
32657
32666
  const notification = useHMSNotifications3(HMSNotificationTypes3.ERROR);
32658
32667
  const [showModal, setShowModal] = useState72(false);
32659
32668
  const [info, setInfo] = useState72({ title: "Init Error", description: "" });
32660
- useEffect66(() => {
32669
+ useEffect67(() => {
32661
32670
  const data3 = notification == null ? void 0 : notification.data;
32662
32671
  if (!data3 || data3.action !== "INIT") {
32663
32672
  return;
@@ -32682,7 +32691,7 @@ var InitErrorModal = () => {
32682
32691
 
32683
32692
  // src/Prebuilt/components/Notifications/PeerNotifications.tsx
32684
32693
  init_define_process_env();
32685
- import { useEffect as useEffect67 } from "react";
32694
+ import { useEffect as useEffect68 } from "react";
32686
32695
  import { HMSNotificationTypes as HMSNotificationTypes4, useHMSNotifications as useHMSNotifications4 } from "@100mslive/react-sdk";
32687
32696
  var notificationTypes = [HMSNotificationTypes4.PEER_JOINED, HMSNotificationTypes4.PEER_LEFT];
32688
32697
  var PeerNotifications = () => {
@@ -32690,7 +32699,7 @@ var PeerNotifications = () => {
32690
32699
  const isPeerJoinSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_JOINED);
32691
32700
  const isPeerLeftSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_LEFT);
32692
32701
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
32693
- useEffect67(() => {
32702
+ useEffect68(() => {
32694
32703
  if (!(notification == null ? void 0 : notification.data)) {
32695
32704
  return;
32696
32705
  }
@@ -32719,7 +32728,7 @@ var PeerNotifications = () => {
32719
32728
 
32720
32729
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
32721
32730
  init_define_process_env();
32722
- import React173, { useEffect as useEffect68, useState as useState73 } from "react";
32731
+ import React173, { useEffect as useEffect69, useState as useState73 } from "react";
32723
32732
  import { useMedia as useMedia45 } from "react-use";
32724
32733
  import { HMSNotificationTypes as HMSNotificationTypes5, useHMSNotifications as useHMSNotifications5 } from "@100mslive/react-sdk";
32725
32734
 
@@ -32738,7 +32747,7 @@ var PermissionErrorModal = ({ error }) => {
32738
32747
  const [deviceType, setDeviceType] = useState73("");
32739
32748
  const [isSystemError, setIsSystemError] = useState73(false);
32740
32749
  const isMobile = useMedia45(config.media.md);
32741
- useEffect68(() => {
32750
+ useEffect69(() => {
32742
32751
  if (!error || (error == null ? void 0 : error.code) !== 3001 && (error == null ? void 0 : error.code) !== 3011 || (error == null ? void 0 : error.code) === 3001 && (error == null ? void 0 : error.message.includes("screen"))) {
32743
32752
  return;
32744
32753
  }
@@ -32794,7 +32803,7 @@ var PermissionErrorModal = ({ error }) => {
32794
32803
 
32795
32804
  // src/Prebuilt/components/Notifications/ReconnectNotifications.tsx
32796
32805
  init_define_process_env();
32797
- import { useEffect as useEffect69, useRef as useRef32 } from "react";
32806
+ import { useEffect as useEffect70, useRef as useRef32 } from "react";
32798
32807
  import { HMSNotificationTypes as HMSNotificationTypes6, useHMSNotifications as useHMSNotifications6 } from "@100mslive/react-sdk";
32799
32808
  var notificationTypes2 = [
32800
32809
  HMSNotificationTypes6.RECONNECTED,
@@ -32805,7 +32814,7 @@ var notificationId = null;
32805
32814
  var ReconnectNotifications = () => {
32806
32815
  const notification = useHMSNotifications6(notificationTypes2);
32807
32816
  const prevErrorCode = useRef32(0);
32808
- useEffect69(() => {
32817
+ useEffect70(() => {
32809
32818
  var _a7, _b7;
32810
32819
  if (!notification) {
32811
32820
  return;
@@ -32828,7 +32837,7 @@ var ReconnectNotifications = () => {
32828
32837
 
32829
32838
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
32830
32839
  init_define_process_env();
32831
- import React174, { useEffect as useEffect70, useState as useState74 } from "react";
32840
+ import React174, { useEffect as useEffect71, useState as useState74 } from "react";
32832
32841
  import {
32833
32842
  HMSNotificationTypes as HMSNotificationTypes7,
32834
32843
  useHMSActions as useHMSActions54,
@@ -32843,7 +32852,7 @@ var TrackBulkUnmuteModal = () => {
32843
32852
  HMSNotificationTypes7.ROOM_ENDED,
32844
32853
  HMSNotificationTypes7.REMOVED_FROM_ROOM
32845
32854
  ]);
32846
- useEffect70(() => {
32855
+ useEffect71(() => {
32847
32856
  switch (notification == null ? void 0 : notification.type) {
32848
32857
  case HMSNotificationTypes7.REMOVED_FROM_ROOM:
32849
32858
  case HMSNotificationTypes7.ROOM_ENDED:
@@ -32882,7 +32891,7 @@ var TrackBulkUnmuteModal = () => {
32882
32891
 
32883
32892
  // src/Prebuilt/components/Notifications/TrackNotifications.tsx
32884
32893
  init_define_process_env();
32885
- import { useEffect as useEffect71 } from "react";
32894
+ import { useEffect as useEffect72 } from "react";
32886
32895
  import { HMSNotificationTypes as HMSNotificationTypes8, useHMSNotifications as useHMSNotifications8 } from "@100mslive/react-sdk";
32887
32896
  var notificationTypes3 = [
32888
32897
  HMSNotificationTypes8.TRACK_ADDED,
@@ -32892,7 +32901,7 @@ var notificationTypes3 = [
32892
32901
  ];
32893
32902
  var TrackNotifications = () => {
32894
32903
  const notification = useHMSNotifications8(notificationTypes3);
32895
- useEffect71(() => {
32904
+ useEffect72(() => {
32896
32905
  if (notification) {
32897
32906
  console.debug(`[${notification.type}]`, notification);
32898
32907
  }
@@ -32902,7 +32911,7 @@ var TrackNotifications = () => {
32902
32911
 
32903
32912
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
32904
32913
  init_define_process_env();
32905
- import React175, { useEffect as useEffect72, useState as useState75 } from "react";
32914
+ import React175, { useEffect as useEffect73, useState as useState75 } from "react";
32906
32915
  import {
32907
32916
  HMSNotificationTypes as HMSNotificationTypes9,
32908
32917
  useHMSActions as useHMSActions55,
@@ -32917,7 +32926,7 @@ var TrackUnmuteModal = () => {
32917
32926
  HMSNotificationTypes9.REMOVED_FROM_ROOM
32918
32927
  ]);
32919
32928
  const [muteNotification, setMuteNotification] = useState75(null);
32920
- useEffect72(() => {
32929
+ useEffect73(() => {
32921
32930
  switch (notification == null ? void 0 : notification.type) {
32922
32931
  case HMSNotificationTypes9.REMOVED_FROM_ROOM:
32923
32932
  case HMSNotificationTypes9.ROOM_ENDED:
@@ -32953,14 +32962,14 @@ var TrackUnmuteModal = () => {
32953
32962
 
32954
32963
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
32955
32964
  init_define_process_env();
32956
- import React176, { useEffect as useEffect73 } from "react";
32965
+ import React176, { useEffect as useEffect74 } from "react";
32957
32966
  import { match as match15 } from "ts-pattern";
32958
32967
  import { HMSNotificationTypes as HMSNotificationTypes10, HMSTranscriptionState, useHMSNotifications as useHMSNotifications10 } from "@100mslive/react-sdk";
32959
32968
  import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon3, OpenCaptionIcon as OpenCaptionIcon4 } from "@100mslive/react-icons";
32960
32969
  var TranscriptionNotifications = () => {
32961
32970
  const notification = useHMSNotifications10(HMSNotificationTypes10.TRANSCRIPTION_STATE_UPDATED);
32962
32971
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
32963
- useEffect73(() => {
32972
+ useEffect74(() => {
32964
32973
  if (!(notification == null ? void 0 : notification.data)) {
32965
32974
  return;
32966
32975
  }
@@ -33022,7 +33031,7 @@ function Notifications() {
33022
33031
  });
33023
33032
  }, []);
33024
33033
  useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
33025
- useEffect74(() => {
33034
+ useEffect75(() => {
33026
33035
  var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
33027
33036
  if (!notification || isNotificationDisabled) {
33028
33037
  return;
@@ -33208,7 +33217,7 @@ var PreviewScreen = () => {
33208
33217
 
33209
33218
  // src/Prebuilt/components/Toast/ToastContainer.jsx
33210
33219
  init_define_process_env();
33211
- import React181, { useEffect as useEffect75, useState as useState77 } from "react";
33220
+ import React181, { useEffect as useEffect76, useState as useState77 } from "react";
33212
33221
  import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore92 } from "@100mslive/react-sdk";
33213
33222
 
33214
33223
  // src/Prebuilt/components/Toast/Toast.jsx
@@ -33234,7 +33243,7 @@ var Toast2 = (_a7) => {
33234
33243
  var ToastContainer = () => {
33235
33244
  const isConnected = useHMSStore92(selectIsConnectedToRoom11);
33236
33245
  const [toasts, setToast] = useState77([]);
33237
- useEffect75(() => {
33246
+ useEffect76(() => {
33238
33247
  ToastManager.addListener(setToast);
33239
33248
  return () => {
33240
33249
  ToastManager.removeListener(setToast);
@@ -33289,7 +33298,7 @@ var Sheet2 = () => {
33289
33298
 
33290
33299
  // src/Prebuilt/plugins/FlyingEmoji.jsx
33291
33300
  init_define_process_env();
33292
- import React184, { useCallback as useCallback38, useEffect as useEffect76, useMemo as useMemo23, useState as useState78 } from "react";
33301
+ import React184, { useCallback as useCallback38, useEffect as useEffect77, useMemo as useMemo23, useState as useState78 } from "react";
33293
33302
  import { useMedia as useMedia46 } from "react-use";
33294
33303
  import {
33295
33304
  selectIsLargeRoom as selectIsLargeRoom4,
@@ -33363,7 +33372,7 @@ function FlyingEmoji() {
33363
33372
  type: EMOJI_REACTION_TYPE,
33364
33373
  onEvent: showFlyingEmoji
33365
33374
  });
33366
- useEffect76(() => {
33375
+ useEffect77(() => {
33367
33376
  window.showFlyingEmoji = showFlyingEmoji;
33368
33377
  }, [showFlyingEmoji]);
33369
33378
  return /* @__PURE__ */ React184.createElement(
@@ -33442,7 +33451,7 @@ function RemoteStopScreenshare() {
33442
33451
 
33443
33452
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
33444
33453
  init_define_process_env();
33445
- import { useCallback as useCallback40, useEffect as useEffect77, useRef as useRef33 } from "react";
33454
+ import { useCallback as useCallback40, useEffect as useEffect78, useRef as useRef33 } from "react";
33446
33455
  import {
33447
33456
  selectIsConnectedToRoom as selectIsConnectedToRoom12,
33448
33457
  selectPermissions as selectPermissions20,
@@ -33481,12 +33490,12 @@ var useAutoStartStreaming = () => {
33481
33490
  isHLSRecordingOn,
33482
33491
  isBrowserRecordingOn
33483
33492
  ]);
33484
- useEffect77(() => {
33493
+ useEffect78(() => {
33485
33494
  if (!isHLSStarted && !isHLSRunning) {
33486
33495
  streamStartedRef.current = false;
33487
33496
  }
33488
33497
  }, [isHLSStarted, isHLSRunning]);
33489
- useEffect77(() => {
33498
+ useEffect78(() => {
33490
33499
  if (!isConnected || streamStartedRef.current || !(permissions == null ? void 0 : permissions.hlsStreaming)) {
33491
33500
  return;
33492
33501
  }
@@ -33512,7 +33521,7 @@ var HMSPrebuilt = React186.forwardRef(
33512
33521
  var _a7, _b7, _c, _d;
33513
33522
  const reactiveStore = useRef34();
33514
33523
  const [hydrated, setHydrated] = React186.useState(false);
33515
- useEffect78(() => {
33524
+ useEffect79(() => {
33516
33525
  setHydrated(true);
33517
33526
  const hms = new HMSReactiveStore();
33518
33527
  const hmsStore = hms.getStore();
@@ -33527,13 +33536,13 @@ var HMSPrebuilt = React186.forwardRef(
33527
33536
  hmsNotifications
33528
33537
  };
33529
33538
  }, []);
33530
- useEffect78(() => {
33539
+ useEffect79(() => {
33531
33540
  if (!ref || !reactiveStore.current) {
33532
33541
  return;
33533
33542
  }
33534
33543
  ref.current = __spreadValues({}, reactiveStore.current);
33535
33544
  }, [ref]);
33536
- useEffect78(() => {
33545
+ useEffect79(() => {
33537
33546
  return () => {
33538
33547
  var _a8;
33539
33548
  VBHandler.reset();
@@ -33649,7 +33658,7 @@ var AppStates = ({ activeState }) => {
33649
33658
  var BackSwipe = () => {
33650
33659
  const isConnectedToRoom = useHMSStore96(selectIsConnectedToRoom13);
33651
33660
  const hmsActions = useHMSActions59();
33652
- useEffect78(() => {
33661
+ useEffect79(() => {
33653
33662
  const onRouteLeave = () => __async(void 0, null, function* () {
33654
33663
  if (isConnectedToRoom) {
33655
33664
  yield hmsActions.leave();
@@ -33713,7 +33722,7 @@ import {
33713
33722
 
33714
33723
  // src/Diagnostics/AudioTest.tsx
33715
33724
  init_define_process_env();
33716
- import React190, { useCallback as useCallback41, useEffect as useEffect79, useState as useState80 } from "react";
33725
+ import React190, { useCallback as useCallback41, useEffect as useEffect80, useState as useState80 } from "react";
33717
33726
  import {
33718
33727
  selectDevices,
33719
33728
  selectLocalAudioTrackID as selectLocalAudioTrackID2,
@@ -33984,7 +33993,7 @@ var AudioTest = () => {
33984
33993
  },
33985
33994
  [updateStep, setErrorAlone]
33986
33995
  );
33987
- useEffect79(() => {
33996
+ useEffect80(() => {
33988
33997
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.requestPermission({ audio: true }).catch((error2) => setError(error2));
33989
33998
  }, [hmsDiagnostics, setError]);
33990
33999
  return /* @__PURE__ */ React190.createElement(React190.Fragment, null, /* @__PURE__ */ React190.createElement(TestContainer, null, /* @__PURE__ */ React190.createElement(Text, { variant: "body2", css: { c: "$on_primary_medium" } }, "Record a 10 second audio clip and play it back to check that your microphone and speaker are working. If they aren't, make sure your volume is turned up, try a different speaker or microphone, or check your bluetooth settings."), /* @__PURE__ */ React190.createElement(
@@ -34006,7 +34015,7 @@ var AudioTest = () => {
34006
34015
 
34007
34016
  // src/Diagnostics/BrowserTest.tsx
34008
34017
  init_define_process_env();
34009
- import React191, { useEffect as useEffect80, useState as useState81 } from "react";
34018
+ import React191, { useEffect as useEffect81, useState as useState81 } from "react";
34010
34019
  import { parsedUserAgent as parsedUserAgent4 } from "@100mslive/react-sdk";
34011
34020
  var CMS_MEDIA_SERVER = "https://storage.googleapis.com/100ms-cms-prod/";
34012
34021
  var operatingSystemIconInfo = {
@@ -34093,7 +34102,7 @@ var BrowserTest = () => {
34093
34102
  var _a7, _b7, _c, _d;
34094
34103
  const { hmsDiagnostics, updateStep } = useDiagnostics();
34095
34104
  const [error, setError] = useState81();
34096
- useEffect80(() => {
34105
+ useEffect81(() => {
34097
34106
  try {
34098
34107
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.checkBrowserSupport();
34099
34108
  } catch (err) {
@@ -34342,7 +34351,7 @@ var downloadJson = (obj, fileName) => {
34342
34351
 
34343
34352
  // src/Diagnostics/VideoTest.tsx
34344
34353
  init_define_process_env();
34345
- import React193, { useEffect as useEffect81, useState as useState83 } from "react";
34354
+ import React193, { useEffect as useEffect82, useState as useState83 } from "react";
34346
34355
  import {
34347
34356
  selectDevices as selectDevices2,
34348
34357
  selectLocalMediaSettings as selectLocalMediaSettings2,
@@ -34357,7 +34366,7 @@ var VideoTest = () => {
34357
34366
  const trackID = useHMSStore98(selectLocalVideoTrackID4);
34358
34367
  const sdkSelectedDevices = useHMSStore98(selectLocalMediaSettings2);
34359
34368
  const [error, setError] = useState83();
34360
- useEffect81(() => {
34369
+ useEffect82(() => {
34361
34370
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
34362
34371
  updateStep(1 /* VIDEO */, { hasFailed: true });
34363
34372
  setError(err);
@@ -34636,4 +34645,4 @@ object-assign/index.js:
34636
34645
  @license MIT
34637
34646
  *)
34638
34647
  */
34639
- //# sourceMappingURL=chunk-KZIOZDJV.js.map
34648
+ //# sourceMappingURL=chunk-LDTFZNHE.js.map