@100mslive/roomkit-react 0.2.8-alpha.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/{HLSView-6KPQ2KD6.js → HLSView-LZOTIUWE.js} +152 -96
  2. package/dist/HLSView-LZOTIUWE.js.map +7 -0
  3. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  4. package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +3 -2
  5. package/dist/Prebuilt/components/HMSVideo/index.d.ts +3 -2
  6. package/dist/Prebuilt/components/SidePaneTabs.d.ts +0 -1
  7. package/dist/Prebuilt/layouts/SidePane.d.ts +1 -1
  8. package/dist/{chunk-JQCSGJIR.js → chunk-LCECN6XD.js} +297 -238
  9. package/dist/chunk-LCECN6XD.js.map +7 -0
  10. package/dist/index.cjs.js +446 -332
  11. package/dist/index.cjs.js.map +3 -3
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +96 -61
  14. package/dist/meta.esbuild.json +109 -73
  15. package/package.json +6 -6
  16. package/src/Prebuilt/components/Chat/Chat.tsx +23 -4
  17. package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -2
  18. package/src/Prebuilt/components/Chat/EmptyChat.tsx +5 -1
  19. package/src/Prebuilt/components/ConferenceScreen.tsx +13 -1
  20. package/src/Prebuilt/components/EmojiReaction.jsx +2 -2
  21. package/src/Prebuilt/components/Footer/RoleOptions.tsx +125 -126
  22. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +13 -10
  23. package/src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx +6 -4
  24. package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +38 -25
  25. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -1
  26. package/src/Prebuilt/components/MwebLandscapePrompt.tsx +9 -3
  27. package/src/Prebuilt/components/Polls/common/utils.ts +1 -1
  28. package/src/Prebuilt/components/SidePaneTabs.tsx +1 -4
  29. package/src/Prebuilt/layouts/HLSView.jsx +293 -239
  30. package/src/Prebuilt/layouts/SidePane.tsx +73 -49
  31. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +10 -2
  32. package/dist/HLSView-6KPQ2KD6.js.map +0 -7
  33. package/dist/chunk-JQCSGJIR.js.map +0 -7
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_823254f5-4732-4f6a-b145-e8ee8c580765", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.9.8-alpha.8", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_823254f5-4732-4f6a-b145-e8ee8c580765", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.12.8-alpha.8", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "594", 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_devDependencies__rollup_plugin_image: "^3.0.2", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240225.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.0/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.0-alpha.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:18399", 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__rollup_plugin_commonjs: "^21.0.3", 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.2.8-alpha.8", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8096644752", 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: "cddbc3f6a55bc8612229e7cfa865eb8946b564b2", 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: "c575132fce58c9c9522d988e6259e463636f8ea6fc6c9e954fd13a2f98e6f9d8", 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--1709212560278-0.2032246878266939:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709212560077-0.09680736633681075:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709212537346-0.3328263029647156:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709212537148-0.6509977578033861:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_21f0bbb0-418d-41e2-9dfa-8d77c2abd99c", INVOCATION_ID: "14a0ab590b55419eb88dcb5dc43a00ea", 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: "458", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 462", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", 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.9.8-alpha.8", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.8", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "cddbc3f6a55bc8612229e7cfa865eb8946b564b2", 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: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_823254f5-4732-4f6a-b145-e8ee8c580765", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_823254f5-4732-4f6a-b145-e8ee8c580765", 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.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_823254f5-4732-4f6a-b145-e8ee8c580765" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4eada179-91ba-42c0-812a-6c62a47c4853", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4eada179-91ba-42c0-812a-6c62a47c4853", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.0", 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.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "592", 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_devDependencies__rollup_plugin_image: "^3.0.2", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240225.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.0/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.0-alpha.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:20654", 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__rollup_plugin_commonjs: "^21.0.3", 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.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8153826113", 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: "eaed700cd6f04214d3aa7a691c3f1bd603e1ce0e", 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: "da4e18ae136d0946a91866f297091a0c26a9e103cec876b3731d92b61083b209", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1709630446602-0.9281138785303897:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709630446409-0.47889333945358104:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709630424406-0.8143865164298287:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709630424231-0.2506504138931236:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9f88d938-1924-4be0-a607-3d62ff2d1871", INVOCATION_ID: "254f6b36d06446e18715e52b31cd7d08", 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: "466", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 222", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", 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.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.0", 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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "eaed700cd6f04214d3aa7a691c3f1bd603e1ce0e", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4eada179-91ba-42c0-812a-6c62a47c4853", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4eada179-91ba-42c0-812a-6c62a47c4853", 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.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_4eada179-91ba-42c0-812a-6c62a47c4853" };
110
110
  }
111
111
  });
112
112
 
