@100mslive/roomkit-react 0.2.8-alpha.9 → 0.3.1-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/{HLSView-TOMPA4E4.js → HLSView-VXHATNNQ.js} +141 -86
  2. package/dist/HLSView-VXHATNNQ.js.map +7 -0
  3. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  4. package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +4 -1
  5. package/dist/Prebuilt/components/HMSVideo/index.d.ts +4 -1
  6. package/dist/Prebuilt/components/SidePaneTabs.d.ts +0 -1
  7. package/dist/Prebuilt/layouts/SidePane.d.ts +1 -1
  8. package/dist/{chunk-FUDX3LDB.js → chunk-RRXRF2KB.js} +207 -151
  9. package/dist/chunk-RRXRF2KB.js.map +7 -0
  10. package/dist/index.cjs.js +365 -255
  11. package/dist/index.cjs.js.map +3 -3
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +88 -63
  14. package/dist/meta.esbuild.json +100 -74
  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/Chat/PinnedMessage.tsx +4 -3
  20. package/src/Prebuilt/components/ConferenceScreen.tsx +13 -1
  21. package/src/Prebuilt/components/EmojiReaction.jsx +2 -2
  22. package/src/Prebuilt/components/Footer/RoleOptions.tsx +4 -4
  23. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +13 -10
  24. package/src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx +6 -4
  25. package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +36 -23
  26. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -1
  27. package/src/Prebuilt/components/MwebLandscapePrompt.tsx +9 -3
  28. package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx +1 -1
  29. package/src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx +1 -1
  30. package/src/Prebuilt/components/Polls/common/OptionInputWithDelete.tsx +1 -1
  31. package/src/Prebuilt/components/SidePaneTabs.tsx +1 -4
  32. package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +1 -0
  33. package/src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx +2 -0
  34. package/src/Prebuilt/layouts/HLSView.jsx +291 -245
  35. package/src/Prebuilt/layouts/SidePane.tsx +74 -49
  36. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +10 -2
  37. package/dist/HLSView-TOMPA4E4.js.map +0 -7
  38. package/dist/chunk-FUDX3LDB.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_cf01f7b0-2724-4e4f-b298-ff7feccfe357", 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.9", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_cf01f7b0-2724-4e4f-b298-ff7feccfe357", 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.9", 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: "591", 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:19780", 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.9", 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: "8109554901", 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: "2a735b6edf0b63927744abb555b47ab9be6e5891", 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: "7312e8d1b6dc1c3c88807c4efcd1e1b66331c074df1f1b56194f927df7add041", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1709286943827-0.6891216397962161:/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--1709286943630-0.9971913087997049:/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--1709286921685-0.8303138139294286:/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--1709286921507-0.5830472582556345:/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_105a33c3-e668-4c3a-9613-d5a1981afa4e", INVOCATION_ID: "546f5e1c56564beaa3ea908eafaed9c6", 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: "459", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 59", 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.9", 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.9", 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: "2a735b6edf0b63927744abb555b47ab9be6e5891", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_cf01f7b0-2724-4e4f-b298-ff7feccfe357", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_cf01f7b0-2724-4e4f-b298-ff7feccfe357", 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_cf01f7b0-2724-4e4f-b298-ff7feccfe357" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ab520a32-0e8c-4e94-98ef-931221080404", 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.1-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ab520a32-0e8c-4e94-98ef-931221080404", 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.1-alpha.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: "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:19125", 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.1-alpha.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: "8168860242", 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: "995fe879991b8b955f2ad917e8650a1abbbd5399", 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: "2da673bb0b4e42178f6ce38f45fd554cd1a02c4b721d041831f9452124b949e4", 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--1709712827692-0.9984712008035668:/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--1709712827492-0.6077623487786448:/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--1709712804731-0.716204009032984:/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--1709712804551-0.5033325400363009:/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_7d27d35c-9c72-4513-95c3-4fd6be94b999", INVOCATION_ID: "5c7935390e7149a9b8fbf42c73fa3bf5", 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: "467", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 335", 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.10.1-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.1-alpha.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: "995fe879991b8b955f2ad917e8650a1abbbd5399", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ab520a32-0e8c-4e94-98ef-931221080404", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ab520a32-0e8c-4e94-98ef-931221080404", 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_ab520a32-0e8c-4e94-98ef-931221080404" };
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 match10 = source.match(reWrapDetails);
2932
- return match10 ? match10[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(match10, number, quote, subString) {
3201
- result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match10);
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(match10, 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 + match10.length;
4782
- return match10;
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 match10, 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 (match10 = separator.exec(substring)) {
4876
- var newEnd = match10.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, match10;
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
- match10 = 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, match10);
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]] = match10 ? q2[1].call(this, match10, q2[2]) : undefined2;
5653
+ this[q2[0]] = match12 ? q2[1].call(this, match12, q2[2]) : undefined2;
5654
5654
  } else {
5655
- this[q2[0]] = match10 ? match10.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]] = match10 ? q2[3].call(this, match10.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] = match10 ? match10 : 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(match10, location, names, rawName) {
8639
+ var attachProperties = function(match12, location, names, rawName) {
8640
8640
  if (rawName && !names) {
8641
- location[rawName] = toIntIfInt(match10[1]);
8641
+ location[rawName] = toIntIfInt(match12[1]);
8642
8642
  } else {
8643
8643
  for (var i = 0; i < names.length; i += 1) {
8644
- if (match10[i + 1] != null) {
8645
- location[names[i]] = toIntIfInt(match10[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 match10 = uastring.match(expr);
16360
- return match10 && match10.length >= pos && parseInt(match10[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((match10) => d2.label.toLowerCase().includes(match10)));
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 match10 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
18090
- if (match10 === null || match10.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(match10[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 match10 = 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 (match10.length > 0) {
18123
- maxMessageSize = parseInt(match10[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.9", 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.1-alpha.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
  {
@@ -21204,9 +21204,6 @@ var DropdownWrapper = ({ children }) => {
21204
21204
  if (React72.Children.toArray(children).length === 0) {
21205
21205
  return null;
21206
21206
  }
21207
- React72.Children.map(children, (child) => {
21208
- console.log({ child });
21209
- });
21210
21207
  return /* @__PURE__ */ React72.createElement(Dropdown.Root, { open: openOptions, onOpenChange: setOpenOptions }, /* @__PURE__ */ React72.createElement(
21211
21208
  Dropdown.Trigger,
21212
21209
  {
@@ -21245,9 +21242,12 @@ var RoleOptions = ({ roleName, peerList }) => {
21245
21242
  const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
21246
21243
  const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
21247
21244
  const role = useHMSStore35(selectRoleByRoleName(roleName));
21245
+ const tracks = useHMSStore35(selectTracksMap3);
21246
+ if (!role) {
21247
+ return null;
21248
+ }
21248
21249
  const canPublishAudio = role.publishParams.allowed.includes("audio");
21249
21250
  const canPublishVideo = role.publishParams.allowed.includes("video");
21250
- const tracks = useHMSStore35(selectTracksMap3);
21251
21251
  let isVideoOnForSomePeers = false;
21252
21252
  let isAudioOnForSomePeers = false;
21253
21253
  peerList.forEach((peer) => {
@@ -22174,7 +22174,7 @@ var AddMenu = () => {
22174
22174
  type: "text",
22175
22175
  placeholder: "Enter a name to continue",
22176
22176
  value: title,
22177
- onChange: (event) => setTitle(event.target.value),
22177
+ onChange: (event) => setTitle(event.target.value.trimStart()),
22178
22178
  css: {
22179
22179
  backgroundColor: "$surface_bright",
22180
22180
  border: "1px solid $border_default"
@@ -22347,7 +22347,7 @@ var OptionInputWithDelete = ({
22347
22347
  },
22348
22348
  value: (option == null ? void 0 : option.text) || "",
22349
22349
  key: index,
22350
- onChange: (event) => handleOptionTextChange(index, event.target.value)
22350
+ onChange: (event) => handleOptionTextChange(index, event.target.value.trimStart())
22351
22351
  }
22352
22352
  ), /* @__PURE__ */ React84.createElement(IconButton_default, { onClick: () => removeOption(index), css: { bg: "transparent", border: "none" } }, /* @__PURE__ */ React84.createElement(TrashIcon2, null)));
22353
22353
  };
@@ -22646,7 +22646,7 @@ var QuestionForm = ({
22646
22646
  maxHeight: "$32"
22647
22647
  },
22648
22648
  value: text,
22649
- onChange: (event) => setText(event.target.value)
22649
+ onChange: (event) => setText(event.target.value.trimStart())
22650
22650
  }
22651
22651
  ), /* @__PURE__ */ React89.createElement(Text, { variant: "xs", css: { color: "$on_surface_medium", textAlign: "end", mt: "$4" } }, (text == null ? void 0 : text.length) || 0, "/1024"), /* @__PURE__ */ React89.createElement(Line, null), type === "single-choice" /* SINGLE_CHOICE */ || type === "multiple-choice" /* MULTIPLE_CHOICE */ ? /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(Text, { variant: "body2", css: { mb: "$6", c: "$on_surface_medium" } }, "Options"), isQuiz && /* @__PURE__ */ React89.createElement(Text, { variant: "xs", css: { c: "$on_surface_medium", mb: "$md" } }, type === "single-choice" /* SINGLE_CHOICE */ ? "Use the radio buttons to indicate the correct answer" : "Use the checkboxes to indicate the correct answer(s)"), type === "single-choice" /* SINGLE_CHOICE */ && /* @__PURE__ */ React89.createElement(
22652
22652
  SingleChoiceOptionInputs,
@@ -23933,7 +23933,10 @@ var EmptyChat = () => {
23933
23933
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
23934
23934
  const isMobile = useMedia12(config.media.md);
23935
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;
23936
- 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)
23937
23940
  return /* @__PURE__ */ React107.createElement(React107.Fragment, null);
23938
23941
  return /* @__PURE__ */ React107.createElement(
23939
23942
  Flex,
@@ -23966,13 +23969,13 @@ var usePinnedBy = (messageId) => {
23966
23969
  const pinnedMessages = useHMSStore51(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
23967
23970
  const [pinnedBy, setPinnedBy] = useState44("");
23968
23971
  useEffect25(() => {
23969
- let match10 = "";
23972
+ let match12 = "";
23970
23973
  pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
23971
23974
  if (pinnedMessage.id === messageId) {
23972
- match10 = pinnedMessage.pinnedBy;
23975
+ match12 = pinnedMessage.pinnedBy;
23973
23976
  }
23974
23977
  });
23975
- setPinnedBy(match10);
23978
+ setPinnedBy(match12);
23976
23979
  }, [messageId, pinnedMessages]);
23977
23980
  return pinnedBy;
23978
23981
  };
@@ -24829,7 +24832,7 @@ var ChatFooter = ({ onSend, children }) => {
24829
24832
  if (isLocalPeerBlacklisted) {
24830
24833
  return null;
24831
24834
  }
24832
- 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(
24833
24836
  Popover2.Content,
24834
24837
  {
24835
24838
  align: "end",
@@ -24940,7 +24943,7 @@ var ChatFooter = ({ onSend, children }) => {
24940
24943
  css: {
24941
24944
  alignItems: "center"
24942
24945
  },
24943
- gap: "1"
24946
+ gap: "2"
24944
24947
  },
24945
24948
  noAVPermissions ? /* @__PURE__ */ React111.createElement(RaiseHand, { css: { bg: "$surface_default" } }) : null,
24946
24949
  /* @__PURE__ */ React111.createElement(MoreSettings, { elements, screenType })
@@ -25064,7 +25067,7 @@ var StickIndicator = ({ total, index }) => {
25064
25067
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
25065
25068
  var PINNED_MESSAGE_LENGTH = 75;
25066
25069
  var PinnedMessage = () => {
25067
- var _a8, _b7, _c;
25070
+ var _a8, _b7, _c, _d;
25068
25071
  const pinnedMessages = useHMSStore57(selectSessionStore7("pinnedMessages" /* PINNED_MESSAGES */));
25069
25072
  const [pinnedMessageIndex, setPinnedMessageIndex] = useState49(0);
25070
25073
  const { removePinnedMessage } = usePinnedMessages();
@@ -25110,13 +25113,14 @@ var PinnedMessage = () => {
25110
25113
  {
25111
25114
  css: {
25112
25115
  p: "$4",
25113
- color: "$on_surface_medium",
25114
- bg: isMobile ? "rgba(0, 0, 0, 0.64)" : "$surface_default",
25116
+ color: "$on_surface_high",
25117
+ bg: isMobile && ((_c = elements == null ? void 0 : elements.chat) == null ? void 0 : _c.is_overlay) ? "rgba(0, 0, 0, 0.64)" : "$surface_brighter",
25115
25118
  r: "$1",
25116
25119
  gap: "$4",
25117
25120
  mb: "$8",
25118
25121
  mt: "$8",
25119
- flexGrow: 1
25122
+ flexGrow: 1,
25123
+ border: "1px solid $border_bright"
25120
25124
  },
25121
25125
  align: "center",
25122
25126
  justify: "between"
@@ -25140,9 +25144,9 @@ var PinnedMessage = () => {
25140
25144
  Text,
25141
25145
  __spreadProps(__spreadValues({
25142
25146
  variant: "sm",
25143
- css: { color: "$on_surface_medium" }
25147
+ css: { color: "$on_surface_high" }
25144
25148
  }, swipeHandlers), {
25145
- title: (_c = pinnedMessages[pinnedMessageIndex]) == null ? void 0 : _c.text
25149
+ title: (_d = pinnedMessages[pinnedMessageIndex]) == null ? void 0 : _d.text
25146
25150
  }),
25147
25151
  /* @__PURE__ */ React115.createElement(
25148
25152
  AnnotisedMessage,
@@ -25202,6 +25206,10 @@ var Chat = () => {
25202
25206
  },
25203
25207
  [hmsActions, vanillaStore]
25204
25208
  );
25209
+ if (!(elements == null ? void 0 : elements.chat)) {
25210
+ return null;
25211
+ }
25212
+ const streaming = isMobileHLSStream || isLandscapeStream;
25205
25213
  return /* @__PURE__ */ React116.createElement(
25206
25214
  Flex,
25207
25215
  {
@@ -25212,18 +25220,18 @@ var Chat = () => {
25212
25220
  gap: "$4"
25213
25221
  }
25214
25222
  },
25215
- isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) ? null : /* @__PURE__ */ React116.createElement(PinnedMessage, null),
25223
+ isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming ? null : /* @__PURE__ */ React116.createElement(PinnedMessage, null),
25216
25224
  /* @__PURE__ */ React116.createElement(ChatBody, { ref: listRef, scrollToBottom }),
25217
25225
  /* @__PURE__ */ React116.createElement(ChatPaused, null),
25218
25226
  /* @__PURE__ */ React116.createElement(ChatBlocked, null),
25219
- isMobile && ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) ? /* @__PURE__ */ React116.createElement(PinnedMessage, null) : null,
25227
+ isMobile && ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && !streaming ? /* @__PURE__ */ React116.createElement(PinnedMessage, null) : null,
25220
25228
  isChatEnabled ? /* @__PURE__ */ React116.createElement(ChatFooter, { onSend: scrollToBottom }, /* @__PURE__ */ React116.createElement(NewMessageIndicator, { scrollToBottom, listRef })) : null,
25221
25229
  (isMobileHLSStream || isLandscapeStream) && /* @__PURE__ */ React116.createElement(
25222
25230
  Box,
25223
25231
  {
25224
25232
  css: __spreadValues({
25225
25233
  position: "absolute"
25226
- }, match7({ isLandscapeStream, isChatEnabled }).with(
25234
+ }, match7({ isLandscapeStream, isMobileHLSStream, isChatEnabled }).with(
25227
25235
  {
25228
25236
  isLandscapeStream: true,
25229
25237
  isChatEnabled: true
@@ -25235,12 +25243,24 @@ var Chat = () => {
25235
25243
  isChatEnabled: false
25236
25244
  },
25237
25245
  () => ({ bottom: "$20", right: "$10" })
25246
+ ).with(
25247
+ {
25248
+ isMobileHLSStream: true,
25249
+ isChatEnabled: false
25250
+ },
25251
+ () => ({ bottom: "$19", right: "$8" })
25252
+ ).with(
25253
+ {
25254
+ isMobileHLSStream: true,
25255
+ isChatEnabled: true
25256
+ },
25257
+ () => ({ bottom: "$17", right: "$8" })
25238
25258
  ).with(
25239
25259
  {
25240
25260
  isLandscapeStream: false,
25241
25261
  isChatEnabled: true
25242
25262
  },
25243
- () => ({ bottom: "$19", right: "$8" })
25263
+ () => ({ bottom: "$20", right: "$8" })
25244
25264
  ).otherwise(() => ({})))
25245
25265
  },
25246
25266
  /* @__PURE__ */ React116.createElement(EmojiReaction, null)
@@ -25448,7 +25468,7 @@ var tabTriggerCSS = {
25448
25468
  var ParticipantCount2 = ({ count }) => {
25449
25469
  return count < 1e3 ? /* @__PURE__ */ React119.createElement("span", null, "(", count, ")") : /* @__PURE__ */ React119.createElement(Tooltip, { title: count }, /* @__PURE__ */ React119.createElement("span", null, "(", getFormattedCount(count), ")"));
25450
25470
  };
25451
- var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControls, hideTab = false }) => {
25471
+ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = false }) => {
25452
25472
  var _a8, _b7;
25453
25473
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
25454
25474
  const toggleParticipants = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
@@ -25486,7 +25506,6 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25486
25506
  css: {
25487
25507
  color: "$on_primary_high",
25488
25508
  h: "100%",
25489
- marginTop: hideControls && isOverlayChat ? "$17" : "0",
25490
25509
  transition: "margin 0.3s ease-in-out",
25491
25510
  position: "relative"
25492
25511
  }
@@ -25501,7 +25520,6 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25501
25520
  css: {
25502
25521
  color: "$on_primary_high",
25503
25522
  h: "100%",
25504
- marginTop: hideControls && isOverlayChat ? "$17" : "0",
25505
25523
  transition: "margin 0.3s ease-in-out"
25506
25524
  }
25507
25525
  },
@@ -26495,16 +26513,13 @@ var Wrapper3 = styled("div", {
26495
26513
  },
26496
26514
  "@md": {
26497
26515
  p: "$6 $8",
26498
- pb: "$12",
26499
- borderTopLeftRadius: 0,
26500
- borderTopRightRadius: 0,
26501
26516
  animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
26502
26517
  },
26503
26518
  variants: {
26504
26519
  landscapeStream: {
26505
26520
  true: {
26506
26521
  "@lg": {
26507
- position: "unset !important",
26522
+ position: "unset",
26508
26523
  minHeight: "100%"
26509
26524
  }
26510
26525
  }
@@ -26518,13 +26533,22 @@ var Wrapper3 = styled("div", {
26518
26533
  },
26519
26534
  overlayChat: {
26520
26535
  true: {
26521
- height: "unset",
26522
- maxHeight: 300,
26523
- background: "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)",
26524
- "@md": {
26525
- pb: "$20"
26536
+ "@lg": {
26537
+ maxHeight: "300px",
26538
+ background: "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)",
26539
+ position: "fixed",
26540
+ zIndex: 12,
26541
+ bottom: 0
26526
26542
  }
26527
26543
  }
26544
+ },
26545
+ roomDescription: {
26546
+ true: {
26547
+ overflowY: "auto"
26548
+ }
26549
+ },
26550
+ hideControls: {
26551
+ true: {}
26528
26552
  }
26529
26553
  },
26530
26554
  compoundVariants: [
@@ -26534,7 +26558,10 @@ var Wrapper3 = styled("div", {
26534
26558
  css: {
26535
26559
  position: "unset",
26536
26560
  height: "100%",
26537
- maxHeight: "unset"
26561
+ maxHeight: "unset",
26562
+ "@md": {
26563
+ pb: 0
26564
+ }
26538
26565
  }
26539
26566
  },
26540
26567
  {
@@ -26545,6 +26572,13 @@ var Wrapper3 = styled("div", {
26545
26572
  height: "100%",
26546
26573
  maxHeight: "unset"
26547
26574
  }
26575
+ },
26576
+ {
26577
+ hideControls: false,
26578
+ overlayChat: true,
26579
+ css: {
26580
+ pb: "$17"
26581
+ }
26548
26582
  }
26549
26583
  ]
26550
26584
  });
@@ -26552,7 +26586,7 @@ var SidePane = ({
26552
26586
  tileProps,
26553
26587
  hideControls = false
26554
26588
  }) => {
26555
- var _a8, _b7, _c, _d, _e, _f;
26589
+ var _a8, _b7, _c, _d, _e, _f, _g;
26556
26590
  const isMobile = useMedia22(config.media.md);
26557
26591
  const sidepane = useHMSStore67(selectAppData6(APP_DATA.sidePane));
26558
26592
  const activeScreensharePeerId = useHMSStore67(selectAppData6(APP_DATA.activeScreensharePeerId));
@@ -26579,22 +26613,44 @@ var SidePane = ({
26579
26613
  const mwebStreamingChat = isMobile && sidepane === SIDE_PANE_OPTIONS.CHAT && ((_f = elements == null ? void 0 : elements.chat) == null ? void 0 : _f.is_overlay);
26580
26614
  const commonProps = {
26581
26615
  landscapeStream: isLandscapeHLSStream,
26582
- mobileStream: isMobileHLSStream
26616
+ mobileStream: isMobileHLSStream,
26617
+ hideControls,
26618
+ overlayChat: !!((_g = elements == null ? void 0 : elements.chat) == null ? void 0 : _g.is_overlay),
26619
+ roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS
26583
26620
  };
26621
+ const SidepaneComponent = match9(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React127.createElement(
26622
+ Wrapper3,
26623
+ __spreadValues({
26624
+ css: {
26625
+ "@md": {
26626
+ borderTopLeftRadius: "$2",
26627
+ borderTopRightRadius: "$2"
26628
+ }
26629
+ }
26630
+ }, commonProps),
26631
+ /* @__PURE__ */ React127.createElement(Polls, null)
26632
+ )).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(() => {
26633
+ return null;
26634
+ });
26635
+ if (!trackId && !SidepaneComponent) {
26636
+ console.log("sidepane not rendered", { trackId, SidepaneComponent });
26637
+ return null;
26638
+ }
26584
26639
  return /* @__PURE__ */ React127.createElement(
26585
26640
  Flex,
26586
26641
  {
26587
26642
  direction: "column",
26588
26643
  justify: "center",
26589
26644
  css: {
26590
- w: "$100",
26645
+ w: match9({ isMobileHLSStream, isLandscapeHLSStream }).with({ isLandscapeHLSStream: true }, () => "340px").with({ isMobileHLSStream: true }, () => "100%").otherwise(() => "$100"),
26591
26646
  h: "100%",
26592
26647
  flexShrink: 0,
26593
26648
  gap: "$4",
26594
26649
  position: "relative",
26595
26650
  "&:empty": { display: "none" },
26596
- "@ls": {
26597
- w: isMobileHLSStream || isLandscapeHLSStream ? "340px" : "$100"
26651
+ "@md": {
26652
+ position: "absolute",
26653
+ zIndex: 12
26598
26654
  }
26599
26655
  }
26600
26656
  },
@@ -26608,27 +26664,7 @@ var SidePane = ({
26608
26664
  rootCSS: { p: 0, alignSelf: "start", flexShrink: 0 }
26609
26665
  }, tileLayout)
26610
26666
  ),
26611
- match9(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React127.createElement(
26612
- Wrapper3,
26613
- __spreadValues({
26614
- css: {
26615
- "@md": {
26616
- borderTopLeftRadius: "$2",
26617
- borderTopRightRadius: "$2"
26618
- }
26619
- }
26620
- }, commonProps),
26621
- /* @__PURE__ */ React127.createElement(Polls, null)
26622
- )).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(
26623
- SidePaneTabs,
26624
- {
26625
- hideControls,
26626
- active: sidepane,
26627
- hideTab: isMobileHLSStream || isLandscapeHLSStream
26628
- }
26629
- ))).with(SIDE_PANE_OPTIONS.ROOM_DETAILS, () => /* @__PURE__ */ React127.createElement(Wrapper3, __spreadValues({}, commonProps), /* @__PURE__ */ React127.createElement(RoomDetailsPane, null))).otherwise(() => {
26630
- return null;
26631
- })
26667
+ SidepaneComponent
26632
26668
  );
26633
26669
  };
26634
26670
  var SidePane_default = SidePane;
@@ -27023,6 +27059,7 @@ var RoleChangeRequestModal = () => {
27023
27059
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
27024
27060
  init_define_process_env();
27025
27061
  import React151, { Suspense, useEffect as useEffect48 } from "react";
27062
+ import { match as match10 } from "ts-pattern";
27026
27063
  import {
27027
27064
  selectIsConnectedToRoom as selectIsConnectedToRoom9,
27028
27065
  selectLocalPeerRoleName as selectLocalPeerRoleName6,
@@ -27446,6 +27483,7 @@ var SecondarySection = ({
27446
27483
  hasSidebar
27447
27484
  }) => {
27448
27485
  const tileLayoutProps = useVideoTileContext();
27486
+ console.log("secondary section", { tilesLength: tiles == null ? void 0 : tiles.length });
27449
27487
  if (!(tiles == null ? void 0 : tiles.length)) {
27450
27488
  return null;
27451
27489
  }
@@ -27933,6 +27971,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
27933
27971
  setActiveScreenSharePeer("");
27934
27972
  };
27935
27973
  }, [activeSharePeer == null ? void 0 : activeSharePeer.id, isMobile, setActiveScreenSharePeer]);
27974
+ console.log({ activeSharePeer, secondaryPeers });
27936
27975
  return /* @__PURE__ */ React145.createElement(ProminenceLayout.Root, { edgeToEdge, hasSidebar }, /* @__PURE__ */ React145.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React145.createElement(ScreenshareTile_default, { peerId: (_a8 = peersSharing[page]) == null ? void 0 : _a8.id }), !edgeToEdge && /* @__PURE__ */ React145.createElement(Pagination, { page, onPageChange: setPage, numPages: peersSharing.length })), /* @__PURE__ */ React145.createElement(
27937
27976
  SecondaryTiles,
27938
27977
  {
@@ -28388,7 +28427,7 @@ var useCloseScreenshareWhiteboard = () => {
28388
28427
  };
28389
28428
 
28390
28429
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28391
- var HLSView = React151.lazy(() => import("./HLSView-TOMPA4E4.js"));
28430
+ var HLSView = React151.lazy(() => import("./HLSView-VXHATNNQ.js"));
28392
28431
  var VideoStreamingSection = ({
28393
28432
  screenType,
28394
28433
  elements,
@@ -28445,14 +28484,15 @@ var VideoStreamingSection = ({
28445
28484
  position: "relative",
28446
28485
  gap: isMobileHLSStream || isLandscapeHLSStream ? "0" : "$4"
28447
28486
  },
28448
- direction: isMobileHLSStream ? "column" : "row"
28487
+ direction: match10({ isLandscapeHLSStream, isMobileHLSStream }).with({ isLandscapeHLSStream: true }, () => "row").with({ isMobileHLSStream: true }, () => "column").otherwise(() => "row")
28449
28488
  },
28450
28489
  ViewComponent,
28451
28490
  /* @__PURE__ */ React151.createElement(
28452
28491
  Box,
28453
28492
  {
28454
28493
  css: {
28455
- flex: isMobileHLSStream ? "1 1 0" : void 0,
28494
+ flex: match10({ isLandscapeHLSStream, isMobileHLSStream }).with({ isLandscapeHLSStream: true }, () => "1 1 0").with({ isMobileHLSStream: true }, () => "2 1 0").otherwise(() => void 0),
28495
+ position: "relative",
28456
28496
  height: !isMobileHLSStream ? "100%" : void 0,
28457
28497
  maxHeight: "100%",
28458
28498
  "&:empty": { display: "none" },
@@ -28842,13 +28882,25 @@ var ConferenceScreen = () => {
28842
28882
  css: {
28843
28883
  alignItems: "center",
28844
28884
  pr: "$4",
28845
- pb: "$4"
28885
+ pb: "$4",
28886
+ position: "relative"
28846
28887
  },
28847
28888
  justify: "end",
28848
- gap: "1"
28889
+ gap: "2"
28849
28890
  },
28850
28891
  noAVPermissions ? /* @__PURE__ */ React155.createElement(RaiseHand, null) : null,
28851
- /* @__PURE__ */ React155.createElement(MoreSettings, { elements: screenProps.elements, screenType: screenProps.screenType })
28892
+ /* @__PURE__ */ React155.createElement(MoreSettings, { elements: screenProps.elements, screenType: screenProps.screenType }),
28893
+ /* @__PURE__ */ React155.createElement(
28894
+ Box,
28895
+ {
28896
+ css: {
28897
+ position: "absolute",
28898
+ bottom: "100%",
28899
+ mb: "$4"
28900
+ }
28901
+ },
28902
+ /* @__PURE__ */ React155.createElement(EmojiReaction, null)
28903
+ )
28852
28904
  ), /* @__PURE__ */ React155.createElement(RoleChangeRequestModal, null), /* @__PURE__ */ React155.createElement(HLSFailureModal, null), /* @__PURE__ */ React155.createElement(ActivatedPIP, null), /* @__PURE__ */ React155.createElement(PreviousRoleInMetadata, null)));
28853
28905
  };
28854
28906
 
@@ -29219,6 +29271,7 @@ var LeaveScreen = () => {
29219
29271
  init_define_process_env();
29220
29272
  import React160, { useEffect as useEffect55, useState as useState65 } from "react";
29221
29273
  import { useMedia as useMedia36 } from "react-use";
29274
+ import { match as match11, P as P3 } from "ts-pattern";
29222
29275
  import { RefreshIcon } from "@100mslive/react-icons";
29223
29276
  var MwebLandscapePrompt = () => {
29224
29277
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState65(false);
@@ -29231,20 +29284,22 @@ var MwebLandscapePrompt = () => {
29231
29284
  return;
29232
29285
  }
29233
29286
  if (!((_a8 = window.screen) == null ? void 0 : _a8.orientation)) {
29234
- setShowMwebLandscapePrompt(isLandscape);
29287
+ setShowMwebLandscapePrompt(isLandscape && !isLandscapeHLSStream);
29235
29288
  return;
29236
29289
  }
29237
29290
  const handleRotation = () => {
29238
29291
  const angle = window.screen.orientation.angle;
29239
29292
  const type = window.screen.orientation.type || "";
29240
- setShowMwebLandscapePrompt(angle ? angle >= 90 && type.includes("landscape") : isLandscape);
29293
+ setShowMwebLandscapePrompt(
29294
+ match11({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream }, () => false).with({ angle: P3.when((angle2) => angle2 && angle2 >= 90) }, ({ type: type2 }) => type2.includes("landscape")).otherwise(() => isLandscape)
29295
+ );
29241
29296
  };
29242
29297
  handleRotation();
29243
29298
  window.screen.orientation.addEventListener("change", handleRotation);
29244
29299
  return () => {
29245
29300
  window.screen.orientation.removeEventListener("change", handleRotation);
29246
29301
  };
29247
- }, [isLandscape]);
29302
+ }, [isLandscape, isLandscapeHLSStream]);
29248
29303
  if (isLandscapeHLSStream) {
29249
29304
  return null;
29250
29305
  }
@@ -30651,6 +30706,8 @@ export {
30651
30706
  EMOJI_REACTION_TYPE,
30652
30707
  APP_DATA,
30653
30708
  SIDE_PANE_OPTIONS,
30709
+ POLL_STATE,
30710
+ POLL_VIEWS,
30654
30711
  theme,
30655
30712
  createThemeBase,
30656
30713
  styled,
@@ -30715,7 +30772,6 @@ export {
30715
30772
  useRoomLayoutHeader,
30716
30773
  useIsSidepaneTypeOpen,
30717
30774
  useSidepaneToggle,
30718
- usePollViewToggle,
30719
30775
  IconButton_default,
30720
30776
  Sheet,
30721
30777
  ToastManager,
@@ -30742,4 +30798,4 @@ lodash/lodash.js:
30742
30798
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
30743
30799
  *)
30744
30800
  */
30745
- //# sourceMappingURL=chunk-FUDX3LDB.js.map
30801
+ //# sourceMappingURL=chunk-RRXRF2KB.js.map