@100mslive/roomkit-react 0.2.8-alpha.4 → 0.2.8-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HLSView-UIPDGADR.js → HLSView-53PDKIS2.js} +239 -144
- package/dist/HLSView-53PDKIS2.js.map +7 -0
- package/dist/Prebuilt/components/Chat/MwebChatOption.d.ts +1 -1
- package/dist/Prebuilt/components/HMSVideo/PlayPauseButton.d.ts +6 -0
- package/dist/Prebuilt/components/HMSVideo/SeekControls.d.ts +7 -0
- package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +3 -1
- package/dist/Prebuilt/components/HMSVideo/index.d.ts +10 -2
- package/dist/Prebuilt/layouts/SidePane.d.ts +1 -1
- package/dist/{chunk-J4NOQ2YL.js → chunk-2ZFAT7KY.js} +339 -218
- package/dist/chunk-2ZFAT7KY.js.map +7 -0
- package/dist/index.cjs.js +932 -708
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +217 -78
- package/dist/meta.esbuild.json +227 -87
- package/package.json +7 -6
- package/src/Prebuilt/components/AppData/useSidepane.js +17 -2
- package/src/Prebuilt/components/AuthToken.jsx +1 -1
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +1 -1
- package/src/Prebuilt/components/Chat/MwebChatOption.tsx +1 -1
- package/src/Prebuilt/components/ConferenceScreen.tsx +11 -14
- package/src/Prebuilt/components/Footer/RoleOptions.tsx +32 -15
- package/src/Prebuilt/components/HMSVideo/HLSAutoplayBlockedPrompt.tsx +31 -1
- package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +7 -1
- package/src/Prebuilt/components/HMSVideo/PlayPauseButton.tsx +27 -0
- package/src/Prebuilt/components/HMSVideo/SeekControls.tsx +22 -0
- package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +4 -3
- package/src/Prebuilt/components/HMSVideo/VolumeControl.tsx +1 -1
- package/src/Prebuilt/components/HMSVideo/index.ts +4 -2
- package/src/Prebuilt/components/Header/StreamActions.tsx +1 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +37 -31
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +5 -5
- package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +2 -2
- package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +1 -1
- package/src/Prebuilt/components/Polls/Voting/QuestionCard.jsx +19 -8
- package/src/Prebuilt/components/SidePaneTabs.tsx +27 -35
- package/src/Prebuilt/components/StatsForNerds.jsx +14 -6
- package/src/Prebuilt/components/Streaming/Common.jsx +1 -1
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +2 -2
- package/src/Prebuilt/components/Toast/ToastBatcher.js +8 -1
- package/src/Prebuilt/components/Toast/ToastConfig.jsx +17 -0
- package/src/Prebuilt/layouts/HLSView.jsx +109 -69
- package/src/Prebuilt/layouts/SidePane.tsx +125 -67
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +2 -1
- package/src/Prebuilt/provider/roomLayoutProvider/index.tsx +1 -1
- package/src/Sheet/Sheet.tsx +4 -0
- package/dist/HLSView-UIPDGADR.js.map +0 -7
- package/dist/chunk-J4NOQ2YL.js.map +0 -7
- package/src/Prebuilt/components/HMSVideo/PlayButton.jsx +0 -13
@@ -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_5ede396e-fae2-4c22-afdd-0f454da9e128", 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.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5ede396e-fae2-4c22-afdd-0f454da9e128", 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.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.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: "586", 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: "20240218.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:18095", 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.4", 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: "8065543694", 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_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: "ec046697fe2d6a12f4be23b04f217cf38e63af34", 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: "798f06e695440a486dc5dbd94ebf819e9180ace412072617faa664fb3749cba4", 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--1709040556510-0.8027960450697429:/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--1709040556303-0.7176284115096692:/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--1709040534093-0.6805113006718821:/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--1709040533915-0.45728804418563085:/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_b556612a-3367-406c-a84b-37ad483933bb", INVOCATION_ID: "4cb2ffbe4e4a46ebb260c8a8827715ce", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "453", 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 272", 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.4", 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.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "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: "ec046697fe2d6a12f4be23b04f217cf38e63af34", 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_5ede396e-fae2-4c22-afdd-0f454da9e128", 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_5ede396e-fae2-4c22-afdd-0f454da9e128", 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_5ede396e-fae2-4c22-afdd-0f454da9e128" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1eeeb889-e810-4357-8dae-7696cc9131eb", 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.6", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_1eeeb889-e810-4357-8dae-7696cc9131eb", 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.6", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.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: "598", 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: "20240218.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:18106", 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.6", 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: "8078816063", 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: "666634daeed360298e28b87d08d82b96639e0f70", 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: "c21e1c32024c6a68076244eb1a6fae30faf932b84fb76927426b95760a88de21", 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--1709115828483-0.45227821066223206:/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--1709115828286-0.07337047120319218:/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--1709115805575-0.3880739035407834:/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--1709115805396-0.062155291177570016:/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_11d09d9f-3cf1-4f7e-bd5c-b105b3bb09bf", INVOCATION_ID: "5981f37fe33b4681a285f819e990e118", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "455", 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 269", 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.6", 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.6", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "666634daeed360298e28b87d08d82b96639e0f70", 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_1eeeb889-e810-4357-8dae-7696cc9131eb", 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_1eeeb889-e810-4357-8dae-7696cc9131eb", 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_1eeeb889-e810-4357-8dae-7696cc9131eb" };
|
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
|
2932
|
-
return
|
2931
|
+
var match8 = source.match(reWrapDetails);
|
2932
|
+
return match8 ? match8[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(
|
3201
|
-
result2.push(quote ? subString.replace(reEscapeChar, "$1") : number ||
|
3200
|
+
string.replace(rePropName, function(match8, number, quote, subString) {
|
3201
|
+
result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match8);
|
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(
|
4767
|
+
string.replace(reDelimiters, function(match8, 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 +
|
4782
|
-
return
|
4781
|
+
index = offset + match8.length;
|
4782
|
+
return match8;
|
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
|
4870
|
+
var match8, 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 (
|
4876
|
-
var newEnd =
|
4875
|
+
while (match8 = separator.exec(substring)) {
|
4876
|
+
var newEnd = match8.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,
|
5631
|
+
var i = 0, j, k2, p, q2, matches, match8;
|
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
|
-
|
5642
|
+
match8 = 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,
|
5647
|
+
this[q2[0]] = q2[1].call(this, match8);
|
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]] =
|
5653
|
+
this[q2[0]] = match8 ? q2[1].call(this, match8, q2[2]) : undefined2;
|
5654
5654
|
} else {
|
5655
|
-
this[q2[0]] =
|
5655
|
+
this[q2[0]] = match8 ? match8.replace(q2[1], q2[2]) : undefined2;
|
5656
5656
|
}
|
5657
5657
|
} else if (q2.length === 4) {
|
5658
|
-
this[q2[0]] =
|
5658
|
+
this[q2[0]] = match8 ? q2[3].call(this, match8.replace(q2[1], q2[2])) : undefined2;
|
5659
5659
|
}
|
5660
5660
|
} else {
|
5661
|
-
this[q2] =
|
5661
|
+
this[q2] = match8 ? match8 : 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(
|
8639
|
+
var attachProperties = function(match8, location, names, rawName) {
|
8640
8640
|
if (rawName && !names) {
|
8641
|
-
location[rawName] = toIntIfInt(
|
8641
|
+
location[rawName] = toIntIfInt(match8[1]);
|
8642
8642
|
} else {
|
8643
8643
|
for (var i = 0; i < names.length; i += 1) {
|
8644
|
-
if (
|
8645
|
-
location[names[i]] = toIntIfInt(
|
8644
|
+
if (match8[i + 1] != null) {
|
8645
|
+
location[names[i]] = toIntIfInt(match8[i + 1]);
|
8646
8646
|
}
|
8647
8647
|
}
|
8648
8648
|
}
|
@@ -12560,6 +12560,7 @@ function useRoomLayoutHeader() {
|
|
12560
12560
|
// src/Prebuilt/components/AppData/useSidepane.js
|
12561
12561
|
init_define_process_env();
|
12562
12562
|
import { useCallback as useCallback6 } from "react";
|
12563
|
+
import { match, P } from "ts-pattern";
|
12563
12564
|
import { selectAppData as selectAppData2, useHMSActions as useHMSActions3, useHMSStore as useHMSStore5, useHMSVanillaStore as useHMSVanillaStore3 } from "@100mslive/react-sdk";
|
12564
12565
|
var useIsSidepaneTypeOpen = (sidepaneType) => {
|
12565
12566
|
if (!sidepaneType) {
|
@@ -12586,8 +12587,18 @@ var usePollViewToggle = () => {
|
|
12586
12587
|
const isOpen = useSidepaneState() === SIDE_PANE_OPTIONS.POLLS;
|
12587
12588
|
const togglePollView = useCallback6(
|
12588
12589
|
(id) => {
|
12589
|
-
|
12590
|
-
|
12590
|
+
const newView = match({ id, isOpen, view }).with(
|
12591
|
+
{
|
12592
|
+
id: P.string
|
12593
|
+
},
|
12594
|
+
() => POLL_VIEWS.VOTE
|
12595
|
+
).with(
|
12596
|
+
{
|
12597
|
+
isOpen: true,
|
12598
|
+
view: P.when((view2) => !!view2)
|
12599
|
+
},
|
12600
|
+
() => null
|
12601
|
+
).otherwise(() => POLL_VIEWS.CREATE_POLL_QUIZ);
|
12591
12602
|
setPollState({
|
12592
12603
|
[POLL_STATE.pollInView]: id,
|
12593
12604
|
[POLL_STATE.view]: newView
|
@@ -12816,7 +12827,7 @@ var AuthToken = React25.memo(({ authTokenByRoomCodeEndpoint, defaultAuthToken })
|
|
12816
12827
|
alignItems: "center"
|
12817
12828
|
}
|
12818
12829
|
},
|
12819
|
-
/* @__PURE__ */ React25.createElement("img", { src: transaction_error_default, height: 80, width: 80 }),
|
12830
|
+
/* @__PURE__ */ React25.createElement("img", { src: transaction_error_default, height: 80, width: 80, alt: "Token Error" }),
|
12820
12831
|
/* @__PURE__ */ React25.createElement(Text, { variant: "h4", css: { textAlign: "center", mb: "$4", mt: "$10" } }, error.title),
|
12821
12832
|
/* @__PURE__ */ React25.createElement(Text, { css: { c: "$on_surface_medium", textAlign: "center" } }, error.body)
|
12822
12833
|
));
|
@@ -13131,6 +13142,10 @@ var StyledContent6 = styled(DialogPrimitive2.Content, {
|
|
13131
13142
|
animation: `${sheetSlideOut} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
|
13132
13143
|
}
|
13133
13144
|
},
|
13145
|
+
"@ls": {
|
13146
|
+
maxWidth: "50%",
|
13147
|
+
margin: "0 auto"
|
13148
|
+
},
|
13134
13149
|
variants: {
|
13135
13150
|
side: {
|
13136
13151
|
top: {
|
@@ -14554,6 +14569,7 @@ import { useMedia as useMedia9 } from "react-use";
|
|
14554
14569
|
init_define_process_env();
|
14555
14570
|
import React52, { Fragment as Fragment7, useState as useState23 } from "react";
|
14556
14571
|
import { HMSHLSPlayer } from "@100mslive/hls-player";
|
14572
|
+
import { match as match3 } from "ts-pattern";
|
14557
14573
|
import { selectAppData as selectAppData3, selectLocalPeerID as selectLocalPeerID4, useHMSActions as useHMSActions15, useHMSStore as useHMSStore21 } from "@100mslive/react-sdk";
|
14558
14574
|
import { BrbIcon, CheckIcon as CheckIcon5, HamburgerMenuIcon, InfoIcon as InfoIcon2, PipIcon as PipIcon2, SettingsIcon as SettingsIcon3 } from "@100mslive/react-icons";
|
14559
14575
|
|
@@ -15533,6 +15549,7 @@ var StartRecording_default = StartRecording;
|
|
15533
15549
|
// src/Prebuilt/components/StatsForNerds.jsx
|
15534
15550
|
init_define_process_env();
|
15535
15551
|
import React47, { useEffect as useEffect14, useMemo as useMemo4, useRef as useRef11, useState as useState19 } from "react";
|
15552
|
+
import { match as match2, P as P2 } from "ts-pattern";
|
15536
15553
|
import {
|
15537
15554
|
selectHMSStats as selectHMSStats2,
|
15538
15555
|
selectLocalPeerID as selectLocalPeerID2,
|
@@ -15667,7 +15684,12 @@ var LocalPeerStats = () => {
|
|
15667
15684
|
};
|
15668
15685
|
var TrackStats = ({ trackID, layer, local }) => {
|
15669
15686
|
var _a8;
|
15670
|
-
const selector =
|
15687
|
+
const selector = match2({ trackID, layer, local }).with(
|
15688
|
+
{
|
15689
|
+
layer: P2.when((layer2) => !!layer2)
|
15690
|
+
},
|
15691
|
+
() => selectHMSStats2.localVideoTrackStatsByLayer(layer)(trackID)
|
15692
|
+
).with({ local: P2.when((local2) => !!local2) }, () => selectHMSStats2.localAudioTrackStatsByID(trackID)).otherwise(() => selectHMSStats2.trackStatsByID(trackID));
|
15671
15693
|
const stats = useHMSStatsStore2(selector);
|
15672
15694
|
if (!stats) {
|
15673
15695
|
return null;
|
@@ -15679,7 +15701,13 @@ var TrackStats = ({ trackID, layer, local }) => {
|
|
15679
15701
|
label: inbound ? "Bytes Received" : "Bytes Sent",
|
15680
15702
|
value: formatBytes2(inbound ? stats.bytesReceived : stats.bytesSent)
|
15681
15703
|
}
|
15682
|
-
), stats.kind === "video" && /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Framerate", value: stats.framesPerSecond }), !inbound && /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Quality Limitation Reason", value: stats.qualityLimitationReason })), /* @__PURE__ */ React47.createElement(
|
15704
|
+
), stats.kind === "video" && /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Framerate", value: stats.framesPerSecond }), !inbound && /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Quality Limitation Reason", value: stats.qualityLimitationReason })), /* @__PURE__ */ React47.createElement(
|
15705
|
+
StatsRow2,
|
15706
|
+
{
|
15707
|
+
label: "Round Trip Time",
|
15708
|
+
value: stats.roundTripTime ? `${(stats.roundTripTime * 1e3).toFixed(3)} ms` : "-"
|
15709
|
+
}
|
15710
|
+
));
|
15683
15711
|
};
|
15684
15712
|
var StatsRow2 = React47.memo(({ label, value }) => /* @__PURE__ */ React47.createElement(Box, { css: { bg: "$surface_bright", w: "calc(50% - $6)", p: "$8", r: "$3" } }, /* @__PURE__ */ React47.createElement(
|
15685
15713
|
Text,
|
@@ -16110,23 +16138,33 @@ var DesktopOptions = ({
|
|
16110
16138
|
/* @__PURE__ */ React52.createElement(FullScreenItem, null),
|
16111
16139
|
/* @__PURE__ */ React52.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }),
|
16112
16140
|
/* @__PURE__ */ React52.createElement(Dropdown.Item, { onClick: () => updateState(MODALS.DEVICE_SETTINGS, true), "data-testid": "device_settings_btn" }, /* @__PURE__ */ React52.createElement(SettingsIcon3, null), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Settings")),
|
16113
|
-
screenType
|
16141
|
+
match3({ screenType, isSupported: HMSHLSPlayer.isSupported() }).with({ screenType: "hls_live_streaming", isSupported: false }, () => null).with({ screenType: "hls_live_streaming", isSupported: true }, () => {
|
16142
|
+
return /* @__PURE__ */ React52.createElement(
|
16143
|
+
Dropdown.Item,
|
16144
|
+
{
|
16145
|
+
onClick: () => hmsActions.setAppData(APP_DATA.hlsStats, !enablHlsStats),
|
16146
|
+
"data-testid": "hls_stats"
|
16147
|
+
},
|
16148
|
+
/* @__PURE__ */ React52.createElement(
|
16149
|
+
Checkbox.Root,
|
16150
|
+
{
|
16151
|
+
css: { margin: "$2" },
|
16152
|
+
checked: enablHlsStats,
|
16153
|
+
onCheckedChange: () => hmsActions.setAppData(APP_DATA.hlsStats, !enablHlsStats)
|
16154
|
+
},
|
16155
|
+
/* @__PURE__ */ React52.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React52.createElement(CheckIcon5, { width: 16, height: 16 }))
|
16156
|
+
),
|
16157
|
+
/* @__PURE__ */ React52.createElement(Flex, { justify: "between", css: { width: "100%" } }, /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Show HLS Stats"), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, `${isMacOS ? "\u2318" : "ctrl"} + ]`))
|
16158
|
+
);
|
16159
|
+
}).otherwise(() => /* @__PURE__ */ React52.createElement(
|
16114
16160
|
Dropdown.Item,
|
16115
16161
|
{
|
16116
|
-
onClick: () =>
|
16117
|
-
"data-testid": "
|
16162
|
+
onClick: () => updateState(MODALS.STATS_FOR_NERDS, true),
|
16163
|
+
"data-testid": "stats_for_nerds_btn"
|
16118
16164
|
},
|
16119
|
-
/* @__PURE__ */ React52.createElement(
|
16120
|
-
|
16121
|
-
|
16122
|
-
css: { margin: "$2" },
|
16123
|
-
checked: enablHlsStats,
|
16124
|
-
onCheckedChange: () => hmsActions.setAppData(APP_DATA.hlsStats, !enablHlsStats)
|
16125
|
-
},
|
16126
|
-
/* @__PURE__ */ React52.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React52.createElement(CheckIcon5, { width: 16, height: 16 }))
|
16127
|
-
),
|
16128
|
-
/* @__PURE__ */ React52.createElement(Flex, { justify: "between", css: { width: "100%" } }, /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Show HLS Stats"), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, `${isMacOS ? "\u2318" : "ctrl"} + ]`))
|
16129
|
-
) : null : /* @__PURE__ */ React52.createElement(Dropdown.Item, { onClick: () => updateState(MODALS.STATS_FOR_NERDS, true), "data-testid": "stats_for_nreds_btn" }, /* @__PURE__ */ React52.createElement(InfoIcon2, null), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Stats for Nerds"))
|
16165
|
+
/* @__PURE__ */ React52.createElement(InfoIcon2, null),
|
16166
|
+
/* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Stats for Nerds")
|
16167
|
+
))
|
16130
16168
|
)
|
16131
16169
|
), openModals.has(MODALS.BULK_ROLE_CHANGE) && /* @__PURE__ */ React52.createElement(BulkRoleChangeModal, { onOpenChange: (value) => updateState(MODALS.BULK_ROLE_CHANGE, value) }), openModals.has(MODALS.MUTE_ALL) && /* @__PURE__ */ React52.createElement(MuteAllModal, { onOpenChange: (value) => updateState(MODALS.MUTE_ALL, value) }), openModals.has(MODALS.START_RECORDING) && /* @__PURE__ */ React52.createElement(StartRecording_default, { open: true, onOpenChange: (value) => updateState(MODALS.START_RECORDING, value) }), openModals.has(MODALS.DEVICE_SETTINGS) && /* @__PURE__ */ React52.createElement(
|
16132
16170
|
SettingsModal_default,
|
@@ -16148,6 +16186,7 @@ var DesktopOptions = ({
|
|
16148
16186
|
init_define_process_env();
|
16149
16187
|
import React58, { useRef as useRef14, useState as useState28 } from "react";
|
16150
16188
|
import { useClickAway } from "react-use";
|
16189
|
+
import { match as match4 } from "ts-pattern";
|
16151
16190
|
import {
|
16152
16191
|
selectIsConnectedToRoom as selectIsConnectedToRoom7,
|
16153
16192
|
selectPeerCount as selectPeerCount3,
|
@@ -16274,8 +16313,8 @@ init_define_process_env();
|
|
16274
16313
|
var logDisabled_ = true;
|
16275
16314
|
var deprecationWarnings_ = true;
|
16276
16315
|
function extractVersion(uastring, expr, pos) {
|
16277
|
-
const
|
16278
|
-
return
|
16316
|
+
const match8 = uastring.match(expr);
|
16317
|
+
return match8 && match8.length >= pos && parseInt(match8[pos], 10);
|
16279
16318
|
}
|
16280
16319
|
function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
|
16281
16320
|
if (!window2.RTCPeerConnection) {
|
@@ -16577,7 +16616,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16577
16616
|
if (matches) {
|
16578
16617
|
return navigator2.mediaDevices.enumerateDevices().then((devices) => {
|
16579
16618
|
devices = devices.filter((d2) => d2.kind === "videoinput");
|
16580
|
-
let dev = devices.find((d2) => matches.some((
|
16619
|
+
let dev = devices.find((d2) => matches.some((match8) => d2.label.toLowerCase().includes(match8)));
|
16581
16620
|
if (!dev && devices.length && matches.includes("back")) {
|
16582
16621
|
dev = devices[devices.length - 1];
|
16583
16622
|
}
|
@@ -18004,11 +18043,11 @@ function shimMaxMessageSize(window2, browserDetails) {
|
|
18004
18043
|
});
|
18005
18044
|
};
|
18006
18045
|
const getRemoteFirefoxVersion = function(description) {
|
18007
|
-
const
|
18008
|
-
if (
|
18046
|
+
const match8 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
|
18047
|
+
if (match8 === null || match8.length < 2) {
|
18009
18048
|
return -1;
|
18010
18049
|
}
|
18011
|
-
const version = parseInt(
|
18050
|
+
const version = parseInt(match8[1], 10);
|
18012
18051
|
return version !== version ? -1 : version;
|
18013
18052
|
};
|
18014
18053
|
const getCanSendMaxMessageSize = function(remoteIsFirefox) {
|
@@ -18033,12 +18072,12 @@ function shimMaxMessageSize(window2, browserDetails) {
|
|
18033
18072
|
if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
|
18034
18073
|
maxMessageSize = 65535;
|
18035
18074
|
}
|
18036
|
-
const
|
18075
|
+
const match8 = import_sdp.default.matchPrefix(
|
18037
18076
|
description.sdp,
|
18038
18077
|
"a=max-message-size:"
|
18039
18078
|
);
|
18040
|
-
if (
|
18041
|
-
maxMessageSize = parseInt(
|
18079
|
+
if (match8.length > 0) {
|
18080
|
+
maxMessageSize = parseInt(match8[0].substring(19), 10);
|
18042
18081
|
} else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
|
18043
18082
|
maxMessageSize = 2147483637;
|
18044
18083
|
}
|
@@ -18396,7 +18435,7 @@ var Yi = (a2, e) => {
|
|
18396
18435
|
};
|
18397
18436
|
var ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18398
18437
|
var dr = ba((Xc, $a) => {
|
18399
|
-
$a.exports = { version: "0.11.8-alpha.
|
18438
|
+
$a.exports = { version: "0.11.8-alpha.6", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
18400
18439
|
});
|
18401
18440
|
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 || {});
|
18402
18441
|
var Aa = ((e) => (e.CHAT = "chat", e))(Aa || {});
|
@@ -19659,7 +19698,7 @@ var LiveStatus = () => {
|
|
19659
19698
|
setLiveTime(Date.now() - timeStamp.getTime());
|
19660
19699
|
}
|
19661
19700
|
}, 1e3);
|
19662
|
-
}, [hlsState == null ? void 0 : hlsState.running, hlsState == null ? void 0 : hlsState.variants]);
|
19701
|
+
}, [hlsState == null ? void 0 : hlsState.running, hlsState == null ? void 0 : hlsState.variants, screenType]);
|
19663
19702
|
useEffect16(() => {
|
19664
19703
|
if (hlsState == null ? void 0 : hlsState.running) {
|
19665
19704
|
startTimer();
|
@@ -20287,7 +20326,7 @@ var MwebOptions = ({
|
|
20287
20326
|
})
|
20288
20327
|
},
|
20289
20328
|
isRecordingLoading ? /* @__PURE__ */ React58.createElement(Loading, null) : /* @__PURE__ */ React58.createElement(RecordIcon2, null),
|
20290
|
-
/* @__PURE__ */ React58.createElement(ActionTile.Title, null, isBrowserRecordingOn
|
20329
|
+
/* @__PURE__ */ React58.createElement(ActionTile.Title, null, match4({ isBrowserRecordingOn, isRecordingLoading }).with({ isBrowserRecordingOn: true, isRecordingLoading: false }, () => "Recording On").with({ isRecordingLoading: true }, () => "Starting Recording").with({ isRecordingLoading: false }, () => "Start Recording"))
|
20291
20330
|
) : null,
|
20292
20331
|
title || description ? /* @__PURE__ */ React58.createElement(
|
20293
20332
|
ActionTile.Root,
|
@@ -21099,25 +21138,29 @@ import {
|
|
21099
21138
|
VideoOnIcon as VideoOnIcon3
|
21100
21139
|
} from "@100mslive/react-icons";
|
21101
21140
|
var dropdownItemCSS = { backgroundColor: "$surface_default", gap: "$4", p: "$8" };
|
21102
|
-
var optionTextCSS = {
|
21141
|
+
var optionTextCSS = {
|
21142
|
+
fontWeight: "$semiBold",
|
21143
|
+
color: "$on_surface_high",
|
21144
|
+
textTransform: "none",
|
21145
|
+
whiteSpace: "nowrap"
|
21146
|
+
};
|
21103
21147
|
var MuteUnmuteOption = ({ roleName, peerList }) => {
|
21104
|
-
var _a8, _b7;
|
21105
21148
|
const vanillaStore = useHMSVanillaStore8();
|
21106
21149
|
const store = vanillaStore.getState();
|
21107
21150
|
const hmsActions = useHMSActions23();
|
21108
21151
|
const permissions = useHMSStore35(selectPermissions10);
|
21109
21152
|
const role = useHMSStore35(selectRoleByRoleName(roleName));
|
21110
|
-
let
|
21111
|
-
let
|
21153
|
+
let isVideoOnForSomePeers = false;
|
21154
|
+
let isAudioOnForSomePeers = false;
|
21112
21155
|
peerList.forEach((peer) => {
|
21113
|
-
var
|
21156
|
+
var _a8, _b7;
|
21114
21157
|
if (peer.isLocal) {
|
21115
21158
|
return;
|
21116
21159
|
}
|
21117
|
-
const isAudioOn = !!peer.audioTrack && ((
|
21118
|
-
const isVideoOn = !!peer.videoTrack && ((
|
21119
|
-
|
21120
|
-
|
21160
|
+
const isAudioOn = !!peer.audioTrack && ((_a8 = store.tracks[peer.audioTrack]) == null ? void 0 : _a8.enabled);
|
21161
|
+
const isVideoOn = !!peer.videoTrack && ((_b7 = store.tracks[peer.videoTrack]) == null ? void 0 : _b7.enabled);
|
21162
|
+
isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
|
21163
|
+
isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
|
21121
21164
|
});
|
21122
21165
|
const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
|
21123
21166
|
try {
|
@@ -21126,7 +21169,10 @@ var MuteUnmuteOption = ({ roleName, peerList }) => {
|
|
21126
21169
|
console.error(e);
|
21127
21170
|
}
|
21128
21171
|
});
|
21129
|
-
|
21172
|
+
if (!role) {
|
21173
|
+
return null;
|
21174
|
+
}
|
21175
|
+
return /* @__PURE__ */ React72.createElement(React72.Fragment, null, role.publishParams.allowed.includes("audio") && /* @__PURE__ */ React72.createElement(React72.Fragment, null, isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ React72.createElement(MicOffIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All")) : null, !isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ React72.createElement(MicOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Audio for All")) : null), role.publishParams.allowed.includes("video") && /* @__PURE__ */ React72.createElement(React72.Fragment, null, isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ React72.createElement(VideoOffIcon2, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All")) : null, !isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ React72.createElement(VideoOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Video for All")) : null));
|
21130
21176
|
};
|
21131
21177
|
var RoleOptions = ({ roleName, peerList }) => {
|
21132
21178
|
const [openOptions, setOpenOptions] = useState31(false);
|
@@ -21136,8 +21182,10 @@ var RoleOptions = ({ roleName, peerList }) => {
|
|
21136
21182
|
const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
|
21137
21183
|
const canMuteOrUnmute = (permissions == null ? void 0 : permissions.mute) || (permissions == null ? void 0 : permissions.unmute);
|
21138
21184
|
const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
|
21185
|
+
const role = useHMSStore35(selectRoleByRoleName(roleName));
|
21139
21186
|
const canRemoveRoleFromRoom = (permissions == null ? void 0 : permissions.removeOthers) && (on_stage_role === roleName || (off_stage_roles == null ? void 0 : off_stage_roles.includes(roleName)));
|
21140
|
-
if (!(canMuteOrUnmute || canRemoveRoleFromStage || canRemoveRoleFromRoom) || peerList.length === 0
|
21187
|
+
if (!(canMuteOrUnmute || canRemoveRoleFromStage || canRemoveRoleFromRoom) || peerList.length === 0 || // if only local peer is present no need to show any options
|
21188
|
+
peerList.length === 1 && peerList[0].isLocal || !role) {
|
21141
21189
|
return null;
|
21142
21190
|
}
|
21143
21191
|
const removeAllFromStage = () => {
|
@@ -21182,7 +21230,7 @@ var RoleOptions = ({ roleName, peerList }) => {
|
|
21182
21230
|
Dropdown.Content,
|
21183
21231
|
{
|
21184
21232
|
onClick: (e) => e.stopPropagation(),
|
21185
|
-
css: { w: "max-content",
|
21233
|
+
css: { w: "max-content", bg: "$surface_default", py: 0 },
|
21186
21234
|
align: "end"
|
21187
21235
|
},
|
21188
21236
|
canRemoveRoleFromStage && /* @__PURE__ */ React72.createElement(
|
@@ -21849,6 +21897,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
|
|
21849
21897
|
init_define_process_env();
|
21850
21898
|
import React126, { useEffect as useEffect32 } from "react";
|
21851
21899
|
import { useMedia as useMedia22 } from "react-use";
|
21900
|
+
import { match as match7 } from "ts-pattern";
|
21852
21901
|
import { selectAppData as selectAppData6, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore66 } from "@100mslive/react-sdk";
|
21853
21902
|
|
21854
21903
|
// src/Prebuilt/components/Polls/Polls.tsx
|
@@ -23022,6 +23071,7 @@ import React97 from "react";
|
|
23022
23071
|
// src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
|
23023
23072
|
init_define_process_env();
|
23024
23073
|
import React96, { useCallback as useCallback21, useMemo as useMemo7, useRef as useRef17, useState as useState39 } from "react";
|
23074
|
+
import { match as match5 } from "ts-pattern";
|
23025
23075
|
import { selectLocalPeer, selectLocalPeerRoleName as selectLocalPeerRoleName2, useHMSActions as useHMSActions29, useHMSStore as useHMSStore45 } from "@100mslive/react-sdk";
|
23026
23076
|
import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon5, CrossCircleIcon } from "@100mslive/react-icons";
|
23027
23077
|
var QuestionCard2 = ({
|
@@ -23098,15 +23148,22 @@ var QuestionCard2 = ({
|
|
23098
23148
|
{
|
23099
23149
|
variant: "caption",
|
23100
23150
|
css: {
|
23101
|
-
color: respondedToQuiz
|
23151
|
+
color: match5({ respondedToQuiz, isLive, isCorrectAnswer }).when(
|
23152
|
+
({ respondedToQuiz: respondedToQuiz2, isLive: isLive2 }) => respondedToQuiz2 && !isLive2,
|
23153
|
+
({ isCorrectAnswer: isCorrectAnswer2 }) => isCorrectAnswer2 ? "$alert_success" : "$alert_error_default"
|
23154
|
+
).otherwise(() => "$on_surface_low"),
|
23102
23155
|
fontWeight: "$semiBold",
|
23103
23156
|
display: "flex",
|
23104
23157
|
alignItems: "center",
|
23105
23158
|
gap: "$4"
|
23106
23159
|
}
|
23107
23160
|
},
|
23108
|
-
|
23109
|
-
|
23161
|
+
match5({ respondedToQuiz, pollEnded, isCorrectAnswer }).when(
|
23162
|
+
({ respondedToQuiz: respondedToQuiz2, pollEnded: pollEnded2 }) => respondedToQuiz2 && pollEnded2,
|
23163
|
+
({ isCorrectAnswer: isCorrectAnswer2 }) => {
|
23164
|
+
return isCorrectAnswer2 ? /* @__PURE__ */ React96.createElement(CheckCircleIcon5, { height: 16, width: 16 }) : /* @__PURE__ */ React96.createElement(CrossCircleIcon, { height: 16, width: 16 });
|
23165
|
+
}
|
23166
|
+
).otherwise(() => null),
|
23110
23167
|
"QUESTION ",
|
23111
23168
|
index,
|
23112
23169
|
" OF ",
|
@@ -23400,6 +23457,7 @@ var RoomDetailsPane = () => {
|
|
23400
23457
|
init_define_process_env();
|
23401
23458
|
import React118, { useEffect as useEffect30, useState as useState50 } from "react";
|
23402
23459
|
import { useMedia as useMedia19 } from "react-use";
|
23460
|
+
import { match as match6 } from "ts-pattern";
|
23403
23461
|
import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
|
23404
23462
|
import { CrossIcon as CrossIcon19 } from "@100mslive/react-icons";
|
23405
23463
|
|
@@ -23785,13 +23843,13 @@ var usePinnedBy = (messageId) => {
|
|
23785
23843
|
const pinnedMessages = useHMSStore50(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
|
23786
23844
|
const [pinnedBy, setPinnedBy] = useState43("");
|
23787
23845
|
useEffect24(() => {
|
23788
|
-
let
|
23846
|
+
let match8 = "";
|
23789
23847
|
pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
|
23790
23848
|
if (pinnedMessage.id === messageId) {
|
23791
|
-
|
23849
|
+
match8 = pinnedMessage.pinnedBy;
|
23792
23850
|
}
|
23793
23851
|
});
|
23794
|
-
setPinnedBy(
|
23852
|
+
setPinnedBy(match8);
|
23795
23853
|
}, [messageId, pinnedMessages]);
|
23796
23854
|
return pinnedBy;
|
23797
23855
|
};
|
@@ -24603,7 +24661,7 @@ var ChatFooter = ({ onSend, children }) => {
|
|
24603
24661
|
if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
|
24604
24662
|
setRoleSelector(defaultSelection);
|
24605
24663
|
} else {
|
24606
|
-
if (!(isMobile || isLandscapeHLSStream)
|
24664
|
+
if (!(isMobile || isLandscapeHLSStream) && !((_a9 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a9.disable_autofocus)) {
|
24607
24665
|
(_b8 = inputRef.current) == null ? void 0 : _b8.focus();
|
24608
24666
|
}
|
24609
24667
|
}
|
@@ -25223,12 +25281,15 @@ var ChatSettings = () => {
|
|
25223
25281
|
|
25224
25282
|
// src/Prebuilt/components/SidePaneTabs.tsx
|
25225
25283
|
var tabTriggerCSS = {
|
25226
|
-
color: "$
|
25284
|
+
color: "$on_surface_low",
|
25227
25285
|
p: "$4",
|
25228
25286
|
fontWeight: "$semiBold",
|
25229
25287
|
fontSize: "$sm",
|
25230
25288
|
w: "100%",
|
25231
|
-
justifyContent: "center"
|
25289
|
+
justifyContent: "center",
|
25290
|
+
'&[data-state="active"]': {
|
25291
|
+
color: "$on_surface_high"
|
25292
|
+
}
|
25232
25293
|
};
|
25233
25294
|
var ParticipantCount2 = ({ count }) => {
|
25234
25295
|
return count < 1e3 ? /* @__PURE__ */ React118.createElement("span", null, "(", count, ")") : /* @__PURE__ */ React118.createElement(Tooltip, { title: count }, /* @__PURE__ */ React118.createElement("span", null, "(", getFormattedCount(count), ")"));
|
@@ -25252,13 +25313,13 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
|
|
25252
25313
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
25253
25314
|
const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
|
25254
25315
|
useEffect30(() => {
|
25255
|
-
|
25316
|
+
match6({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
|
25256
25317
|
setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
25257
|
-
}
|
25318
|
+
}).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
|
25258
25319
|
setActiveTab(SIDE_PANE_OPTIONS.CHAT);
|
25259
|
-
}
|
25320
|
+
}).with({ showChat: false, showParticipants: false }, () => {
|
25260
25321
|
resetSidePane();
|
25261
|
-
}
|
25322
|
+
});
|
25262
25323
|
}, [showChat, activeTab, showParticipants, resetSidePane]);
|
25263
25324
|
useEffect30(() => {
|
25264
25325
|
setActiveTab(active);
|
@@ -25290,74 +25351,29 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
|
|
25290
25351
|
transition: "margin 0.3s ease-in-out"
|
25291
25352
|
}
|
25292
25353
|
},
|
25293
|
-
isOverlayChat
|
25294
|
-
|
25295
|
-
|
25296
|
-
variant: "sm",
|
25297
|
-
css: {
|
25298
|
-
fontWeight: "$semiBold",
|
25299
|
-
p: "$4",
|
25300
|
-
c: "$on_surface_high",
|
25301
|
-
pr: "$12",
|
25302
|
-
"&:empty": { display: "none" }
|
25303
|
-
}
|
25304
|
-
},
|
25305
|
-
activeTab === SIDE_PANE_OPTIONS.CHAT ? screenType !== "hls_live_streaming" && chat_title : /* @__PURE__ */ React118.createElement("span", null, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))
|
25306
|
-
), /* @__PURE__ */ React118.createElement(Flex, null, showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25307
|
-
IconButton,
|
25308
|
-
{
|
25309
|
-
css: {
|
25310
|
-
my: "$1",
|
25311
|
-
color: "$on_surface_medium",
|
25312
|
-
"&:hover": { color: "$on_surface_high" },
|
25313
|
-
"&:empty": { display: "none" }
|
25314
|
-
},
|
25315
|
-
onClick: (e) => {
|
25316
|
-
e.stopPropagation();
|
25317
|
-
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
25318
|
-
toggleChat();
|
25319
|
-
} else {
|
25320
|
-
toggleParticipants();
|
25321
|
-
}
|
25322
|
-
},
|
25323
|
-
"data-testid": "close_chat"
|
25324
|
-
},
|
25325
|
-
screenType === "hls_live_streaming" && isChatOpen ? null : /* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25326
|
-
))), activeTab === SIDE_PANE_OPTIONS.CHAT ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })) : /* @__PURE__ */ React118.createElement(
|
25327
|
-
Tabs.Root,
|
25328
|
-
{
|
25329
|
-
value: activeTab,
|
25330
|
-
onValueChange: setActiveTab,
|
25331
|
-
css: {
|
25332
|
-
flexDirection: "column",
|
25333
|
-
size: "100%"
|
25334
|
-
}
|
25335
|
-
},
|
25336
|
-
/* @__PURE__ */ React118.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React118.createElement(Tabs.List, { css: { flexGrow: 1, borderRadius: "$2", bg: "$surface_default" } }, /* @__PURE__ */ React118.createElement(
|
25337
|
-
Tabs.Trigger,
|
25338
|
-
{
|
25339
|
-
value: SIDE_PANE_OPTIONS.CHAT,
|
25340
|
-
onClick: toggleChat,
|
25341
|
-
css: __spreadProps(__spreadValues({}, tabTriggerCSS), {
|
25342
|
-
color: activeTab !== SIDE_PANE_OPTIONS.CHAT ? "$on_surface_low" : "$on_surface_high"
|
25343
|
-
})
|
25344
|
-
},
|
25345
|
-
chat_title
|
25346
|
-
), /* @__PURE__ */ React118.createElement(
|
25347
|
-
Tabs.Trigger,
|
25354
|
+
match6({ isOverlayChat, isChatOpen, showChat, hideTabs }).with({ isOverlayChat: true, isChatOpen: true, showChat: true }, () => /* @__PURE__ */ React118.createElement(Chat, null)).with({ hideTabs: true }, () => {
|
25355
|
+
return /* @__PURE__ */ React118.createElement(React118.Fragment, null, /* @__PURE__ */ React118.createElement(Flex, { justify: "between", css: { w: "100%", "&:empty": { display: "none" } } }, /* @__PURE__ */ React118.createElement(
|
25356
|
+
Text,
|
25348
25357
|
{
|
25349
|
-
|
25350
|
-
|
25351
|
-
|
25352
|
-
|
25353
|
-
|
25358
|
+
variant: "sm",
|
25359
|
+
css: {
|
25360
|
+
fontWeight: "$semiBold",
|
25361
|
+
p: "$4",
|
25362
|
+
c: "$on_surface_high",
|
25363
|
+
pr: "$12",
|
25364
|
+
"&:empty": { display: "none" }
|
25365
|
+
}
|
25354
25366
|
},
|
25355
|
-
"Participants\xA0",
|
25356
|
-
|
25357
|
-
)), showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25367
|
+
activeTab === SIDE_PANE_OPTIONS.CHAT ? screenType !== "hls_live_streaming" && chat_title : /* @__PURE__ */ React118.createElement("span", null, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))
|
25368
|
+
), /* @__PURE__ */ React118.createElement(Flex, null, showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25358
25369
|
IconButton,
|
25359
25370
|
{
|
25360
|
-
css: {
|
25371
|
+
css: {
|
25372
|
+
my: "$1",
|
25373
|
+
color: "$on_surface_medium",
|
25374
|
+
"&:hover": { color: "$on_surface_high" },
|
25375
|
+
"&:empty": { display: "none" }
|
25376
|
+
},
|
25361
25377
|
onClick: (e) => {
|
25362
25378
|
e.stopPropagation();
|
25363
25379
|
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
@@ -25368,11 +25384,39 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
|
|
25368
25384
|
},
|
25369
25385
|
"data-testid": "close_chat"
|
25370
25386
|
},
|
25371
|
-
/* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25372
|
-
)),
|
25373
|
-
|
25374
|
-
|
25375
|
-
|
25387
|
+
screenType === "hls_live_streaming" && isChatOpen ? null : /* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25388
|
+
))), activeTab === SIDE_PANE_OPTIONS.CHAT ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole }));
|
25389
|
+
}).otherwise(() => {
|
25390
|
+
return /* @__PURE__ */ React118.createElement(
|
25391
|
+
Tabs.Root,
|
25392
|
+
{
|
25393
|
+
value: activeTab,
|
25394
|
+
onValueChange: setActiveTab,
|
25395
|
+
css: {
|
25396
|
+
flexDirection: "column",
|
25397
|
+
size: "100%"
|
25398
|
+
}
|
25399
|
+
},
|
25400
|
+
/* @__PURE__ */ React118.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React118.createElement(Tabs.List, { css: { flexGrow: 1, borderRadius: "$2", bg: "$surface_default" } }, /* @__PURE__ */ React118.createElement(Tabs.Trigger, { value: SIDE_PANE_OPTIONS.CHAT, onClick: toggleChat, css: tabTriggerCSS }, chat_title), /* @__PURE__ */ React118.createElement(Tabs.Trigger, { value: SIDE_PANE_OPTIONS.PARTICIPANTS, onClick: toggleParticipants, css: tabTriggerCSS }, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))), showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25401
|
+
IconButton,
|
25402
|
+
{
|
25403
|
+
css: { my: "$1", color: "$on_surface_medium", "&:hover": { color: "$on_surface_high" } },
|
25404
|
+
onClick: (e) => {
|
25405
|
+
e.stopPropagation();
|
25406
|
+
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
25407
|
+
toggleChat();
|
25408
|
+
} else {
|
25409
|
+
toggleParticipants();
|
25410
|
+
}
|
25411
|
+
},
|
25412
|
+
"data-testid": "close_chat"
|
25413
|
+
},
|
25414
|
+
/* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25415
|
+
)),
|
25416
|
+
/* @__PURE__ */ React118.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.PARTICIPANTS, css: { p: 0 } }, /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })),
|
25417
|
+
/* @__PURE__ */ React118.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.CHAT, css: { p: 0 } }, /* @__PURE__ */ React118.createElement(Chat, null))
|
25418
|
+
);
|
25419
|
+
})
|
25376
25420
|
);
|
25377
25421
|
});
|
25378
25422
|
|
@@ -25669,7 +25713,7 @@ var TileMenuContent = ({
|
|
25669
25713
|
"data-testid": isVideoEnabled ? "mute_video_participant_btn" : "unmute_video_participant_btn"
|
25670
25714
|
},
|
25671
25715
|
isVideoEnabled ? /* @__PURE__ */ React120.createElement(VideoOnIcon4, { height: 20, width: 20 }) : /* @__PURE__ */ React120.createElement(VideoOffIcon3, { height: 20, width: 20 }),
|
25672
|
-
/* @__PURE__ */ React120.createElement("span", null, isVideoEnabled ? "Mute" : "Request Unmute")
|
25716
|
+
/* @__PURE__ */ React120.createElement("span", null, isVideoEnabled ? "Mute Video" : "Request to Unmute Video")
|
25673
25717
|
) : null, toggleAudio ? /* @__PURE__ */ React120.createElement(
|
25674
25718
|
StyledMenuTile.ItemButton,
|
25675
25719
|
{
|
@@ -25682,7 +25726,7 @@ var TileMenuContent = ({
|
|
25682
25726
|
"data-testid": isAudioEnabled ? "mute_audio_participant_btn" : "unmute_audio_participant_btn"
|
25683
25727
|
},
|
25684
25728
|
isAudioEnabled ? /* @__PURE__ */ React120.createElement(MicOnIcon4, { height: 20, width: 20 }) : /* @__PURE__ */ React120.createElement(MicOffIcon5, { height: 20, width: 20 }),
|
25685
|
-
/* @__PURE__ */ React120.createElement("span", null, isAudioEnabled ? "Mute" : "Request Unmute")
|
25729
|
+
/* @__PURE__ */ React120.createElement("span", null, isAudioEnabled ? "Mute Audio" : "Request to Unmute Audio")
|
25686
25730
|
) : null, audioTrackID ? /* @__PURE__ */ React120.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ React120.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ React120.createElement(SpeakerIcon3, { height: 20, width: 20 }), /* @__PURE__ */ React120.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ React120.createElement(
|
25687
25731
|
Slider,
|
25688
25732
|
{
|
@@ -26277,13 +26321,86 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
26277
26321
|
};
|
26278
26322
|
|
26279
26323
|
// src/Prebuilt/layouts/SidePane.tsx
|
26324
|
+
var Wrapper3 = styled("div", {
|
26325
|
+
w: "$100",
|
26326
|
+
h: "100%",
|
26327
|
+
p: "$10",
|
26328
|
+
flex: "1 1 0",
|
26329
|
+
background: "$surface_dim",
|
26330
|
+
r: "$1",
|
26331
|
+
position: "relative",
|
26332
|
+
"@lg": {
|
26333
|
+
w: "100%",
|
26334
|
+
h: "100%",
|
26335
|
+
ml: 0,
|
26336
|
+
right: 0,
|
26337
|
+
position: "fixed",
|
26338
|
+
bottom: 0,
|
26339
|
+
borderRadius: 0,
|
26340
|
+
zIndex: 10
|
26341
|
+
},
|
26342
|
+
"@md": {
|
26343
|
+
p: "$6 $8",
|
26344
|
+
pb: "$12",
|
26345
|
+
borderTopLeftRadius: 0,
|
26346
|
+
borderTopRightRadius: 0,
|
26347
|
+
animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
|
26348
|
+
},
|
26349
|
+
variants: {
|
26350
|
+
landscapeStream: {
|
26351
|
+
true: {
|
26352
|
+
"@lg": {
|
26353
|
+
position: "unset !important",
|
26354
|
+
minHeight: "100%"
|
26355
|
+
}
|
26356
|
+
}
|
26357
|
+
},
|
26358
|
+
mobileStream: {
|
26359
|
+
true: {
|
26360
|
+
"@md": {
|
26361
|
+
position: "unset !important",
|
26362
|
+
background: "red"
|
26363
|
+
}
|
26364
|
+
}
|
26365
|
+
},
|
26366
|
+
overlayChat: {
|
26367
|
+
true: {
|
26368
|
+
height: "unset",
|
26369
|
+
maxHeight: 300,
|
26370
|
+
background: "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)",
|
26371
|
+
"@md": {
|
26372
|
+
pb: "$20"
|
26373
|
+
}
|
26374
|
+
}
|
26375
|
+
}
|
26376
|
+
},
|
26377
|
+
compoundVariants: [
|
26378
|
+
{
|
26379
|
+
landscapeStream: true,
|
26380
|
+
overlayChat: true,
|
26381
|
+
css: {
|
26382
|
+
position: "unset",
|
26383
|
+
height: "100%",
|
26384
|
+
maxHeight: "unset"
|
26385
|
+
}
|
26386
|
+
},
|
26387
|
+
{
|
26388
|
+
mobileStream: true,
|
26389
|
+
overlayChat: true,
|
26390
|
+
css: {
|
26391
|
+
position: "unset",
|
26392
|
+
height: "100%",
|
26393
|
+
maxHeight: "unset"
|
26394
|
+
}
|
26395
|
+
}
|
26396
|
+
]
|
26397
|
+
});
|
26280
26398
|
var SidePane = ({
|
26281
26399
|
tileProps,
|
26282
26400
|
hideControls = false
|
26283
26401
|
}) => {
|
26284
26402
|
var _a8, _b7, _c, _d, _e, _f;
|
26285
26403
|
const isMobile = useMedia22(config.media.md);
|
26286
|
-
const isLandscape = useIsLandscape();
|
26287
26404
|
const sidepane = useHMSStore66(selectAppData6(APP_DATA.sidePane));
|
26288
26405
|
const activeScreensharePeerId = useHMSStore66(selectAppData6(APP_DATA.activeScreensharePeerId));
|
26289
26406
|
const trackId = (_a8 = useHMSStore66(selectVideoTrackByPeerID4(activeScreensharePeerId))) == null ? void 0 : _a8.id;
|
@@ -26294,27 +26411,11 @@ var SidePane = ({
|
|
26294
26411
|
const isMobileHLSStream = useMobileHLSStream();
|
26295
26412
|
const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e.background_media) || [];
|
26296
26413
|
const resetSidePane = useSidepaneReset();
|
26297
|
-
let ViewComponent;
|
26298
|
-
if (sidepane === SIDE_PANE_OPTIONS.POLLS) {
|
26299
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(Polls, null);
|
26300
|
-
}
|
26301
|
-
if (sidepane === SIDE_PANE_OPTIONS.PARTICIPANTS || sidepane === SIDE_PANE_OPTIONS.CHAT) {
|
26302
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(SidePaneTabs, { hideControls, active: sidepane, hideTab: isMobileHLSStream || isLandscapeHLSStream });
|
26303
|
-
}
|
26304
|
-
if (sidepane === SIDE_PANE_OPTIONS.VB) {
|
26305
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(VBPicker, { backgroundMedia });
|
26306
|
-
}
|
26307
|
-
if (sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS) {
|
26308
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(RoomDetailsPane, null);
|
26309
|
-
}
|
26310
26414
|
useEffect32(() => {
|
26311
26415
|
return () => {
|
26312
26416
|
resetSidePane();
|
26313
26417
|
};
|
26314
26418
|
}, [resetSidePane]);
|
26315
|
-
if (!ViewComponent && (!trackId || layoutMode !== LayoutMode.GALLERY)) {
|
26316
|
-
return null;
|
26317
|
-
}
|
26318
26419
|
const tileLayout = {
|
26319
26420
|
hideParticipantNameOnTile: tileProps == null ? void 0 : tileProps.hide_participant_name_on_tile,
|
26320
26421
|
roundedVideoTile: tileProps == null ? void 0 : tileProps.rounded_video_tile,
|
@@ -26322,8 +26423,11 @@ var SidePane = ({
|
|
26322
26423
|
hideMetadataOnTile: tileProps == null ? void 0 : tileProps.hide_metadata_on_tile,
|
26323
26424
|
objectFit: tileProps == null ? void 0 : tileProps.video_object_fit
|
26324
26425
|
};
|
26325
|
-
const VB = sidepane === SIDE_PANE_OPTIONS.VB;
|
26326
26426
|
const mwebStreamingChat = isMobile && sidepane === SIDE_PANE_OPTIONS.CHAT && ((_f = elements == null ? void 0 : elements.chat) == null ? void 0 : _f.is_overlay);
|
26427
|
+
const commonProps = {
|
26428
|
+
landscapeStream: isLandscapeHLSStream,
|
26429
|
+
mobileStream: isMobileHLSStream
|
26430
|
+
};
|
26327
26431
|
return /* @__PURE__ */ React126.createElement(
|
26328
26432
|
Flex,
|
26329
26433
|
{
|
@@ -26331,11 +26435,14 @@ var SidePane = ({
|
|
26331
26435
|
justify: "center",
|
26332
26436
|
css: {
|
26333
26437
|
w: "$100",
|
26334
|
-
h:
|
26438
|
+
h: "100%",
|
26335
26439
|
flexShrink: 0,
|
26336
26440
|
gap: "$4",
|
26337
26441
|
position: "relative",
|
26338
|
-
"
|
26442
|
+
"&:empty": { display: "none" },
|
26443
|
+
"@ls": {
|
26444
|
+
w: isMobileHLSStream || isLandscapeHLSStream ? "340px" : "$100"
|
26445
|
+
}
|
26339
26446
|
}
|
26340
26447
|
},
|
26341
26448
|
trackId && layoutMode === LayoutMode.GALLERY && /* @__PURE__ */ React126.createElement(
|
@@ -26348,43 +26455,27 @@ var SidePane = ({
|
|
26348
26455
|
rootCSS: { p: 0, alignSelf: "start", flexShrink: 0 }
|
26349
26456
|
}, tileLayout)
|
26350
26457
|
),
|
26351
|
-
|
26352
|
-
|
26353
|
-
{
|
26458
|
+
match7(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React126.createElement(
|
26459
|
+
Wrapper3,
|
26460
|
+
__spreadValues({
|
26354
26461
|
css: {
|
26355
|
-
w: "$100",
|
26356
|
-
h: mwebStreamingChat || isLandscape ? "0" : "100%",
|
26357
|
-
p: VB ? "$10 $6 $10 $10" : "$10",
|
26358
|
-
flex: "1 1 0",
|
26359
|
-
minHeight: 0,
|
26360
|
-
maxHeight: mwebStreamingChat || isLandscape ? "300px" : "unset",
|
26361
|
-
background: mwebStreamingChat || isLandscape ? "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)" : "$surface_dim",
|
26362
|
-
r: "$1",
|
26363
|
-
position: "relative",
|
26364
|
-
"@lg": {
|
26365
|
-
w: "100%",
|
26366
|
-
h: "100%",
|
26367
|
-
ml: 0,
|
26368
|
-
right: 0,
|
26369
|
-
position: isLandscapeHLSStream ? "" : "fixed",
|
26370
|
-
minHeight: isLandscapeHLSStream ? "100%" : "",
|
26371
|
-
bottom: 0,
|
26372
|
-
borderRadius: 0,
|
26373
|
-
zIndex: 10
|
26374
|
-
},
|
26375
26462
|
"@md": {
|
26376
|
-
|
26377
|
-
|
26378
|
-
pb: "$12",
|
26379
|
-
minHeight: isMobileHLSStream ? "64%" : "",
|
26380
|
-
borderTopLeftRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? "$2" : "0",
|
26381
|
-
borderTopRightRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? "$2" : "0",
|
26382
|
-
animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
|
26463
|
+
borderTopLeftRadius: "$2",
|
26464
|
+
borderTopRightRadius: "$2"
|
26383
26465
|
}
|
26384
26466
|
}
|
26385
|
-
},
|
26386
|
-
|
26387
|
-
)
|
26467
|
+
}, commonProps),
|
26468
|
+
/* @__PURE__ */ React126.createElement(Polls, null)
|
26469
|
+
)).with(SIDE_PANE_OPTIONS.VB, () => /* @__PURE__ */ React126.createElement(Wrapper3, __spreadValues({ css: { p: "$10 $6 $10 $10" } }, commonProps), /* @__PURE__ */ React126.createElement(VBPicker, { backgroundMedia }))).with(SIDE_PANE_OPTIONS.CHAT, SIDE_PANE_OPTIONS.PARTICIPANTS, () => /* @__PURE__ */ React126.createElement(Wrapper3, __spreadProps(__spreadValues({}, commonProps), { overlayChat: mwebStreamingChat }), /* @__PURE__ */ React126.createElement(
|
26470
|
+
SidePaneTabs,
|
26471
|
+
{
|
26472
|
+
hideControls,
|
26473
|
+
active: sidepane,
|
26474
|
+
hideTab: isMobileHLSStream || isLandscapeHLSStream
|
26475
|
+
}
|
26476
|
+
))).with(SIDE_PANE_OPTIONS.ROOM_DETAILS, () => /* @__PURE__ */ React126.createElement(Wrapper3, __spreadValues({}, commonProps), /* @__PURE__ */ React126.createElement(RoomDetailsPane, null))).otherwise(() => {
|
26477
|
+
return null;
|
26478
|
+
})
|
26388
26479
|
);
|
26389
26480
|
};
|
26390
26481
|
var SidePane_default = SidePane;
|
@@ -28194,7 +28285,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28194
28285
|
};
|
28195
28286
|
|
28196
28287
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28197
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28288
|
+
var HLSView = React151.lazy(() => import("./HLSView-53PDKIS2.js"));
|
28198
28289
|
var VideoStreamingSection = ({
|
28199
28290
|
screenType,
|
28200
28291
|
elements,
|
@@ -28257,7 +28348,8 @@ var VideoStreamingSection = ({
|
|
28257
28348
|
Box,
|
28258
28349
|
{
|
28259
28350
|
css: {
|
28260
|
-
|
28351
|
+
flex: isMobileHLSStream ? "1 1 0" : void 0,
|
28352
|
+
height: !isMobileHLSStream ? "100%" : void 0,
|
28261
28353
|
maxHeight: "100%",
|
28262
28354
|
"&:empty": { display: "none" },
|
28263
28355
|
overflowY: "clip"
|
@@ -28530,16 +28622,16 @@ var ConferenceScreen = () => {
|
|
28530
28622
|
const { toggleAudio, toggleVideo } = useAVToggle7();
|
28531
28623
|
const noAVPermissions = !(toggleAudio || toggleVideo);
|
28532
28624
|
const showChat = !!((_a8 = screenProps.elements) == null ? void 0 : _a8.chat);
|
28625
|
+
const autoRoomJoined = useRef25(isPreviewScreenEnabled);
|
28626
|
+
const isMobileHLSStream = useMobileHLSStream();
|
28627
|
+
const isLandscapeHLSStream = useLandscapeHLSStream();
|
28628
|
+
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
28533
28629
|
const toggleControls = () => {
|
28534
28630
|
var _a9;
|
28535
|
-
if (((_a9 = dropdownListRef.current) == null ? void 0 : _a9.length) === 0 && isMobileDevice) {
|
28631
|
+
if (((_a9 = dropdownListRef.current) == null ? void 0 : _a9.length) === 0 && isMobileDevice && !isMwebHLSStream) {
|
28536
28632
|
setHideControls((value) => !value);
|
28537
28633
|
}
|
28538
28634
|
};
|
28539
|
-
const autoRoomJoined = useRef25(isPreviewScreenEnabled);
|
28540
|
-
const isMobileHLSStream = useMobileHLSStream();
|
28541
|
-
const isLandscapeHLSStream = useLandscapeHLSStream();
|
28542
|
-
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
28543
28635
|
useEffect50(() => {
|
28544
28636
|
let timeout;
|
28545
28637
|
dropdownListRef.current = dropdownList || [];
|
@@ -28579,6 +28671,7 @@ var ConferenceScreen = () => {
|
|
28579
28671
|
if (!isConnectedToRoom && ![HMSRoomState7.Reconnecting, HMSRoomState7.Disconnected].includes(roomState)) {
|
28580
28672
|
return /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: roomState === HMSRoomState7.Connecting ? "Joining..." : "" });
|
28581
28673
|
}
|
28674
|
+
const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
|
28582
28675
|
return /* @__PURE__ */ React155.createElement(React155.Fragment, null, isHLSStarted ? /* @__PURE__ */ React155.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ React155.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ React155.createElement(
|
28583
28676
|
Box,
|
28584
28677
|
{
|
@@ -28586,7 +28679,7 @@ var ConferenceScreen = () => {
|
|
28586
28679
|
css: {
|
28587
28680
|
h: "$18",
|
28588
28681
|
transition: "margin 0.3s ease-in-out",
|
28589
|
-
marginTop:
|
28682
|
+
marginTop: hideControlsForStreaming ? `-${(_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight}px` : "none",
|
28590
28683
|
"@md": {
|
28591
28684
|
h: "$17"
|
28592
28685
|
}
|
@@ -28594,7 +28687,7 @@ var ConferenceScreen = () => {
|
|
28594
28687
|
"data-testid": "header"
|
28595
28688
|
},
|
28596
28689
|
/* @__PURE__ */ React155.createElement(Header2, null)
|
28597
|
-
),
|
28690
|
+
), /* @__PURE__ */ React155.createElement(
|
28598
28691
|
Box,
|
28599
28692
|
{
|
28600
28693
|
css: {
|
@@ -28618,7 +28711,7 @@ var ConferenceScreen = () => {
|
|
28618
28711
|
{
|
28619
28712
|
screenType: screenProps.screenType,
|
28620
28713
|
elements: screenProps.elements,
|
28621
|
-
hideControls
|
28714
|
+
hideControls: hideControlsForStreaming
|
28622
28715
|
}
|
28623
28716
|
) : null
|
28624
28717
|
), !screenProps.hideSections.includes("footer") && screenProps.elements && !isMwebHLSStream && /* @__PURE__ */ React155.createElement(
|
@@ -28630,7 +28723,7 @@ var ConferenceScreen = () => {
|
|
28630
28723
|
maxHeight: "$24",
|
28631
28724
|
transition: "margin 0.3s ease-in-out",
|
28632
28725
|
bg: "$background_dim",
|
28633
|
-
marginBottom:
|
28726
|
+
marginBottom: hideControlsForStreaming ? `-${(_f = footerRef.current) == null ? void 0 : _f.clientHeight}px` : void 0,
|
28634
28727
|
"@md": {
|
28635
28728
|
maxHeight: "unset",
|
28636
28729
|
bg: screenProps.screenType === "hls_live_streaming" ? "transparent" : "$background_dim"
|
@@ -29271,6 +29364,26 @@ var ToastConfig = {
|
|
29271
29364
|
}
|
29272
29365
|
},
|
29273
29366
|
RAISE_HAND: {
|
29367
|
+
single: (notification) => {
|
29368
|
+
var _a8;
|
29369
|
+
return {
|
29370
|
+
title: `${(_a8 = notification.data) == null ? void 0 : _a8.name} raised hand`,
|
29371
|
+
icon: /* @__PURE__ */ React163.createElement(HandIcon6, null)
|
29372
|
+
};
|
29373
|
+
},
|
29374
|
+
multiple: (notifications) => {
|
29375
|
+
var _a8;
|
29376
|
+
const count = new Set(notifications.map((notification) => {
|
29377
|
+
var _a9;
|
29378
|
+
return (_a9 = notification.data) == null ? void 0 : _a9.id;
|
29379
|
+
})).size;
|
29380
|
+
return {
|
29381
|
+
title: `${(_a8 = notifications[notifications.length - 1].data) == null ? void 0 : _a8.name} ${count > 1 ? `${count} and others` : ""} raised hand`,
|
29382
|
+
icon: /* @__PURE__ */ React163.createElement(HandIcon6, null)
|
29383
|
+
};
|
29384
|
+
}
|
29385
|
+
},
|
29386
|
+
RAISE_HAND_HLS: {
|
29274
29387
|
single: (notification) => {
|
29275
29388
|
var _a8, _b7;
|
29276
29389
|
return {
|
@@ -29336,6 +29449,7 @@ var ToastConfig = {
|
|
29336
29449
|
// src/Prebuilt/components/Toast/ToastBatcher.js
|
29337
29450
|
var ToastBatcher = {
|
29338
29451
|
toastsType: /* @__PURE__ */ new Map(),
|
29452
|
+
toastCache: {},
|
29339
29453
|
showToastInternal({ notification, duration, type }) {
|
29340
29454
|
let notificationType = type;
|
29341
29455
|
if (!type) {
|
@@ -29371,7 +29485,13 @@ var ToastBatcher = {
|
|
29371
29485
|
},
|
29372
29486
|
showToast({ notification, duration = 3e3, type }) {
|
29373
29487
|
try {
|
29374
|
-
this.
|
29488
|
+
if (!this.toastCache[notification.id]) {
|
29489
|
+
this.showToastInternal({ notification, duration, type });
|
29490
|
+
}
|
29491
|
+
this.toastCache[notification.id] = true;
|
29492
|
+
if (Object.keys(this.toastCache).length > 100) {
|
29493
|
+
this.toastCache = {};
|
29494
|
+
}
|
29375
29495
|
} catch (err) {
|
29376
29496
|
console.debug("Notifications", err);
|
29377
29497
|
}
|
@@ -29397,12 +29517,12 @@ var HandRaisedNotifications = () => {
|
|
29397
29517
|
if (!(notification == null ? void 0 : notification.data)) {
|
29398
29518
|
return;
|
29399
29519
|
}
|
29400
|
-
if (roomState !== HMSRoomState9.Connected || notification.data.isLocal || !
|
29520
|
+
if (roomState !== HMSRoomState9.Connected || notification.data.isLocal || !isSubscribing) {
|
29401
29521
|
return;
|
29402
29522
|
}
|
29403
29523
|
const hasPeerHandRaised = vanillaStore.getState(selectHasPeerHandRaised4(notification.data.id));
|
29404
29524
|
if (hasPeerHandRaised) {
|
29405
|
-
ToastBatcher.showToast({ notification, type: "RAISE_HAND" });
|
29525
|
+
ToastBatcher.showToast({ notification, type: on_stage_exp ? "RAISE_HAND_HLS" : "RAISE_HAND" });
|
29406
29526
|
console.debug("Metadata updated", notification.data);
|
29407
29527
|
}
|
29408
29528
|
}, [isSubscribing, notification, on_stage_exp, roomState, vanillaStore]);
|
@@ -29482,7 +29602,7 @@ var PeerNotifications = () => {
|
|
29482
29602
|
return;
|
29483
29603
|
}
|
29484
29604
|
ToastBatcher.showToast({ notification });
|
29485
|
-
}, [notification, isPeerJoinSubscribed, isPeerLeftSubscribed]);
|
29605
|
+
}, [notification, isPeerJoinSubscribed, isPeerLeftSubscribed, selectedPeer.id, setPeerSelector]);
|
29486
29606
|
return null;
|
29487
29607
|
};
|
29488
29608
|
|
@@ -30491,6 +30611,7 @@ export {
|
|
30491
30611
|
Sheet,
|
30492
30612
|
ToastManager,
|
30493
30613
|
useIsLandscape,
|
30614
|
+
LeaveRoom,
|
30494
30615
|
DialogContent,
|
30495
30616
|
DialogRow,
|
30496
30617
|
ChatToggle,
|
@@ -30511,4 +30632,4 @@ lodash/lodash.js:
|
|
30511
30632
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
30512
30633
|
*)
|
30513
30634
|
*/
|
30514
|
-
//# sourceMappingURL=chunk-
|
30635
|
+
//# sourceMappingURL=chunk-2ZFAT7KY.js.map
|