@@ -2928,8 +2928,8 @@ var require_lodash = __commonJS({
2928
2928
  return { "start": start, "end": end };
2929
2929
  }
2930
2930
  function getWrapDetails(source) {
2931
- var match9 = source.match(reWrapDetails);
2932
- return match9 ? match9[1].split(reSplitDetails) : [];
2931
+ var match12 = source.match(reWrapDetails);
2932
+ return match12 ? match12[1].split(reSplitDetails) : [];
2933
2933
  }
2934
2934
  function hasPath(object, path, hasFunc) {
2935
2935
  path = castPath(path, object);
@@ -3197,8 +3197,8 @@ var require_lodash = __commonJS({
3197
3197
  if (string.charCodeAt(0) === 46) {
3198
3198
  result2.push("");
3199
3199
  }
3200
- string.replace(rePropName, function(match9, number, quote, subString) {
3201
- result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match9);
3200
+ string.replace(rePropName, function(match12, number, quote, subString) {
3201
+ result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match12);
3202
3202
  });
3203
3203
  return result2;
3204
3204
  });
@@ -4764,7 +4764,7 @@ var require_lodash = __commonJS({
4764
4764
  "g"
4765
4765
  );
4766
4766
  var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
4767
- string.replace(reDelimiters, function(match9, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4767
+ string.replace(reDelimiters, function(match12, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4768
4768
  interpolateValue || (interpolateValue = esTemplateValue);
4769
4769
  source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
4770
4770
  if (escapeValue) {
@@ -4778,8 +4778,8 @@ var require_lodash = __commonJS({
4778
4778
  if (interpolateValue) {
4779
4779
  source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
4780
4780
  }
4781
- index = offset + match9.length;
4782
- return match9;
4781
+ index = offset + match12.length;
4782
+ return match12;
4783
4783
  });
4784
4784
  source += "';\n";
4785
4785
  var variable = hasOwnProperty.call(options, "variable") && options.variable;
@@ -4867,13 +4867,13 @@ var require_lodash = __commonJS({
4867
4867
  }
4868
4868
  if (isRegExp(separator)) {
4869
4869
  if (string.slice(end).search(separator)) {
4870
- var match9, substring = result2;
4870
+ var match12, substring = result2;
4871
4871
  if (!separator.global) {
4872
4872
  separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
4873
4873
  }
4874
4874
  separator.lastIndex = 0;
4875
- while (match9 = separator.exec(substring)) {
4876
- var newEnd = match9.index;
4875
+ while (match12 = separator.exec(substring)) {
4876
+ var newEnd = match12.index;
4877
4877
  }
4878
4878
  result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd);
4879
4879
  }
@@ -5628,7 +5628,7 @@ var require_ua_parser = __commonJS({
5628
5628
  }
5629
5629
  };
5630
5630
  var rgxMapper = function(ua, arrays) {
5631
- var i = 0, j, k2, p, q2, matches, match9;
5631
+ var i = 0, j, k2, p, q2, matches, match12;
5632
5632
  while (i < arrays.length && !matches) {
5633
5633
  var regex = arrays[i], props = arrays[i + 1];
5634
5634
  j = k2 = 0;
@@ -5639,26 +5639,26 @@ var require_ua_parser = __commonJS({
5639
5639
  matches = regex[j++].exec(ua);
5640
5640
  if (!!matches) {
5641
5641
  for (p = 0; p < props.length; p++) {
5642
- match9 = matches[++k2];
5642
+ match12 = matches[++k2];
5643
5643
  q2 = props[p];
5644
5644
  if (typeof q2 === OBJ_TYPE && q2.length > 0) {
5645
5645
  if (q2.length === 2) {
5646
5646
  if (typeof q2[1] == FUNC_TYPE) {
5647
- this[q2[0]] = q2[1].call(this, match9);
5647
+ this[q2[0]] = q2[1].call(this, match12);
5648
5648
  } else {
5649
5649
  this[q2[0]] = q2[1];
5650
5650
  }
5651
5651
  } else if (q2.length === 3) {
5652
5652
  if (typeof q2[1] === FUNC_TYPE && !(q2[1].exec && q2[1].test)) {
5653
- this[q2[0]] = match9 ? q2[1].call(this, match9, q2[2]) : undefined2;
5653
+ this[q2[0]] = match12 ? q2[1].call(this, match12, q2[2]) : undefined2;
5654
5654
  } else {
5655
- this[q2[0]] = match9 ? match9.replace(q2[1], q2[2]) : undefined2;
5655
+ this[q2[0]] = match12 ? match12.replace(q2[1], q2[2]) : undefined2;
5656
5656
  }
5657
5657
  } else if (q2.length === 4) {
5658
- this[q2[0]] = match9 ? q2[3].call(this, match9.replace(q2[1], q2[2])) : undefined2;
5658
+ this[q2[0]] = match12 ? q2[3].call(this, match12.replace(q2[1], q2[2])) : undefined2;
5659
5659
  }
5660
5660
  } else {
5661
- this[q2] = match9 ? match9 : undefined2;
5661
+ this[q2] = match12 ? match12 : undefined2;
5662
5662
  }
5663
5663
  }
5664
5664
  }
@@ -8636,13 +8636,13 @@ var require_parser = __commonJS({
8636
8636
  var toIntIfInt = function(v2) {
8637
8637
  return String(Number(v2)) === v2 ? Number(v2) : v2;
8638
8638
  };
8639
- var attachProperties = function(match9, location, names, rawName) {
8639
+ var attachProperties = function(match12, location, names, rawName) {
8640
8640
  if (rawName && !names) {
8641
- location[rawName] = toIntIfInt(match9[1]);
8641
+ location[rawName] = toIntIfInt(match12[1]);
8642
8642
  } else {
8643
8643
  for (var i = 0; i < names.length; i += 1) {
8644
- if (match9[i + 1] != null) {
8645
- location[names[i]] = toIntIfInt(match9[i + 1]);
8644
+ if (match12[i + 1] != null) {
8645
+ location[names[i]] = toIntIfInt(match12[i + 1]);
8646
8646
  }
8647
8647
  }
8648
8648
  }
@@ -14156,7 +14156,7 @@ var useMobileHLSStream = () => {
14156
14156
 
14157
14157
  // src/Prebuilt/components/EmojiReaction.jsx
14158
14158
  init({ data });
14159
- var EmojiReaction = () => {
14159
+ var EmojiReaction = ({ showCard = false }) => {
14160
14160
  const [open, setOpen] = useState12(false);
14161
14161
  const isConnected = useHMSStore10(selectIsConnectedToRoom2);
14162
14162
  useDropdownList({ open, name: "EmojiReaction" });
@@ -14182,7 +14182,7 @@ var EmojiReaction = () => {
14182
14182
  if (!isConnected) {
14183
14183
  return null;
14184
14184
  }
14185
- if ((isMobile || isLandscape) && !(isLandscapeStream || isMobileHLSStream)) {
14185
+ if (showCard) {
14186
14186
  return /* @__PURE__ */ React34.createElement(EmojiCard, { sendReaction });
14187
14187
  }
14188
14188
  return /* @__PURE__ */ React34.createElement(Dropdown.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React34.createElement(Dropdown.Trigger, { asChild: true, "data-testid": "emoji_reaction_btn" }, /* @__PURE__ */ React34.createElement(
@@ -16356,8 +16356,8 @@ init_define_process_env();
16356
16356
  var logDisabled_ = true;
16357
16357
  var deprecationWarnings_ = true;
16358
16358
  function extractVersion(uastring, expr, pos) {
16359
- const match9 = uastring.match(expr);
16360
- return match9 && match9.length >= pos && parseInt(match9[pos], 10);
16359
+ const match12 = uastring.match(expr);
16360
+ return match12 && match12.length >= pos && parseInt(match12[pos], 10);
16361
16361
  }
16362
16362
  function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
16363
16363
  if (!window2.RTCPeerConnection) {
@@ -16659,7 +16659,7 @@ function shimGetUserMedia(window2, browserDetails) {
16659
16659
  if (matches) {
16660
16660
  return navigator2.mediaDevices.enumerateDevices().then((devices) => {
16661
16661
  devices = devices.filter((d2) => d2.kind === "videoinput");
16662
- let dev = devices.find((d2) => matches.some((match9) => d2.label.toLowerCase().includes(match9)));
16662
+ let dev = devices.find((d2) => matches.some((match12) => d2.label.toLowerCase().includes(match12)));
16663
16663
  if (!dev && devices.length && matches.includes("back")) {
16664
16664
  dev = devices[devices.length - 1];
16665
16665
  }
@@ -18086,11 +18086,11 @@ function shimMaxMessageSize(window2, browserDetails) {
18086
18086
  });
18087
18087
  };
18088
18088
  const getRemoteFirefoxVersion = function(description) {
18089
- const match9 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
18090
- if (match9 === null || match9.length < 2) {
18089
+ const match12 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
18090
+ if (match12 === null || match12.length < 2) {
18091
18091
  return -1;
18092
18092
  }
18093
- const version = parseInt(match9[1], 10);
18093
+ const version = parseInt(match12[1], 10);
18094
18094
  return version !== version ? -1 : version;
18095
18095
  };
18096
18096
  const getCanSendMaxMessageSize = function(remoteIsFirefox) {
@@ -18115,12 +18115,12 @@ function shimMaxMessageSize(window2, browserDetails) {
18115
18115
  if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
18116
18116
  maxMessageSize = 65535;
18117
18117
  }
18118
- const match9 = import_sdp.default.matchPrefix(
18118
+ const match12 = import_sdp.default.matchPrefix(
18119
18119
  description.sdp,
18120
18120
  "a=max-message-size:"
18121
18121
  );
18122
- if (match9.length > 0) {
18123
- maxMessageSize = parseInt(match9[0].substring(19), 10);
18122
+ if (match12.length > 0) {
18123
+ maxMessageSize = parseInt(match12[0].substring(19), 10);
18124
18124
  } else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
18125
18125
  maxMessageSize = 2147483637;
18126
18126
  }
@@ -18445,7 +18445,7 @@ import { v4 as so } from "uuid";
18445
18445
  import { v4 as co } from "uuid";
18446
18446
  import { EventEmitter2 as lo } from "eventemitter2";
18447
18447
  var Lt = __toESM(require_lib());
18448
- import { EventEmitter2 as Ro } from "eventemitter2";
18448
+ import { EventEmitter2 as Io } from "eventemitter2";
18449
18449
  import { v4 as Lo } from "uuid";
18450
18450
  import { EventEmitter2 as Do } from "eventemitter2";
18451
18451
  import wo from "eventemitter2";
@@ -18478,7 +18478,7 @@ var Yi = (a2, e) => {
18478
18478
  };
18479
18479
  var ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18480
18480
  var dr = ba((Xc, $a) => {
18481
- $a.exports = { version: "0.11.8-alpha.8", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
18481
+ $a.exports = { version: "0.12.0", 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"] };
18482
18482
  });
18483
18483
  var Xi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Xi || {});
18484
18484
  var Aa = ((e) => (e.CHAT = "chat", e))(Aa || {});
@@ -18490,7 +18490,7 @@ function He(a2, e) {
18490
18490
  if (e)
18491
18491
  for (let r of e.auxiliaryTracks) {
18492
18492
  let s = a2[r];
18493
- Ia(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18493
+ Ra(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18494
18494
  }
18495
18495
  return { video: t, audio: i };
18496
18496
  }
@@ -18500,7 +18500,7 @@ function tt(a2) {
18500
18500
  function it(a2) {
18501
18501
  return a2 && a2.type === "video";
18502
18502
  }
18503
- function Ia(a2) {
18503
+ function Ra(a2) {
18504
18504
  return a2 && a2.source === "screen";
18505
18505
  }
18506
18506
  function Gt(a2) {
@@ -18521,9 +18521,9 @@ function st(a2) {
18521
18521
  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 };
18522
18522
  }
18523
18523
  var V = (a2) => a2.room;
18524
- var Ra = (a2) => a2.errors;
18525
- var An = createSelector(Ra, (a2) => a2.length === 0 ? null : a2.at(-1));
18526
- var In = createSelector(V, (a2) => a2.id);
18524
+ var Ia = (a2) => a2.errors;
18525
+ var An = createSelector(Ia, (a2) => a2.length === 0 ? null : a2.at(-1));
18526
+ var Rn = createSelector(V, (a2) => a2.id);
18527
18527
  var G = (a2) => a2.peers;
18528
18528
  var $t = (a2) => a2.messages.byID;
18529
18529
  var Jr = (a2) => a2.messages.allIDs;
@@ -18963,7 +18963,7 @@ function lr(a2) {
18963
18963
  return a2.replace(/ /g, "_");
18964
18964
  }
18965
18965
  var ks = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
18966
- var R = class {
18966
+ var I = class {
18967
18967
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
18968
18968
  this.metadata = { peer: {}, userAgent: ot() };
18969
18969
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Wa(), this.device_id = vs();
@@ -18975,57 +18975,57 @@ var R = class {
18975
18975
  var y = class {
18976
18976
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
18977
18977
  let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(M(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
18978
- return new R({ name: o, level: n, properties: l });
18978
+ return new I({ name: o, level: n, properties: l });
18979
18979
  }
18980
18980
  static disconnect(e, t) {
18981
18981
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
18982
- return new R({ name: i, level: r, properties: s });
18982
+ return new I({ name: i, level: r, properties: s });
18983
18983
  }
18984
18984
  static preview(i) {
18985
18985
  var r = i, { error: e } = r, t = Yi(r, ["error"]);
18986
18986
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
18987
- return new R({ name: s, level: o, properties: n });
18987
+ return new I({ name: s, level: o, properties: n });
18988
18988
  }
18989
18989
  static join(i) {
18990
18990
  var r = i, { error: e } = r, t = Yi(r, ["error"]);
18991
18991
  let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
18992
- return new R({ name: s, level: o, properties: n });
18992
+ return new I({ name: s, level: o, properties: n });
18993
18993
  }
18994
18994
  static publish({ devices: e, settings: t, error: i }) {
18995
18995
  let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
18996
- return new R({ name: r, level: s, properties: o });
18996
+ return new I({ name: r, level: s, properties: o });
18997
18997
  }
18998
18998
  static hlsPlayerError(e) {
18999
- return new R({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
18999
+ return new I({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
19000
19000
  }
19001
19001
  static subscribeFail(e) {
19002
19002
  let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
19003
- return new R({ name: t, level: i, properties: r });
19003
+ return new I({ name: t, level: i, properties: r });
19004
19004
  }
19005
19005
  static leave() {
19006
- return new R({ name: "leave", level: 1 });
19006
+ return new I({ name: "leave", level: 1 });
19007
19007
  }
19008
19008
  static autoplayError() {
19009
- return new R({ name: "autoplayError", level: 2 });
19009
+ return new I({ name: "autoplayError", level: 2 });
19010
19010
  }
19011
19011
  static audioPlaybackError(e) {
19012
- return new R({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
19012
+ return new I({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
19013
19013
  }
19014
19014
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
19015
19015
  let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, l = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
19016
- return new R({ name: o, level: n, properties: l });
19016
+ return new I({ name: o, level: n, properties: l });
19017
19017
  }
19018
19018
  static performance(e) {
19019
19019
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
19020
- return new R({ name: t, level: i, properties: r });
19020
+ return new I({ name: t, level: i, properties: r });
19021
19021
  }
19022
19022
  static rtcStats(e) {
19023
19023
  let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
19024
- return new R({ name: t, level: i, properties: r });
19024
+ return new I({ name: t, level: i, properties: r });
19025
19025
  }
19026
19026
  static rtcStatsFailed(e) {
19027
19027
  let t = "rtc.stats.failed", i = 2;
19028
- return new R({ name: t, level: i, properties: this.getErrorProperties(e) });
19028
+ return new I({ name: t, level: i, properties: this.getErrorProperties(e) });
19029
19029
  }
19030
19030
  static degradationStats(e, t) {
19031
19031
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
@@ -19033,20 +19033,20 @@ var y = class {
19033
19033
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
19034
19034
  s = M(S({}, s), { duration: n, restoredAt: o });
19035
19035
  }
19036
- return new R({ name: i, level: r, properties: s });
19036
+ return new I({ name: i, level: r, properties: s });
19037
19037
  }
19038
19038
  static audioDetectionFail(e, t) {
19039
19039
  let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
19040
- return new R({ name: s, level: r, properties: i });
19040
+ return new I({ name: s, level: r, properties: i });
19041
19041
  }
19042
19042
  static previewNetworkQuality(e) {
19043
- return new R({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
19043
+ return new I({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
19044
19044
  }
19045
19045
  static publishStats(e) {
19046
- return new R({ name: "publisher.stats", level: 1, properties: e });
19046
+ return new I({ name: "publisher.stats", level: 1, properties: e });
19047
19047
  }
19048
19048
  static subscribeStats(e) {
19049
- return new R({ name: "subscriber.stats", level: 1, properties: e });
19049
+ return new I({ name: "subscriber.stats", level: 1, properties: e });
19050
19050
  }
19051
19051
  static eventNameFor(e, t) {
19052
19052
  return `${e}.${t ? "success" : "failed"}`;
@@ -19107,7 +19107,7 @@ function jt(a2, e = 300) {
19107
19107
  }, e);
19108
19108
  };
19109
19109
  }
19110
- var Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
19110
+ var Is = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Is || {});
19111
19111
  var Hs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Hs || {});
19112
19112
  var Cs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Cs || {});
19113
19113
  var mr = class {
@@ -19241,13 +19241,13 @@ var k = class {
19241
19241
  }
19242
19242
  };
19243
19243
  k.level = 0;
19244
- var Ir = (a2, e) => e;
19244
+ var Rr = (a2, e) => e;
19245
19245
  var Tt = (a2, e) => e;
19246
19246
  var qs = (a2, e) => e;
19247
19247
  var uo = (a2, e) => e;
19248
19248
  var po = (a2, e) => e;
19249
- var J = createSelector([G, Ir], (a2, e) => e ? a2[e] : null);
19250
- var Rr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
19249
+ var J = createSelector([G, Rr], (a2, e) => e ? a2[e] : null);
19250
+ var Ir = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
19251
19251
  var ho = createSelector([D, Tt], (a2, e) => {
19252
19252
  if (!e)
19253
19253
  return null;
@@ -19285,7 +19285,7 @@ function tm(a2) {
19285
19285
  };
19286
19286
  }
19287
19287
  var rm = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19288
- var ai = b(Rr);
19288
+ var ai = b(Ir);
19289
19289
  var js = b(ho);
19290
19290
  var sm = b(mo);
19291
19291
  var am = b(So);
@@ -19366,7 +19366,7 @@ var Mm = b((a2, e) => {
19366
19366
  return Ys(t == null ? void 0 : t.id)(a2);
19367
19367
  });
19368
19368
  var Xs = b((a2, e) => {
19369
- let t = Rr(a2, e);
19369
+ let t = Ir(a2, e);
19370
19370
  if (t) {
19371
19371
  if (t.type !== "audio") {
19372
19372
  k.w("Please pass audio track here");
@@ -19383,8 +19383,8 @@ var km = b((a2, e) => {
19383
19383
  let t = zs(e)(a2);
19384
19384
  return Xs(t == null ? void 0 : t.id)(a2);
19385
19385
  });
19386
- var Pm = b((a2, e) => {
19387
- let t = Rr(a2, e);
19386
+ var Em = b((a2, e) => {
19387
+ let t = Ir(a2, e);
19388
19388
  if (t) {
19389
19389
  if (t.type !== "video") {
19390
19390
  k.w("Please pass video track here");
@@ -19393,7 +19393,7 @@ var Pm = b((a2, e) => {
19393
19393
  return t.layer;
19394
19394
  }
19395
19395
  });
19396
- var Zs = createSelector([at, ue, Ir], (a2, e, t) => {
19396
+ var Zs = createSelector([at, ue, Rr], (a2, e, t) => {
19397
19397
  if (t)
19398
19398
  return a2.filter((i) => {
19399
19399
  var r;
@@ -19412,26 +19412,26 @@ var yo = createSelector(at, (a2) => a2.filter((e) => {
19412
19412
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
19413
19413
  }));
19414
19414
  var ko = createSelector([ea, qs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19415
- var Po = createSelector([Zs, Ir], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19416
- var Em = createSelector(yo, (a2) => a2.filter((e) => !e.read).length);
19415
+ var Eo = createSelector([Zs, Rr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19416
+ var Pm = createSelector(yo, (a2) => a2.filter((e) => !e.read).length);
19417
19417
  var bm = b(Zs);
19418
19418
  var Am = b(ea);
19419
- var Im = b(ko);
19420
- var Rm = b(Po);
19419
+ var Rm = b(ko);
19420
+ var Im = b(Eo);
19421
19421
  var ta = b(To);
19422
19422
  var Vm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
19423
19423
  var r;
19424
19424
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
19425
19425
  }));
19426
- var Eo = (a2) => a2.roleChangeRequests[0] || null;
19427
- var Bm = createSelector([Eo, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19426
+ var Po = (a2) => a2.roleChangeRequests[0] || null;
19427
+ var Bm = createSelector([Po, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19428
19428
  var Fm = createSelector([Wt], (a2) => st(a2));
19429
19429
  var Gm = createSelector([Zr], (a2) => st(a2));
19430
19430
  var Ao = createSelector([K, D], (a2, e) => {
19431
19431
  let t = null;
19432
19432
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19433
19433
  });
19434
- var Io = createSelector([Z, D], (a2, e) => {
19434
+ var Ro = createSelector([Z, D], (a2, e) => {
19435
19435
  let t = null;
19436
19436
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19437
19437
  });
@@ -19809,7 +19809,7 @@ var RecordingStatus = () => {
19809
19809
  };
19810
19810
  var RecordingPauseStatus = () => {
19811
19811
  const recording = useHMSStore25(selectRecordingState);
19812
- if (recording.hls && recording.hls.state === Rs.PAUSED) {
19812
+ if (recording.hls && recording.hls.state === Is.PAUSED) {
19813
19813
  return /* @__PURE__ */ React54.createElement(
19814
19814
  Tooltip,
19815
19815
  {
@@ -20409,7 +20409,7 @@ var MwebOptions = ({
20409
20409
  mx: "$4"
20410
20410
  }
20411
20411
  },
20412
- /* @__PURE__ */ React58.createElement(EmojiReaction, null)
20412
+ /* @__PURE__ */ React58.createElement(EmojiReaction, { showCard: true })
20413
20413
  ), showRecordingOn && /* @__PURE__ */ React58.createElement(
20414
20414
  StopRecordingInSheet,
20415
20415
  {
@@ -21175,12 +21175,13 @@ import { ChevronRightIcon } from "@100mslive/react-icons";
21175
21175
  // src/Prebuilt/components/Footer/RoleOptions.tsx
21176
21176
  init_define_process_env();
21177
21177
  import React72, { useState as useState31 } from "react";
21178
+ import { match as match5 } from "ts-pattern";
21178
21179
  import {
21179
21180
  selectPermissions as selectPermissions10,
21180
21181
  selectRoleByRoleName,
21182
+ selectTracksMap as selectTracksMap3,
21181
21183
  useHMSActions as useHMSActions23,
21182
- useHMSStore as useHMSStore35,
21183
- useHMSVanillaStore as useHMSVanillaStore8
21184
+ useHMSStore as useHMSStore35
21184
21185
  } from "@100mslive/react-sdk";
21185
21186
  import {
21186
21187
  MicOffIcon as MicOffIcon3,
@@ -21198,12 +21199,55 @@ var optionTextCSS = {
21198
21199
  textTransform: "none",
21199
21200
  whiteSpace: "nowrap"
21200
21201
  };
21201
- var MuteUnmuteOption = ({ roleName, peerList }) => {
21202
- const vanillaStore = useHMSVanillaStore8();
21203
- const store = vanillaStore.getState();
21204
- const hmsActions = useHMSActions23();
21202
+ var DropdownWrapper = ({ children }) => {
21203
+ const [openOptions, setOpenOptions] = useState31(false);
21204
+ if (React72.Children.toArray(children).length === 0) {
21205
+ return null;
21206
+ }
21207
+ return /* @__PURE__ */ React72.createElement(Dropdown.Root, { open: openOptions, onOpenChange: setOpenOptions }, /* @__PURE__ */ React72.createElement(
21208
+ Dropdown.Trigger,
21209
+ {
21210
+ "data-testid": "role_group_options",
21211
+ onClick: (e) => e.stopPropagation(),
21212
+ className: "role_actions",
21213
+ asChild: true,
21214
+ css: {
21215
+ p: "$1",
21216
+ r: "$0",
21217
+ c: "$on_surface_high",
21218
+ visibility: openOptions ? "visible" : "hidden",
21219
+ "&:hover": {
21220
+ c: "$on_surface_medium"
21221
+ },
21222
+ "@md": {
21223
+ visibility: "visible"
21224
+ }
21225
+ }
21226
+ },
21227
+ /* @__PURE__ */ React72.createElement(Flex, null, /* @__PURE__ */ React72.createElement(VerticalMenuIcon4, null))
21228
+ ), /* @__PURE__ */ React72.createElement(
21229
+ Dropdown.Content,
21230
+ {
21231
+ onClick: (e) => e.stopPropagation(),
21232
+ css: { w: "max-content", bg: "$surface_default", py: 0 },
21233
+ align: "end"
21234
+ },
21235
+ children
21236
+ ));
21237
+ };
21238
+ var RoleOptions = ({ roleName, peerList }) => {
21205
21239
  const permissions = useHMSStore35(selectPermissions10);
21240
+ const hmsActions = useHMSActions23();
21241
+ const { elements } = useRoomLayoutConferencingScreen();
21242
+ const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
21243
+ const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
21206
21244
  const role = useHMSStore35(selectRoleByRoleName(roleName));
21245
+ const tracks = useHMSStore35(selectTracksMap3);
21246
+ if (!role) {
21247
+ return null;
21248
+ }
21249
+ const canPublishAudio = role.publishParams.allowed.includes("audio");
21250
+ const canPublishVideo = role.publishParams.allowed.includes("video");
21207
21251
  let isVideoOnForSomePeers = false;
21208
21252
  let isAudioOnForSomePeers = false;
21209
21253
  peerList.forEach((peer) => {
@@ -21211,8 +21255,8 @@ var MuteUnmuteOption = ({ roleName, peerList }) => {
21211
21255
  if (peer.isLocal) {
21212
21256
  return;
21213
21257
  }
21214
- const isAudioOn = !!peer.audioTrack && ((_a8 = store.tracks[peer.audioTrack]) == null ? void 0 : _a8.enabled);
21215
- const isVideoOn = !!peer.videoTrack && ((_b7 = store.tracks[peer.videoTrack]) == null ? void 0 : _b7.enabled);
21258
+ const isAudioOn = !!peer.audioTrack && ((_a8 = tracks[peer.audioTrack]) == null ? void 0 : _a8.enabled);
21259
+ const isVideoOn = !!peer.videoTrack && ((_b7 = tracks[peer.videoTrack]) == null ? void 0 : _b7.enabled);
21216
21260
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
21217
21261
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
21218
21262
  });
@@ -21223,22 +21267,8 @@ var MuteUnmuteOption = ({ roleName, peerList }) => {
21223
21267
  console.error(e);
21224
21268
  }
21225
21269
  });
21226
- if (!role) {
21227
- return null;
21228
- }
21229
- return /* @__PURE__ */ React72.createElement(React72.Fragment, null, role.publishParams.allowed.includes("audio") && /* @__PURE__ */ React72.createElement(React72.Fragment, null, isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ React72.createElement(MicOffIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All")) : null, !isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ React72.createElement(MicOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Audio for All")) : null), role.publishParams.allowed.includes("video") && /* @__PURE__ */ React72.createElement(React72.Fragment, null, isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ React72.createElement(VideoOffIcon2, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All")) : null, !isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ React72.createElement(VideoOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Video for All")) : null));
21230
- };
21231
- var RoleOptions = ({ roleName, peerList }) => {
21232
- const [openOptions, setOpenOptions] = useState31(false);
21233
- const permissions = useHMSStore35(selectPermissions10);
21234
- const hmsActions = useHMSActions23();
21235
- const { elements } = useRoomLayoutConferencingScreen();
21236
- const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
21237
- const canMuteOrUnmute = (permissions == null ? void 0 : permissions.mute) || (permissions == null ? void 0 : permissions.unmute);
21238
- const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
21239
- const role = useHMSStore35(selectRoleByRoleName(roleName));
21240
21270
  const canRemoveRoleFromRoom = (permissions == null ? void 0 : permissions.removeOthers) && (on_stage_role === roleName || (off_stage_roles == null ? void 0 : off_stage_roles.includes(roleName)));
21241
- if (!(canMuteOrUnmute || canRemoveRoleFromStage || canRemoveRoleFromRoom) || peerList.length === 0 || // if only local peer is present no need to show any options
21271
+ if (peerList.length === 0 || // if only local peer is present no need to show any options
21242
21272
  peerList.length === 1 && peerList[0].isLocal || !role) {
21243
21273
  return null;
21244
21274
  }
@@ -21259,54 +21289,31 @@ var RoleOptions = ({ roleName, peerList }) => {
21259
21289
  console.error(e);
21260
21290
  }
21261
21291
  });
21262
- return /* @__PURE__ */ React72.createElement(Dropdown.Root, { open: openOptions, onOpenChange: setOpenOptions }, /* @__PURE__ */ React72.createElement(
21263
- Dropdown.Trigger,
21292
+ return /* @__PURE__ */ React72.createElement(DropdownWrapper, null, canRemoveRoleFromStage ? /* @__PURE__ */ React72.createElement(
21293
+ Dropdown.Item,
21264
21294
  {
21265
- "data-testid": "role_group_options",
21266
- onClick: (e) => e.stopPropagation(),
21267
- className: "role_actions",
21268
- asChild: true,
21269
- css: {
21270
- p: "$1",
21271
- r: "$0",
21272
- c: "$on_surface_high",
21273
- visibility: openOptions ? "visible" : "hidden",
21274
- "&:hover": {
21275
- c: "$on_surface_medium"
21276
- },
21277
- "@md": {
21278
- visibility: "visible"
21279
- }
21280
- }
21281
- },
21282
- /* @__PURE__ */ React72.createElement(Flex, null, /* @__PURE__ */ React72.createElement(VerticalMenuIcon4, null))
21283
- ), /* @__PURE__ */ React72.createElement(
21284
- Dropdown.Content,
21295
+ css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderBottom: "1px solid $border_bright" }),
21296
+ onClick: removeAllFromStage
21297
+ },
21298
+ /* @__PURE__ */ React72.createElement(PersonRectangleIcon2, null),
21299
+ /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Remove all from Stage")
21300
+ ) : null, match5({ canPublishAudio, isAudioOnForSomePeers, canMute: permissions == null ? void 0 : permissions.mute, canUnmute: permissions == null ? void 0 : permissions.unmute }).with({ canPublishAudio: true, isAudioOnForSomePeers: true, canMute: true }, () => {
21301
+ return /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ React72.createElement(MicOffIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All"));
21302
+ }).with({ canPublishAudio: true, isAudioOnForSomePeers: false, canUnmute: true }, () => {
21303
+ return /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ React72.createElement(MicOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Audio for All"));
21304
+ }).otherwise(() => null), match5({ canPublishVideo, isVideoOnForSomePeers, canMute: permissions == null ? void 0 : permissions.mute, canUnmute: permissions == null ? void 0 : permissions.unmute }).with({ canPublishVideo: true, isVideoOnForSomePeers: true, canMute: true }, () => {
21305
+ return /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ React72.createElement(VideoOffIcon2, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All"));
21306
+ }).with({ canPublishVideo: true, isVideoOnForSomePeers: false, canUnmute: true }, () => {
21307
+ return /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ React72.createElement(VideoOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Video for All"));
21308
+ }).otherwise(() => null), canRemoveRoleFromRoom ? /* @__PURE__ */ React72.createElement(
21309
+ Dropdown.Item,
21285
21310
  {
21286
- onClick: (e) => e.stopPropagation(),
21287
- css: { w: "max-content", bg: "$surface_default", py: 0 },
21288
- align: "end"
21311
+ css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderTop: "1px solid $border_bright", color: "$alert_error_default" }),
21312
+ onClick: removePeersFromRoom
21289
21313
  },
21290
- canRemoveRoleFromStage && /* @__PURE__ */ React72.createElement(
21291
- Dropdown.Item,
21292
- {
21293
- css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderBottom: "1px solid $border_bright" }),
21294
- onClick: removeAllFromStage
21295
- },
21296
- /* @__PURE__ */ React72.createElement(PersonRectangleIcon2, null),
21297
- /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Remove all from Stage")
21298
- ),
21299
- canMuteOrUnmute && /* @__PURE__ */ React72.createElement(MuteUnmuteOption, { peerList, roleName }),
21300
- canRemoveRoleFromRoom && /* @__PURE__ */ React72.createElement(
21301
- Dropdown.Item,
21302
- {
21303
- css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderTop: "1px solid $border_bright", color: "$alert_error_default" }),
21304
- onClick: removePeersFromRoom
21305
- },
21306
- /* @__PURE__ */ React72.createElement(RemoveUserIcon, null),
21307
- /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: __spreadProps(__spreadValues({}, optionTextCSS), { color: "inherit" }) }, "Remove all from Room")
21308
- )
21309
- ));
21314
+ /* @__PURE__ */ React72.createElement(RemoveUserIcon, null),
21315
+ /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: __spreadProps(__spreadValues({}, optionTextCSS), { color: "inherit" }) }, "Remove all from Room")
21316
+ ) : null);
21310
21317
  };
21311
21318
 
21312
21319
  // src/Prebuilt/components/Footer/RoleAccordion.tsx
@@ -21951,7 +21958,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
21951
21958
  init_define_process_env();
21952
21959
  import React127, { useEffect as useEffect33 } from "react";
21953
21960
  import { useMedia as useMedia22 } from "react-use";
21954
- import { match as match8 } from "ts-pattern";
21961
+ import { match as match9 } from "ts-pattern";
21955
21962
  import { selectAppData as selectAppData6, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore67 } from "@100mslive/react-sdk";
21956
21963
 
21957
21964
  // src/Prebuilt/components/Polls/Polls.tsx
@@ -22892,7 +22899,7 @@ var getFormattedTime = (milliseconds, precise = true) => {
22892
22899
  if (!precise && (hours || minutes)) {
22893
22900
  return formattedTime;
22894
22901
  }
22895
- formattedTime += `${minutes >= 1 ? Math.floor(seconds) : seconds.toFixed(3)}s`;
22902
+ formattedTime += `${precise ? seconds.toFixed(3) : Math.floor(seconds)}s`;
22896
22903
  return formattedTime;
22897
22904
  };
22898
22905
 
@@ -23125,7 +23132,7 @@ import React97 from "react";
23125
23132
  // src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
23126
23133
  init_define_process_env();
23127
23134
  import React96, { useCallback as useCallback21, useMemo as useMemo7, useRef as useRef17, useState as useState39 } from "react";
23128
- import { match as match5 } from "ts-pattern";
23135
+ import { match as match6 } from "ts-pattern";
23129
23136
  import { selectLocalPeer, selectLocalPeerRoleName as selectLocalPeerRoleName2, useHMSActions as useHMSActions29, useHMSStore as useHMSStore45 } from "@100mslive/react-sdk";
23130
23137
  import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon5, CrossCircleIcon } from "@100mslive/react-icons";
23131
23138
  var QuestionCard2 = ({
@@ -23202,7 +23209,7 @@ var QuestionCard2 = ({
23202
23209
  {
23203
23210
  variant: "caption",
23204
23211
  css: {
23205
- color: match5({ respondedToQuiz, isLive, isCorrectAnswer }).when(
23212
+ color: match6({ respondedToQuiz, isLive, isCorrectAnswer }).when(
23206
23213
  ({ respondedToQuiz: respondedToQuiz2, isLive: isLive2 }) => respondedToQuiz2 && !isLive2,
23207
23214
  ({ isCorrectAnswer: isCorrectAnswer2 }) => isCorrectAnswer2 ? "$alert_success" : "$alert_error_default"
23208
23215
  ).otherwise(() => "$on_surface_low"),
@@ -23212,7 +23219,7 @@ var QuestionCard2 = ({
23212
23219
  gap: "$4"
23213
23220
  }
23214
23221
  },
23215
- match5({ respondedToQuiz, pollEnded, isCorrectAnswer }).when(
23222
+ match6({ respondedToQuiz, pollEnded, isCorrectAnswer }).when(
23216
23223
  ({ respondedToQuiz: respondedToQuiz2, pollEnded: pollEnded2 }) => respondedToQuiz2 && pollEnded2,
23217
23224
  ({ isCorrectAnswer: isCorrectAnswer2 }) => {
23218
23225
  return isCorrectAnswer2 ? /* @__PURE__ */ React96.createElement(CheckCircleIcon5, { height: 16, width: 16 }) : /* @__PURE__ */ React96.createElement(CrossCircleIcon, { height: 16, width: 16 });
@@ -23572,7 +23579,7 @@ var ShowRoomDetailHeader = () => {
23572
23579
  init_define_process_env();
23573
23580
  import React119, { useEffect as useEffect31, useState as useState51 } from "react";
23574
23581
  import { useMedia as useMedia19 } from "react-use";
23575
- import { match as match7 } from "ts-pattern";
23582
+ import { match as match8 } from "ts-pattern";
23576
23583
  import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore61 } from "@100mslive/react-sdk";
23577
23584
  import { CrossIcon as CrossIcon19 } from "@100mslive/react-icons";
23578
23585
 
@@ -23580,8 +23587,8 @@ import { CrossIcon as CrossIcon19 } from "@100mslive/react-icons";
23580
23587
  init_define_process_env();
23581
23588
  import React116, { useCallback as useCallback29, useRef as useRef21 } from "react";
23582
23589
  import { useMedia as useMedia18 } from "react-use";
23583
- import { match as match6 } from "ts-pattern";
23584
- import { selectHMSMessagesCount, useHMSActions as useHMSActions38, useHMSStore as useHMSStore58, useHMSVanillaStore as useHMSVanillaStore11 } from "@100mslive/react-sdk";
23590
+ import { match as match7 } from "ts-pattern";
23591
+ import { selectHMSMessagesCount, useHMSActions as useHMSActions38, useHMSStore as useHMSStore58, useHMSVanillaStore as useHMSVanillaStore10 } from "@100mslive/react-sdk";
23585
23592
  import { ChevronDownIcon as ChevronDownIcon8 } from "@100mslive/react-icons";
23586
23593
 
23587
23594
  // src/Prebuilt/components/Chat/ChatBody.tsx
@@ -23600,7 +23607,7 @@ import {
23600
23607
  selectUnreadHMSMessagesCount as selectUnreadHMSMessagesCount2,
23601
23608
  useHMSActions as useHMSActions34,
23602
23609
  useHMSStore as useHMSStore52,
23603
- useHMSVanillaStore as useHMSVanillaStore10
23610
+ useHMSVanillaStore as useHMSVanillaStore9
23604
23611
  } from "@100mslive/react-sdk";
23605
23612
  import { SolidPinIcon } from "@100mslive/react-icons";
23606
23613
 
@@ -23660,11 +23667,11 @@ import {
23660
23667
  selectPeerNameByID as selectPeerNameByID2,
23661
23668
  selectSessionStore as selectSessionStore3,
23662
23669
  useHMSActions as useHMSActions32,
23663
- useHMSVanillaStore as useHMSVanillaStore9
23670
+ useHMSVanillaStore as useHMSVanillaStore8
23664
23671
  } from "@100mslive/react-sdk";
23665
23672
  var usePinnedMessages = () => {
23666
23673
  const hmsActions = useHMSActions32();
23667
- const vanillaStore = useHMSVanillaStore9();
23674
+ const vanillaStore = useHMSVanillaStore8();
23668
23675
  const setPinnedMessages = useCallback23(
23669
23676
  (message, pinnedBy) => __async(void 0, null, function* () {
23670
23677
  const peerName = vanillaStore.getState(selectPeerNameByID2(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
@@ -23926,7 +23933,10 @@ var EmptyChat = () => {
23926
23933
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
23927
23934
  const isMobile = useMedia12(config.media.md);
23928
23935
  const canSendMessages = elements.chat && (elements.chat.public_chat_enabled || elements.chat.private_chat_enabled || elements.chat.roles_whitelist && elements.chat.roles_whitelist.length) && !isLocalPeerBlacklisted;
23929
- if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay))
23936
+ const isMobileHLSStream = useMobileHLSStream();
23937
+ const isLandscapeStream = useLandscapeHLSStream();
23938
+ const streaming = isMobileHLSStream || isLandscapeStream;
23939
+ if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming)
23930
23940
  return /* @__PURE__ */ React107.createElement(React107.Fragment, null);
23931
23941
  return /* @__PURE__ */ React107.createElement(
23932
23942
  Flex,
@@ -23959,13 +23969,13 @@ var usePinnedBy = (messageId) => {
23959
23969
  const pinnedMessages = useHMSStore51(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
23960
23970
  const [pinnedBy, setPinnedBy] = useState44("");
23961
23971
  useEffect25(() => {
23962
- let match9 = "";
23972
+ let match12 = "";
23963
23973
  pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
23964
23974
  if (pinnedMessage.id === messageId) {
23965
- match9 = pinnedMessage.pinnedBy;
23975
+ match12 = pinnedMessage.pinnedBy;
23966
23976
  }
23967
23977
  });
23968
- setPinnedBy(match9);
23978
+ setPinnedBy(match12);
23969
23979
  }, [messageId, pinnedMessages]);
23970
23980
  return pinnedBy;
23971
23981
  };
@@ -24313,7 +24323,7 @@ var ChatBody = React108.forwardRef(
24313
24323
  const blacklistedMessageIDSet = new Set(blacklistedMessageIDs || []);
24314
24324
  return (messages == null ? void 0 : messages.filter((message) => message.type === "chat" && !blacklistedMessageIDSet.has(message.id))) || [];
24315
24325
  }, [blacklistedMessageIDs, messages]);
24316
- const vanillaStore = useHMSVanillaStore10();
24326
+ const vanillaStore = useHMSVanillaStore9();
24317
24327
  useEffect26(() => {
24318
24328
  const unsubscribe = vanillaStore.subscribe(() => {
24319
24329
  if (!listRef.current) {
@@ -24822,7 +24832,7 @@ var ChatFooter = ({ onSend, children }) => {
24822
24832
  if (isLocalPeerBlacklisted) {
24823
24833
  return null;
24824
24834
  }
24825
- return /* @__PURE__ */ React111.createElement(Box, { css: { position: "relative" } }, /* @__PURE__ */ React111.createElement(Flex, null, /* @__PURE__ */ React111.createElement(ChatSelectorContainer, null), canDisableChat && isMobile && isOverlayChat ? /* @__PURE__ */ React111.createElement(Flex, { align: "center", justify: "end", css: { mb: "$4" } }, /* @__PURE__ */ React111.createElement(Popover2.Root, null, /* @__PURE__ */ React111.createElement(Popover2.Trigger, { asChild: true }, /* @__PURE__ */ React111.createElement(IconButton, { css: { border: "1px solid $border_bright" } }, /* @__PURE__ */ React111.createElement(VerticalMenuIcon7, { height: "16", width: "16" }))), /* @__PURE__ */ React111.createElement(Popover2.Portal, null, /* @__PURE__ */ React111.createElement(
24835
+ return /* @__PURE__ */ React111.createElement(Box, { css: { position: "relative" } }, /* @__PURE__ */ React111.createElement(Flex, null, /* @__PURE__ */ React111.createElement(ChatSelectorContainer, null), canDisableChat && isMobile && isOverlayChat ? /* @__PURE__ */ React111.createElement(Flex, { align: "center", justify: "end", css: { mb: "$4" }, onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React111.createElement(Popover2.Root, null, /* @__PURE__ */ React111.createElement(Popover2.Trigger, { asChild: true }, /* @__PURE__ */ React111.createElement(IconButton, { css: { border: "1px solid $border_bright" } }, /* @__PURE__ */ React111.createElement(VerticalMenuIcon7, { height: "16", width: "16" }))), /* @__PURE__ */ React111.createElement(Popover2.Portal, null, /* @__PURE__ */ React111.createElement(
24826
24836
  Popover2.Content,
24827
24837
  {
24828
24838
  align: "end",
@@ -24933,7 +24943,7 @@ var ChatFooter = ({ onSend, children }) => {
24933
24943
  css: {
24934
24944
  alignItems: "center"
24935
24945
  },
24936
- gap: "1"
24946
+ gap: "2"
24937
24947
  },
24938
24948
  noAVPermissions ? /* @__PURE__ */ React111.createElement(RaiseHand, { css: { bg: "$surface_default" } }) : null,
24939
24949
  /* @__PURE__ */ React111.createElement(MoreSettings, { elements, screenType })
@@ -25175,7 +25185,7 @@ var Chat = () => {
25175
25185
  const { elements } = useRoomLayoutConferencingScreen();
25176
25186
  const listRef = useRef21(null);
25177
25187
  const hmsActions = useHMSActions38();
25178
- const vanillaStore = useHMSVanillaStore11();
25188
+ const vanillaStore = useHMSVanillaStore10();
25179
25189
  const { enabled: isChatEnabled = true } = useHMSStore58(tm("chatState" /* CHAT_STATE */)) || {};
25180
25190
  const isMobile = useMedia18(config.media.md);
25181
25191
  const isMobileHLSStream = useMobileHLSStream();
@@ -25195,6 +25205,10 @@ var Chat = () => {
25195
25205
  },
25196
25206
  [hmsActions, vanillaStore]
25197
25207
  );
25208
+ if (!(elements == null ? void 0 : elements.chat)) {
25209
+ return null;
25210
+ }
25211
+ const streaming = isMobileHLSStream || isLandscapeStream;
25198
25212
  return /* @__PURE__ */ React116.createElement(
25199
25213
  Flex,
25200
25214
  {
@@ -25205,18 +25219,18 @@ var Chat = () => {
25205
25219
  gap: "$4"
25206
25220
  }
25207
25221
  },
25208
- isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) ? null : /* @__PURE__ */ React116.createElement(PinnedMessage, null),
25222
+ isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming ? null : /* @__PURE__ */ React116.createElement(PinnedMessage, null),
25209
25223
  /* @__PURE__ */ React116.createElement(ChatBody, { ref: listRef, scrollToBottom }),
25210
25224
  /* @__PURE__ */ React116.createElement(ChatPaused, null),
25211
25225
  /* @__PURE__ */ React116.createElement(ChatBlocked, null),
25212
- isMobile && ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) ? /* @__PURE__ */ React116.createElement(PinnedMessage, null) : null,
25226
+ isMobile && ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && !streaming ? /* @__PURE__ */ React116.createElement(PinnedMessage, null) : null,
25213
25227
  isChatEnabled ? /* @__PURE__ */ React116.createElement(ChatFooter, { onSend: scrollToBottom }, /* @__PURE__ */ React116.createElement(NewMessageIndicator, { scrollToBottom, listRef })) : null,
25214
25228
  (isMobileHLSStream || isLandscapeStream) && /* @__PURE__ */ React116.createElement(
25215
25229
  Box,
25216
25230
  {
25217
25231
  css: __spreadValues({
25218
25232
  position: "absolute"
25219
- }, match6({ isLandscapeStream, isChatEnabled }).with(
25233
+ }, match7({ isLandscapeStream, isMobileHLSStream, isChatEnabled }).with(
25220
25234
  {
25221
25235
  isLandscapeStream: true,
25222
25236
  isChatEnabled: true
@@ -25228,12 +25242,24 @@ var Chat = () => {
25228
25242
  isChatEnabled: false
25229
25243
  },
25230
25244
  () => ({ bottom: "$20", right: "$10" })
25245
+ ).with(
25246
+ {
25247
+ isMobileHLSStream: true,
25248
+ isChatEnabled: false
25249
+ },
25250
+ () => ({ bottom: "$19", right: "$8" })
25251
+ ).with(
25252
+ {
25253
+ isMobileHLSStream: true,
25254
+ isChatEnabled: true
25255
+ },
25256
+ () => ({ bottom: "$17", right: "$8" })
25231
25257
  ).with(
25232
25258
  {
25233
25259
  isLandscapeStream: false,
25234
25260
  isChatEnabled: true
25235
25261
  },
25236
- () => ({ bottom: "$19", right: "$8" })
25262
+ () => ({ bottom: "$20", right: "$8" })
25237
25263
  ).otherwise(() => ({})))
25238
25264
  },
25239
25265
  /* @__PURE__ */ React116.createElement(EmojiReaction, null)
@@ -25441,7 +25467,7 @@ var tabTriggerCSS = {
25441
25467
  var ParticipantCount2 = ({ count }) => {
25442
25468
  return count < 1e3 ? /* @__PURE__ */ React119.createElement("span", null, "(", count, ")") : /* @__PURE__ */ React119.createElement(Tooltip, { title: count }, /* @__PURE__ */ React119.createElement("span", null, "(", getFormattedCount(count), ")"));
25443
25469
  };
25444
- var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControls, hideTab = false }) => {
25470
+ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = false }) => {
25445
25471
  var _a8, _b7;
25446
25472
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
25447
25473
  const toggleParticipants = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
@@ -25460,7 +25486,7 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25460
25486
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
25461
25487
  const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
25462
25488
  useEffect31(() => {
25463
- match7({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
25489
+ match8({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
25464
25490
  setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
25465
25491
  }).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
25466
25492
  setActiveTab(SIDE_PANE_OPTIONS.CHAT);
@@ -25479,7 +25505,6 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25479
25505
  css: {
25480
25506
  color: "$on_primary_high",
25481
25507
  h: "100%",
25482
- marginTop: hideControls && isOverlayChat ? "$17" : "0",
25483
25508
  transition: "margin 0.3s ease-in-out",
25484
25509
  position: "relative"
25485
25510
  }
@@ -25494,11 +25519,10 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25494
25519
  css: {
25495
25520
  color: "$on_primary_high",
25496
25521
  h: "100%",
25497
- marginTop: hideControls && isOverlayChat ? "$17" : "0",
25498
25522
  transition: "margin 0.3s ease-in-out"
25499
25523
  }
25500
25524
  },
25501
- match7({ isOverlayChat, isChatOpen, showChat, hideTabs }).with({ isOverlayChat: true, isChatOpen: true, showChat: true }, () => /* @__PURE__ */ React119.createElement(Chat, null)).with({ hideTabs: true }, () => {
25525
+ match8({ isOverlayChat, isChatOpen, showChat, hideTabs }).with({ isOverlayChat: true, isChatOpen: true, showChat: true }, () => /* @__PURE__ */ React119.createElement(Chat, null)).with({ hideTabs: true }, () => {
25502
25526
  return /* @__PURE__ */ React119.createElement(React119.Fragment, null, /* @__PURE__ */ React119.createElement(Flex, { justify: "between", css: { w: "100%", "&:empty": { display: "none" } } }, /* @__PURE__ */ React119.createElement(
25503
25527
  Text,
25504
25528
  {
@@ -26488,16 +26512,13 @@ var Wrapper3 = styled("div", {
26488
26512
  },
26489
26513
  "@md": {
26490
26514
  p: "$6 $8",
26491
- pb: "$12",
26492
- borderTopLeftRadius: 0,
26493
- borderTopRightRadius: 0,
26494
26515
  animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
26495
26516
  },
26496
26517
  variants: {
26497
26518
  landscapeStream: {
26498
26519
  true: {
26499
26520
  "@lg": {
26500
- position: "unset !important",
26521
+ position: "unset",
26501
26522
  minHeight: "100%"
26502
26523
  }
26503
26524
  }
@@ -26511,13 +26532,22 @@ var Wrapper3 = styled("div", {
26511
26532
  },
26512
26533
  overlayChat: {
26513
26534
  true: {
26514
- height: "unset",
26515
- maxHeight: 300,
26516
- background: "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)",
26517
- "@md": {
26518
- pb: "$20"
26535
+ "@lg": {
26536
+ maxHeight: "300px",
26537
+ background: "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)",
26538
+ position: "fixed",
26539
+ zIndex: 12,
26540
+ bottom: 0
26519
26541
  }
26520
26542
  }
26543
+ },
26544
+ roomDescription: {
26545
+ true: {
26546
+ overflowY: "auto"
26547
+ }
26548
+ },
26549
+ hideControls: {
26550
+ true: {}
26521
26551
  }
26522
26552
  },
26523
26553
  compoundVariants: [
@@ -26527,7 +26557,10 @@ var Wrapper3 = styled("div", {
26527
26557
  css: {
26528
26558
  position: "unset",
26529
26559
  height: "100%",
26530
- maxHeight: "unset"
26560
+ maxHeight: "unset",
26561
+ "@md": {
26562
+ pb: 0
26563
+ }
26531
26564
  }
26532
26565
  },
26533
26566
  {
@@ -26538,6 +26571,13 @@ var Wrapper3 = styled("div", {
26538
26571
  height: "100%",
26539
26572
  maxHeight: "unset"
26540
26573
  }
26574
+ },
26575
+ {
26576
+ hideControls: false,
26577
+ overlayChat: true,
26578
+ css: {
26579
+ pb: "$17"
26580
+ }
26541
26581
  }
26542
26582
  ]
26543
26583
  });
@@ -26545,7 +26585,7 @@ var SidePane = ({
26545
26585
  tileProps,
26546
26586
  hideControls = false
26547
26587
  }) => {
26548
- var _a8, _b7, _c, _d, _e, _f;
26588
+ var _a8, _b7, _c, _d, _e, _f, _g;
26549
26589
  const isMobile = useMedia22(config.media.md);
26550
26590
  const sidepane = useHMSStore67(selectAppData6(APP_DATA.sidePane));
26551
26591
  const activeScreensharePeerId = useHMSStore67(selectAppData6(APP_DATA.activeScreensharePeerId));
@@ -26572,22 +26612,43 @@ var SidePane = ({
26572
26612
  const mwebStreamingChat = isMobile && sidepane === SIDE_PANE_OPTIONS.CHAT && ((_f = elements == null ? void 0 : elements.chat) == null ? void 0 : _f.is_overlay);
26573
26613
  const commonProps = {
26574
26614
  landscapeStream: isLandscapeHLSStream,
26575
- mobileStream: isMobileHLSStream
26615
+ mobileStream: isMobileHLSStream,
26616
+ hideControls,
26617
+ overlayChat: !!((_g = elements == null ? void 0 : elements.chat) == null ? void 0 : _g.is_overlay),
26618
+ roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS
26576
26619
  };
26620
+ const SidepaneComponent = match9(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React127.createElement(
26621
+ Wrapper3,
26622
+ __spreadValues({
26623
+ css: {
26624
+ "@md": {
26625
+ borderTopLeftRadius: "$2",
26626
+ borderTopRightRadius: "$2"
26627
+ }
26628
+ }
26629
+ }, commonProps),
26630
+ /* @__PURE__ */ React127.createElement(Polls, null)
26631
+ )).with(SIDE_PANE_OPTIONS.VB, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadValues({ css: { p: "$10 $6 $10 $10" } }, commonProps), /* @__PURE__ */ React127.createElement(VBPicker, { backgroundMedia }))).with(SIDE_PANE_OPTIONS.CHAT, SIDE_PANE_OPTIONS.PARTICIPANTS, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadProps(__spreadValues({}, commonProps), { overlayChat: mwebStreamingChat }), /* @__PURE__ */ React127.createElement(SidePaneTabs, { active: sidepane, hideTab: isMobileHLSStream || isLandscapeHLSStream }))).with(SIDE_PANE_OPTIONS.ROOM_DETAILS, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadValues({}, commonProps), /* @__PURE__ */ React127.createElement(RoomDetailsPane, null))).otherwise(() => {
26632
+ return null;
26633
+ });
26634
+ if (!trackId && !SidepaneComponent) {
26635
+ return null;
26636
+ }
26577
26637
  return /* @__PURE__ */ React127.createElement(
26578
26638
  Flex,
26579
26639
  {
26580
26640
  direction: "column",
26581
26641
  justify: "center",
26582
26642
  css: {
26583
- w: "$100",
26643
+ w: match9({ isMobileHLSStream, isLandscapeHLSStream }).with({ isLandscapeHLSStream: true }, () => "340px").with({ isMobileHLSStream: true }, () => "100%").otherwise(() => "$100"),
26584
26644
  h: "100%",
26585
26645
  flexShrink: 0,
26586
26646
  gap: "$4",
26587
26647
  position: "relative",
26588
26648
  "&:empty": { display: "none" },
26589
- "@ls": {
26590
- w: isMobileHLSStream || isLandscapeHLSStream ? "340px" : "$100"
26649
+ "@md": {
26650
+ position: "absolute",
26651
+ zIndex: 12
26591
26652
  }
26592
26653
  }
26593
26654
  },
@@ -26601,27 +26662,7 @@ var SidePane = ({
26601
26662
  rootCSS: { p: 0, alignSelf: "start", flexShrink: 0 }
26602
26663
  }, tileLayout)
26603
26664
  ),
26604
- match8(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React127.createElement(
26605
- Wrapper3,
26606
- __spreadValues({
26607
- css: {
26608
- "@md": {
26609
- borderTopLeftRadius: "$2",
26610
- borderTopRightRadius: "$2"
26611
- }
26612
- }
26613
- }, commonProps),
26614
- /* @__PURE__ */ React127.createElement(Polls, null)
26615
- )).with(SIDE_PANE_OPTIONS.VB, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadValues({ css: { p: "$10 $6 $10 $10" } }, commonProps), /* @__PURE__ */ React127.createElement(VBPicker, { backgroundMedia }))).with(SIDE_PANE_OPTIONS.CHAT, SIDE_PANE_OPTIONS.PARTICIPANTS, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadProps(__spreadValues({}, commonProps), { overlayChat: mwebStreamingChat }), /* @__PURE__ */ React127.createElement(
26616
- SidePaneTabs,
26617
- {
26618
- hideControls,
26619
- active: sidepane,
26620
- hideTab: isMobileHLSStream || isLandscapeHLSStream
26621
- }
26622
- ))).with(SIDE_PANE_OPTIONS.ROOM_DETAILS, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadValues({}, commonProps), /* @__PURE__ */ React127.createElement(RoomDetailsPane, null))).otherwise(() => {
26623
- return null;
26624
- })
26665
+ SidepaneComponent
26625
26666
  );
26626
26667
  };
26627
26668
  var SidePane_default = SidePane;
@@ -27016,6 +27057,7 @@ var RoleChangeRequestModal = () => {
27016
27057
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
27017
27058
  init_define_process_env();
27018
27059
  import React151, { Suspense, useEffect as useEffect48 } from "react";
27060
+ import { match as match10 } from "ts-pattern";
27019
27061
  import {
27020
27062
  selectIsConnectedToRoom as selectIsConnectedToRoom9,
27021
27063
  selectLocalPeerRoleName as selectLocalPeerRoleName6,
@@ -27034,7 +27076,7 @@ import {
27034
27076
  selectPeers as selectPeers3,
27035
27077
  selectPeerScreenSharing,
27036
27078
  useHMSStore as useHMSStore76,
27037
- useHMSVanillaStore as useHMSVanillaStore13
27079
+ useHMSVanillaStore as useHMSVanillaStore12
27038
27080
  } from "@100mslive/react-sdk";
27039
27081
 
27040
27082
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
@@ -27255,13 +27297,13 @@ import { useEffect as useEffect38, useMemo as useMemo12, useState as useState56
27255
27297
  import { useMeasure as useMeasure5, useMedia as useMedia27 } from "react-use";
27256
27298
  import {
27257
27299
  getPeersWithTiles,
27258
- selectTracksMap as selectTracksMap3,
27259
- useHMSVanillaStore as useHMSVanillaStore12
27300
+ selectTracksMap as selectTracksMap4,
27301
+ useHMSVanillaStore as useHMSVanillaStore11
27260
27302
  } from "@100mslive/react-sdk";
27261
27303
  var aspectRatioConfig = { default: [1 / 1, 4 / 3, 16 / 9], mobile: [1 / 1, 3 / 4, 9 / 16] };
27262
27304
  var usePagesWithTiles = ({ peers, maxTileCount }) => {
27263
- const vanillaStore = useHMSVanillaStore12();
27264
- const tracksMap = vanillaStore.getState(selectTracksMap3);
27305
+ const vanillaStore = useHMSVanillaStore11();
27306
+ const tracksMap = vanillaStore.getState(selectTracksMap4);
27265
27307
  const peersWithTiles = useMemo12(
27266
27308
  () => getPeersWithTiles(peers, tracksMap, () => false),
27267
27309
  [peers, tracksMap]
@@ -27286,7 +27328,7 @@ var useTileLayout = ({
27286
27328
  maxTileCount,
27287
27329
  edgeToEdge = false
27288
27330
  }) => {
27289
- const vanillaStore = useHMSVanillaStore12();
27331
+ const vanillaStore = useHMSVanillaStore11();
27290
27332
  const [ref, { width, height }] = useMeasure5();
27291
27333
  const isMobile = useMedia27(config.media.lg);
27292
27334
  const [pagesWithTiles, setPagesWithTiles] = useState56([]);
@@ -28068,7 +28110,7 @@ var GridLayout = ({
28068
28110
  }
28069
28111
  return peers;
28070
28112
  }, [isInsetEnabled, activeScreensharePeerId, localPeerRole, localPeerID, prominentRoles, peers, pinnedTrack]);
28071
- const vanillaStore = useHMSVanillaStore13();
28113
+ const vanillaStore = useHMSVanillaStore12();
28072
28114
  const [sortedPeers, setSortedPeers] = useState63(updatedPeers);
28073
28115
  const peersSorter = useMemo16(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
28074
28116
  const [pageSize, setPageSize] = useState63(0);
@@ -28381,7 +28423,7 @@ var useCloseScreenshareWhiteboard = () => {
28381
28423
  };
28382
28424
 
28383
28425
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28384
- var HLSView = React151.lazy(() => import("./HLSView-6KPQ2KD6.js"));
28426
+ var HLSView = React151.lazy(() => import("./HLSView-LZOTIUWE.js"));
28385
28427
  var VideoStreamingSection = ({
28386
28428
  screenType,
28387
28429
  elements,
@@ -28438,14 +28480,15 @@ var VideoStreamingSection = ({
28438
28480
  position: "relative",
28439
28481
  gap: isMobileHLSStream || isLandscapeHLSStream ? "0" : "$4"
28440
28482
  },
28441
- direction: isMobileHLSStream ? "column" : "row"
28483
+ direction: match10({ isLandscapeHLSStream, isMobileHLSStream }).with({ isLandscapeHLSStream: true }, () => "row").with({ isMobileHLSStream: true }, () => "column").otherwise(() => "row")
28442
28484
  },
28443
28485
  ViewComponent,
28444
28486
  /* @__PURE__ */ React151.createElement(
28445
28487
  Box,
28446
28488
  {
28447
28489
  css: {
28448
- flex: isMobileHLSStream ? "1 1 0" : void 0,
28490
+ flex: match10({ isLandscapeHLSStream, isMobileHLSStream }).with({ isLandscapeHLSStream: true }, () => "1 1 0").with({ isMobileHLSStream: true }, () => "2 1 0").otherwise(() => void 0),
28491
+ position: "relative",
28449
28492
  height: !isMobileHLSStream ? "100%" : void 0,
28450
28493
  maxHeight: "100%",
28451
28494
  "&:empty": { display: "none" },
@@ -28682,9 +28725,9 @@ var Header2 = () => {
28682
28725
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
28683
28726
  init_define_process_env();
28684
28727
  import { useEffect as useEffect49 } from "react";
28685
- import { selectLocalPeerRoleName as selectLocalPeerRoleName7, useHMSVanillaStore as useHMSVanillaStore14 } from "@100mslive/react-sdk";
28728
+ import { selectLocalPeerRoleName as selectLocalPeerRoleName7, useHMSVanillaStore as useHMSVanillaStore13 } from "@100mslive/react-sdk";
28686
28729
  var PreviousRoleInMetadata = () => {
28687
- const vanillaStore = useHMSVanillaStore14();
28730
+ const vanillaStore = useHMSVanillaStore13();
28688
28731
  const { updateMetaData } = useMyMetadata();
28689
28732
  useEffect49(() => {
28690
28733
  let previousRole = vanillaStore.getState(selectLocalPeerRoleName7);
@@ -28835,13 +28878,25 @@ var ConferenceScreen = () => {
28835
28878
  css: {
28836
28879
  alignItems: "center",
28837
28880
  pr: "$4",
28838
- pb: "$4"
28881
+ pb: "$4",
28882
+ position: "relative"
28839
28883
  },
28840
28884
  justify: "end",
28841
- gap: "1"
28885
+ gap: "2"
28842
28886
  },
28843
28887
  noAVPermissions ? /* @__PURE__ */ React155.createElement(RaiseHand, null) : null,
28844
- /* @__PURE__ */ React155.createElement(MoreSettings, { elements: screenProps.elements, screenType: screenProps.screenType })
28888
+ /* @__PURE__ */ React155.createElement(MoreSettings, { elements: screenProps.elements, screenType: screenProps.screenType }),
28889
+ /* @__PURE__ */ React155.createElement(
28890
+ Box,
28891
+ {
28892
+ css: {
28893
+ position: "absolute",
28894
+ bottom: "100%",
28895
+ mb: "$4"
28896
+ }
28897
+ },
28898
+ /* @__PURE__ */ React155.createElement(EmojiReaction, null)
28899
+ )
28845
28900
  ), /* @__PURE__ */ React155.createElement(RoleChangeRequestModal, null), /* @__PURE__ */ React155.createElement(HLSFailureModal, null), /* @__PURE__ */ React155.createElement(ActivatedPIP, null), /* @__PURE__ */ React155.createElement(PreviousRoleInMetadata, null)));
28846
28901
  };
28847
28902
 
@@ -28995,7 +29050,7 @@ import {
28995
29050
  selectIsLocalAudioEnabled as selectIsLocalAudioEnabled2,
28996
29051
  selectIsLocalVideoEnabled as selectIsLocalVideoEnabled8,
28997
29052
  useHMSActions as useHMSActions47,
28998
- useHMSVanillaStore as useHMSVanillaStore15
29053
+ useHMSVanillaStore as useHMSVanillaStore14
28999
29054
  } from "@100mslive/react-sdk";
29000
29055
  var isEvenListenersAttached = false;
29001
29056
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
@@ -29082,7 +29137,7 @@ _keyDownHandler = new WeakMap();
29082
29137
  _bind = new WeakMap();
29083
29138
  _unbind = new WeakMap();
29084
29139
  var KeyboardHandler = () => {
29085
- const store = useHMSVanillaStore15();
29140
+ const store = useHMSVanillaStore14();
29086
29141
  const actions = useHMSActions47();
29087
29142
  useEffect53(() => {
29088
29143
  const keyboardManager = new KeyboardInputManager(store, actions);
@@ -29212,6 +29267,7 @@ var LeaveScreen = () => {
29212
29267
  init_define_process_env();
29213
29268
  import React160, { useEffect as useEffect55, useState as useState65 } from "react";
29214
29269
  import { useMedia as useMedia36 } from "react-use";
29270
+ import { match as match11, P as P3 } from "ts-pattern";
29215
29271
  import { RefreshIcon } from "@100mslive/react-icons";
29216
29272
  var MwebLandscapePrompt = () => {
29217
29273
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState65(false);
@@ -29224,20 +29280,22 @@ var MwebLandscapePrompt = () => {
29224
29280
  return;
29225
29281
  }
29226
29282
  if (!((_a8 = window.screen) == null ? void 0 : _a8.orientation)) {
29227
- setShowMwebLandscapePrompt(isLandscape);
29283
+ setShowMwebLandscapePrompt(isLandscape && !isLandscapeHLSStream);
29228
29284
  return;
29229
29285
  }
29230
29286
  const handleRotation = () => {
29231
29287
  const angle = window.screen.orientation.angle;
29232
29288
  const type = window.screen.orientation.type || "";
29233
- setShowMwebLandscapePrompt(angle ? angle >= 90 && type.includes("landscape") : isLandscape);
29289
+ setShowMwebLandscapePrompt(
29290
+ match11({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream }, () => false).with({ angle: P3.when((angle2) => angle2 && angle2 >= 90) }, ({ type: type2 }) => type2.includes("landscape")).otherwise(() => isLandscape)
29291
+ );
29234
29292
  };
29235
29293
  handleRotation();
29236
29294
  window.screen.orientation.addEventListener("change", handleRotation);
29237
29295
  return () => {
29238
29296
  window.screen.orientation.removeEventListener("change", handleRotation);
29239
29297
  };
29240
- }, [isLandscape]);
29298
+ }, [isLandscape, isLandscapeHLSStream]);
29241
29299
  if (isLandscapeHLSStream) {
29242
29300
  return null;
29243
29301
  }
@@ -29272,7 +29330,7 @@ import {
29272
29330
  useCustomEvent as useCustomEvent4,
29273
29331
  useHMSNotifications as useHMSNotifications10,
29274
29332
  useHMSStore as useHMSStore88,
29275
- useHMSVanillaStore as useHMSVanillaStore17
29333
+ useHMSVanillaStore as useHMSVanillaStore16
29276
29334
  } from "@100mslive/react-sdk";
29277
29335
  import { GroupIcon as GroupIcon2 } from "@100mslive/react-icons";
29278
29336
 
@@ -29347,7 +29405,7 @@ import {
29347
29405
  selectRoomState as selectRoomState9,
29348
29406
  useHMSNotifications as useHMSNotifications2,
29349
29407
  useHMSStore as useHMSStore87,
29350
- useHMSVanillaStore as useHMSVanillaStore16
29408
+ useHMSVanillaStore as useHMSVanillaStore15
29351
29409
  } from "@100mslive/react-sdk";
29352
29410
 
29353
29411
  // src/Prebuilt/components/Toast/ToastBatcher.js
@@ -29608,7 +29666,7 @@ ToastManager.addListener(ToastBatcher.syncUItoast.bind(ToastBatcher));
29608
29666
  var HandRaisedNotifications = () => {
29609
29667
  const notification = useHMSNotifications2(HMSNotificationTypes2.HAND_RAISE_CHANGED);
29610
29668
  const roomState = useHMSStore87(selectRoomState9);
29611
- const vanillaStore = useHMSVanillaStore16();
29669
+ const vanillaStore = useHMSVanillaStore15();
29612
29670
  const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
29613
29671
  const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
29614
29672
  useEffect57(() => {
@@ -29967,7 +30025,7 @@ function Notifications() {
29967
30025
  const updateRoomLayoutForRole = useUpdateRoomLayout();
29968
30026
  const isNotificationDisabled = useIsNotificationDisabled();
29969
30027
  const screenProps = useRoomLayoutConferencingScreen();
29970
- const vanillaStore = useHMSVanillaStore17();
30028
+ const vanillaStore = useHMSVanillaStore16();
29971
30029
  const togglePollView = usePollViewToggle();
29972
30030
  const { showNotification } = useAwayNotifications2();
29973
30031
  const amIScreenSharing = useHMSStore88(selectIsLocalScreenShared2);
@@ -30214,7 +30272,7 @@ import {
30214
30272
  selectPeerNameByID as selectPeerNameByID6,
30215
30273
  useCustomEvent as useCustomEvent5,
30216
30274
  useHMSStore as useHMSStore91,
30217
- useHMSVanillaStore as useHMSVanillaStore18
30275
+ useHMSVanillaStore as useHMSVanillaStore17
30218
30276
  } from "@100mslive/react-sdk";
30219
30277
  var emojiCount = 1;
30220
30278
  var flyAndFade = keyframes({
@@ -30241,7 +30299,7 @@ var getStartingPoints = (isMobile) => {
30241
30299
  };
30242
30300
  function FlyingEmoji() {
30243
30301
  const localPeerId = useHMSStore91(selectLocalPeerID17);
30244
- const vanillaStore = useHMSVanillaStore18();
30302
+ const vanillaStore = useHMSVanillaStore17();
30245
30303
  const [emojis, setEmojis] = useState72([]);
30246
30304
  const isMobile = useMedia38(config.media.md);
30247
30305
  const startingPoints = useMemo19(() => getStartingPoints(isMobile), [isMobile]);
@@ -30644,6 +30702,8 @@ export {
30644
30702
  EMOJI_REACTION_TYPE,
30645
30703
  APP_DATA,
30646
30704
  SIDE_PANE_OPTIONS,
30705
+ POLL_STATE,
30706
+ POLL_VIEWS,
30647
30707
  theme,
30648
30708
  createThemeBase,
30649
30709
  styled,
@@ -30708,7 +30768,6 @@ export {
30708
30768
  useRoomLayoutHeader,
30709
30769
  useIsSidepaneTypeOpen,
30710
30770
  useSidepaneToggle,
30711
- usePollViewToggle,
30712
30771
  IconButton_default,
30713
30772
  Sheet,
30714
30773
  ToastManager,
@@ -30735,4 +30794,4 @@ lodash/lodash.js:
30735
30794
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
30736
30795
  *)
30737
30796
  */
30738
- //# sourceMappingURL=chunk-JQCSGJIR.js.map
30797
+ //# sourceMappingURL=chunk-LCECN6XD.js.map