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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
109
109
  var define_process_env_default;
110
110
  var init_define_process_env = __esm({
111
111
  "<define:process.env>"() {
112
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_fe0cd9a7-887f-4593-89ce-364e79153207", GIT_CLONE_PROTECTION_ACTIVE: "false", 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.2-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.3 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.12-alpha.6", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_fe0cd9a7-887f-4593-89ce-364e79153207", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/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.12-alpha.6", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_packageManager: "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72", 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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "593", 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.10/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240526.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.3/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:20534", 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.12-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: "9300762402", 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: "b056278ac61c5f0c04ed2c7c72ca84574ceac05c", 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: "4da4729e9a1bb901d9f1e0c94ea20db4800aa0c3be5d831241f375140eaa42c8", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/fix/ice-server-relay", 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--1717063752473-0.42070767715397106:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1717063752280-0.8885176299894173:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1717063727319-0.6524591395498536:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1717063727142-0.931848454764163:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/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.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4f2e6b62-9cff-4930-9e36-0307c1960e00", INVOCATION_ID: "46d3cef73ebf464bbc2609efc84e5b60", 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: "562", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 292", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "fix/ice-server-relay", 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/25.2.9519653", 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.12-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.12-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_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: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_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: "b056278ac61c5f0c04ed2c7c72ca84574ceac05c", 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/fix/ice-server-relay", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_fe0cd9a7-887f-4593-89ce-364e79153207", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_fe0cd9a7-887f-4593-89ce-364e79153207", 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/25.2.9519653", 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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_fe0cd9a7-887f-4593-89ce-364e79153207" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f23148d2-da97-4e7e-8729-768782d45c1c", GIT_CLONE_PROTECTION_ACTIVE: "false", 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.2-alpha.8", 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.3 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.12-alpha.8", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f23148d2-da97-4e7e-8729-768782d45c1c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/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.12-alpha.8", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.9", 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.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "593", 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.10/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240603.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.3/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:17376", 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.12-alpha.8", 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: "true", GITHUB_RUN_ID: "9462359937", 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: "e7d64aa51c443d954396dde339867efe572c0982", 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: "10c18f22c900480d5f4019804340e74e0e8b80e74334f44ddc0f0f2575c479ed", 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--1718095273649-0.6444348913573028:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718095273452-0.27461651391148423:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718095247567-0.05113045918839276:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718095247386-0.7049782734888921:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/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.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c4093190-a8a6-4c86-babc-5378a04407e6", INVOCATION_ID: "12e11d95729f4888a4a09b2a034e2560", 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: "569", 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_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 61", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "true", 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/25.2.9519653", 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.12-alpha.8", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.12-alpha.8", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_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: "e7d64aa51c443d954396dde339867efe572c0982", 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_f23148d2-da97-4e7e-8729-768782d45c1c", 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", 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_f23148d2-da97-4e7e-8729-768782d45c1c", 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/25.2.9519653", 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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f23148d2-da97-4e7e-8729-768782d45c1c" };
113
113
  }
114
114
  });
115
115
 
