@100mslive/roomkit-react 0.3.24-alpha.3 → 0.3.24-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -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_ea0cbf29-8518-425d-be01-42b586f00d2f", 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.14-alpha.3", 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.24-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ea0cbf29-8518-425d-be01-42b586f00d2f", 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.24-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_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.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "600", 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", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241015.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.8/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.2/x64", JOURNAL_STREAM: "8:19119", 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.24-alpha.3", 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: "11478772284", 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: "39b5967555e20082c474b7fe188d757e1912fc15", 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: "ea22a0f07a2db7da224716d3d34fef75210f4688aa4c75e3f6f187441984cf8c", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", 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--1729682422086-0.871265953855799:/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--1729682421887-0.9951513962042144:/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--1729682395407-0.23831843445925815:/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--1729682395225-0.48480390758618763:/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_fe4a574d-ad6e-4d20-aacd-990390b0e8a6", INVOCATION_ID: "6e2b680b4b9a4e338a8d3731b9aa1fac", 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: "692", 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 119", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.24-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.24-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "39b5967555e20082c474b7fe188d757e1912fc15", 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_ea0cbf29-8518-425d-be01-42b586f00d2f", 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_ea0cbf29-8518-425d-be01-42b586f00d2f", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ea0cbf29-8518-425d-be01-42b586f00d2f" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0d684096-4e1e-4f67-89ae-f5d3a4e09794", 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.14-alpha.5", 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.24-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0d684096-4e1e-4f67-89ae-f5d3a4e09794", 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.24-alpha.5", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "600", 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", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241015.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.8/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.2/x64", JOURNAL_STREAM: "8:19043", 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.24-alpha.5", 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: "11590149060", 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: "dc498407583217b11dc845e391849808c2ace147", 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: "e8e84182bdff362a7cf5c82c877f4e938d5dacf319b0b9c2fdd714bbb9ea9118", 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--1730279854036-0.6570051956995928:/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--1730279853842-0.5818758499451946:/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--1730279827827-0.9452825086184646:/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--1730279827630-0.5069661722492098:/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_f3ee65c1-a5f7-463f-9dcd-2343662d78a2", INVOCATION_ID: "194b37312d054387aa04c5e61eaa2a3b", 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: "694", 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 424", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.24-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.24-alpha.5", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "dc498407583217b11dc845e391849808c2ace147", 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_0d684096-4e1e-4f67-89ae-f5d3a4e09794", 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_0d684096-4e1e-4f67-89ae-f5d3a4e09794", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0d684096-4e1e-4f67-89ae-f5d3a4e09794" };
111
111
  }
112
112
  });
113
113
 
