@100mslive/roomkit-react 0.3.16 → 0.3.17-alpha.1

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_6f397c96-a415-4c65-a8ac-4513df64afe7", 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.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.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6f397c96-a415-4c65-a8ac-4513df64afe7", 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.16", 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.9", 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: "596", 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.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240714.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.5/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:19745", 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.16", 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: "10042906559", 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: "580d445154522296643833e00082e4f2c9f0103b", 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: "b5ebb68b737163142b6a89349dca5c723a54398274fee53471c9ccccb560ad1b", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1721659029637-0.025369034475224428:/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--1721659029438-0.0827665903380077:/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--1721659003681-0.732833631475869:/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--1721659003500-0.1956061330608585:/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_2364e786-b6a9-4db1-abfd-bc04da0a846e", INVOCATION_ID: "3b114493058141d19f0ff26c0b2940ff", 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: "616", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", 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 125", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/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.16", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.16", 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: "580d445154522296643833e00082e4f2c9f0103b", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "KaustubhKumar05", 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_6f397c96-a415-4c65-a8ac-4513df64afe7", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", 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_6f397c96-a415-4c65-a8ac-4513df64afe7", 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_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/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6f397c96-a415-4c65-a8ac-4513df64afe7" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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.7-alpha.1", 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.17-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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.17-alpha.1", 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.11", 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.9", 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: "589", 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.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.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.5/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:1839", 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.17-alpha.1", 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: "10143763991", 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: "4d8b6da71642585295d7dfc3b05c43809f35ea8c", 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: "643ed4a2d79963ce78c8539272c639d33ab5a93b977b148da9d4cd26f3365d28", 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--1722254244580-0.7597921654222386:/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--1722254244381-0.5197699882516091:/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--1722254218535-0.07559875299263608:/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--1722254218346-0.7948146992289666:/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_5d9ac9a8-777a-47cd-b693-6136da04d5f6", INVOCATION_ID: "b157570d98a943c18f1a5bbcd1444fa2", 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: "618", 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 6", 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/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.17-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.1", 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: "4d8b6da71642585295d7dfc3b05c43809f35ea8c", 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_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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_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/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f" };
111
111
  }
112
112
  });
113
113
 
@@ -8916,7 +8916,7 @@ var require_react_is_production_min = __commonJS({
8916
8916
  }
8917
8917
  }
8918
8918
  }