@@ -399,7 +399,8 @@ var init_constants = __esm({
399
399
  background: "background",
400
400
  sheet: "sheet",
401
401
  caption: "caption",
402
- loadingEffects: "loadingEffects"
402
+ loadingEffects: "loadingEffects",
403
+ noiseCancellation: "noiseCancellation"
403
404
  };
404
405
  UI_SETTINGS = {
405
406
  isAudioOnly: "isAudioOnly",
@@ -3877,7 +3878,7 @@ var init_useUserPreferences = __esm({
3877
3878
  });
3878
3879
 
3879
3880
  // src/Prebuilt/components/AppData/useUISettings.js
3880
- var import_react29, import_react_sdk7, useUISettings, useSetUiSettings, useAuthToken, useUrlToEmbed, usePDFConfig, useResetPDFConfig, useResetEmbedConfig, usePinnedTrack, useSubscribedNotifications, useIsNotificationDisabled, useSetSubscribedNotifications, useIsCaptionEnabled, useSetIsCaptionEnabled, useSubscribeChatSelector, useSetSubscribedChatSelector, useSetAppDataByKey, useSetAppData, useShowPolls, usePollViewState;
3881
+ var import_react29, import_react_sdk7, useUISettings, useSetUiSettings, useAuthToken, useUrlToEmbed, usePDFConfig, useResetPDFConfig, useResetEmbedConfig, usePinnedTrack, useSubscribedNotifications, useIsNotificationDisabled, useSetSubscribedNotifications, useIsCaptionEnabled, useSetIsCaptionEnabled, useSubscribeChatSelector, useSetSubscribedChatSelector, useSetAppDataByKey, useSetAppData, useShowPolls, usePollViewState, useIsNoiseCancellationEnabled, useSetNoiseCancellationEnabled;
3881
3882
  var init_useUISettings = __esm({
3882
3883
  "src/Prebuilt/components/AppData/useUISettings.js"() {
3883
3884
  "use strict";
@@ -4023,6 +4024,14 @@ var init_useUISettings = __esm({
4023
4024
  view: pollState == null ? void 0 : pollState.view
4024
4025
  };
4025
4026
  };
4027
+ useIsNoiseCancellationEnabled = () => {
4028
+ const IsNoiseCancellationEnabled = (0, import_react_sdk7.useHMSStore)((0, import_react_sdk7.selectAppDataByPath)(APP_DATA.noiseCancellation));
4029
+ return IsNoiseCancellationEnabled;
4030
+ };
4031
+ useSetNoiseCancellationEnabled = () => {
4032
+ const [isNoiseCancellationEnabled, setNoiseCancellationEnabled] = useSetAppDataByKey(APP_DATA.noiseCancellation);
4033
+ return [isNoiseCancellationEnabled, setNoiseCancellationEnabled];
4034
+ };
4026
4035
  }
4027
4036
  });
4028
4037
 
@@ -10091,10 +10100,11 @@ var init_AppData = __esm({
10091
10100
  [POLL_STATE.view]: ""
10092
10101
  },
10093
10102
  // by default on because of on demand now, for beam disabled
10094
- [APP_DATA.caption]: false
10103
+ [APP_DATA.caption]: false,
10104
+ [APP_DATA.noiseCancellation]: false
10095
10105
  };
10096
10106
  AppData = import_react35.default.memo(() => {
10097
- var _a8;
10107
+ var _a8, _b7;
10098
10108
  const hmsActions = (0, import_react_sdk11.useHMSActions)();
10099
10109
  const [preferences = {}] = useUserPreferences(UserPreferencesKeys.UI_SETTINGS);
10100
10110
  const appData = (0, import_react_sdk11.useHMSStore)(import_react_sdk11.selectFullAppData);
@@ -10102,6 +10112,13 @@ var init_AppData = __esm({
10102
10112
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
10103
10113
  const { isLocalVideoEnabled } = (0, import_react_sdk11.useAVToggle)();
10104
10114
  const sidepaneOpenedRef = (0, import_react35.useRef)(false);
10115
+ const [, setNoiseCancellationEnabled] = useSetNoiseCancellationEnabled();
10116
+ (0, import_react35.useEffect)(() => {
10117
+ var _a9;
10118
+ if ((_a9 = elements == null ? void 0 : elements.noise_cancellation) == null ? void 0 : _a9.enabled_by_default) {
10119
+ setNoiseCancellationEnabled(true);
10120
+ }
10121
+ }, [(_a8 = elements == null ? void 0 : elements.noise_cancellation) == null ? void 0 : _a8.enabled_by_default, setNoiseCancellationEnabled]);
10105
10122
  const defaultMediaURL = (0, import_react35.useMemo)(() => {
10106
10123
  var _a9;
10107
10124
  const media = ((_a9 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _a9.background_media) || [];
@@ -10111,7 +10128,7 @@ var init_AppData = __esm({
10111
10128
  }
10112
10129
  }
10113
10130
  return "";
10114
- }, [(_a8 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _a8.background_media]);
10131
+ }, [(_b7 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _b7.background_media]);
10115
10132
  (0, import_react35.useEffect)(() => {
10116
10133
  hmsActions.initAppData(__spreadValues(__spreadValues({}, initialAppData), appData));
10117
10134
  hmsActions.setFrameworkInfo({
@@ -11285,6 +11302,7 @@ var init_AudioVideoToggle = __esm({
11285
11302
  init_Tooltip2();
11286
11303
  init_IconButton3();
11287
11304
  init_useRoomLayoutScreen();
11305
+ init_useUISettings();
11288
11306
  init_useAudioOutputTest();
11289
11307
  init_constants();
11290
11308
  Options = ({
@@ -11334,23 +11352,23 @@ var init_AudioVideoToggle = __esm({
11334
11352
  plugin = new import_hms_noise_cancellation.HMSKrispPlugin();
11335
11353
  NoiseCancellation = () => {
11336
11354
  const localPeerAudioTrackID = (0, import_react_sdk14.useHMSStore)(import_react_sdk14.selectLocalAudioTrackID);
11355
+ const [enabled, setEnabled] = useSetNoiseCancellationEnabled();
11337
11356
  const isPluginAdded = (0, import_react_sdk14.useHMSStore)((0, import_react_sdk14.selectIsLocalAudioPluginPresent)(plugin.getName()));
11338
- const [active, setActive] = (0, import_react45.useState)(isPluginAdded);
11339
11357
  const [inProgress, setInProgress] = (0, import_react45.useState)(false);
11340
11358
  const actions = (0, import_react_sdk14.useHMSActions)();
11341
11359
  const room = (0, import_react_sdk14.useHMSStore)(import_react_sdk14.selectRoom);
11342
11360
  (0, import_react45.useEffect)(() => {
11343
11361
  (() => __async(void 0, null, function* () {
11344
11362
  setInProgress(true);
11345
- if (active && !isPluginAdded) {
11363
+ if (enabled && !isPluginAdded) {
11346
11364
  yield actions.addPluginToAudioTrack(plugin);
11347
11365
  }
11348
- if (!active && isPluginAdded) {
11366
+ if (!enabled && isPluginAdded) {
11349
11367
  yield actions.removePluginFromAudioTrack(plugin);
11350
11368
  }
11351
11369
  setInProgress(false);
11352
11370
  }))();
11353
- }, [actions, active, isPluginAdded]);
11371
+ }, [actions, enabled, isPluginAdded]);
11354
11372
  if (!plugin.isSupported() || !room.isNoiseCancellationEnabled || !localPeerAudioTrackID) {
11355
11373
  return null;
11356
11374
  }
@@ -11365,7 +11383,7 @@ var init_AudioVideoToggle = __esm({
11365
11383
  },
11366
11384
  onClick: (e) => {
11367
11385
  e.preventDefault();
11368
- setActive((value) => !value);
11386
+ setEnabled(!enabled);
11369
11387
  }
11370
11388
  },
11371
11389
  /* @__PURE__ */ import_react45.default.createElement(Text, { css: { display: "flex", alignItems: "center", gap: "$2", fontSize: "$xs", "& svg": { size: "$8" } } }, /* @__PURE__ */ import_react45.default.createElement(import_react_icons13.AudioLevelIcon, null), "Reduce Noise"),
@@ -11373,11 +11391,11 @@ var init_AudioVideoToggle = __esm({
11373
11391
  Switch,
11374
11392
  {
11375
11393
  id: "noise_cancellation",
11376
- checked: active,
11394
+ checked: enabled && isPluginAdded,
11377
11395
  disabled: inProgress,
11378
11396
  onClick: (e) => e.stopPropagation(),
11379
11397
  onCheckedChange: (value) => {
11380
- setActive(value);
11398
+ setEnabled(value);
11381
11399
  }
11382
11400
  }
11383
11401
  )
@@ -11443,6 +11461,23 @@ var init_AudioVideoToggle = __esm({
11443
11461
  const shouldShowAudioOutput = "setSinkId" in HTMLMediaElement.prototype && Number(audioOutput == null ? void 0 : audioOutput.length) > 0;
11444
11462
  const { screenType } = useRoomLayoutConferencingScreen();
11445
11463
  const [showSettings, setShowSettings] = (0, import_react45.useState)(false);
11464
+ const isPluginAdded = (0, import_react_sdk14.useHMSStore)((0, import_react_sdk14.selectIsLocalAudioPluginPresent)(plugin.getName()));
11465
+ const isNoiseCancellationEnabled = useIsNoiseCancellationEnabled();
11466
+ (0, import_react45.useEffect)(() => {
11467
+ (() => __async(void 0, null, function* () {
11468
+ if (isNoiseCancellationEnabled && !isPluginAdded) {
11469
+ yield actions.addPluginToAudioTrack(plugin);
11470
+ }
11471
+ if (isNoiseCancellationEnabled && isPluginAdded) {
11472
+ ToastManager.addToast({
11473
+ title: `Noise Reduction Enabled`,
11474
+ variant: "standard",
11475
+ duration: 2e3,
11476
+ icon: /* @__PURE__ */ import_react45.default.createElement(import_react_icons13.AudioLevelIcon, null)
11477
+ });
11478
+ }
11479
+ }))();
11480
+ }, [actions, isNoiseCancellationEnabled, isPluginAdded]);
11446
11481
  if (!toggleAudio && !toggleVideo) {
11447
11482
  return null;
11448
11483
  }
@@ -13716,8 +13751,7 @@ var init_CaptionContent = __esm({
13716
13751
  color: "$on_surface_high",
13717
13752
  fontWeight: "$semiBold",
13718
13753
  display: "flex",
13719
- pb: "$4",
13720
- "@md": { px: "$8", borderBottom: "1px solid $border_default" }
13754
+ "@md": { px: "$8" }
13721
13755
  }
13722
13756
  },
13723
13757
  isTranscriptionEnabled ? "Disable" : "Enable",
@@ -13730,7 +13764,7 @@ var init_CaptionContent = __esm({
13730
13764
  },
13731
13765
  /* @__PURE__ */ import_react65.default.createElement(import_react_icons26.CrossIcon, null)
13732
13766
  )
13733
- ), !isMobile ? /* @__PURE__ */ import_react65.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", pb: "$6", mb: "$8", "@md": { px: "$8", mt: "$4" } } }, "This will ", isTranscriptionEnabled ? "disable" : "enable", " Closed Captions for everyone in this room. You can\xA0", isTranscriptionEnabled ? "enable" : "disable", " it later.") : null, /* @__PURE__ */ import_react65.default.createElement(
13767
+ ), !isMobile ? /* @__PURE__ */ import_react65.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", mt: "$4", "@md": { px: "$8" } } }, "This will ", isTranscriptionEnabled ? "disable" : "enable", " Closed Captions for everyone in this room. You can\xA0", isTranscriptionEnabled ? "enable" : "disable", " it later.") : null, /* @__PURE__ */ import_react65.default.createElement(
13734
13768
  Flex,
13735
13769
  {
13736
13770
  justify: "between",
@@ -13750,14 +13784,15 @@ var init_CaptionContent = __esm({
13750
13784
  justify: "between",
13751
13785
  align: "center",
13752
13786
  css: {
13753
- width: "100%"
13787
+ width: "100%",
13788
+ "@md": { px: "$4" }
13754
13789
  }
13755
13790
  },
13756
13791
  isMobile && isTranscriptionEnabled ? /* @__PURE__ */ import_react65.default.createElement(
13757
13792
  Button,
13758
13793
  {
13759
13794
  variant: "standard",
13760
- css: { w: "100%", mb: "$8" },
13795
+ css: { w: "100%", mb: "$4" },
13761
13796
  outlined: true,
13762
13797
  onClick: () => {
13763
13798
  setIsCaptionEnabled(!isCaptionEnabled);
@@ -13800,7 +13835,7 @@ var init_CaptionContent = __esm({
13800
13835
  setToastId(id);
13801
13836
  } catch (err) {
13802
13837
  const id = ToastManager.replaceToast(toastId, {
13803
- title: `Failed to ${isTranscriptionEnabled ? "disabled" : "enabled"} closed caption`,
13838
+ title: `Failed to ${isTranscriptionEnabled ? "disable" : "enable"} closed caption`,
13804
13839
  variant: "error",
13805
13840
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons26.AlertTriangleIcon, { style: { marginRight: "0.5rem" } })
13806
13841
  });
@@ -13813,7 +13848,7 @@ var init_CaptionContent = __esm({
13813
13848
  " for Everyone"
13814
13849
  )
13815
13850
  )
13816
- ), isMobile && /* @__PURE__ */ import_react65.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", pb: "$6", mb: "$8", "@md": { px: "$8", mt: "$4" } } }, "This will ", isTranscriptionEnabled ? "disable" : "enable", " Closed Captions for everyone in this room. You can\xA0", isTranscriptionEnabled ? "enable" : "disable", " it later."));
13851
+ ), isMobile && /* @__PURE__ */ import_react65.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", pb: "$4", mb: "$8", "@md": { px: "$8", mt: "$4" } } }, "This will ", isTranscriptionEnabled ? "disable" : "enable", " Closed Captions for everyone in this room. You can\xA0", isTranscriptionEnabled ? "enable" : "disable", " it later."));
13817
13852
  };
13818
13853
  }
13819
13854
  });
@@ -19844,7 +19879,7 @@ function Pm(a2) {
19844
19879
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19845
19880
  };
19846
19881
  }
19847
- var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, _t, import_eventemitter24, import_uuid9, import_uuid10, _a7, Na, Oa, Wt, qr, jr, Kr, m, v, er, Ba, cr, tr, Va, Jr, ir, Qr, Xr, Ga, d, he, N, Zr, Le, $a, Fn, es, ts, rs, ss, Ve, M, f, qa, S, ar, as, ne, os, cs, ds, C, P3, lr, j, ur, pr, hr, Ss, gs, Ts, fs, vs, Ms, mr, ks, Sr, As, gr, Tr, bs, Hs, pt, Qe, U, go, bh, Hh, W, ni, Us, _, Rr, To, He, Dh, fo, ue, vo, Y, fe, wh, _h, ie, J, Mo, Vs, Nh, Oh, Hr, yo, Uh, Bh, Vh, Fh, Gh, Wh, $h, Kh, gt, Po, qh, X, Gs, jh, Jh, pe, Qh, Ye, Eo, Ws, zh, $s, Yh, Xh, Zh, em, tm, im, rm, sm, am, Ks, dm, ko, lm, js, Cr, Js, Qs, zs, Ys, Xs, Zs, ea, ta, Tt, E, Lr, ft, ia, Ao, Io, $, Dr, Ro, bo, Ho, Co, Lo, Q, ym, km, Am, ci, ra, Im, Rm, bm, Do, wo, Cm, sa, Lm, _o, Dm, wm, _m, Nm, Om, xm, aa, oa, Bm, Vm, na, Fm, Gm, ca, Wm, $m, Km, da, la, No, Oo, xo, qm, jm, Jm, Qm, zm, ua, cS, Uo, dS, lS, uS, Vo, Fo, xr, Me, K, Fi, zi, cn, dn, ln, un, Ca, pn, La, Gr, Pe, hn, mn, Sn, gn, Tn, fn, vn, Mn, yn, Pn, Wr, En, kn, An, In, Rn, bn;
19882
+ var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, _t, import_eventemitter24, import_uuid9, import_uuid10, _a7, Na, Oa, Wt, qr, jr, Kr, S, v, er, Ba, cr, tr, Va, Jr, ir, Qr, Xr, Ga, d, he, N, Zr, Le, $a, Fn, es, ts, rs, ss, Ve, M, f, qa, m, ar, as, ne, os, cs, ds, C, P3, lr, j, ur, pr, hr, Ss, gs, Ts, fs, vs, Ms, mr, ks, Sr, As, gr, Tr, bs, Hs, pt, Qe, U, go, bh, Hh, W, ni, Us, _, Rr, To, He, Dh, fo, ue, vo, Y, fe, wh, _h, ie, J, Mo, Vs, Nh, Oh, Hr, yo, Uh, Bh, Vh, Fh, Gh, Wh, $h, Kh, gt, Po, qh, X, Gs, jh, Jh, pe, Qh, Ye, Eo, Ws, zh, $s, Yh, Xh, Zh, em, tm, im, rm, sm, am, Ks, dm, ko, lm, js, Cr, Js, Qs, zs, Ys, Xs, Zs, ea, ta, Tt, E, Lr, ft, ia, Ao, Io, $, Dr, Ro, bo, Ho, Co, Lo, Q, ym, km, Am, ci, ra, Im, Rm, bm, Do, wo, Cm, sa, Lm, _o, Dm, wm, _m, Nm, Om, xm, aa, oa, Bm, Vm, na, Fm, Gm, ca, Wm, $m, Km, da, la, No, Oo, xo, qm, jm, Jm, Qm, zm, ua, cS, Uo, dS, lS, uS, Vo, Fo, xr, Me, K, Fi, zi, cn, dn, ln, un, Ca, pn, La, Gr, Pe, hn, mn, Sn, gn, Tn, fn, vn, Mn, yn, Pn, Wr, En, kn, An, In, Rn, bn;
19848
19883
  var init_dist = __esm({
19849
19884
  "../hms-video-store/dist/index.js"() {
19850
19885
  "use strict";
@@ -19879,7 +19914,7 @@ var init_dist = __esm({
19879
19914
  qr = Object.prototype.hasOwnProperty;
19880
19915
  jr = Object.prototype.propertyIsEnumerable;
19881
19916
  Kr = (a2, e, t) => e in a2 ? _a7(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19882
- m = (a2, e) => {
19917
+ S = (a2, e) => {
19883
19918
  for (var t in e || (e = {}))
19884
19919
  qr.call(e, t) && Kr(a2, t, e[t]);
19885
19920
  if (Wt)
@@ -19899,7 +19934,7 @@ var init_dist = __esm({
19899
19934
  };
19900
19935
  Ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19901
19936
  cr = Ba((Ic, Ja) => {
19902
- Ja.exports = { version: "0.12.12-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"] };
19937
+ Ja.exports = { version: "0.12.12-alpha.8", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "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"] };
19903
19938
  });
19904
19939
  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 || {});
19905
19940
  Va = ((e) => (e.CHAT = "chat", e))(Va || {});
@@ -20013,7 +20048,7 @@ var init_dist = __esm({
20013
20048
  }
20014
20049
  };
20015
20050
  qa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
20016
- S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
20051
+ m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
20017
20052
  return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
20018
20053
  }, WebSocketConnectionLost(a2, e = "") {
20019
20054
  return new f(M.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
@@ -20149,7 +20184,7 @@ var init_dist = __esm({
20149
20184
  try {
20150
20185
  N && !localStorage && (window.localStorage = new ar());
20151
20186
  } catch (a2) {
20152
- d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
20187
+ d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
20153
20188
  }
20154
20189
  };
20155
20190
  ne = class {
@@ -20161,7 +20196,7 @@ var init_dist = __esm({
20161
20196
  try {
20162
20197
  return N && !this.storage && (as(), this.storage = window.localStorage), this.storage;
20163
20198
  } catch (e) {
20164
- return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
20199
+ return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
20165
20200
  }
20166
20201
  }
20167
20202
  get() {
@@ -20191,12 +20226,12 @@ var init_dist = __esm({
20191
20226
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = os();
20192
20227
  }
20193
20228
  toSignalParams() {
20194
- return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
20229
+ return { name: this.name, info: v(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
20195
20230
  }
20196
20231
  };
20197
20232
  P3 = class {
20198
20233
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
20199
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(v(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
20234
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(v(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
20200
20235
  return new C({ name: o, level: n, properties: l });
20201
20236
  }
20202
20237
  static disconnect(e, t) {
@@ -20210,7 +20245,7 @@ var init_dist = __esm({
20210
20245
  }
20211
20246
  static join(i) {
20212
20247
  var r = i, { error: e } = r, t = er(r, ["error"]);
20213
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(v(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
20248
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(v(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
20214
20249
  return new C({ name: s, level: o, properties: n });
20215
20250
  }
20216
20251
  static publish({ devices: e, settings: t, error: i }) {
@@ -20253,7 +20288,7 @@ var init_dist = __esm({
20253
20288
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
20254
20289
  if (!t && e.degradedAt instanceof Date) {
20255
20290
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
20256
- s = v(m({}, s), { duration: n, restoredAt: o });
20291
+ s = v(S({}, s), { duration: n, restoredAt: o });
20257
20292
  }
20258
20293
  return new C({ name: i, level: r, properties: s });
20259
20294
  }
@@ -20278,7 +20313,7 @@ var init_dist = __esm({
20278
20313
  }
20279
20314
  static getPropertiesWithError(e, t) {
20280
20315
  let i = this.getErrorProperties(t);
20281
- return e = m(m({}, i), e), e;
20316
+ return e = S(S({}, i), e), e;
20282
20317
  }
20283
20318
  static getErrorProperties(e) {
20284
20319
  return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
@@ -23767,18 +23802,19 @@ var init_Common = __esm({
23767
23802
  css: { w: "100%", py: "$8", px: "$10", cursor: "pointer", borderBottom: "1px solid $border_bright", mb: "$8" }
23768
23803
  },
23769
23804
  onBack ? /* @__PURE__ */ import_react105.default.createElement(
23770
- Text,
23805
+ Flex,
23771
23806
  {
23807
+ align: "center",
23772
23808
  css: {
23773
- alignSelf: "center",
23774
- mr: "$8"
23809
+ mr: "$8",
23810
+ color: "$on_surface_high"
23775
23811
  },
23776
23812
  onClick: onBack,
23777
23813
  "data-testid": "go_back"
23778
23814
  },
23779
23815
  /* @__PURE__ */ import_react105.default.createElement(import_react_icons48.ChevronLeftIcon, null)
23780
23816
  ) : null,
23781
- /* @__PURE__ */ import_react105.default.createElement(Box, { css: { flex: "1 1 0" } }, title ? /* @__PURE__ */ import_react105.default.createElement(
23817
+ /* @__PURE__ */ import_react105.default.createElement(Box, { css: { flex: "1 1 0", display: "flex", alignItems: "center" } }, title ? /* @__PURE__ */ import_react105.default.createElement(
23782
23818
  Text,
23783
23819
  {
23784
23820
  variant: "tiny",
@@ -25378,7 +25414,9 @@ var init_Voting = __esm({
25378
25414
  const showSingleView = (poll == null ? void 0 : poll.type) === "quiz" && poll.state === "started";
25379
25415
  const fetchedInitialResponses = (0, import_react126.useRef)(false);
25380
25416
  const [savedResponses, setSavedResponses] = (0, import_react126.useState)({});
25381
- const localPeerId = (0, import_react_sdk61.useHMSStore)(import_react_sdk61.selectLocalPeerID);
25417
+ const localPeer = (0, import_react_sdk61.useHMSStore)(import_react_sdk61.selectLocalPeer);
25418
+ const localPeerId = localPeer == null ? void 0 : localPeer.id;
25419
+ const customerUserId = localPeer == null ? void 0 : localPeer.customerUserId;
25382
25420
  (0, import_react126.useEffect)(() => {
25383
25421
  fetchedInitialResponses.current = false;
25384
25422
  setSavedResponses({});
@@ -25394,7 +25432,7 @@ var init_Voting = __esm({
25394
25432
  }, [poll, actions.interactivityCenter]);
25395
25433
  (0, import_react126.useEffect)(() => {
25396
25434
  if (poll == null ? void 0 : poll.questions) {
25397
- const localPeerResponses = getPeerResponses(poll.questions, localPeerId);
25435
+ const localPeerResponses = getPeerResponses(poll.questions, localPeerId, customerUserId);
25398
25436
  localPeerResponses == null ? void 0 : localPeerResponses.forEach((response) => {
25399
25437
  if (response) {
25400
25438
  setSavedResponses((prev) => {
@@ -25406,7 +25444,7 @@ var init_Voting = __esm({
25406
25444
  }
25407
25445
  });
25408
25446
  }
25409
- }, [localPeerId, poll == null ? void 0 : poll.questions, id]);
25447
+ }, [localPeerId, poll == null ? void 0 : poll.questions, id, customerUserId]);
25410
25448
  if (!poll) {
25411
25449
  return null;
25412
25450
  }
@@ -30651,9 +30689,9 @@ var init_ScreenshareLayout = __esm({
30651
30689
  }
30652
30690
  });
30653
30691
 
30654
- // ../../../../../../../tmp/tmp-2793-X9HbnOoLuxrX/18fc8f99c920/index.css
30655
- var init_fc8f99c920 = __esm({
30656
- "../../../../../../../tmp/tmp-2793-X9HbnOoLuxrX/18fc8f99c920/index.css"() {
30692
+ // ../../../../../../../tmp/tmp-2865-8g4bNVCoa34b/190067560c11/index.css
30693
+ var init_c11 = __esm({
30694
+ "../../../../../../../tmp/tmp-2865-8g4bNVCoa34b/190067560c11/index.css"() {
30657
30695
  }
30658
30696
  });
30659
30697
 
@@ -30675,7 +30713,7 @@ var init_WhiteboardLayout = __esm({
30675
30713
  init_ProminenceLayout();
30676
30714
  init_useUISettings();
30677
30715
  init_constants();
30678
- init_fc8f99c920();
30716
+ init_c11();
30679
30717
  WhiteboardEmbed = () => {
30680
30718
  const isMobile = (0, import_react_use42.useMedia)(config.media.md);
30681
30719
  const { token, endpoint, zoomToContent } = (0, import_react_sdk93.useWhiteboard)(isMobile);
@@ -31123,12 +31161,13 @@ var init_PDFView = __esm({
31123
31161
  });
31124
31162
 
31125
31163
  // src/Prebuilt/plugins/CaptionsViewer.tsx
31126
- var import_react186, import_react_use43, import_react_sdk98, SimpleQueue, Queue, CaptionMaintainerQueue, TranscriptView, CaptionsViewer;
31164
+ var import_react186, import_react_draggable2, import_react_use43, import_react_sdk98, SimpleQueue, Queue, CaptionMaintainerQueue, TranscriptView, CaptionsViewer;
31127
31165
  var init_CaptionsViewer = __esm({
31128
31166
  "src/Prebuilt/plugins/CaptionsViewer.tsx"() {
31129
31167
  "use strict";
31130
31168
  init_define_process_env();
31131
31169
  import_react186 = __toESM(require("react"));
31170
+ import_react_draggable2 = __toESM(require("react-draggable"));
31132
31171
  import_react_use43 = require("react-use");
31133
31172
  import_react_sdk98 = require("@100mslive/react-sdk");
31134
31173
  init_Layout();
@@ -31294,6 +31333,7 @@ var init_CaptionsViewer = __esm({
31294
31333
  const [currentData, setCurrentData] = (0, import_react186.useState)([]);
31295
31334
  const isCaptionEnabled = useIsCaptionEnabled();
31296
31335
  const isTranscriptionEnabled = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectIsTranscriptionEnabled);
31336
+ const nodeRef = (0, import_react186.useRef)(null);
31297
31337
  (0, import_react186.useEffect)(() => {
31298
31338
  const timeInterval = setInterval(() => {
31299
31339
  var _a9;
@@ -31320,9 +31360,10 @@ var init_CaptionsViewer = __esm({
31320
31360
  if (dataToShow.length <= 0 || screenType === "hls_live_streaming" || !isCaptionEnabled || !isTranscriptionEnabled) {
31321
31361
  return null;
31322
31362
  }
31323
- return /* @__PURE__ */ import_react186.default.createElement(
31363
+ return /* @__PURE__ */ import_react186.default.createElement(import_react_draggable2.default, { bounds: "parent", nodeRef, defaultPosition: { x: isMobile ? 0 : -200, y: 0 } }, /* @__PURE__ */ import_react186.default.createElement(
31324
31364
  Box,
31325
31365
  {
31366
+ ref: nodeRef,
31326
31367
  css: {
31327
31368
  position: "absolute",
31328
31369
  w: isMobile ? "100%" : "40%",
@@ -31344,7 +31385,7 @@ var init_CaptionsViewer = __esm({
31344
31385
  const key = Object.keys(data3)[0];
31345
31386
  return /* @__PURE__ */ import_react186.default.createElement(TranscriptView, { key: index, peer_id: key, data: data3[key] });
31346
31387
  }))
31347
- );
31388
+ ));
31348
31389
  };
31349
31390
  }
31350
31391
  });
@@ -34954,14 +34995,14 @@ var init_TranscriptionNotifications = __esm({
34954
34995
  title: `Closed Captioning enabled for everyone`,
34955
34996
  variant: "standard",
34956
34997
  duration: 2e3,
34957
- icon: /* @__PURE__ */ import_react228.default.createElement(import_react_icons107.OpenCaptionIcon, { style: { marginRight: "0.5rem" } })
34998
+ icon: /* @__PURE__ */ import_react228.default.createElement(import_react_icons107.ClosedCaptionIcon, { style: { marginRight: "0.5rem" } })
34958
34999
  });
34959
35000
  }).with({ state: import_react_sdk120.HMSTranscriptionState.STOPPED }, () => {
34960
35001
  id = ToastManager.replaceToast(toastId, {
34961
35002
  title: `Closed Captioning disabled for everyone`,
34962
35003
  variant: "standard",
34963
35004
  duration: 2e3,
34964
- icon: /* @__PURE__ */ import_react228.default.createElement(import_react_icons107.ClosedCaptionIcon, { style: { marginRight: "0.5rem" } })
35005
+ icon: /* @__PURE__ */ import_react228.default.createElement(import_react_icons107.OpenCaptionIcon, { style: { marginRight: "0.5rem" } })
34965
35006
  });
34966
35007
  }).otherwise(() => null);
34967
35008
  setToastId(id);
@@ -34995,7 +35036,7 @@ function Notifications() {
34995
35036
  }, []);
34996
35037
  (0, import_react_sdk121.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
34997
35038
  (0, import_react229.useEffect)(() => {
34998
- var _a9, _b8, _c, _d, _e, _f, _g, _h2, _i, _j, _k, _l, _m2, _n, _o2, _p;
35039
+ var _a9, _b8, _c, _d, _e, _f, _g, _h2, _i, _j, _k, _l, _m2, _n, _o2, _p, _q;
34999
35040
  if (!notification || isNotificationDisabled) {
35000
35041
  return;
35001
35042
  }
@@ -35097,7 +35138,7 @@ function Notifications() {
35097
35138
  }
35098
35139
  break;
35099
35140
  case import_react_sdk121.HMSNotificationTypes.NEW_MESSAGE:
35100
- if (amIScreenSharing) {
35141
+ if (amIScreenSharing && !((_q = notification.data) == null ? void 0 : _q.ignored)) {
35101
35142
  showNotification(`New message from ${notification.data.senderName}`, {
35102
35143
  body: notification.data.message,
35103
35144
  icon: logoURL