@100mslive/roomkit-react 0.3.15-alpha.4 → 0.3.15-alpha.6

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_00f7ab19-7463-476d-9488-7b65fe6080a9", 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.5-alpha.4", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.3 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.15-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_00f7ab19-7463-476d-9488-7b65fe6080a9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.15-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.9", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "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.11/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240630.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.4/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:19476", 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.15-alpha.4", 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: "9804854610", 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: "f7dd781ff1065f5b13e42d24f63b7ae74c2dac6b", 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: "9f47c8d52e3904a226f12c2b072e94aa131280f72ac388a66c0a52c2f71a9b48", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/WEB-2915-audio-in-screenshare", 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--1720165426118-0.52233531568746:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720165425924-0.24958770371882766:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720165400034-0.9970690134226936:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720165399851-0.337455800610168:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_994f4d41-7dfb-4596-8aa8-50fd4215d57c", INVOCATION_ID: "ac449b2e5dd84d50a07e266d5b92e1c0", 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: "596", GITHUB_TRIGGERING_ACTOR: "amar-1995", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 404", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "WEB-2915-audio-in-screenshare", 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.15-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.15-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "f7dd781ff1065f5b13e42d24f63b7ae74c2dac6b", 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/WEB-2915-audio-in-screenshare", GITHUB_ACTOR: "amar-1995", 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_00f7ab19-7463-476d-9488-7b65fe6080a9", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "110378139", 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_00f7ab19-7463-476d-9488-7b65fe6080a9", 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_00f7ab19-7463-476d-9488-7b65fe6080a9" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_834da8cc-8120-4d40-aed4-b3a6d579ac90", 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.5-alpha.6", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.3 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.15-alpha.6", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_834da8cc-8120-4d40-aed4-b3a6d579ac90", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.15-alpha.6", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.9", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240708.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:19778", 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.15-alpha.6", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "9853716636", 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: "d49a7ca4cb1717edf1afa0649da140ce31e179f1", 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: "2f1f81e27b125b82caf364c82d67f0ee68a605f8adbf2bb98b89256ed49fc3cf", 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--1720514161585-0.346970372829545:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720514161369-0.4775611864342879:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720514135963-0.7841161149386477:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720514135782-0.8883619004806196:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_b4aecf72-d61d-493e-8285-1876d7c7fc1d", INVOCATION_ID: "ee04ddd6df6340359f22c4663402e77b", 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: "599", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 400", 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.15-alpha.6", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.15-alpha.6", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "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: "d49a7ca4cb1717edf1afa0649da140ce31e179f1", 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_834da8cc-8120-4d40-aed4-b3a6d579ac90", 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_834da8cc-8120-4d40-aed4-b3a6d579ac90", 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_834da8cc-8120-4d40-aed4-b3a6d579ac90" };
111
111
  }
112
112
  });
113
113
 