@@ -14517,6 +14517,7 @@ var useAppStateManager = () => {
14517
14517
  [HMSRoomState2.Disconnected, HMSRoomState2.Connected],
14518
14518
  [HMSRoomState2.Disconnected, HMSRoomState2.Connecting],
14519
14519
  [HMSRoomState2.Disconnected, HMSRoomState2.Reconnecting],
14520
+ [HMSRoomState2.Disconnected, HMSRoomState2.Preview],
14520
14521
  () => {
14521
14522
  setActiveState((prevState) => {
14522
14523
  return match2({ isLeaveScreenEnabled, isPreviewScreenEnabled, prevState }).when(
@@ -21499,7 +21500,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21499
21500
  n((t = t.apply(a2, e)).next());
21500
21501
  });
21501
21502
  var yr = oo((xc, go) => {
21502
- go.exports = { version: "0.12.24-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "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"] };
21503
+ go.exports = { version: "0.12.24-alpha.5", 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"] };
21503
21504
  });
21504
21505
  var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
21505
21506
  var no = ((e) => (e.CHAT = "chat", e))(no || {});
@@ -29795,7 +29796,7 @@ var useTileLayout = ({
29795
29796
  }
29796
29797
  return rowElements;
29797
29798
  });
29798
- const gap = edgeToEdge && isMobile ? 0 : 8;
29799
+ const gap = edgeToEdge ? 0 : 8;
29799
29800
  const maxHeight = height - (maxRows - 1) * gap;
29800
29801
  const maxRowHeight = maxHeight / matrix.length;
29801
29802
  const aspectRatios = isMobile && (noOfTilesInPage === 1 || noOfTilesInPage > 3) ? aspectRatioConfig.mobile : aspectRatioConfig.default;
@@ -29827,8 +29828,8 @@ var useTileLayout = ({
29827
29828
  }
29828
29829
  }
29829
29830
  for (let i = 0; i < row.length; i++) {
29830
- row[i].width = tileWidth;
29831
- row[i].height = tileHeight;
29831
+ row[i].width = tileWidth - gap / maxCols * (maxCols - 1);
29832
+ row[i].height = tileHeight - gap / maxRows * (maxRows - 1);
29832
29833
  }
29833
29834
  }
29834
29835
  }
@@ -33092,6 +33093,7 @@ var ConferenceScreen = () => {
33092
33093
  userName: userName || uuid3(),
33093
33094
  authToken: authTokenInAppData,
33094
33095
  initEndpoint: endpoints == null ? void 0 : endpoints.init,
33096
+ rememberDeviceSelection: true,
33095
33097
  settings: {
33096
33098
  isAudioMuted: !isPreviewScreenEnabled,
33097
33099
  isVideoMuted: !isPreviewScreenEnabled,
@@ -33462,7 +33464,7 @@ import { ExitIcon as ExitIcon3 } from "@100mslive/react-icons";
33462
33464
 
33463
33465
  // src/Prebuilt/components/EndCallFeedback/Feedback.tsx
33464
33466
  init_define_process_env();
33465
- import React181, { useState as useState76 } from "react";
33467
+ import React181, { useState as useState77 } from "react";
33466
33468
  import { useMedia as useMedia48 } from "react-use";
33467
33469
 
33468
33470
  // src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx
@@ -33824,11 +33826,15 @@ var FeedbackForm = ({
33824
33826
 
33825
33827
  // src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx
33826
33828
  init_define_process_env();
33827
- import React180 from "react";
33829
+ import React180, { useState as useState76 } from "react";
33828
33830
  import { useMedia as useMedia47 } from "react-use";
33829
- import { UserMusicIcon } from "@100mslive/react-icons";
33831
+ import { CrossIcon as CrossIcon31, UserMusicIcon } from "@100mslive/react-icons";
33830
33832
  var ThankyouView = () => {
33833
+ const [isVisible, setIsVisible] = useState76(true);
33831
33834
  const isMobile = useMedia47(config.media.md);
33835
+ if (!isVisible) {
33836
+ return null;
33837
+ }
33832
33838
  return /* @__PURE__ */ React180.createElement(
33833
33839
  Flex,
33834
33840
  {
@@ -33848,6 +33854,21 @@ var ThankyouView = () => {
33848
33854
  }
33849
33855
  }
33850
33856
  },
33857
+ isMobile && /* @__PURE__ */ React180.createElement(
33858
+ CrossIcon31,
33859
+ {
33860
+ width: "24px",
33861
+ height: "24px",
33862
+ color: "white",
33863
+ onClick: () => setIsVisible(false),
33864
+ style: {
33865
+ position: "absolute",
33866
+ top: "8px",
33867
+ right: "16px",
33868
+ cursor: "pointer"
33869
+ }
33870
+ }
33871
+ ),
33851
33872
  /* @__PURE__ */ React180.createElement(UserMusicIcon, { width: "64px", height: "64px" }),
33852
33873
  /* @__PURE__ */ React180.createElement(Flex, { direction: "column", align: isMobile ? "center" : "start" }, /* @__PURE__ */ React180.createElement(Text, { variant: "h5" }, "Thank you for your feedback"), /* @__PURE__ */ React180.createElement(
33853
33874
  Text,
@@ -33867,7 +33888,7 @@ var ThankyouView = () => {
33867
33888
  // src/Prebuilt/components/EndCallFeedback/Feedback.tsx
33868
33889
  var Feedback = () => {
33869
33890
  const { feedback } = useRoomLayoutLeaveScreen();
33870
- const [index, setIndex] = useState76(FEEBACK_INDEX.INIT);
33891
+ const [index, setIndex] = useState77(FEEBACK_INDEX.INIT);
33871
33892
  const isMobile = useMedia48(config.media.md);
33872
33893
  if (!feedback) {
33873
33894
  return null;
@@ -33972,12 +33993,12 @@ var LeaveScreen = () => {
33972
33993
 
33973
33994
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
33974
33995
  init_define_process_env();
33975
- import React183, { useEffect as useEffect69, useState as useState77 } from "react";
33996
+ import React183, { useEffect as useEffect69, useState as useState78 } from "react";
33976
33997
  import { useMedia as useMedia49 } from "react-use";
33977
33998
  import { match as match15, P as P7 } from "ts-pattern";
33978
33999
  import { RefreshIcon } from "@100mslive/react-icons";
33979
34000
  var MwebLandscapePrompt = () => {
33980
- const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState77(false);
34001
+ const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState78(false);
33981
34002
  const isLandscape = useMedia49(config.media.ls);
33982
34003
  const isLandscapeHLSStream = useLandscapeHLSStream();
33983
34004
  useEffect69(() => {
@@ -34106,13 +34127,13 @@ var DeviceChangeNotifications = () => {
34106
34127
 
34107
34128
  // src/Prebuilt/components/Notifications/DeviceInUseError.tsx
34108
34129
  init_define_process_env();
34109
- import React186, { useEffect as useEffect72, useState as useState78 } from "react";
34130
+ import React186, { useEffect as useEffect72, useState as useState79 } from "react";
34110
34131
  import { HMSNotificationTypes as HMSNotificationTypes4, useHMSNotifications as useHMSNotifications4 } from "@100mslive/react-sdk";
34111
34132
  var Instruction = ({ description }) => /* @__PURE__ */ React186.createElement("li", null, /* @__PURE__ */ React186.createElement(DialogRow, { css: { ml: "$4" } }, /* @__PURE__ */ React186.createElement(Text, { variant: "body2" }, description)));
34112
34133
  function DeviceInUseError() {
34113
34134
  const notification = useHMSNotifications4(HMSNotificationTypes4.ERROR);
34114
- const [showDeviceInUseModal, setShowDeviceInUseModal] = useState78(false);
34115
- const [deviceType, setDeviceType] = useState78("");
34135
+ const [showDeviceInUseModal, setShowDeviceInUseModal] = useState79(false);
34136
+ const [deviceType, setDeviceType] = useState79("");
34116
34137
  useEffect72(() => {
34117
34138
  const error = notification == null ? void 0 : notification.data;
34118
34139
  if (!error || error.code !== 3003) {
@@ -34506,12 +34527,12 @@ var HandRaisedNotifications = () => {
34506
34527
 
34507
34528
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
34508
34529
  init_define_process_env();
34509
- import React189, { useEffect as useEffect75, useState as useState79 } from "react";
34530
+ import React189, { useEffect as useEffect75, useState as useState80 } from "react";
34510
34531
  import { HMSNotificationTypes as HMSNotificationTypes7, useHMSNotifications as useHMSNotifications7 } from "@100mslive/react-sdk";
34511
34532
  var InitErrorModal = () => {
34512
34533
  const notification = useHMSNotifications7(HMSNotificationTypes7.ERROR);
34513
- const [showModal, setShowModal] = useState79(false);
34514
- const [info, setInfo] = useState79({ title: "Init Error", description: "" });
34534
+ const [showModal, setShowModal] = useState80(false);
34535
+ const [info, setInfo] = useState80({ title: "Init Error", description: "" });
34515
34536
  useEffect75(() => {
34516
34537
  const data3 = notification == null ? void 0 : notification.data;
34517
34538
  if (!data3 || data3.action !== "INIT") {
@@ -34604,7 +34625,7 @@ var PeerNotifications = () => {
34604
34625
 
34605
34626
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
34606
34627
  init_define_process_env();
34607
- import React190, { useEffect as useEffect78, useState as useState80 } from "react";
34628
+ import React190, { useEffect as useEffect78, useState as useState81 } from "react";
34608
34629
  import { useMedia as useMedia50 } from "react-use";
34609
34630
  import { HMSNotificationTypes as HMSNotificationTypes9, useHMSNotifications as useHMSNotifications10 } from "@100mslive/react-sdk";
34610
34631
  import androidPermissionAlert from "./android-perm-1.png";
@@ -34614,8 +34635,8 @@ function PermissionErrorNotificationModal() {
34614
34635
  return /* @__PURE__ */ React190.createElement(PermissionErrorModal, { error: notification == null ? void 0 : notification.data });
34615
34636
  }
34616
34637
  var PermissionErrorModal = ({ error }) => {
34617
- const [deviceType, setDeviceType] = useState80("");
34618
- const [isSystemError, setIsSystemError] = useState80(false);
34638
+ const [deviceType, setDeviceType] = useState81("");
34639
+ const [isSystemError, setIsSystemError] = useState81(false);
34619
34640
  const isMobile = useMedia50(config.media.md);
34620
34641
  useEffect78(() => {
34621
34642
  if (!error || (error == null ? void 0 : error.code) !== 3001 && (error == null ? void 0 : error.code) !== 3011 || (error == null ? void 0 : error.code) === 3001 && (error == null ? void 0 : error.message.includes("screen"))) {
@@ -34786,7 +34807,7 @@ var RoleChangeNotification = () => {
34786
34807
 
34787
34808
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
34788
34809
  init_define_process_env();
34789
- import React192, { useEffect as useEffect82, useState as useState81 } from "react";
34810
+ import React192, { useEffect as useEffect82, useState as useState82 } from "react";
34790
34811
  import {
34791
34812
  HMSNotificationTypes as HMSNotificationTypes13,
34792
34813
  useHMSActions as useHMSActions56,
@@ -34800,7 +34821,7 @@ var notificationTypes4 = [
34800
34821
  ];
34801
34822
  var TrackBulkUnmuteModal = () => {
34802
34823
  const hmsActions = useHMSActions56();
34803
- const [muteNotification, setMuteNotification] = useState81(null);
34824
+ const [muteNotification, setMuteNotification] = useState82(null);
34804
34825
  const notification = useHMSNotifications14(notificationTypes4);
34805
34826
  useEffect82(() => {
34806
34827
  switch (notification == null ? void 0 : notification.type) {
@@ -34881,7 +34902,7 @@ var TrackNotifications = () => {
34881
34902
 
34882
34903
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
34883
34904
  init_define_process_env();
34884
- import React193, { useEffect as useEffect84, useState as useState82 } from "react";
34905
+ import React193, { useEffect as useEffect84, useState as useState83 } from "react";
34885
34906
  import {
34886
34907
  HMSNotificationTypes as HMSNotificationTypes15,
34887
34908
  useHMSActions as useHMSActions57,
@@ -34896,7 +34917,7 @@ var notificationTypes6 = [
34896
34917
  var TrackUnmuteModal = () => {
34897
34918
  const hmsActions = useHMSActions57();
34898
34919
  const notification = useHMSNotifications16(notificationTypes6);
34899
- const [muteNotification, setMuteNotification] = useState82(null);
34920
+ const [muteNotification, setMuteNotification] = useState83(null);
34900
34921
  useEffect84(() => {
34901
34922
  switch (notification == null ? void 0 : notification.type) {
34902
34923
  case HMSNotificationTypes15.REMOVED_FROM_ROOM:
@@ -35001,10 +35022,10 @@ function Notifications() {
35001
35022
 
35002
35023
  // src/Prebuilt/components/PIP/PIPProvider.tsx
35003
35024
  init_define_process_env();
35004
- import React196, { useCallback as useCallback40, useMemo as useMemo22, useState as useState83 } from "react";
35025
+ import React196, { useCallback as useCallback40, useMemo as useMemo22, useState as useState84 } from "react";
35005
35026
  var PIPProvider = ({ children }) => {
35006
35027
  const isSupported = "documentPictureInPicture" in window;
35007
- const [pipWindow, setPipWindow] = useState83(null);
35028
+ const [pipWindow, setPipWindow] = useState84(null);
35008
35029
  const closePipWindow = useCallback40(() => {
35009
35030
  if (pipWindow != null) {
35010
35031
  pipWindow.close();
@@ -35065,7 +35086,7 @@ var PreviewScreen = () => {
35065
35086
 
35066
35087
  // src/Prebuilt/components/Toast/ToastContainer.jsx
35067
35088
  init_define_process_env();
35068
- import React199, { useEffect as useEffect86, useState as useState84 } from "react";
35089
+ import React199, { useEffect as useEffect86, useState as useState85 } from "react";
35069
35090
  import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore95 } from "@100mslive/react-sdk";
35070
35091
 
35071
35092
  // src/Prebuilt/components/Toast/Toast.jsx
@@ -35090,7 +35111,7 @@ var Toast2 = (_a7) => {
35090
35111
  // src/Prebuilt/components/Toast/ToastContainer.jsx
35091
35112
  var ToastContainer = () => {
35092
35113
  const isConnected = useHMSStore95(selectIsConnectedToRoom11);
35093
- const [toasts, setToast] = useState84([]);
35114
+ const [toasts, setToast] = useState85([]);
35094
35115
  useEffect86(() => {
35095
35116
  ToastManager.addListener(setToast);
35096
35117
  return () => {
@@ -35117,7 +35138,7 @@ import { selectAppData as selectAppData15, useHMSStore as useHMSStore96 } from "
35117
35138
  // src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
35118
35139
  init_define_process_env();
35119
35140
  import React200 from "react";
35120
- import { CrossIcon as CrossIcon31 } from "@100mslive/react-icons";
35141
+ import { CrossIcon as CrossIcon32 } from "@100mslive/react-icons";
35121
35142
  var RoomDetailsSheet = () => {
35122
35143
  const { title, description, details } = useRoomLayoutHeader();
35123
35144
  const toggleSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
@@ -35130,7 +35151,7 @@ var RoomDetailsSheet = () => {
35130
35151
  css: { w: "100%", borderBottom: "1px solid $border_bright", pb: "$4", mb: "$4", px: "$8" }
35131
35152
  },
35132
35153
  /* @__PURE__ */ React200.createElement(Text, { css: { fontWeight: "$semiBold", color: "$on_surface_high" } }, "Description"),
35133
- /* @__PURE__ */ React200.createElement(Sheet.Close, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React200.createElement(CrossIcon31, null))
35154
+ /* @__PURE__ */ React200.createElement(Sheet.Close, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React200.createElement(CrossIcon32, null))
35134
35155
  ), /* @__PURE__ */ React200.createElement(Flex, { align: "center", css: { w: "100%", gap: "$4", pb: "$8", px: "$8" } }, /* @__PURE__ */ React200.createElement(Logo, null), /* @__PURE__ */ React200.createElement(Box, null, /* @__PURE__ */ React200.createElement(Text, { variant: "sm", css: { c: "$on_secondary_high", fontWeight: "$semiBold" } }, title), /* @__PURE__ */ React200.createElement(RoomDetailsRow, { details }))), /* @__PURE__ */ React200.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", px: "$8" } }, description)));
35135
35156
  };
35136
35157
 
@@ -35146,7 +35167,7 @@ var Sheet2 = () => {
35146
35167
 
35147
35168
  // src/Prebuilt/plugins/FlyingEmoji.jsx
35148
35169
  init_define_process_env();
35149
- import React202, { useCallback as useCallback41, useEffect as useEffect87, useMemo as useMemo23, useState as useState85 } from "react";
35170
+ import React202, { useCallback as useCallback41, useEffect as useEffect87, useMemo as useMemo23, useState as useState86 } from "react";
35150
35171
  import { useMedia as useMedia51 } from "react-use";
35151
35172
  import {
35152
35173
  selectIsLargeRoom as selectIsLargeRoom4,
@@ -35184,7 +35205,7 @@ function FlyingEmoji() {
35184
35205
  const localPeerId = useHMSStore97(selectLocalPeerID16);
35185
35206
  const vanillaStore = useHMSVanillaStore19();
35186
35207
  const hmsActions = useHMSActions58();
35187
- const [emojis, setEmojis] = useState85([]);
35208
+ const [emojis, setEmojis] = useState86([]);
35188
35209
  const isMobile = useMedia51(config.media.md);
35189
35210
  const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
35190
35211
  const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
@@ -35557,7 +35578,7 @@ init_define_process_env();
35557
35578
 
35558
35579
  // src/Diagnostics/Diagnostics.tsx
35559
35580
  init_define_process_env();
35560
- import React212, { useCallback as useCallback45, useRef as useRef38, useState as useState91 } from "react";
35581
+ import React212, { useCallback as useCallback45, useRef as useRef38, useState as useState92 } from "react";
35561
35582
  import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions63 } from "@100mslive/react-sdk";
35562
35583
  import {
35563
35584
  CheckCircleIcon as CheckCircleIcon7,
@@ -35570,7 +35591,7 @@ import {
35570
35591
 
35571
35592
  // src/Diagnostics/AudioTest.tsx
35572
35593
  init_define_process_env();
35573
- import React208, { useCallback as useCallback44, useEffect as useEffect90, useState as useState87 } from "react";
35594
+ import React208, { useCallback as useCallback44, useEffect as useEffect90, useState as useState88 } from "react";
35574
35595
  import {
35575
35596
  selectDevices,
35576
35597
  selectLocalAudioTrackID as selectLocalAudioTrackID2,
@@ -35663,10 +35684,10 @@ var TestFooter = ({
35663
35684
  // src/Diagnostics/DeviceSelector.jsx
35664
35685
  init_define_process_env();
35665
35686
  var import_prop_types = __toESM(require_prop_types());
35666
- import React207, { useRef as useRef37, useState as useState86 } from "react";
35687
+ import React207, { useRef as useRef37, useState as useState87 } from "react";
35667
35688
  var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
35668
35689
  var _a7, _b7;
35669
- const [open, setOpen] = useState86(false);
35690
+ const [open, setOpen] = useState87(false);
35670
35691
  const ref = useRef37(null);
35671
35692
  return /* @__PURE__ */ React207.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React207.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React207.createElement(
35672
35693
  Flex,
@@ -35733,8 +35754,8 @@ var MicTest = ({ setError }) => {
35733
35754
  var _a7, _b7;
35734
35755
  const { hmsDiagnostics } = useDiagnostics();
35735
35756
  const devices = useHMSStore100(selectDevices);
35736
- const [isRecording, setIsRecording] = useState87(false);
35737
- const [selectedMic, setSelectedMic] = useState87(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
35757
+ const [isRecording, setIsRecording] = useState88(false);
35758
+ const [selectedMic, setSelectedMic] = useState88(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
35738
35759
  const trackID = useHMSStore100(selectLocalAudioTrackID2);
35739
35760
  const audioLevel = useHMSStore100(selectTrackAudioByID2(trackID));
35740
35761
  const { audioOutputDeviceId } = useHMSStore100(selectLocalMediaSettings);
@@ -35833,7 +35854,7 @@ var SpeakerTest = () => {
35833
35854
  };
35834
35855
  var AudioTest = () => {
35835
35856
  const { hmsDiagnostics, updateStep } = useDiagnostics();
35836
- const [error, setErrorAlone] = useState87();
35857
+ const [error, setErrorAlone] = useState88();
35837
35858
  const setError = useCallback44(
35838
35859
  (err) => {
35839
35860
  updateStep(2 /* AUDIO */, { hasFailed: !!err });
@@ -35863,7 +35884,7 @@ var AudioTest = () => {
35863
35884
 
35864
35885
  // src/Diagnostics/BrowserTest.tsx
35865
35886
  init_define_process_env();
35866
- import React209, { useEffect as useEffect91, useState as useState88 } from "react";
35887
+ import React209, { useEffect as useEffect91, useState as useState89 } from "react";
35867
35888
  import { parsedUserAgent as parsedUserAgent4 } from "@100mslive/react-sdk";
35868
35889
  var CMS_MEDIA_SERVER = "https://storage.googleapis.com/100ms-cms-prod/";
35869
35890
  var operatingSystemIconInfo = {
@@ -35949,7 +35970,7 @@ var CheckDetails = ({ title, value, iconURL }) => /* @__PURE__ */ React209.creat
35949
35970
  var BrowserTest = () => {
35950
35971
  var _a7, _b7, _c, _d;
35951
35972
  const { hmsDiagnostics, updateStep } = useDiagnostics();
35952
- const [error, setError] = useState88();
35973
+ const [error, setError] = useState89();
35953
35974
  useEffect91(() => {
35954
35975
  try {
35955
35976
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.checkBrowserSupport();
@@ -35977,7 +35998,7 @@ var BrowserTest = () => {
35977
35998
 
35978
35999
  // src/Diagnostics/ConnectivityTest.tsx
35979
36000
  init_define_process_env();
35980
- import React210, { useState as useState89 } from "react";
36001
+ import React210, { useState as useState90 } from "react";
35981
36002
  import { ConnectivityState } from "@100mslive/react-sdk";
35982
36003
  import { CheckCircleIcon as CheckCircleIcon6, CrossCircleIcon as CrossCircleIcon4, EyeCloseIcon as EyeCloseIcon3, EyeOpenIcon as EyeOpenIcon2, LinkIcon } from "@100mslive/react-icons";
35983
36004
  var Regions = {
@@ -36000,7 +36021,7 @@ var ConnectivityTestStepResult = ({
36000
36021
  success,
36001
36022
  children
36002
36023
  }) => {
36003
- const [hideDetails, setHideDetails] = useState89(true);
36024
+ const [hideDetails, setHideDetails] = useState90(true);
36004
36025
  return /* @__PURE__ */ React210.createElement(Box, { css: { my: "$10", p: "$10", r: "$1", bg: "$surface_bright" } }, /* @__PURE__ */ React210.createElement(Text, { css: { c: "$on_primary_medium", mb: "$6" } }, title), success ? /* @__PURE__ */ React210.createElement(Flex, null, /* @__PURE__ */ React210.createElement(Text, { css: { c: "$alert_success" } }, /* @__PURE__ */ React210.createElement(CheckCircleIcon6, { width: "1.5rem", height: "1.5rem" })), /* @__PURE__ */ React210.createElement(Text, { variant: "lg", css: { ml: "$4" } }, status)) : /* @__PURE__ */ React210.createElement(Flex, null, /* @__PURE__ */ React210.createElement(Text, { css: { c: "$alert_error_bright" } }, /* @__PURE__ */ React210.createElement(CrossCircleIcon4, { width: "1.5rem", height: "1.5rem" })), /* @__PURE__ */ React210.createElement(Text, { variant: "lg", css: { ml: "$4" } }, "Failed")), /* @__PURE__ */ React210.createElement(
36005
36026
  Flex,
36006
36027
  {
@@ -36156,10 +36177,10 @@ var RegionSelector = ({
36156
36177
  };
36157
36178
  var ConnectivityTest = () => {
36158
36179
  const { hmsDiagnostics, updateStep } = useDiagnostics();
36159
- const [region, setRegion] = useState89(Object.keys(Regions)[0]);
36160
- const [error, setError] = useState89();
36161
- const [progress, setProgress] = useState89();
36162
- const [result, setResult] = useState89();
36180
+ const [region, setRegion] = useState90(Object.keys(Regions)[0]);
36181
+ const [error, setError] = useState90();
36182
+ const [progress, setProgress] = useState90();
36183
+ const [result, setResult] = useState90();
36163
36184
  const startTest = () => {
36164
36185
  updateStep(3 /* CONNECTIVITY */, { hasFailed: false, isCompleted: false });
36165
36186
  setError(void 0);
@@ -36199,7 +36220,7 @@ var downloadJson = (obj, fileName) => {
36199
36220
 
36200
36221
  // src/Diagnostics/VideoTest.tsx
36201
36222
  init_define_process_env();
36202
- import React211, { useEffect as useEffect92, useState as useState90 } from "react";
36223
+ import React211, { useEffect as useEffect92, useState as useState91 } from "react";
36203
36224
  import {
36204
36225
  selectDevices as selectDevices2,
36205
36226
  selectLocalMediaSettings as selectLocalMediaSettings2,
@@ -36213,7 +36234,7 @@ var VideoTest = () => {
36213
36234
  const { videoInput } = allDevices;
36214
36235
  const trackID = useHMSStore101(selectLocalVideoTrackID4);
36215
36236
  const sdkSelectedDevices = useHMSStore101(selectLocalMediaSettings2);
36216
- const [error, setError] = useState90();
36237
+ const [error, setError] = useState91();
36217
36238
  useEffect92(() => {
36218
36239
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
36219
36240
  updateStep(1 /* VIDEO */, { hasFailed: true });
@@ -36337,8 +36358,8 @@ var DiagnosticsStepsList = () => {
36337
36358
  };
36338
36359
  var DiagnosticsProvider = () => {
36339
36360
  const actions = useHMSActions63();
36340
- const [activeStep, setActiveStep] = useState91(0);
36341
- const [steps, setSteps] = useState91(initialSteps);
36361
+ const [activeStep, setActiveStep] = useState92(0);
36362
+ const [steps, setSteps] = useState92(initialSteps);
36342
36363
  const diagnosticsRef = useRef38(actions.initDiagnostics());
36343
36364
  const updateStep = useCallback45((step, value) => {
36344
36365
  setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));