8919
- function A2(a2) {
8919
+ function A(a2) {
8920
8920
  return z(a2) === m2;
8921
8921
  }
8922
8922
  exports.AsyncMode = l;
@@ -8933,9 +8933,9 @@ var require_react_is_production_min = __commonJS({
8933
8933
  exports.StrictMode = f2;
8934
8934
  exports.Suspense = p;
8935
8935
  exports.isAsyncMode = function(a2) {
8936
- return A2(a2) || z(a2) === l;
8936
+ return A(a2) || z(a2) === l;
8937
8937
  };
8938
- exports.isConcurrentMode = A2;
8938
+ exports.isConcurrentMode = A;
8939
8939
  exports.isContextConsumer = function(a2) {
8940
8940
  return z(a2) === k2;
8941
8941
  };
@@ -13746,13 +13746,15 @@ var AppData = React23.memo(() => {
13746
13746
  });
13747
13747
  }, [hmsActions]);
13748
13748
  useEffect5(() => {
13749
+ var _a8, _b8;
13749
13750
  const uiSettings = preferences || {};
13750
13751
  const updatedSettings = __spreadProps(__spreadValues({}, uiSettings), {
13751
13752
  [UI_SETTINGS.isAudioOnly]: void 0,
13752
- [UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID
13753
+ [UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
13754
+ [UI_SETTINGS.maxTileCount]: ((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
13753
13755
  });
13754
13756
  hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
13755
- }, [preferences, hmsActions]);
13757
+ }, [preferences, hmsActions, elements == null ? void 0 : elements.video_tile_layout]);
13756
13758
  useEffect5(() => {
13757
13759
  if (!preferences.subscribedNotifications) {
13758
13760
  return;
@@ -15089,7 +15091,13 @@ var AudioSettings = ({ onClick }) => {
15089
15091
  ));
15090
15092
  };
15091
15093
  var AudioVideoToggle = ({ hideOptions = false }) => {
15092
- const { allDevices, selectedDeviceIDs, updateDevice } = useDevices2();
15094
+ const { allDevices, selectedDeviceIDs, updateDevice } = useDevices2((error) => {
15095
+ ToastManager.addToast({
15096
+ title: error.message,
15097
+ variant: "error",
15098
+ duration: 2e3
15099
+ });
15100
+ });
15093
15101
  const { videoInput, audioInput, audioOutput } = allDevices;
15094
15102
  const localPeer = useHMSStore8(selectLocalPeer);
15095
15103
  const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = useAVToggle2();
@@ -17534,7 +17542,7 @@ var PIPChatOption = ({ openChat, showPIPChat }) => {
17534
17542
  if (!showPIPChat) {
17535
17543
  return /* @__PURE__ */ React50.createElement(React50.Fragment, null);
17536
17544
  }
17537
- return /* @__PURE__ */ React50.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "brb_btn" }, /* @__PURE__ */ React50.createElement(ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ React50.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
17545
+ return /* @__PURE__ */ React50.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "pip_chat_btn" }, /* @__PURE__ */ React50.createElement(ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ React50.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
17538
17546
  };
17539
17547
 
17540
17548
  // src/Prebuilt/components/PIP/PIPWindow.tsx
@@ -19387,8 +19395,8 @@ function shimGetUserMedia(window2, browserDetails) {
19387
19395
  navigator2.getUserMedia = getUserMedia_.bind(navigator2);
19388
19396
  if (navigator2.mediaDevices.getUserMedia) {
19389
19397
  const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
19390
- navigator2.mediaDevices.getUserMedia = function(cs) {
19391
- return shimConstraints_(cs, (c) => origGetUserMedia(c).then((stream) => {
19398
+ navigator2.mediaDevices.getUserMedia = function(cs2) {
19399
+ return shimConstraints_(cs2, (c) => origGetUserMedia(c).then((stream) => {
19392
19400
  if (c.audio && !stream.getAudioTracks().length || c.video && !stream.getVideoTracks().length) {
19393
19401
  stream.getTracks().forEach((track) => {
19394
19402
  track.stop();
@@ -21115,9 +21123,9 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
21115
21123
  var import_lodash4 = __toESM(require_lodash2());
21116
21124
  import { v4 as vo } from "uuid";
21117
21125
  import { v4 as Po } from "uuid";
21118
- import { v4 as Io } from "uuid";
21119
- import { EventEmitter2 as Ao } from "eventemitter2";
21120
- var $t = __toESM(require_lib());
21126
+ import { v4 as Ao } from "uuid";
21127
+ import { EventEmitter2 as Io } from "eventemitter2";
21128
+ var Kt = __toESM(require_lib());
21121
21129
  import { EventEmitter2 as tn } from "eventemitter2";
21122
21130
  import { v4 as nn } from "uuid";
21123
21131
  import { EventEmitter2 as cn } from "eventemitter2";
@@ -21127,37 +21135,37 @@ import { v4 as hn } from "uuid";
21127
21135
  var ja = Object.defineProperty;
21128
21136
  var Ja = Object.defineProperties;
21129
21137
  var Qa = Object.getOwnPropertyDescriptors;
21130
- var Zt = Object.getOwnPropertySymbols;
21131
- var rs = Object.prototype.hasOwnProperty;
21132
- var ss = Object.prototype.propertyIsEnumerable;
21133
- var is = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21138
+ var ei = Object.getOwnPropertySymbols;
21139
+ var as = Object.prototype.hasOwnProperty;
21140
+ var os = Object.prototype.propertyIsEnumerable;
21141
+ var ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21134
21142
  var m = (a2, e) => {
21135
21143
  for (var t in e || (e = {}))
21136
- rs.call(e, t) && is(a2, t, e[t]);
21137
- if (Zt)
21138
- for (var t of Zt(e))
21139
- ss.call(e, t) && is(a2, t, e[t]);
21144
+ as.call(e, t) && ss(a2, t, e[t]);
21145
+ if (ei)
21146
+ for (var t of ei(e))
21147
+ os.call(e, t) && ss(a2, t, e[t]);
21140
21148
  return a2;
21141
21149
  };
21142
21150
  var M = (a2, e) => Ja(a2, Qa(e));
21143
- var mr = (a2, e) => {
21151
+ var Sr = (a2, e) => {
21144
21152
  var t = {};
21145
21153
  for (var i in a2)
21146
- rs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21147
- if (a2 != null && Zt)
21148
- for (var i of Zt(a2))
21149
- e.indexOf(i) < 0 && ss.call(a2, i) && (t[i] = a2[i]);
21154
+ as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21155
+ if (a2 != null && ei)
21156
+ for (var i of ei(a2))
21157
+ e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21150
21158
  return t;
21151
21159
  };
21152
21160
  var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21153
21161
  var Mr = Xa((Fc, no) => {
21154
- no.exports = { version: "0.12.16", 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"] };
21162
+ no.exports = { version: "0.12.17-alpha.1", 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"] };
21155
21163
  });
21156
- var Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21164
+ var gr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(gr || {});
21157
21165
  var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21158
- var as = ((t) => (t.INFO = "info", t.ERROR = "error", t))(as || {});
21159
- var gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
21160
- var os = ((t) => (t.audio = "audio", t.video = "video", t))(os || {});
21166
+ var ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21167
+ var Tr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(Tr || {});
21168
+ var cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21161
21169
  function xe(a2, e) {
21162
21170
  let t, i;
21163
21171
  if (e)
@@ -21176,13 +21184,13 @@ function pt(a2) {
21176
21184
  function eo(a2) {
21177
21185
  return a2 && a2.source === "screen";
21178
21186
  }
21179
- function ii(a2) {
21187
+ function ri(a2) {
21180
21188
  return a2 && a2.source === "audioplaylist";
21181
21189
  }
21182
21190
  function ht(a2) {
21183
21191
  return a2 && a2.source === "videoplaylist";
21184
21192
  }
21185
- function ns(a2) {
21193
+ function ds(a2) {
21186
21194
  return a2 ? !!(a2 != null && a2.degraded) : false;
21187
21195
  }
21188
21196
  function je(a2, e) {
@@ -21193,7 +21201,7 @@ function mt(a2) {
21193
21201
  let e = false, t = false, i = false;
21194
21202
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
21195
21203
  }
21196
- var ds = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ds || {});
21204
+ var us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
21197
21205
  var to = typeof window != "undefined" && typeof window.expect != "undefined";
21198
21206
  var d = class {
21199
21207
  static v(e, ...t) {
@@ -21263,14 +21271,14 @@ var d = class {
21263
21271
  d.level = to ? 7 : 0;
21264
21272
  var ge = new import_ua_parser_js.UAParser();
21265
21273
  var O = typeof window != "undefined";
21266
- var ls;
21267
- var Ue = typeof window == "undefined" && !((ls = ge.getBrowser().name) != null && ls.toLowerCase().includes("electron"));
21274
+ var ps;
21275
+ var Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21268
21276
  var ro = () => !Ue;
21269
21277
  var ic = ro();
21270
- var us;
21271
- var ps;
21272
- var ms = ((ps = (us = ge.getBrowser()) == null ? void 0 : us.name) == null ? void 0 : ps.toLowerCase()) === "firefox";
21273
- var Ss = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ss || {});
21278
+ var hs;
21279
+ var ms;
21280
+ var gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21281
+ var Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21274
21282
  function so() {
21275
21283
  if (O && window) {
21276
21284
  let a2 = window.location.hostname;
@@ -21442,7 +21450,7 @@ var vr = class {
21442
21450
  return this.valuesMap.size;
21443
21451
  }
21444
21452
  };
21445
- var gs = () => {
21453
+ var fs = () => {
21446
21454
  try {
21447
21455
  O && !localStorage && (window.localStorage = new vr());
21448
21456
  } catch (a2) {
@@ -21456,7 +21464,7 @@ var le = class {
21456
21464
  }
21457
21465
  getStorage() {
21458
21466
  try {
21459
- return O && !this.storage && (gs(), this.storage = window.localStorage), this.storage;
21467
+ return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21460
21468
  } catch (e) {
21461
21469
  return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21462
21470
  }
@@ -21476,29 +21484,29 @@ var le = class {
21476
21484
  (e = this.getStorage()) == null || e.removeItem(this.key);
21477
21485
  }
21478
21486
  };
21479
- var Ts = () => {
21487
+ var vs = () => {
21480
21488
  let a2, e = new le("hms-analytics-deviceId"), t = e.get();
21481
21489
  return t ? a2 = t : (a2 = oo(), e.set(a2)), a2;
21482
21490
  };
21483
21491
  function oe(a2) {
21484
21492
  return a2 != null;
21485
21493
  }
21486
- var vs = Mr().version;
21487
- function Tt(a2 = "prod", e) {
21494
+ var ys = Mr().version;
21495
+ function ft(a2 = "prod", e) {
21488
21496
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21489
21497
  if (Ue)
21490
- return Ms({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: vs, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21498
+ return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21491
21499
  let r = ge.getOS(), s = ge.getDevice(), o = ge.getBrowser(), n = yr(`web_${r.name}`), l = r.version || "", u = yr(`${o.name}_${o.version}`), p = u;
21492
- return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), Ms({ os: n, os_version: l, sdk: t, sdk_version: vs, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21500
+ return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21493
21501
  }
21494
21502
  function yr(a2) {
21495
21503
  return a2.replace(/ /g, "_");
21496
21504
  }
21497
- var Ms = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21505
+ var ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21498
21506
  var H = class {
21499
21507
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21500
- this.metadata = { peer: {}, userAgent: Tt() };
21501
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = Ts();
21508
+ this.metadata = { peer: {}, userAgent: ft() };
21509
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = vs();
21502
21510
  }
21503
21511
  toSignalParams() {
21504
21512
  return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -21514,12 +21522,12 @@ var y = class {
21514
21522
  return new H({ name: i, level: r, properties: s });
21515
21523
  }
21516
21524
  static preview(i) {
21517
- var r = i, { error: e } = r, t = mr(r, ["error"]);
21525
+ var r = i, { error: e } = r, t = Sr(r, ["error"]);
21518
21526
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21519
21527
  return new H({ name: s, level: o, properties: n });
21520
21528
  }
21521
21529
  static join(i) {
21522
- var r = i, { error: e } = r, t = mr(r, ["error"]);
21530
+ var r = i, { error: e } = r, t = Sr(r, ["error"]);
21523
21531
  let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21524
21532
  return new H({ name: s, level: o, properties: n });
21525
21533
  }
@@ -21638,7 +21646,7 @@ var kr = class {
21638
21646
  var Q = new kr();
21639
21647
  var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21640
21648
  var Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
21641
- function ai(a2, e = 300) {
21649
+ function oi(a2, e = 300) {
21642
21650
  let t;
21643
21651
  return function(...i) {
21644
21652
  clearTimeout(t), t = void 0;
@@ -21648,15 +21656,15 @@ function ai(a2, e = 300) {
21648
21656
  }, e);
21649
21657
  };
21650
21658
  }
21651
- var br = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(br || {});
21659
+ var Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21652
21660
  var Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
21653
- var Is = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Is || {});
21654
- var As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
21661
+ var As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21662
+ var Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
21655
21663
  var Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21656
21664
  var Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21657
- var Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
21665
+ var Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
21658
21666
  var Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21659
- var Ir = class {
21667
+ var Hr = class {
21660
21668
  constructor() {
21661
21669
  this.TAG = "[HMSIntersectionObserverWrapper]";
21662
21670
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21683,8 +21691,8 @@ var Ir = class {
21683
21691
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21684
21692
  }
21685
21693
  };
21686
- var Ns = new Ir();
21687
- var Ar = class {
21694
+ var Ns = new Hr();
21695
+ var Cr = class {
21688
21696
  constructor() {
21689
21697
  this.TAG = "[HMSResizeObserverWrapper]";
21690
21698
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21697,7 +21705,7 @@ var Ar = class {
21697
21705
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
21698
21706
  };
21699
21707
  this.createObserver = () => {
21700
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(ai(this.handleResize, 300)));
21708
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(oi(this.handleResize, 300)));
21701
21709
  };
21702
21710
  this.handleResize = (e) => {
21703
21711
  var t;
@@ -21711,24 +21719,24 @@ var Ar = class {
21711
21719
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
21712
21720
  }
21713
21721
  };
21714
- var Os = new Ar();
21715
- var Hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Hr || {});
21716
- var Cr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Cr || {});
21722
+ var Os = new Cr();
21723
+ var Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
21724
+ var Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
21717
21725
  var Bs = "https://event.100ms.live/v2/client/report";
21718
21726
  var Vs = "https://event-nonprod.100ms.live/v2/client/report";
21719
- var kt = Math.pow(2, 31) - 1;
21727
+ var Pt = Math.pow(2, 31) - 1;
21720
21728
  var rt = class {
21721
21729
  };
21722
- rt.makePeerId = () => Io();
21730
+ rt.makePeerId = () => Ao();
21723
21731
  var B = (a2) => a2.room;
21724
21732
  var Ho = (a2) => a2.errors;
21725
21733
  var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
21726
21734
  var qh = createSelector(B, (a2) => a2.id);
21727
21735
  var K = (a2) => a2.peers;
21728
- var Ti = (a2) => a2.messages.byID;
21736
+ var fi = (a2) => a2.messages.byID;
21729
21737
  var Qs = (a2) => a2.messages.allIDs;
21730
21738
  var N = (a2) => a2.tracks;
21731
- var Br = (a2) => a2.appData;
21739
+ var Fr = (a2) => a2.appData;
21732
21740
  var Co = (a2) => a2.speakers;
21733
21741
  var _e = createSelector([B], (a2) => a2 && a2.isConnected);
21734
21742
  var Qh = createSelector([_e, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
@@ -21760,7 +21768,7 @@ var Zh = createSelector(K, Co, (a2, e) => {
21760
21768
  }
21761
21769
  return null;
21762
21770
  });
21763
- var Fr = createSelector(te, N, (a2, e) => {
21771
+ var Wr = createSelector(te, N, (a2, e) => {
21764
21772
  let { video: t, audio: i } = xe(e, a2);
21765
21773
  return !!(t || i);
21766
21774
  });
@@ -21800,20 +21808,20 @@ var sm = createSelector(K, N, (a2, e) => {
21800
21808
  var am = createSelector(K, N, (a2, e) => {
21801
21809
  for (let t in e) {
21802
21810
  let i = e[t];
21803
- if (ii(i) && i.peerId)
21811
+ if (ri(i) && i.peerId)
21804
21812
  return a2[i.peerId];
21805
21813
  }
21806
21814
  });
21807
- var om = createSelector(Do, (a2) => a2.filter(ns));
21815
+ var om = createSelector(Do, (a2) => a2.filter(ds));
21808
21816
  var nm = createSelector(Qs, (a2) => a2.length);
21809
- var cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21810
- var Rt = createSelector(Qs, Ti, (a2, e) => {
21817
+ var cm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
21818
+ var At = createSelector(Qs, fi, (a2, e) => {
21811
21819
  let t = [];
21812
21820
  return a2.forEach((i) => {
21813
21821
  t.push(e[i]);
21814
21822
  }), t;
21815
21823
  });
21816
- var No = createSelector(Rt, (a2) => a2.filter((e) => {
21824
+ var No = createSelector(At, (a2) => a2.filter((e) => {
21817
21825
  var t;
21818
21826
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
21819
21827
  }));
@@ -21847,21 +21855,21 @@ var km = createSelector(B, (a2) => a2.effectsKey);
21847
21855
  var ia = (a2) => a2.polls;
21848
21856
  var Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
21849
21857
  var xo = (a2) => a2.whiteboards;
21850
- var Im = createSelector(xo, (a2) => Object.values(a2)[0]);
21858
+ var Am = createSelector(xo, (a2) => Object.values(a2)[0]);
21851
21859
  var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
21852
- var Gr = (a2 = "audio") => (e) => e.playlist[a2].selection;
21860
+ var $r = (a2 = "audio") => (e) => e.playlist[a2].selection;
21853
21861
  var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
21854
21862
  var oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
21855
21863
  var na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
21856
21864
  var ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
21857
21865
  var da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
21858
- var la = (a2 = "audio") => createSelector(sa(a2), Gr(a2), (e, t) => {
21866
+ var la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
21859
21867
  if (t.id)
21860
21868
  return e[t.id];
21861
21869
  });
21862
- var ua = { selection: Gr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21863
- var pa = { selection: Gr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21864
- function A(a2) {
21870
+ var ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21871
+ var pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21872
+ function I(a2) {
21865
21873
  return (e) => (t) => a2(t, e);
21866
21874
  }
21867
21875
  var It = "HMS-Store:";
@@ -21931,40 +21939,40 @@ var b = class {
21931
21939
  }
21932
21940
  };
21933
21941
  b.level = 0;
21934
- var Wr = (a2, e) => e;
21935
- var At = (a2, e) => e;
21942
+ var Kr = (a2, e) => e;
21943
+ var Ht = (a2, e) => e;
21936
21944
  var ha = (a2, e) => e;
21937
21945
  var Uo = (a2, e) => e;
21938
21946
  var Bo = (a2, e) => e;
21939
- var q = createSelector([K, Wr], (a2, e) => e ? a2[e] : null);
21940
- var $r = createSelector([N, At], (a2, e) => e ? a2[e] : null);
21941
- var Vo = createSelector([N, At], (a2, e) => {
21947
+ var q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
21948
+ var qr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
21949
+ var Vo = createSelector([N, Ht], (a2, e) => {
21942
21950
  if (!e)
21943
21951
  return null;
21944
21952
  let t = a2[e];
21945
21953
  return (t == null ? void 0 : t.type) === "video" ? t : null;
21946
21954
  });
21947
- var Fo = createSelector([N, At], (a2, e) => {
21955
+ var Fo = createSelector([N, Ht], (a2, e) => {
21948
21956
  if (!e)
21949
21957
  return null;
21950
21958
  let t = a2[e];
21951
21959
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
21952
21960
  });
21953
- var Go = createSelector([N, At], (a2, e) => {
21961
+ var Go = createSelector([N, Ht], (a2, e) => {
21954
21962
  if (!e)
21955
21963
  return null;
21956
21964
  let t = a2[e];
21957
21965
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21958
21966
  });
21959
- var Wo = createSelector([N, At], (a2, e) => {
21967
+ var Wo = createSelector([N, Ht], (a2, e) => {
21960
21968
  if (!e)
21961
21969
  return null;
21962
21970
  let t = a2[e];
21963
21971
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21964
21972
  });
21965
21973
  var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
21966
- var X = A(q);
21967
- var Um = A(createSelector([Br, Uo], (a2, e) => {
21974
+ var X = I(q);
21975
+ var Um = I(createSelector([Fr, Uo], (a2, e) => {
21968
21976
  if (a2)
21969
21977
  return e ? a2[e] : a2;
21970
21978
  }));
@@ -21974,90 +21982,90 @@ function Bm(a2) {
21974
21982
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21975
21983
  };
21976
21984
  }
21977
- var Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
21978
- var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
21979
- var fi = A($r);
21980
- var ma = A(Vo);
21981
- var Wm = A(Fo);
21982
- var $m = A(Go);
21983
- var Km = A(Wo);
21984
- var Ko = A((a2, e) => {
21985
+ var Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
21986
+ var Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
21987
+ var vi = I(qr);
21988
+ var ma = I(Vo);
21989
+ var Wm = I(Fo);
21990
+ var $m = I(Go);
21991
+ var Km = I(Wo);
21992
+ var Ko = I((a2, e) => {
21985
21993
  let t = q(a2, e);
21986
21994
  if (t && t.videoTrack && t.videoTrack !== "")
21987
21995
  return a2.tracks[t.videoTrack];
21988
21996
  });
21989
- var qo = A((a2, e) => {
21997
+ var qo = I((a2, e) => {
21990
21998
  let t = q(a2, e);
21991
21999
  if (t && t.audioTrack && t.audioTrack !== "")
21992
22000
  return a2.tracks[t.audioTrack];
21993
22001
  });
21994
- var jm = A((a2, e) => {
22002
+ var jm = I((a2, e) => {
21995
22003
  let t = q(a2, e);
21996
22004
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
21997
22005
  });
21998
22006
  var Sa = (a2, e) => e ? a2.speakers[e] : null;
21999
- var Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22007
+ var Jm = I(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22000
22008
  var jo = (a2, e) => {
22001
22009
  let t = qo(e)(a2);
22002
22010
  return Sa(a2, t == null ? void 0 : t.id);
22003
22011
  };
22004
- var Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22005
- var zm = A((a2, e) => {
22012
+ var Qm = I(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22013
+ var zm = I((a2, e) => {
22006
22014
  if (e)
22007
22015
  return a2.connectionQualities[e];
22008
22016
  });
22009
- var Ym = A((a2, e) => {
22017
+ var Ym = I((a2, e) => {
22010
22018
  let t = q(a2, e);
22011
22019
  if (t) {
22012
22020
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
22013
22021
  return i ? a2.tracks[i] : void 0;
22014
22022
  }
22015
22023
  });
22016
- var Xm = A(createSelector(N, q, (a2, e) => {
22024
+ var Xm = I(createSelector(N, q, (a2, e) => {
22017
22025
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22018
22026
  let r = a2[i];
22019
22027
  return ht(r) && pt(r);
22020
22028
  });
22021
22029
  return t ? a2[t] : void 0;
22022
22030
  }));
22023
- var Zm = A(createSelector(N, q, (a2, e) => {
22031
+ var Zm = I(createSelector(N, q, (a2, e) => {
22024
22032
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22025
22033
  let r = a2[i];
22026
22034
  return ht(r) && ut(r);
22027
22035
  });
22028
22036
  return t ? a2[t] : void 0;
22029
22037
  }));
22030
- var eS = A(createSelector(N, q, (a2, e) => {
22038
+ var eS = I(createSelector(N, q, (a2, e) => {
22031
22039
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22032
22040
  let r = a2[i];
22033
- return ii(r) && ut(r);
22041
+ return ri(r) && ut(r);
22034
22042
  });
22035
22043
  return t ? a2[t] : void 0;
22036
22044
  }));
22037
- var ga = A(createSelector(N, q, (a2, e) => xe(a2, e)));
22045
+ var ga = I(createSelector(N, q, (a2, e) => xe(a2, e)));
22038
22046
  var Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
22039
- var iS = A((a2, e) => {
22047
+ var iS = I((a2, e) => {
22040
22048
  let t = q(a2, e);
22041
22049
  return je(a2, t == null ? void 0 : t.audioTrack);
22042
22050
  });
22043
- var rS = A((a2, e) => {
22051
+ var rS = I((a2, e) => {
22044
22052
  let t = q(a2, e);
22045
22053
  return je(a2, t == null ? void 0 : t.videoTrack);
22046
22054
  });
22047
- var fa = A((a2, e) => {
22055
+ var fa = I((a2, e) => {
22048
22056
  if (e && a2.tracks[e])
22049
22057
  return a2.tracks[e].volume === 0;
22050
22058
  });
22051
- var sS = A((a2, e) => {
22059
+ var sS = I((a2, e) => {
22052
22060
  let t = q(a2, e);
22053
22061
  return fa(t == null ? void 0 : t.audioTrack)(a2);
22054
22062
  });
22055
- var aS = A((a2, e) => {
22063
+ var aS = I((a2, e) => {
22056
22064
  let t = Ta(e)(a2);
22057
22065
  return fa(t == null ? void 0 : t.id)(a2);
22058
22066
  });
22059
- var va = A((a2, e) => {
22060
- let t = $r(a2, e);
22067
+ var va = I((a2, e) => {
22068
+ let t = qr(a2, e);
22061
22069
  if (t) {
22062
22070
  if (t.type !== "audio") {
22063
22071
  b.w("Please pass audio track here");
@@ -22066,16 +22074,16 @@ var va = A((a2, e) => {
22066
22074
  return t.volume;
22067
22075
  }
22068
22076
  });
22069
- var oS = A((a2, e) => {
22077
+ var oS = I((a2, e) => {
22070
22078
  let t = q(a2, e);
22071
22079
  return va(t == null ? void 0 : t.audioTrack)(a2);
22072
22080
  });
22073
- var nS = A((a2, e) => {
22081
+ var nS = I((a2, e) => {
22074
22082
  let t = Ta(e)(a2);
22075
22083
  return va(t == null ? void 0 : t.id)(a2);
22076
22084
  });
22077
- var cS = A((a2, e) => {
22078
- let t = $r(a2, e);
22085
+ var cS = I((a2, e) => {
22086
+ let t = qr(a2, e);
22079
22087
  if (t) {
22080
22088
  if (t.type !== "video") {
22081
22089
  b.w("Please pass video track here");
@@ -22084,40 +22092,40 @@ var cS = A((a2, e) => {
22084
22092
  return t.layer;
22085
22093
  }
22086
22094
  });
22087
- var Ma = createSelector([Rt, ye, Wr], (a2, e, t) => {
22095
+ var Ma = createSelector([At, ye, Kr], (a2, e, t) => {
22088
22096
  if (t)
22089
22097
  return a2.filter((i) => {
22090
22098
  var r;
22091
22099
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22092
22100
  });
22093
22101
  });
22094
- var ya = createSelector([Rt, ha], (a2, e) => {
22102
+ var ya = createSelector([At, ha], (a2, e) => {
22095
22103
  if (e)
22096
22104
  return a2.filter((t) => {
22097
22105
  var i, r;
22098
22106
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22099
22107
  });
22100
22108
  });
22101
- var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22109
+ var Jo = createSelector(At, (a2) => a2.filter((e) => {
22102
22110
  var t;
22103
22111
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22104
22112
  }));
22105
22113
  var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22106
- var zo = createSelector([Ma, Wr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22114
+ var zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22107
22115
  var dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22108
- var lS = A(Ma);
22109
- var uS = A(ya);
22110
- var pS = A(Qo);
22111
- var hS = A(zo);
22112
- var ka = A($o);
22116
+ var lS = I(Ma);
22117
+ var uS = I(ya);
22118
+ var pS = I(Qo);
22119
+ var hS = I(zo);
22120
+ var ka = I($o);
22113
22121
  var bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22114
22122
  var r;
22115
22123
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22116
22124
  }));
22117
22125
  var Yo = (a2) => a2.roleChangeRequests[0] || null;
22118
22126
  var RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22119
- var IS = createSelector([at], (a2) => mt(a2));
22120
- var AS = createSelector([ea], (a2) => mt(a2));
22127
+ var AS = createSelector([at], (a2) => mt(a2));
22128
+ var IS = createSelector([ea], (a2) => mt(a2));
22121
22129
  var Zo = createSelector([Y, N], (a2, e) => {
22122
22130
  let t = null;
22123
22131
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
@@ -22127,7 +22135,7 @@ var en = createSelector([ae, N], (a2, e) => {
22127
22135
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22128
22136
  });
22129
22137
  var sn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(sn || {});
22130
- var Qr = class {
22138
+ var Yr = class {
22131
22139
  constructor() {
22132
22140
  this.TAG = "[HTTPAnalyticsTransport]";
22133
22141
  this.failedEvents = new le("client-events");
@@ -22172,20 +22180,20 @@ var Qr = class {
22172
22180
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22173
22181
  }
22174
22182
  };
22175
- var Pe = new Qr();
22183
+ var Pe = new Yr();
22176
22184
  var j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22177
- var tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
22178
- var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
22185
+ var ir = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ir || {});
22186
+ var ur = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ur || {});
22179
22187
  var Pn = (a2) => a2.localPeer.id;
22180
22188
  var En = (a2) => a2.localPeer.audioTrack;
22181
22189
  var bn = (a2) => a2.localPeer.videoTrack;
22182
22190
  var Rn = (a2, e) => e;
22183
22191
  var Ka = (a2, e) => e;
22184
- var In = (a2) => a2.remoteTrackStats;
22192
+ var An = (a2) => a2.remoteTrackStats;
22185
22193
  var qa = (a2) => a2.peerStats;
22186
- var es = (a2) => a2.localTrackStats;
22194
+ var is = (a2) => a2.localTrackStats;
22187
22195
  var be = createSelector([qa, Pn], (a2, e) => a2[e]);
22188
- var An = createSelector(be, (a2) => {
22196
+ var In = createSelector(be, (a2) => {
22189
22197
  var e;
22190
22198
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22191
22199
  });
@@ -22218,20 +22226,20 @@ var Nn = createSelector(be, (a2) => {
22218
22226
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22219
22227
  });
22220
22228
  var On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
22221
- var xn = createSelector([In, Ka], (a2, e) => e ? a2[e] : void 0);
22222
- var ts = createSelector([es, Ka], (a2, e) => e ? a2[e] : void 0);
22223
- var Un = A(On);
22224
- var Bn = A(xn);
22225
- var Vn = createSelector([es, En], (a2, e) => {
22229
+ var xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
22230
+ var rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
22231
+ var Un = I(On);
22232
+ var Bn = I(xn);
22233
+ var Vn = createSelector([is, En], (a2, e) => {
22226
22234
  var t;
22227
22235
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22228
22236
  });
22229
- var Fn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
22230
- var Gn = createSelector([es, bn], (a2, e) => {
22237
+ var Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22238
+ var Gn = createSelector([is, bn], (a2, e) => {
22231
22239
  var t;
22232
22240
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22233
22241
  });
22234
- var Wn = A(createSelector(ts, (a2) => a2));
22242
+ var Wn = I(createSelector(rs, (a2) => a2));
22235
22243
 
22236
22244
  // src/Prebuilt/components/Header/StreamActions.tsx
22237
22245
  import {
@@ -23480,7 +23488,17 @@ function ShareScreenOptions() {
23480
23488
  var ScreenshareToggle = ({ css: css2 = {} }) => {
23481
23489
  const isAllowedToPublish = useHMSStore35(selectIsAllowedToPublish2);
23482
23490
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
23483
- const { amIScreenSharing, screenShareVideoTrackId: video, toggleScreenShare } = useScreenShare3();
23491
+ const {
23492
+ amIScreenSharing,
23493
+ screenShareVideoTrackId: video,
23494
+ toggleScreenShare
23495
+ } = useScreenShare3((error) => {
23496
+ ToastManager.addToast({
23497
+ title: error.message,
23498
+ variant: "error",
23499
+ duration: 2e3
23500
+ });
23501
+ });
23484
23502
  const { requestPermission } = useAwayNotifications();
23485
23503
  const isVideoScreenshare = amIScreenSharing && !!video;
23486
23504
  if (!isAllowedToPublish.screen || !isScreenshareSupported()) {
@@ -28392,23 +28410,6 @@ var VBPlugin = class {
28392
28410
  };
28393
28411
  var VBHandler = new VBPlugin();
28394
28412
 
28395
- // src/Prebuilt/components/VirtualBackground/constants.ts
28396
- init_define_process_env();
28397
- var defaultMedia2 = [
28398
- "https://assets.100ms.live/webapp/vb-mini/vb-1.jpg",
28399
- "https://assets.100ms.live/webapp/vb-mini/vb-2.jpg",
28400
- "https://assets.100ms.live/webapp/vb-mini/vb-3.png",
28401
- "https://assets.100ms.live/webapp/vb-mini/vb-4.jpg",
28402
- "https://assets.100ms.live/webapp/vb-mini/vb-5.jpg",
28403
- "https://assets.100ms.live/webapp/vb-mini/vb-6.jpg",
28404
- "https://assets.100ms.live/webapp/vb-mini/vb-7.jpg",
28405
- "https://assets.100ms.live/webapp/vb-mini/vb-8.jpg",
28406
- "https://assets.100ms.live/webapp/vb-mini/vb-9.jpg",
28407
- "https://assets.100ms.live/webapp/vb-mini/vb-10.jpg",
28408
- "https://assets.100ms.live/webapp/vb-mini/vb-11.jpg",
28409
- "https://assets.100ms.live/webapp/vb-mini/vb-12.jpg"
28410
- ];
28411
-
28412
28413
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28413
28414
  var iconDims = { height: "40px", width: "40px" };
28414
28415
  var VBPicker = ({ backgroundMedia = [] }) => {
@@ -28430,7 +28431,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28430
28431
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
28431
28432
  const isPluginAdded = useHMSStore70(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
28432
28433
  const background = useHMSStore70(Um(APP_DATA.background));
28433
- const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
28434
+ const mediaList = backgroundMedia.map((media) => media.url || "");
28434
28435
  const inPreview = roomState === HMSRoomState4.Preview;
28435
28436
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28436
28437
  useEffect38(() => {
@@ -30805,7 +30806,7 @@ var useCloseScreenshareWhiteboard = () => {
30805
30806
  };
30806
30807
 
30807
30808
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30808
- var HLSView = React157.lazy(() => import("./HLSView-LGGWBBBT.js"));
30809
+ var HLSView = React157.lazy(() => import("./HLSView-O4KQ2SQJ.js"));
30809
30810
  var VideoStreamingSection = ({
30810
30811
  screenType,
30811
30812
  elements,
@@ -34120,4 +34121,4 @@ object-assign/index.js:
34120
34121
  @license MIT
34121
34122
  *)
34122
34123
  */
34123
- //# sourceMappingURL=chunk-PUO554VI.js.map
34124
+ //# sourceMappingURL=chunk-SCKPBPAN.js.map