@@ -4149,7 +4149,7 @@ var require_lodash = __commonJS({
4149
4149
  function eq(value, other) {
4150
4150
  return value === other || value !== value && other !== other;
4151
4151
  }
4152
- var gt = createRelationalOperation(baseGt);
4152
+ var gt2 = createRelationalOperation(baseGt);
4153
4153
  var gte = createRelationalOperation(function(value, other) {
4154
4154
  return value >= other;
4155
4155
  });
@@ -4291,7 +4291,7 @@ var require_lodash = __commonJS({
4291
4291
  function isWeakSet(value) {
4292
4292
  return isObjectLike(value) && baseGetTag(value) == weakSetTag;
4293
4293
  }
4294
- var lt = createRelationalOperation(baseLt);
4294
+ var lt2 = createRelationalOperation(baseLt);
4295
4295
  var lte = createRelationalOperation(function(value, other) {
4296
4296
  return value <= other;
4297
4297
  });
@@ -4373,7 +4373,7 @@ var require_lodash = __commonJS({
4373
4373
  var assignWith = createAssigner(function(object, source, srcIndex, customizer2) {
4374
4374
  copyObject(source, keys(source), object, customizer2);
4375
4375
  });
4376
- var at2 = flatRest(baseAt);
4376
+ var at = flatRest(baseAt);
4377
4377
  function create(prototype, properties) {
4378
4378
  var result2 = baseCreate(prototype);
4379
4379
  return properties == null ? result2 : baseAssign(result2, properties);
@@ -5107,7 +5107,7 @@ var require_lodash = __commonJS({
5107
5107
  lodash.assignIn = assignIn;
5108
5108
  lodash.assignInWith = assignInWith;
5109
5109
  lodash.assignWith = assignWith;
5110
- lodash.at = at2;
5110
+ lodash.at = at;
5111
5111
  lodash.before = before;
5112
5112
  lodash.bind = bind;
5113
5113
  lodash.bindAll = bindAll;
@@ -5288,7 +5288,7 @@ var require_lodash = __commonJS({
5288
5288
  lodash.forOwn = forOwn;
5289
5289
  lodash.forOwnRight = forOwnRight;
5290
5290
  lodash.get = get;
5291
- lodash.gt = gt;
5291
+ lodash.gt = gt2;
5292
5292
  lodash.gte = gte;
5293
5293
  lodash.has = has;
5294
5294
  lodash.hasIn = hasIn;
@@ -5341,7 +5341,7 @@ var require_lodash = __commonJS({
5341
5341
  lodash.lastIndexOf = lastIndexOf;
5342
5342
  lodash.lowerCase = lowerCase;
5343
5343
  lodash.lowerFirst = lowerFirst;
5344
- lodash.lt = lt;
5344
+ lodash.lt = lt2;
5345
5345
  lodash.lte = lte;
5346
5346
  lodash.max = max;
5347
5347
  lodash.maxBy = maxBy;
@@ -13348,7 +13348,9 @@ var useFetchRoomLayout = ({
13348
13348
  }) => {
13349
13349
  const [layout, setLayout] = useState5(void 0);
13350
13350
  const layoutResp = useRef6();
13351
+ const originalLayout = useRef6();
13351
13352
  const isFetchInProgress = useRef6(false);
13353
+ const setOriginalLayout = useCallback5(() => setLayout(originalLayout.current), []);
13352
13354
  const updateRoomLayoutForRole = useCallback5((role) => {
13353
13355
  var _a7;
13354
13356
  if (!layoutResp.current) {
@@ -13387,11 +13389,14 @@ var useFetchRoomLayout = ({
13387
13389
  layoutForRole = defaultLayout;
13388
13390
  }
13389
13391
  const layout2 = layoutForRole;
13392
+ if (!originalLayout.current) {
13393
+ originalLayout.current = layout2;
13394
+ }
13390
13395
  setLayout(layout2);
13391
13396
  isFetchInProgress.current = false;
13392
13397
  }))();
13393
13398
  }, [authToken, endpoint]);
13394
- return { layout, updateRoomLayoutForRole };
13399
+ return { layout, updateRoomLayoutForRole, setOriginalLayout };
13395
13400
  };
13396
13401
 
13397
13402
  // src/Prebuilt/provider/roomLayoutProvider/index.tsx
@@ -13408,9 +13413,12 @@ var RoomLayoutProvider = ({
13408
13413
  overrideLayout
13409
13414
  }) => {
13410
13415
  const authToken = useAuthToken();
13411
- const { layout, updateRoomLayoutForRole } = useFetchRoomLayout({ authToken, endpoint: roomLayoutEndpoint });
13416
+ const { layout, updateRoomLayoutForRole, setOriginalLayout } = useFetchRoomLayout({
13417
+ authToken,
13418
+ endpoint: roomLayoutEndpoint
13419
+ });
13412
13420
  const mergedLayout = authToken && layout ? (0, import_lodash2.mergeWith)(layout, overrideLayout, customizer) : layout;
13413
- return /* @__PURE__ */ React22.createElement(RoomLayoutContext.Provider, { value: { layout: mergedLayout, updateRoomLayoutForRole } }, children);
13421
+ return /* @__PURE__ */ React22.createElement(RoomLayoutContext.Provider, { value: { layout: mergedLayout, updateRoomLayoutForRole, setOriginalLayout } }, children);
13414
13422
  };
13415
13423
  var useRoomLayout = () => {
13416
13424
  var _a7;
@@ -13420,6 +13428,10 @@ var useUpdateRoomLayout = () => {
13420
13428
  var _a7;
13421
13429
  return (_a7 = React22.useContext(RoomLayoutContext)) == null ? void 0 : _a7.updateRoomLayoutForRole;
13422
13430
  };
13431
+ var useSetOriginalLayout = () => {
13432
+ var _a7;
13433
+ return (_a7 = React22.useContext(RoomLayoutContext)) == null ? void 0 : _a7.setOriginalLayout;
13434
+ };
13423
13435
 
13424
13436
  // src/Prebuilt/common/utils.js
13425
13437
  init_define_process_env();
@@ -19878,25 +19890,26 @@ import { v4 as vo } from "uuid";
19878
19890
  import { v4 as Po } from "uuid";
19879
19891
  import { v4 as Io } from "uuid";
19880
19892
  import { EventEmitter2 as Ao } from "eventemitter2";
19881
- var $t = __toESM(require_lib());
19893
+ var Wt = __toESM(require_lib());
19882
19894
  import { EventEmitter2 as tn } from "eventemitter2";
19883
19895
  import { v4 as nn } from "uuid";
19884
19896
  import { EventEmitter2 as cn } from "eventemitter2";
19897
+ import { EventEmitter2 as Tn } from "eventemitter2";
19885
19898
  import dn from "eventemitter2";
19886
19899
  import { v4 as ln } from "uuid";
19887
19900
  import { v4 as hn } from "uuid";
19888
19901
  var ja = Object.defineProperty;
19889
19902
  var Ja = Object.defineProperties;
19890
19903
  var Qa = Object.getOwnPropertyDescriptors;
19891
- var Zt = Object.getOwnPropertySymbols;
19904
+ var Xt = Object.getOwnPropertySymbols;
19892
19905
  var rs = Object.prototype.hasOwnProperty;
19893
19906
  var ss = Object.prototype.propertyIsEnumerable;
19894
19907
  var is = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19895
19908
  var m = (a2, e) => {
19896
19909
  for (var t in e || (e = {}))
19897
19910
  rs.call(e, t) && is(a2, t, e[t]);
19898
- if (Zt)
19899
- for (var t of Zt(e))
19911
+ if (Xt)
19912
+ for (var t of Xt(e))
19900
19913
  ss.call(e, t) && is(a2, t, e[t]);
19901
19914
  return a2;
19902
19915
  };
@@ -19905,14 +19918,14 @@ var mr = (a2, e) => {
19905
19918
  var t = {};
19906
19919
  for (var i in a2)
19907
19920
  rs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
19908
- if (a2 != null && Zt)
19909
- for (var i of Zt(a2))
19921
+ if (a2 != null && Xt)
19922
+ for (var i of Xt(a2))
19910
19923
  e.indexOf(i) < 0 && ss.call(a2, i) && (t[i] = a2[i]);
19911
19924
  return t;
19912
19925
  };
19913
19926
  var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19914
- var Mr = Xa((Fc, no) => {
19915
- no.exports = { version: "0.12.15-alpha.4", 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"] };
19927
+ var Mr = Xa((Gc, no) => {
19928
+ no.exports = { version: "0.12.15-alpha.6", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
19916
19929
  });
19917
19930
  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 || {});
19918
19931
  var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
@@ -19924,23 +19937,23 @@ function xe(a2, e) {
19924
19937
  if (e)
19925
19938
  for (let r of e.auxiliaryTracks) {
19926
19939
  let s = a2[r];
19927
- eo(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
19940
+ eo(s) && (i = lt(s) ? s : i, t = ut(s) ? s : t);
19928
19941
  }
19929
19942
  return { video: t, audio: i };
19930
19943
  }
19931
- function ut(a2) {
19944
+ function lt(a2) {
19932
19945
  return a2 && a2.type === "audio";
19933
19946
  }
19934
- function pt(a2) {
19947
+ function ut(a2) {
19935
19948
  return a2 && a2.type === "video";
19936
19949
  }
19937
19950
  function eo(a2) {
19938
19951
  return a2 && a2.source === "screen";
19939
19952
  }
19940
- function ii(a2) {
19953
+ function ti(a2) {
19941
19954
  return a2 && a2.source === "audioplaylist";
19942
19955
  }
19943
- function ht(a2) {
19956
+ function pt(a2) {
19944
19957
  return a2 && a2.source === "videoplaylist";
19945
19958
  }
19946
19959
  function ns(a2) {
@@ -19949,7 +19962,7 @@ function ns(a2) {
19949
19962
  function je(a2, e) {
19950
19963
  return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
19951
19964
  }
19952
- function mt(a2) {
19965
+ function ht(a2) {
19953
19966
  var r;
19954
19967
  let e = false, t = false, i = false;
19955
19968
  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 };
@@ -20027,7 +20040,7 @@ var O = typeof window != "undefined";
20027
20040
  var ls;
20028
20041
  var Ue = typeof window == "undefined" && !((ls = ge.getBrowser().name) != null && ls.toLowerCase().includes("electron"));
20029
20042
  var ro = () => !Ue;
20030
- var ic = ro();
20043
+ var rc = ro();
20031
20044
  var us;
20032
20045
  var ps;
20033
20046
  var ms = ((ps = (us = ge.getBrowser()) == null ? void 0 : us.name) == null ? void 0 : ps.toLowerCase()) === "firefox";
@@ -20245,7 +20258,7 @@ function oe(a2) {
20245
20258
  return a2 != null;
20246
20259
  }
20247
20260
  var vs = Mr().version;
20248
- function Tt(a2 = "prod", e) {
20261
+ function gt(a2 = "prod", e) {
20249
20262
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
20250
20263
  if (Ue)
20251
20264
  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 });
@@ -20258,7 +20271,7 @@ function yr(a2) {
20258
20271
  var Ms = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
20259
20272
  var H = class {
20260
20273
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
20261
- this.metadata = { peer: {}, userAgent: Tt() };
20274
+ this.metadata = { peer: {}, userAgent: gt() };
20262
20275
  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();
20263
20276
  }
20264
20277
  toSignalParams() {
@@ -20399,7 +20412,7 @@ var kr = class {
20399
20412
  var Q = new kr();
20400
20413
  var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
20401
20414
  var Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
20402
- function ai(a2, e = 300) {
20415
+ function si(a2, e = 300) {
20403
20416
  let t;
20404
20417
  return function(...i) {
20405
20418
  clearTimeout(t), t = void 0;
@@ -20458,7 +20471,7 @@ var Ar = class {
20458
20471
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
20459
20472
  };
20460
20473
  this.createObserver = () => {
20461
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(ai(this.handleResize, 300)));
20474
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(si(this.handleResize, 300)));
20462
20475
  };
20463
20476
  this.handleResize = (e) => {
20464
20477
  var t;
@@ -20477,14 +20490,14 @@ var Hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Hr || {}
20477
20490
  var Cr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Cr || {});
20478
20491
  var Bs = "https://event.100ms.live/v2/client/report";
20479
20492
  var Vs = "https://event-nonprod.100ms.live/v2/client/report";
20480
- var kt = Math.pow(2, 31) - 1;
20481
- var rt = class {
20493
+ var yt = Math.pow(2, 31) - 1;
20494
+ var it = class {
20482
20495
  };
20483
- rt.makePeerId = () => Io();
20496
+ it.makePeerId = () => Io();
20484
20497
  var B = (a2) => a2.room;
20485
20498
  var Ho = (a2) => a2.errors;
20486
- var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
20487
- var qh = createSelector(B, (a2) => a2.id);
20499
+ var qh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
20500
+ var jh = createSelector(B, (a2) => a2.id);
20488
20501
  var K = (a2) => a2.peers;
20489
20502
  var Ti = (a2) => a2.messages.byID;
20490
20503
  var Qs = (a2) => a2.messages.allIDs;
@@ -20492,14 +20505,14 @@ var N = (a2) => a2.tracks;
20492
20505
  var Br = (a2) => a2.appData;
20493
20506
  var Co = (a2) => a2.speakers;
20494
20507
  var _e = createSelector([B], (a2) => a2 && a2.isConnected);
20495
- 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));
20508
+ var zh = 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));
20496
20509
  var Lo = (a2) => a2.hideLocalPeer;
20497
20510
  var me = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
20498
20511
  var Do = createSelector(N, (a2) => Object.values(a2));
20499
20512
  var te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
20500
20513
  var ye = createSelector(B, (a2) => a2.localPeer);
20501
- var zh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
20502
- var Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
20514
+ var Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
20515
+ var Xh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
20503
20516
  var ae = createSelector(te, (a2) => a2 == null ? void 0 : a2.audioTrack);
20504
20517
  var Y = createSelector(te, (a2) => a2 == null ? void 0 : a2.videoTrack);
20505
20518
  var wo = createSelector(te, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
@@ -20507,8 +20520,8 @@ var Ys = createSelector([ae, Y, wo], (a2, e, t) => {
20507
20520
  let i = t ? [...t] : [];
20508
20521
  return a2 && i.unshift(a2), e && i.unshift(e), i;
20509
20522
  });
20510
- var Xh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
20511
- var Zh = createSelector(K, Co, (a2, e) => {
20523
+ var Zh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
20524
+ var em = createSelector(K, Co, (a2, e) => {
20512
20525
  let t = Object.entries(e).sort((i, r) => {
20513
20526
  var n, l;
20514
20527
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -20535,15 +20548,15 @@ var _o = createSelector(K, N, (a2, e) => {
20535
20548
  }
20536
20549
  return t;
20537
20550
  });
20538
- var tm = createSelector(_o, (a2) => !!a2);
20539
- var im = createSelector(K, N, (a2, e) => {
20551
+ var im = createSelector(_o, (a2) => !!a2);
20552
+ var rm = createSelector(K, N, (a2, e) => {
20540
20553
  for (let t in a2) {
20541
20554
  let i = a2[t], { audio: r, video: s } = xe(e, i);
20542
20555
  if (!s && r)
20543
20556
  return i;
20544
20557
  }
20545
20558
  });
20546
- var rm = createSelector(K, N, (a2, e) => {
20559
+ var sm = createSelector(K, N, (a2, e) => {
20547
20560
  let t = [], i = [];
20548
20561
  for (let r in a2) {
20549
20562
  let s = a2[r], { video: o, audio: n } = xe(e, s);
@@ -20551,64 +20564,64 @@ var rm = createSelector(K, N, (a2, e) => {
20551
20564
  }
20552
20565
  return t.concat(i);
20553
20566
  });
20554
- var sm = createSelector(K, N, (a2, e) => {
20567
+ var am = createSelector(K, N, (a2, e) => {
20555
20568
  for (let t in e) {
20556
20569
  let i = e[t];
20557
- if (ht(i) && pt(i) && i.peerId)
20570
+ if (pt(i) && ut(i) && i.peerId)
20558
20571
  return a2[i.peerId];
20559
20572
  }
20560
20573
  });
20561
- var am = createSelector(K, N, (a2, e) => {
20574
+ var om = createSelector(K, N, (a2, e) => {
20562
20575
  for (let t in e) {
20563
20576
  let i = e[t];
20564
- if (ii(i) && i.peerId)
20577
+ if (ti(i) && i.peerId)
20565
20578
  return a2[i.peerId];
20566
20579
  }
20567
20580
  });
20568
- var om = createSelector(Do, (a2) => a2.filter(ns));
20569
- var nm = createSelector(Qs, (a2) => a2.length);
20570
- var cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
20571
- var Rt = createSelector(Qs, Ti, (a2, e) => {
20581
+ var nm = createSelector(Do, (a2) => a2.filter(ns));
20582
+ var cm = createSelector(Qs, (a2) => a2.length);
20583
+ var dm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
20584
+ var bt = createSelector(Qs, Ti, (a2, e) => {
20572
20585
  let t = [];
20573
20586
  return a2.forEach((i) => {
20574
20587
  t.push(e[i]);
20575
20588
  }), t;
20576
20589
  });
20577
- var No = createSelector(Rt, (a2) => a2.filter((e) => {
20590
+ var No = createSelector(bt, (a2) => a2.filter((e) => {
20578
20591
  var t;
20579
20592
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
20580
20593
  }));
20581
- var dm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
20594
+ var lm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
20582
20595
  var ie = createSelector([B], (a2) => a2 && a2.roomState);
20583
20596
  var Zs = createSelector(ie, (a2) => a2 === "Preview");
20584
- var lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
20585
- var um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
20597
+ var um = createSelector(B, (a2) => a2.roomState !== "Disconnected");
20598
+ var pm = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
20586
20599
  var Se = (a2) => a2.roles;
20587
- var pm = createSelector([Se], (a2) => Object.keys(a2));
20588
- var at = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
20600
+ var hm = createSelector([Se], (a2) => Object.keys(a2));
20601
+ var st = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
20589
20602
  var Oo = (a2) => {
20590
20603
  var e;
20591
20604
  return (e = a2.preview) == null ? void 0 : e.asRole;
20592
20605
  };
20593
20606
  var ea = createSelector([Oo, Se], (a2, e) => a2 ? e[a2] : null);
20594
- var hm = createSelector([at], (a2) => {
20607
+ var mm = createSelector([st], (a2) => {
20595
20608
  var e;
20596
20609
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
20597
20610
  });
20598
- var ta = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
20599
- var mm = createSelector(B, (a2) => a2.recording);
20600
- var Sm = createSelector(B, (a2) => a2.rtmp);
20601
- var gm = createSelector(B, (a2) => a2.hls);
20602
- var Tm = createSelector(B, (a2) => a2.transcriptions);
20603
- var fm = createSelector(B, (a2) => a2.sessionId);
20604
- var vm = createSelector(B, (a2) => a2.startedAt);
20605
- var Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
20606
- var ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
20607
- var km = createSelector(B, (a2) => a2.effectsKey);
20611
+ var ta = createSelector(st, (a2) => a2 == null ? void 0 : a2.permissions);
20612
+ var Sm = createSelector(B, (a2) => a2.recording);
20613
+ var gm = createSelector(B, (a2) => a2.rtmp);
20614
+ var Tm = createSelector(B, (a2) => a2.hls);
20615
+ var fm = createSelector(B, (a2) => a2.transcriptions);
20616
+ var vm = createSelector(B, (a2) => a2.sessionId);
20617
+ var Mm = createSelector(B, (a2) => a2.startedAt);
20618
+ var ym = createSelector(B, (a2) => !!a2.isLargeRoom);
20619
+ var km = createSelector(B, (a2) => !!a2.isEffectsEnabled);
20620
+ var Pm = createSelector(B, (a2) => a2.effectsKey);
20608
20621
  var ia = (a2) => a2.polls;
20609
- var Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
20622
+ var Im = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
20610
20623
  var xo = (a2) => a2.whiteboards;
20611
- var Im = createSelector(xo, (a2) => Object.values(a2)[0]);
20624
+ var Am = createSelector(xo, (a2) => Object.values(a2)[0]);
20612
20625
  var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
20613
20626
  var Gr = (a2 = "audio") => (e) => e.playlist[a2].selection;
20614
20627
  var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -20625,7 +20638,7 @@ var pa = { selection: Gr("video"), progress: aa("video"), currentTime: oa("video
20625
20638
  function A(a2) {
20626
20639
  return (e) => (t) => a2(t, e);
20627
20640
  }
20628
- var It = "HMS-Store:";
20641
+ var Rt = "HMS-Store:";
20629
20642
  var b = class {
20630
20643
  static v(e, ...t) {
20631
20644
  this.log(0, e, ...t);
@@ -20655,23 +20668,23 @@ var b = class {
20655
20668
  if (!(this.level.valueOf() > e.valueOf()))
20656
20669
  switch (e) {
20657
20670
  case 0: {
20658
- console.log(It, ...t);
20671
+ console.log(Rt, ...t);
20659
20672
  break;
20660
20673
  }
20661
20674
  case 1: {
20662
- console.debug(It, ...t);
20675
+ console.debug(Rt, ...t);
20663
20676
  break;
20664
20677
  }
20665
20678
  case 2: {
20666
- console.info(It, ...t);
20679
+ console.info(Rt, ...t);
20667
20680
  break;
20668
20681
  }
20669
20682
  case 3: {
20670
- console.warn(It, ...t);
20683
+ console.warn(Rt, ...t);
20671
20684
  break;
20672
20685
  }
20673
20686
  case 6: {
20674
- console.error(It, ...t);
20687
+ console.error(Rt, ...t);
20675
20688
  break;
20676
20689
  }
20677
20690
  case 4: {
@@ -20693,31 +20706,31 @@ var b = class {
20693
20706
  };
20694
20707
  b.level = 0;
20695
20708
  var Wr = (a2, e) => e;
20696
- var At = (a2, e) => e;
20709
+ var It = (a2, e) => e;
20697
20710
  var ha = (a2, e) => e;
20698
20711
  var Uo = (a2, e) => e;
20699
20712
  var Bo = (a2, e) => e;
20700
20713
  var q = createSelector([K, Wr], (a2, e) => e ? a2[e] : null);
20701
- var $r = createSelector([N, At], (a2, e) => e ? a2[e] : null);
20702
- var Vo = createSelector([N, At], (a2, e) => {
20714
+ var $r = createSelector([N, It], (a2, e) => e ? a2[e] : null);
20715
+ var Vo = createSelector([N, It], (a2, e) => {
20703
20716
  if (!e)
20704
20717
  return null;
20705
20718
  let t = a2[e];
20706
20719
  return (t == null ? void 0 : t.type) === "video" ? t : null;
20707
20720
  });
20708
- var Fo = createSelector([N, At], (a2, e) => {
20721
+ var Fo = createSelector([N, It], (a2, e) => {
20709
20722
  if (!e)
20710
20723
  return null;
20711
20724
  let t = a2[e];
20712
20725
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
20713
20726
  });
20714
- var Go = createSelector([N, At], (a2, e) => {
20727
+ var Go = createSelector([N, It], (a2, e) => {
20715
20728
  if (!e)
20716
20729
  return null;
20717
20730
  let t = a2[e];
20718
20731
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20719
20732
  });
20720
- var Wo = createSelector([N, At], (a2, e) => {
20733
+ var Wo = createSelector([N, It], (a2, e) => {
20721
20734
  if (!e)
20722
20735
  return null;
20723
20736
  let t = a2[e];
@@ -20725,23 +20738,23 @@ var Wo = createSelector([N, At], (a2, e) => {
20725
20738
  });
20726
20739
  var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
20727
20740
  var X = A(q);
20728
- var Um = A(createSelector([Br, Uo], (a2, e) => {
20741
+ var Bm = A(createSelector([Br, Uo], (a2, e) => {
20729
20742
  if (a2)
20730
20743
  return e ? a2[e] : a2;
20731
20744
  }));
20732
- function Bm(a2) {
20745
+ function Vm(a2) {
20733
20746
  return (e) => {
20734
20747
  if (e.sessionStore)
20735
20748
  return a2 ? e.sessionStore[a2] : e.sessionStore;
20736
20749
  };
20737
20750
  }
20738
- var Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
20739
- var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
20751
+ var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
20752
+ var Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
20740
20753
  var fi = A($r);
20741
20754
  var ma = A(Vo);
20742
- var Wm = A(Fo);
20743
- var $m = A(Go);
20744
- var Km = A(Wo);
20755
+ var $m = A(Fo);
20756
+ var Km = A(Go);
20757
+ var qm = A(Wo);
20745
20758
  var Ko = A((a2, e) => {
20746
20759
  let t = q(a2, e);
20747
20760
  if (t && t.videoTrack && t.videoTrack !== "")
@@ -20752,56 +20765,56 @@ var qo = A((a2, e) => {
20752
20765
  if (t && t.audioTrack && t.audioTrack !== "")
20753
20766
  return a2.tracks[t.audioTrack];
20754
20767
  });
20755
- var jm = A((a2, e) => {
20768
+ var Jm = A((a2, e) => {
20756
20769
  let t = q(a2, e);
20757
20770
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
20758
20771
  });
20759
20772
  var Sa = (a2, e) => e ? a2.speakers[e] : null;
20760
- var Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20773
+ var Qm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20761
20774
  var jo = (a2, e) => {
20762
20775
  let t = qo(e)(a2);
20763
20776
  return Sa(a2, t == null ? void 0 : t.id);
20764
20777
  };
20765
- var Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20766
- var zm = A((a2, e) => {
20778
+ var zm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20779
+ var Ym = A((a2, e) => {
20767
20780
  if (e)
20768
20781
  return a2.connectionQualities[e];
20769
20782
  });
20770
- var Ym = A((a2, e) => {
20783
+ var Xm = A((a2, e) => {
20771
20784
  let t = q(a2, e);
20772
20785
  if (t) {
20773
- let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
20786
+ let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => lt(a2.tracks[r]));
20774
20787
  return i ? a2.tracks[i] : void 0;
20775
20788
  }
20776
20789
  });
20777
- var Xm = A(createSelector(N, q, (a2, e) => {
20790
+ var Zm = A(createSelector(N, q, (a2, e) => {
20778
20791
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20779
20792
  let r = a2[i];
20780
- return ht(r) && pt(r);
20793
+ return pt(r) && ut(r);
20781
20794
  });
20782
20795
  return t ? a2[t] : void 0;
20783
20796
  }));
20784
- var Zm = A(createSelector(N, q, (a2, e) => {
20797
+ var eS = A(createSelector(N, q, (a2, e) => {
20785
20798
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20786
20799
  let r = a2[i];
20787
- return ht(r) && ut(r);
20800
+ return pt(r) && lt(r);
20788
20801
  });
20789
20802
  return t ? a2[t] : void 0;
20790
20803
  }));
20791
- var eS = A(createSelector(N, q, (a2, e) => {
20804
+ var tS = A(createSelector(N, q, (a2, e) => {
20792
20805
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20793
20806
  let r = a2[i];
20794
- return ii(r) && ut(r);
20807
+ return ti(r) && lt(r);
20795
20808
  });
20796
20809
  return t ? a2[t] : void 0;
20797
20810
  }));
20798
20811
  var ga = A(createSelector(N, q, (a2, e) => xe(a2, e)));
20799
20812
  var Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
20800
- var iS = A((a2, e) => {
20813
+ var rS = A((a2, e) => {
20801
20814
  let t = q(a2, e);
20802
20815
  return je(a2, t == null ? void 0 : t.audioTrack);
20803
20816
  });
20804
- var rS = A((a2, e) => {
20817
+ var sS = A((a2, e) => {
20805
20818
  let t = q(a2, e);
20806
20819
  return je(a2, t == null ? void 0 : t.videoTrack);
20807
20820
  });
@@ -20809,11 +20822,11 @@ var fa = A((a2, e) => {
20809
20822
  if (e && a2.tracks[e])
20810
20823
  return a2.tracks[e].volume === 0;
20811
20824
  });
20812
- var sS = A((a2, e) => {
20825
+ var aS = A((a2, e) => {
20813
20826
  let t = q(a2, e);
20814
20827
  return fa(t == null ? void 0 : t.audioTrack)(a2);
20815
20828
  });
20816
- var aS = A((a2, e) => {
20829
+ var oS = A((a2, e) => {
20817
20830
  let t = Ta(e)(a2);
20818
20831
  return fa(t == null ? void 0 : t.id)(a2);
20819
20832
  });
@@ -20827,15 +20840,15 @@ var va = A((a2, e) => {
20827
20840
  return t.volume;
20828
20841
  }
20829
20842
  });
20830
- var oS = A((a2, e) => {
20843
+ var nS = A((a2, e) => {
20831
20844
  let t = q(a2, e);
20832
20845
  return va(t == null ? void 0 : t.audioTrack)(a2);
20833
20846
  });
20834
- var nS = A((a2, e) => {
20847
+ var cS = A((a2, e) => {
20835
20848
  let t = Ta(e)(a2);
20836
20849
  return va(t == null ? void 0 : t.id)(a2);
20837
20850
  });
20838
- var cS = A((a2, e) => {
20851
+ var dS = A((a2, e) => {
20839
20852
  let t = $r(a2, e);
20840
20853
  if (t) {
20841
20854
  if (t.type !== "video") {
@@ -20845,40 +20858,40 @@ var cS = A((a2, e) => {
20845
20858
  return t.layer;
20846
20859
  }
20847
20860
  });
20848
- var Ma = createSelector([Rt, ye, Wr], (a2, e, t) => {
20861
+ var Ma = createSelector([bt, ye, Wr], (a2, e, t) => {
20849
20862
  if (t)
20850
20863
  return a2.filter((i) => {
20851
20864
  var r;
20852
20865
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
20853
20866
  });
20854
20867
  });
20855
- var ya = createSelector([Rt, ha], (a2, e) => {
20868
+ var ya = createSelector([bt, ha], (a2, e) => {
20856
20869
  if (e)
20857
20870
  return a2.filter((t) => {
20858
20871
  var i, r;
20859
20872
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
20860
20873
  });
20861
20874
  });
20862
- var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
20875
+ var Jo = createSelector(bt, (a2) => a2.filter((e) => {
20863
20876
  var t;
20864
20877
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
20865
20878
  }));
20866
20879
  var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20867
20880
  var zo = createSelector([Ma, Wr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20868
- var dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
20869
- var lS = A(Ma);
20870
- var uS = A(ya);
20871
- var pS = A(Qo);
20872
- var hS = A(zo);
20881
+ var lS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
20882
+ var uS = A(Ma);
20883
+ var pS = A(ya);
20884
+ var hS = A(Qo);
20885
+ var mS = A(zo);
20873
20886
  var ka = A($o);
20874
- var bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
20887
+ var RS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
20875
20888
  var r;
20876
20889
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
20877
20890
  }));
20878
20891
  var Yo = (a2) => a2.roleChangeRequests[0] || null;
20879
- 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);
20880
- var IS = createSelector([at], (a2) => mt(a2));
20881
- var AS = createSelector([ea], (a2) => mt(a2));
20892
+ var IS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20893
+ var AS = createSelector([st], (a2) => ht(a2));
20894
+ var HS = createSelector([ea], (a2) => ht(a2));
20882
20895
  var Zo = createSelector([Y, N], (a2, e) => {
20883
20896
  let t = null;
20884
20897
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
@@ -20937,62 +20950,62 @@ var Pe = new Qr();
20937
20950
  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 || {});
20938
20951
  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 || {});
20939
20952
  var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
20940
- var Pn = (a2) => a2.localPeer.id;
20941
- var En = (a2) => a2.localPeer.audioTrack;
20942
- var bn = (a2) => a2.localPeer.videoTrack;
20943
- var Rn = (a2, e) => e;
20953
+ var En = (a2) => a2.localPeer.id;
20954
+ var bn = (a2) => a2.localPeer.audioTrack;
20955
+ var Rn = (a2) => a2.localPeer.videoTrack;
20956
+ var In = (a2, e) => e;
20944
20957
  var Ka = (a2, e) => e;
20945
- var In = (a2) => a2.remoteTrackStats;
20958
+ var An = (a2) => a2.remoteTrackStats;
20946
20959
  var qa = (a2) => a2.peerStats;
20947
20960
  var es = (a2) => a2.localTrackStats;
20948
- var be = createSelector([qa, Pn], (a2, e) => a2[e]);
20949
- var An = createSelector(be, (a2) => {
20961
+ var be = createSelector([qa, En], (a2, e) => a2[e]);
20962
+ var Hn = createSelector(be, (a2) => {
20950
20963
  var e;
20951
20964
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
20952
20965
  });
20953
- var Hn = createSelector(be, (a2) => {
20966
+ var Cn = createSelector(be, (a2) => {
20954
20967
  var e;
20955
20968
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
20956
20969
  });
20957
- var Cn = createSelector(be, (a2) => {
20970
+ var Ln = createSelector(be, (a2) => {
20958
20971
  var e;
20959
20972
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
20960
20973
  });
20961
- var Ln = createSelector(be, (a2) => {
20974
+ var Dn = createSelector(be, (a2) => {
20962
20975
  var e;
20963
20976
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
20964
20977
  });
20965
- var Dn = createSelector(be, (a2) => {
20978
+ var wn = createSelector(be, (a2) => {
20966
20979
  var e;
20967
20980
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
20968
20981
  });
20969
- var wn = createSelector(be, (a2) => {
20982
+ var _n = createSelector(be, (a2) => {
20970
20983
  var e;
20971
20984
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
20972
20985
  });
20973
- var _n = createSelector(be, (a2) => {
20986
+ var Nn = createSelector(be, (a2) => {
20974
20987
  var e;
20975
20988
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
20976
20989
  });
20977
- var Nn = createSelector(be, (a2) => {
20990
+ var On = createSelector(be, (a2) => {
20978
20991
  var e;
20979
20992
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
20980
20993
  });
20981
- var On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
20982
- var xn = createSelector([In, Ka], (a2, e) => e ? a2[e] : void 0);
20994
+ var xn = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
20995
+ var Un = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
20983
20996
  var ts = createSelector([es, Ka], (a2, e) => e ? a2[e] : void 0);
20984
- var Un = A(On);
20985
20997
  var Bn = A(xn);
20986
- var Vn = createSelector([es, En], (a2, e) => {
20998
+ var Vn = A(Un);
20999
+ var Fn = createSelector([es, bn], (a2, e) => {
20987
21000
  var t;
20988
21001
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20989
21002
  });
20990
- var Fn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
20991
- var Gn = createSelector([es, bn], (a2, e) => {
21003
+ var Gn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
21004
+ var Wn = createSelector([es, Rn], (a2, e) => {
20992
21005
  var t;
20993
21006
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20994
21007
  });
20995
- var Wn = A(createSelector(ts, (a2) => a2));
21008
+ var $n = A(createSelector(ts, (a2) => a2));
20996
21009
 
20997
21010
  // src/Prebuilt/components/Header/StreamActions.tsx
20998
21011
  import {
@@ -26765,7 +26778,7 @@ var Chat = () => {
26765
26778
  const listRef = useRef24(null);
26766
26779
  const hmsActions = useHMSActions40();
26767
26780
  const vanillaStore = useHMSVanillaStore10();
26768
- const { enabled: isChatEnabled = true } = useHMSStore61(Bm("chatState" /* CHAT_STATE */)) || {};
26781
+ const { enabled: isChatEnabled = true } = useHMSStore61(Vm("chatState" /* CHAT_STATE */)) || {};
26769
26782
  const isMobile = useMedia19(config.media.md);
26770
26783
  const isMobileHLSStream = useMobileHLSStream();
26771
26784
  const isLandscapeStream = useLandscapeHLSStream();
@@ -26855,7 +26868,7 @@ var NewMessageIndicator = ({
26855
26868
  scrollToBottom,
26856
26869
  listRef
26857
26870
  }) => {
26858
- const unreadCount = useHMSStore61(cm);
26871
+ const unreadCount = useHMSStore61(dm);
26859
26872
  if (!unreadCount || !listRef.current) {
26860
26873
  return null;
26861
26874
  }
@@ -27966,7 +27979,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
27966
27979
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
27967
27980
  const hmsActions = useHMSActions43();
27968
27981
  const localPeer = useHMSStore69(selectLocalPeer8);
27969
- const role = useHMSStore69(at);
27982
+ const role = useHMSStore69(st);
27970
27983
  const isVideoOn = useHMSStore69(selectIsLocalVideoEnabled6);
27971
27984
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
27972
27985
  const trackSelector = selectVideoTrackByID4(localPeer == null ? void 0 : localPeer.videoTrack);
@@ -27974,12 +27987,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
27974
27987
  const [blurAmount, setBlurAmount] = useState56(VBHandler.getBlurAmount() || 0.5);
27975
27988
  const roomState = useHMSStore69(selectRoomState4);
27976
27989
  const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
27977
- const isEffectsEnabled = useHMSStore69(ym);
27978
- const effectsKey = useHMSStore69(km);
27990
+ const isEffectsEnabled = useHMSStore69(km);
27991
+ const effectsKey = useHMSStore69(Pm);
27979
27992
  const isMobile = useMedia23(config.media.md);
27980
27993
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
27981
27994
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
27982
- const background = useHMSStore69(Um(APP_DATA.background));
27995
+ const background = useHMSStore69(Bm(APP_DATA.background));
27983
27996
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
27984
27997
  const inPreview = roomState === HMSRoomState4.Preview;
27985
27998
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -30354,7 +30367,7 @@ var useCloseScreenshareWhiteboard = () => {
30354
30367
  };
30355
30368
 
30356
30369
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30357
- var HLSView = React155.lazy(() => import("./HLSView-HMRFCBTS.js"));
30370
+ var HLSView = React155.lazy(() => import("./HLSView-NOYWP3DT.js"));
30358
30371
  var VideoStreamingSection = ({
30359
30372
  screenType,
30360
30373
  elements,
@@ -31153,6 +31166,7 @@ var useHMSAppStateContext = () => {
31153
31166
  };
31154
31167
  var useAppStateManager = () => {
31155
31168
  const roomLayout = useRoomLayout();
31169
+ const setOriginalLayout = useSetOriginalLayout();
31156
31170
  const [activeState, setActiveState] = React162.useState();
31157
31171
  const roomState = useHMSStore88(selectRoomState8);
31158
31172
  const prevRoomState = usePreviousDistinct(roomState);
@@ -31160,6 +31174,7 @@ var useAppStateManager = () => {
31160
31174
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
31161
31175
  const { redirectToLeave } = useRedirectToLeave();
31162
31176
  const rejoin = () => {
31177
+ setOriginalLayout == null ? void 0 : setOriginalLayout();
31163
31178
  setActiveState(isPreviewScreenEnabled ? "preview" /* PREVIEW */ : "meeting" /* MEETING */);
31164
31179
  };
31165
31180
  useEffect59(() => {
@@ -33625,4 +33640,4 @@ object-assign/index.js:
33625
33640
  @license MIT
33626
33641
  *)
33627
33642
  */
33628
- //# sourceMappingURL=chunk-3RS665CV.js.map
33643
+ //# sourceMappingURL=chunk-4PDMOI7P.js.map