@100mslive/roomkit-react 0.2.8-alpha.8 → 0.2.8-alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-6KPQ2KD6.js → HLSView-TOMPA4E4.js} +20 -19
- package/dist/HLSView-TOMPA4E4.js.map +7 -0
- package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +1 -3
- package/dist/Prebuilt/components/HMSVideo/index.d.ts +1 -3
- package/dist/{chunk-JQCSGJIR.js → chunk-FUDX3LDB.js} +146 -139
- package/dist/{chunk-JQCSGJIR.js.map → chunk-FUDX3LDB.js.map} +3 -3
- package/dist/index.cjs.js +142 -134
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +28 -18
- package/dist/meta.esbuild.json +38 -28
- package/package.json +6 -6
- package/src/Prebuilt/components/Footer/RoleOptions.tsx +125 -126
- package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +6 -6
- package/src/Prebuilt/components/Polls/common/utils.ts +1 -1
- package/src/Prebuilt/layouts/HLSView.jsx +31 -23
- package/dist/HLSView-6KPQ2KD6.js.map +0 -7
package/dist/index.cjs.js
CHANGED
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
|
|
108
108
|
var define_process_env_default;
|
109
109
|
var init_define_process_env = __esm({
|
110
110
|
"<define:process.env>"() {
|
111
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_823254f5-4732-4f6a-b145-e8ee8c580765", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.8-alpha.8", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_823254f5-4732-4f6a-b145-e8ee8c580765", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.8", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240225.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18399", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.8-alpha.8", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8096644752", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cddbc3f6a55bc8612229e7cfa865eb8946b564b2", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "c575132fce58c9c9522d988e6259e463636f8ea6fc6c9e954fd13a2f98e6f9d8", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1709212560278-0.2032246878266939:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709212560077-0.09680736633681075:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709212537346-0.3328263029647156:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709212537148-0.6509977578033861:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_21f0bbb0-418d-41e2-9dfa-8d77c2abd99c", INVOCATION_ID: "14a0ab590b55419eb88dcb5dc43a00ea", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "458", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 462", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.8-alpha.8", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.8", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "cddbc3f6a55bc8612229e7cfa865eb8946b564b2", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_823254f5-4732-4f6a-b145-e8ee8c580765", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_823254f5-4732-4f6a-b145-e8ee8c580765", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_823254f5-4732-4f6a-b145-e8ee8c580765" };
|
111
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_cf01f7b0-2724-4e4f-b298-ff7feccfe357", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.8-alpha.9", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_cf01f7b0-2724-4e4f-b298-ff7feccfe357", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.9", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "591", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240225.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19780", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.8-alpha.9", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8109554901", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2a735b6edf0b63927744abb555b47ab9be6e5891", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "7312e8d1b6dc1c3c88807c4efcd1e1b66331c074df1f1b56194f927df7add041", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1709286943827-0.6891216397962161:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709286943630-0.9971913087997049:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709286921685-0.8303138139294286:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709286921507-0.5830472582556345:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_105a33c3-e668-4c3a-9613-d5a1981afa4e", INVOCATION_ID: "546f5e1c56564beaa3ea908eafaed9c6", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "459", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 59", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.8-alpha.9", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.9", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "2a735b6edf0b63927744abb555b47ab9be6e5891", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_cf01f7b0-2724-4e4f-b298-ff7feccfe357", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_cf01f7b0-2724-4e4f-b298-ff7feccfe357", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_cf01f7b0-2724-4e4f-b298-ff7feccfe357" };
|
112
112
|
}
|
113
113
|
});
|
114
114
|
|
@@ -6870,8 +6870,8 @@ var require_lodash = __commonJS({
|
|
6870
6870
|
return { "start": start, "end": end };
|
6871
6871
|
}
|
6872
6872
|
function getWrapDetails(source) {
|
6873
|
-
var
|
6874
|
-
return
|
6873
|
+
var match10 = source.match(reWrapDetails);
|
6874
|
+
return match10 ? match10[1].split(reSplitDetails) : [];
|
6875
6875
|
}
|
6876
6876
|
function hasPath(object, path, hasFunc) {
|
6877
6877
|
path = castPath(path, object);
|
@@ -7139,8 +7139,8 @@ var require_lodash = __commonJS({
|
|
7139
7139
|
if (string.charCodeAt(0) === 46) {
|
7140
7140
|
result2.push("");
|
7141
7141
|
}
|
7142
|
-
string.replace(rePropName, function(
|
7143
|
-
result2.push(quote ? subString.replace(reEscapeChar, "$1") : number ||
|
7142
|
+
string.replace(rePropName, function(match10, number, quote, subString) {
|
7143
|
+
result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match10);
|
7144
7144
|
});
|
7145
7145
|
return result2;
|
7146
7146
|
});
|
@@ -8706,7 +8706,7 @@ var require_lodash = __commonJS({
|
|
8706
8706
|
"g"
|
8707
8707
|
);
|
8708
8708
|
var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
|
8709
|
-
string.replace(reDelimiters, function(
|
8709
|
+
string.replace(reDelimiters, function(match10, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
|
8710
8710
|
interpolateValue || (interpolateValue = esTemplateValue);
|
8711
8711
|
source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
|
8712
8712
|
if (escapeValue) {
|
@@ -8720,8 +8720,8 @@ var require_lodash = __commonJS({
|
|
8720
8720
|
if (interpolateValue) {
|
8721
8721
|
source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
|
8722
8722
|
}
|
8723
|
-
index = offset +
|
8724
|
-
return
|
8723
|
+
index = offset + match10.length;
|
8724
|
+
return match10;
|
8725
8725
|
});
|
8726
8726
|
source += "';\n";
|
8727
8727
|
var variable = hasOwnProperty.call(options, "variable") && options.variable;
|
@@ -8809,13 +8809,13 @@ var require_lodash = __commonJS({
|
|
8809
8809
|
}
|
8810
8810
|
if (isRegExp(separator)) {
|
8811
8811
|
if (string.slice(end).search(separator)) {
|
8812
|
-
var
|
8812
|
+
var match10, substring = result2;
|
8813
8813
|
if (!separator.global) {
|
8814
8814
|
separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
|
8815
8815
|
}
|
8816
8816
|
separator.lastIndex = 0;
|
8817
|
-
while (
|
8818
|
-
var newEnd =
|
8817
|
+
while (match10 = separator.exec(substring)) {
|
8818
|
+
var newEnd = match10.index;
|
8819
8819
|
}
|
8820
8820
|
result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd);
|
8821
8821
|
}
|
@@ -14018,7 +14018,7 @@ var require_ua_parser = __commonJS({
|
|
14018
14018
|
}
|
14019
14019
|
};
|
14020
14020
|
var rgxMapper = function(ua, arrays) {
|
14021
|
-
var i = 0, j, k2, p, q2, matches,
|
14021
|
+
var i = 0, j, k2, p, q2, matches, match10;
|
14022
14022
|
while (i < arrays.length && !matches) {
|
14023
14023
|
var regex = arrays[i], props = arrays[i + 1];
|
14024
14024
|
j = k2 = 0;
|
@@ -14029,26 +14029,26 @@ var require_ua_parser = __commonJS({
|
|
14029
14029
|
matches = regex[j++].exec(ua);
|
14030
14030
|
if (!!matches) {
|
14031
14031
|
for (p = 0; p < props.length; p++) {
|
14032
|
-
|
14032
|
+
match10 = matches[++k2];
|
14033
14033
|
q2 = props[p];
|
14034
14034
|
if (typeof q2 === OBJ_TYPE && q2.length > 0) {
|
14035
14035
|
if (q2.length === 2) {
|
14036
14036
|
if (typeof q2[1] == FUNC_TYPE) {
|
14037
|
-
this[q2[0]] = q2[1].call(this,
|
14037
|
+
this[q2[0]] = q2[1].call(this, match10);
|
14038
14038
|
} else {
|
14039
14039
|
this[q2[0]] = q2[1];
|
14040
14040
|
}
|
14041
14041
|
} else if (q2.length === 3) {
|
14042
14042
|
if (typeof q2[1] === FUNC_TYPE && !(q2[1].exec && q2[1].test)) {
|
14043
|
-
this[q2[0]] =
|
14043
|
+
this[q2[0]] = match10 ? q2[1].call(this, match10, q2[2]) : undefined2;
|
14044
14044
|
} else {
|
14045
|
-
this[q2[0]] =
|
14045
|
+
this[q2[0]] = match10 ? match10.replace(q2[1], q2[2]) : undefined2;
|
14046
14046
|
}
|
14047
14047
|
} else if (q2.length === 4) {
|
14048
|
-
this[q2[0]] =
|
14048
|
+
this[q2[0]] = match10 ? q2[3].call(this, match10.replace(q2[1], q2[2])) : undefined2;
|
14049
14049
|
}
|
14050
14050
|
} else {
|
14051
|
-
this[q2] =
|
14051
|
+
this[q2] = match10 ? match10 : undefined2;
|
14052
14052
|
}
|
14053
14053
|
}
|
14054
14054
|
}
|
@@ -15939,8 +15939,8 @@ var require_lodash2 = __commonJS({
|
|
15939
15939
|
|
15940
15940
|
// ../../node_modules/webrtc-adapter/src/js/utils.js
|
15941
15941
|
function extractVersion(uastring, expr, pos) {
|
15942
|
-
const
|
15943
|
-
return
|
15942
|
+
const match10 = uastring.match(expr);
|
15943
|
+
return match10 && match10.length >= pos && parseInt(match10[pos], 10);
|
15944
15944
|
}
|
15945
15945
|
function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
|
15946
15946
|
if (!window2.RTCPeerConnection) {
|
@@ -16232,7 +16232,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16232
16232
|
if (matches) {
|
16233
16233
|
return navigator2.mediaDevices.enumerateDevices().then((devices) => {
|
16234
16234
|
devices = devices.filter((d2) => d2.kind === "videoinput");
|
16235
|
-
let dev = devices.find((d2) => matches.some((
|
16235
|
+
let dev = devices.find((d2) => matches.some((match10) => d2.label.toLowerCase().includes(match10)));
|
16236
16236
|
if (!dev && devices.length && matches.includes("back")) {
|
16237
16237
|
dev = devices[devices.length - 1];
|
16238
16238
|
}
|
@@ -18330,11 +18330,11 @@ function shimMaxMessageSize(window2, browserDetails) {
|
|
18330
18330
|
});
|
18331
18331
|
};
|
18332
18332
|
const getRemoteFirefoxVersion = function(description) {
|
18333
|
-
const
|
18334
|
-
if (
|
18333
|
+
const match10 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
|
18334
|
+
if (match10 === null || match10.length < 2) {
|
18335
18335
|
return -1;
|
18336
18336
|
}
|
18337
|
-
const version = parseInt(
|
18337
|
+
const version = parseInt(match10[1], 10);
|
18338
18338
|
return version !== version ? -1 : version;
|
18339
18339
|
};
|
18340
18340
|
const getCanSendMaxMessageSize = function(remoteIsFirefox) {
|
@@ -18359,12 +18359,12 @@ function shimMaxMessageSize(window2, browserDetails) {
|
|
18359
18359
|
if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
|
18360
18360
|
maxMessageSize = 65535;
|
18361
18361
|
}
|
18362
|
-
const
|
18362
|
+
const match10 = import_sdp.default.matchPrefix(
|
18363
18363
|
description.sdp,
|
18364
18364
|
"a=max-message-size:"
|
18365
18365
|
);
|
18366
|
-
if (
|
18367
|
-
maxMessageSize = parseInt(
|
18366
|
+
if (match10.length > 0) {
|
18367
|
+
maxMessageSize = parseInt(match10[0].substring(19), 10);
|
18368
18368
|
} else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
|
18369
18369
|
maxMessageSize = 2147483637;
|
18370
18370
|
}
|
@@ -19186,13 +19186,13 @@ var require_parser = __commonJS({
|
|
19186
19186
|
var toIntIfInt = function(v2) {
|
19187
19187
|
return String(Number(v2)) === v2 ? Number(v2) : v2;
|
19188
19188
|
};
|
19189
|
-
var attachProperties = function(
|
19189
|
+
var attachProperties = function(match10, location, names, rawName) {
|
19190
19190
|
if (rawName && !names) {
|
19191
|
-
location[rawName] = toIntIfInt(
|
19191
|
+
location[rawName] = toIntIfInt(match10[1]);
|
19192
19192
|
} else {
|
19193
19193
|
for (var i = 0; i < names.length; i += 1) {
|
19194
|
-
if (
|
19195
|
-
location[names[i]] = toIntIfInt(
|
19194
|
+
if (match10[i + 1] != null) {
|
19195
|
+
location[names[i]] = toIntIfInt(match10[i + 1]);
|
19196
19196
|
}
|
19197
19197
|
}
|
19198
19198
|
}
|
@@ -19541,7 +19541,7 @@ var init_dist = __esm({
|
|
19541
19541
|
};
|
19542
19542
|
ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
19543
19543
|
dr = ba((Xc, $a) => {
|
19544
|
-
$a.exports = { version: "0.11.8-alpha.
|
19544
|
+
$a.exports = { version: "0.11.8-alpha.9", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
19545
19545
|
});
|
19546
19546
|
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 || {});
|
19547
19547
|
Aa = ((e) => (e.CHAT = "chat", e))(Aa || {});
|
@@ -22362,12 +22362,13 @@ var init_RemoveParticipant = __esm({
|
|
22362
22362
|
});
|
22363
22363
|
|
22364
22364
|
// src/Prebuilt/components/Footer/RoleOptions.tsx
|
22365
|
-
var import_react92, import_react_sdk43, import_react_icons41, dropdownItemCSS, optionTextCSS,
|
22365
|
+
var import_react92, import_ts_pattern5, import_react_sdk43, import_react_icons41, dropdownItemCSS, optionTextCSS, DropdownWrapper, RoleOptions;
|
22366
22366
|
var init_RoleOptions = __esm({
|
22367
22367
|
"src/Prebuilt/components/Footer/RoleOptions.tsx"() {
|
22368
22368
|
"use strict";
|
22369
22369
|
init_define_process_env();
|
22370
22370
|
import_react92 = __toESM(require("react"));
|
22371
|
+
import_ts_pattern5 = require("ts-pattern");
|
22371
22372
|
import_react_sdk43 = require("@100mslive/react-sdk");
|
22372
22373
|
import_react_icons41 = require("@100mslive/react-icons");
|
22373
22374
|
init_Dropdown2();
|
@@ -22382,12 +22383,55 @@ var init_RoleOptions = __esm({
|
|
22382
22383
|
textTransform: "none",
|
22383
22384
|
whiteSpace: "nowrap"
|
22384
22385
|
};
|
22385
|
-
|
22386
|
-
const
|
22387
|
-
|
22388
|
-
|
22386
|
+
DropdownWrapper = ({ children }) => {
|
22387
|
+
const [openOptions, setOpenOptions] = (0, import_react92.useState)(false);
|
22388
|
+
if (import_react92.default.Children.toArray(children).length === 0) {
|
22389
|
+
return null;
|
22390
|
+
}
|
22391
|
+
import_react92.default.Children.map(children, (child) => {
|
22392
|
+
console.log({ child });
|
22393
|
+
});
|
22394
|
+
return /* @__PURE__ */ import_react92.default.createElement(Dropdown.Root, { open: openOptions, onOpenChange: setOpenOptions }, /* @__PURE__ */ import_react92.default.createElement(
|
22395
|
+
Dropdown.Trigger,
|
22396
|
+
{
|
22397
|
+
"data-testid": "role_group_options",
|
22398
|
+
onClick: (e) => e.stopPropagation(),
|
22399
|
+
className: "role_actions",
|
22400
|
+
asChild: true,
|
22401
|
+
css: {
|
22402
|
+
p: "$1",
|
22403
|
+
r: "$0",
|
22404
|
+
c: "$on_surface_high",
|
22405
|
+
visibility: openOptions ? "visible" : "hidden",
|
22406
|
+
"&:hover": {
|
22407
|
+
c: "$on_surface_medium"
|
22408
|
+
},
|
22409
|
+
"@md": {
|
22410
|
+
visibility: "visible"
|
22411
|
+
}
|
22412
|
+
}
|
22413
|
+
},
|
22414
|
+
/* @__PURE__ */ import_react92.default.createElement(Flex, null, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.VerticalMenuIcon, null))
|
22415
|
+
), /* @__PURE__ */ import_react92.default.createElement(
|
22416
|
+
Dropdown.Content,
|
22417
|
+
{
|
22418
|
+
onClick: (e) => e.stopPropagation(),
|
22419
|
+
css: { w: "max-content", bg: "$surface_default", py: 0 },
|
22420
|
+
align: "end"
|
22421
|
+
},
|
22422
|
+
children
|
22423
|
+
));
|
22424
|
+
};
|
22425
|
+
RoleOptions = ({ roleName, peerList }) => {
|
22389
22426
|
const permissions = (0, import_react_sdk43.useHMSStore)(import_react_sdk43.selectPermissions);
|
22427
|
+
const hmsActions = (0, import_react_sdk43.useHMSActions)();
|
22428
|
+
const { elements } = useRoomLayoutConferencingScreen();
|
22429
|
+
const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
|
22430
|
+
const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
|
22390
22431
|
const role = (0, import_react_sdk43.useHMSStore)((0, import_react_sdk43.selectRoleByRoleName)(roleName));
|
22432
|
+
const canPublishAudio = role.publishParams.allowed.includes("audio");
|
22433
|
+
const canPublishVideo = role.publishParams.allowed.includes("video");
|
22434
|
+
const tracks = (0, import_react_sdk43.useHMSStore)(import_react_sdk43.selectTracksMap);
|
22391
22435
|
let isVideoOnForSomePeers = false;
|
22392
22436
|
let isAudioOnForSomePeers = false;
|
22393
22437
|
peerList.forEach((peer) => {
|
@@ -22395,8 +22439,8 @@ var init_RoleOptions = __esm({
|
|
22395
22439
|
if (peer.isLocal) {
|
22396
22440
|
return;
|
22397
22441
|
}
|
22398
|
-
const isAudioOn = !!peer.audioTrack && ((_a8 =
|
22399
|
-
const isVideoOn = !!peer.videoTrack && ((_b7 =
|
22442
|
+
const isAudioOn = !!peer.audioTrack && ((_a8 = tracks[peer.audioTrack]) == null ? void 0 : _a8.enabled);
|
22443
|
+
const isVideoOn = !!peer.videoTrack && ((_b7 = tracks[peer.videoTrack]) == null ? void 0 : _b7.enabled);
|
22400
22444
|
isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
|
22401
22445
|
isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
|
22402
22446
|
});
|
@@ -22407,22 +22451,8 @@ var init_RoleOptions = __esm({
|
|
22407
22451
|
console.error(e);
|
22408
22452
|
}
|
22409
22453
|
});
|
22410
|
-
if (!role) {
|
22411
|
-
return null;
|
22412
|
-
}
|
22413
|
-
return /* @__PURE__ */ import_react92.default.createElement(import_react92.default.Fragment, null, role.publishParams.allowed.includes("audio") && /* @__PURE__ */ import_react92.default.createElement(import_react92.default.Fragment, null, isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.MicOffIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All")) : null, !isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.MicOnIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Audio for All")) : null), role.publishParams.allowed.includes("video") && /* @__PURE__ */ import_react92.default.createElement(import_react92.default.Fragment, null, isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.VideoOffIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All")) : null, !isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.VideoOnIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Video for All")) : null));
|
22414
|
-
};
|
22415
|
-
RoleOptions = ({ roleName, peerList }) => {
|
22416
|
-
const [openOptions, setOpenOptions] = (0, import_react92.useState)(false);
|
22417
|
-
const permissions = (0, import_react_sdk43.useHMSStore)(import_react_sdk43.selectPermissions);
|
22418
|
-
const hmsActions = (0, import_react_sdk43.useHMSActions)();
|
22419
|
-
const { elements } = useRoomLayoutConferencingScreen();
|
22420
|
-
const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
|
22421
|
-
const canMuteOrUnmute = (permissions == null ? void 0 : permissions.mute) || (permissions == null ? void 0 : permissions.unmute);
|
22422
|
-
const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
|
22423
|
-
const role = (0, import_react_sdk43.useHMSStore)((0, import_react_sdk43.selectRoleByRoleName)(roleName));
|
22424
22454
|
const canRemoveRoleFromRoom = (permissions == null ? void 0 : permissions.removeOthers) && (on_stage_role === roleName || (off_stage_roles == null ? void 0 : off_stage_roles.includes(roleName)));
|
22425
|
-
if (
|
22455
|
+
if (peerList.length === 0 || // if only local peer is present no need to show any options
|
22426
22456
|
peerList.length === 1 && peerList[0].isLocal || !role) {
|
22427
22457
|
return null;
|
22428
22458
|
}
|
@@ -22443,54 +22473,31 @@ var init_RoleOptions = __esm({
|
|
22443
22473
|
console.error(e);
|
22444
22474
|
}
|
22445
22475
|
});
|
22446
|
-
return /* @__PURE__ */ import_react92.default.createElement(
|
22447
|
-
Dropdown.
|
22476
|
+
return /* @__PURE__ */ import_react92.default.createElement(DropdownWrapper, null, canRemoveRoleFromStage ? /* @__PURE__ */ import_react92.default.createElement(
|
22477
|
+
Dropdown.Item,
|
22448
22478
|
{
|
22449
|
-
|
22450
|
-
onClick:
|
22451
|
-
|
22452
|
-
|
22453
|
-
|
22454
|
-
|
22455
|
-
|
22456
|
-
|
22457
|
-
|
22458
|
-
|
22459
|
-
|
22460
|
-
|
22461
|
-
|
22462
|
-
|
22463
|
-
|
22464
|
-
}
|
22465
|
-
},
|
22466
|
-
/* @__PURE__ */ import_react92.default.createElement(Flex, null, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.VerticalMenuIcon, null))
|
22467
|
-
), /* @__PURE__ */ import_react92.default.createElement(
|
22468
|
-
Dropdown.Content,
|
22479
|
+
css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderBottom: "1px solid $border_bright" }),
|
22480
|
+
onClick: removeAllFromStage
|
22481
|
+
},
|
22482
|
+
/* @__PURE__ */ import_react92.default.createElement(import_react_icons41.PersonRectangleIcon, null),
|
22483
|
+
/* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Remove all from Stage")
|
22484
|
+
) : null, (0, import_ts_pattern5.match)({ canPublishAudio, isAudioOnForSomePeers, canMute: permissions == null ? void 0 : permissions.mute, canUnmute: permissions == null ? void 0 : permissions.unmute }).with({ canPublishAudio: true, isAudioOnForSomePeers: true, canMute: true }, () => {
|
22485
|
+
return /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.MicOffIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All"));
|
22486
|
+
}).with({ canPublishAudio: true, isAudioOnForSomePeers: false, canUnmute: true }, () => {
|
22487
|
+
return /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.MicOnIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Audio for All"));
|
22488
|
+
}).otherwise(() => null), (0, import_ts_pattern5.match)({ canPublishVideo, isVideoOnForSomePeers, canMute: permissions == null ? void 0 : permissions.mute, canUnmute: permissions == null ? void 0 : permissions.unmute }).with({ canPublishVideo: true, isVideoOnForSomePeers: true, canMute: true }, () => {
|
22489
|
+
return /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.VideoOffIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All"));
|
22490
|
+
}).with({ canPublishVideo: true, isVideoOnForSomePeers: false, canUnmute: true }, () => {
|
22491
|
+
return /* @__PURE__ */ import_react92.default.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ import_react92.default.createElement(import_react_icons41.VideoOnIcon, null), /* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Video for All"));
|
22492
|
+
}).otherwise(() => null), canRemoveRoleFromRoom ? /* @__PURE__ */ import_react92.default.createElement(
|
22493
|
+
Dropdown.Item,
|
22469
22494
|
{
|
22470
|
-
|
22471
|
-
|
22472
|
-
align: "end"
|
22495
|
+
css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderTop: "1px solid $border_bright", color: "$alert_error_default" }),
|
22496
|
+
onClick: removePeersFromRoom
|
22473
22497
|
},
|
22474
|
-
|
22475
|
-
|
22476
|
-
|
22477
|
-
css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderBottom: "1px solid $border_bright" }),
|
22478
|
-
onClick: removeAllFromStage
|
22479
|
-
},
|
22480
|
-
/* @__PURE__ */ import_react92.default.createElement(import_react_icons41.PersonRectangleIcon, null),
|
22481
|
-
/* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: optionTextCSS }, "Remove all from Stage")
|
22482
|
-
),
|
22483
|
-
canMuteOrUnmute && /* @__PURE__ */ import_react92.default.createElement(MuteUnmuteOption, { peerList, roleName }),
|
22484
|
-
canRemoveRoleFromRoom && /* @__PURE__ */ import_react92.default.createElement(
|
22485
|
-
Dropdown.Item,
|
22486
|
-
{
|
22487
|
-
css: __spreadProps(__spreadValues({}, dropdownItemCSS), { borderTop: "1px solid $border_bright", color: "$alert_error_default" }),
|
22488
|
-
onClick: removePeersFromRoom
|
22489
|
-
},
|
22490
|
-
/* @__PURE__ */ import_react92.default.createElement(import_react_icons41.RemoveUserIcon, null),
|
22491
|
-
/* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: __spreadProps(__spreadValues({}, optionTextCSS), { color: "inherit" }) }, "Remove all from Room")
|
22492
|
-
)
|
22493
|
-
));
|
22498
|
+
/* @__PURE__ */ import_react92.default.createElement(import_react_icons41.RemoveUserIcon, null),
|
22499
|
+
/* @__PURE__ */ import_react92.default.createElement(Text, { variant: "sm", css: __spreadProps(__spreadValues({}, optionTextCSS), { color: "inherit" }) }, "Remove all from Room")
|
22500
|
+
) : null);
|
22494
22501
|
};
|
22495
22502
|
}
|
22496
22503
|
});
|
@@ -24234,7 +24241,7 @@ var init_utils4 = __esm({
|
|
24234
24241
|
if (!precise && (hours || minutes)) {
|
24235
24242
|
return formattedTime;
|
24236
24243
|
}
|
24237
|
-
formattedTime += `${
|
24244
|
+
formattedTime += `${precise ? seconds.toFixed(3) : Math.floor(seconds)}s`;
|
24238
24245
|
return formattedTime;
|
24239
24246
|
};
|
24240
24247
|
}
|
@@ -24502,13 +24509,13 @@ var init_LeaderboardSummary = __esm({
|
|
24502
24509
|
});
|
24503
24510
|
|
24504
24511
|
// src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
|
24505
|
-
var import_react117,
|
24512
|
+
var import_react117, import_ts_pattern6, import_react_sdk55, import_react_icons57, QuestionCard2, QuestionActions;
|
24506
24513
|
var init_QuestionCard = __esm({
|
24507
24514
|
"src/Prebuilt/components/Polls/Voting/QuestionCard.jsx"() {
|
24508
24515
|
"use strict";
|
24509
24516
|
init_define_process_env();
|
24510
24517
|
import_react117 = __toESM(require("react"));
|
24511
|
-
|
24518
|
+
import_ts_pattern6 = require("ts-pattern");
|
24512
24519
|
import_react_sdk55 = require("@100mslive/react-sdk");
|
24513
24520
|
import_react_icons57 = require("@100mslive/react-icons");
|
24514
24521
|
init_src();
|
@@ -24589,7 +24596,7 @@ var init_QuestionCard = __esm({
|
|
24589
24596
|
{
|
24590
24597
|
variant: "caption",
|
24591
24598
|
css: {
|
24592
|
-
color: (0,
|
24599
|
+
color: (0, import_ts_pattern6.match)({ respondedToQuiz, isLive, isCorrectAnswer }).when(
|
24593
24600
|
({ respondedToQuiz: respondedToQuiz2, isLive: isLive2 }) => respondedToQuiz2 && !isLive2,
|
24594
24601
|
({ isCorrectAnswer: isCorrectAnswer2 }) => isCorrectAnswer2 ? "$alert_success" : "$alert_error_default"
|
24595
24602
|
).otherwise(() => "$on_surface_low"),
|
@@ -24599,7 +24606,7 @@ var init_QuestionCard = __esm({
|
|
24599
24606
|
gap: "$4"
|
24600
24607
|
}
|
24601
24608
|
},
|
24602
|
-
(0,
|
24609
|
+
(0, import_ts_pattern6.match)({ respondedToQuiz, pollEnded, isCorrectAnswer }).when(
|
24603
24610
|
({ respondedToQuiz: respondedToQuiz2, pollEnded: pollEnded2 }) => respondedToQuiz2 && pollEnded2,
|
24604
24611
|
({ isCorrectAnswer: isCorrectAnswer2 }) => {
|
24605
24612
|
return isCorrectAnswer2 ? /* @__PURE__ */ import_react117.default.createElement(import_react_icons57.CheckCircleIcon, { height: 16, width: 16 }) : /* @__PURE__ */ import_react117.default.createElement(import_react_icons57.CrossCircleIcon, { height: 16, width: 16 });
|
@@ -25439,13 +25446,13 @@ var init_usePinnedBy = __esm({
|
|
25439
25446
|
const pinnedMessages = (0, import_react_sdk62.useHMSStore)((0, import_react_sdk62.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
|
25440
25447
|
const [pinnedBy, setPinnedBy] = (0, import_react131.useState)("");
|
25441
25448
|
(0, import_react131.useEffect)(() => {
|
25442
|
-
let
|
25449
|
+
let match10 = "";
|
25443
25450
|
pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
|
25444
25451
|
if (pinnedMessage.id === messageId) {
|
25445
|
-
|
25452
|
+
match10 = pinnedMessage.pinnedBy;
|
25446
25453
|
}
|
25447
25454
|
});
|
25448
|
-
setPinnedBy(
|
25455
|
+
setPinnedBy(match10);
|
25449
25456
|
}, [messageId, pinnedMessages]);
|
25450
25457
|
return pinnedBy;
|
25451
25458
|
};
|
@@ -26763,7 +26770,7 @@ var init_PinnedMessage = __esm({
|
|
26763
26770
|
});
|
26764
26771
|
|
26765
26772
|
// src/Prebuilt/components/Chat/Chat.tsx
|
26766
|
-
var import_react143, import_react_use22,
|
26773
|
+
var import_react143, import_react_use22, import_ts_pattern7, import_react_sdk69, import_react_icons68, Chat, NewMessageIndicator;
|
26767
26774
|
var init_Chat = __esm({
|
26768
26775
|
"src/Prebuilt/components/Chat/Chat.tsx"() {
|
26769
26776
|
"use strict";
|
@@ -26771,7 +26778,7 @@ var init_Chat = __esm({
|
|
26771
26778
|
import_react143 = __toESM(require("react"));
|
26772
26779
|
import_react_use22 = require("react-use");
|
26773
26780
|
init_dist();
|
26774
|
-
|
26781
|
+
import_ts_pattern7 = require("ts-pattern");
|
26775
26782
|
import_react_sdk69 = require("@100mslive/react-sdk");
|
26776
26783
|
import_react_icons68 = require("@100mslive/react-icons");
|
26777
26784
|
init_Button2();
|
@@ -26830,7 +26837,7 @@ var init_Chat = __esm({
|
|
26830
26837
|
{
|
26831
26838
|
css: __spreadValues({
|
26832
26839
|
position: "absolute"
|
26833
|
-
}, (0,
|
26840
|
+
}, (0, import_ts_pattern7.match)({ isLandscapeStream, isChatEnabled }).with(
|
26834
26841
|
{
|
26835
26842
|
isLandscapeStream: true,
|
26836
26843
|
isChatEnabled: true
|
@@ -27067,14 +27074,14 @@ var init_ChatSettings = __esm({
|
|
27067
27074
|
});
|
27068
27075
|
|
27069
27076
|
// src/Prebuilt/components/SidePaneTabs.tsx
|
27070
|
-
var import_react146, import_react_use24,
|
27077
|
+
var import_react146, import_react_use24, import_ts_pattern8, import_react_sdk72, import_react_icons71, tabTriggerCSS, ParticipantCount2, SidePaneTabs;
|
27071
27078
|
var init_SidePaneTabs = __esm({
|
27072
27079
|
"src/Prebuilt/components/SidePaneTabs.tsx"() {
|
27073
27080
|
"use strict";
|
27074
27081
|
init_define_process_env();
|
27075
27082
|
import_react146 = __toESM(require("react"));
|
27076
27083
|
import_react_use24 = require("react-use");
|
27077
|
-
|
27084
|
+
import_ts_pattern8 = require("ts-pattern");
|
27078
27085
|
import_react_sdk72 = require("@100mslive/react-sdk");
|
27079
27086
|
import_react_icons71 = require("@100mslive/react-icons");
|
27080
27087
|
init_Chat();
|
@@ -27120,7 +27127,7 @@ var init_SidePaneTabs = __esm({
|
|
27120
27127
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
27121
27128
|
const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
|
27122
27129
|
(0, import_react146.useEffect)(() => {
|
27123
|
-
(0,
|
27130
|
+
(0, import_ts_pattern8.match)({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
|
27124
27131
|
setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
27125
27132
|
}).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
|
27126
27133
|
setActiveTab(SIDE_PANE_OPTIONS.CHAT);
|
@@ -27158,7 +27165,7 @@ var init_SidePaneTabs = __esm({
|
|
27158
27165
|
transition: "margin 0.3s ease-in-out"
|
27159
27166
|
}
|
27160
27167
|
},
|
27161
|
-
(0,
|
27168
|
+
(0, import_ts_pattern8.match)({ isOverlayChat, isChatOpen, showChat, hideTabs }).with({ isOverlayChat: true, isChatOpen: true, showChat: true }, () => /* @__PURE__ */ import_react146.default.createElement(Chat, null)).with({ hideTabs: true }, () => {
|
27162
27169
|
return /* @__PURE__ */ import_react146.default.createElement(import_react146.default.Fragment, null, /* @__PURE__ */ import_react146.default.createElement(Flex, { justify: "between", css: { w: "100%", "&:empty": { display: "none" } } }, /* @__PURE__ */ import_react146.default.createElement(
|
27163
27170
|
Text,
|
27164
27171
|
{
|
@@ -28186,14 +28193,14 @@ var init_VBPicker = __esm({
|
|
28186
28193
|
});
|
28187
28194
|
|
28188
28195
|
// src/Prebuilt/layouts/SidePane.tsx
|
28189
|
-
var import_react154, import_react_use28,
|
28196
|
+
var import_react154, import_react_use28, import_ts_pattern9, import_react_sdk78, Wrapper3, SidePane, SidePane_default;
|
28190
28197
|
var init_SidePane = __esm({
|
28191
28198
|
"src/Prebuilt/layouts/SidePane.tsx"() {
|
28192
28199
|
"use strict";
|
28193
28200
|
init_define_process_env();
|
28194
28201
|
import_react154 = __toESM(require("react"));
|
28195
28202
|
import_react_use28 = require("react-use");
|
28196
|
-
|
28203
|
+
import_ts_pattern9 = require("ts-pattern");
|
28197
28204
|
import_react_sdk78 = require("@100mslive/react-sdk");
|
28198
28205
|
init_Polls();
|
28199
28206
|
init_RoomDetailsPane();
|
@@ -28342,7 +28349,7 @@ var init_SidePane = __esm({
|
|
28342
28349
|
rootCSS: { p: 0, alignSelf: "start", flexShrink: 0 }
|
28343
28350
|
}, tileLayout)
|
28344
28351
|
),
|
28345
|
-
(0,
|
28352
|
+
(0, import_ts_pattern9.match)(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ import_react154.default.createElement(
|
28346
28353
|
Wrapper3,
|
28347
28354
|
__spreadValues({
|
28348
28355
|
css: {
|
@@ -30652,7 +30659,7 @@ var init_VideoProgress = __esm({
|
|
30652
30659
|
init_src();
|
30653
30660
|
init_PlayerContext();
|
30654
30661
|
init_utils6();
|
30655
|
-
VideoProgress = (
|
30662
|
+
VideoProgress = () => {
|
30656
30663
|
const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
|
30657
30664
|
const [videoProgress, setVideoProgress] = (0, import_react186.useState)(0);
|
30658
30665
|
const [bufferProgress, setBufferProgress] = (0, import_react186.useState)(0);
|
@@ -30665,14 +30672,15 @@ var init_VideoProgress = __esm({
|
|
30665
30672
|
return;
|
30666
30673
|
}
|
30667
30674
|
const timeupdateHandler = () => {
|
30668
|
-
var _a8;
|
30675
|
+
var _a8, _b7;
|
30669
30676
|
if (!videoEl) {
|
30670
30677
|
return;
|
30671
30678
|
}
|
30672
|
-
const
|
30679
|
+
const duration = isFinite(videoEl.duration) ? videoEl.duration : ((_a8 = videoEl.seekable) == null ? void 0 : _a8.end(0)) || 0;
|
30680
|
+
const videoProgress2 = Math.floor(getPercentage(videoEl.currentTime, duration));
|
30673
30681
|
let bufferProgress2 = 0;
|
30674
30682
|
if (videoEl.buffered.length > 0) {
|
30675
|
-
bufferProgress2 = Math.floor(getPercentage((
|
30683
|
+
bufferProgress2 = Math.floor(getPercentage((_b7 = videoEl.buffered) == null ? void 0 : _b7.end(0), duration));
|
30676
30684
|
}
|
30677
30685
|
setVideoProgress(isNaN(videoProgress2) ? 0 : videoProgress2);
|
30678
30686
|
setBufferProgress(isNaN(bufferProgress2) ? 0 : bufferProgress2);
|
@@ -30693,7 +30701,7 @@ var init_VideoProgress = __esm({
|
|
30693
30701
|
if (!videoEl) {
|
30694
30702
|
return null;
|
30695
30703
|
}
|
30696
|
-
return /* @__PURE__ */ import_react186.default.createElement(Flex, { align: "center", css: { cursor: "pointer", h: "$2", alignSelf: "stretch"
|
30704
|
+
return /* @__PURE__ */ import_react186.default.createElement(Flex, { align: "center", css: { cursor: "pointer", h: "$2", alignSelf: "stretch" } }, /* @__PURE__ */ import_react186.default.createElement(
|
30697
30705
|
Slider,
|
30698
30706
|
{
|
30699
30707
|
id: "video-actual-rest",
|
@@ -30701,8 +30709,7 @@ var init_VideoProgress = __esm({
|
|
30701
30709
|
cursor: "pointer",
|
30702
30710
|
h: "$2",
|
30703
30711
|
zIndex: 1,
|
30704
|
-
transition: `all .2s ease .5s
|
30705
|
-
pointerEvents: isDvr ? "" : "none"
|
30712
|
+
transition: `all .2s ease .5s`
|
30706
30713
|
},
|
30707
30714
|
min: 0,
|
30708
30715
|
max: 100,
|
@@ -30710,7 +30717,7 @@ var init_VideoProgress = __esm({
|
|
30710
30717
|
value: [videoProgress],
|
30711
30718
|
showTooltip: false,
|
30712
30719
|
onValueChange: onProgress,
|
30713
|
-
thumbStyles: { w: "$6", h: "$6"
|
30720
|
+
thumbStyles: { w: "$6", h: "$6" }
|
30714
30721
|
}
|
30715
30722
|
), /* @__PURE__ */ import_react186.default.createElement(
|
30716
30723
|
Box,
|
@@ -31323,7 +31330,7 @@ var init_HLSView = __esm({
|
|
31323
31330
|
init_constants();
|
31324
31331
|
toastMap = {};
|
31325
31332
|
HLSView = () => {
|
31326
|
-
var _a8, _b7, _c;
|
31333
|
+
var _a8, _b7, _c, _d, _e, _f;
|
31327
31334
|
const videoRef = (0, import_react194.useRef)(null);
|
31328
31335
|
const hlsViewRef = (0, import_react194.useRef)();
|
31329
31336
|
const hlsState = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectHLSState);
|
@@ -31558,7 +31565,8 @@ var init_HLSView = __esm({
|
|
31558
31565
|
}, []);
|
31559
31566
|
const onDoubleClickHandler = (0, import_react194.useCallback)(
|
31560
31567
|
(event) => {
|
31561
|
-
|
31568
|
+
var _a9;
|
31569
|
+
if (!(isMobile || isLandscape) || ((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) !== import_react_sdk96.HLSPlaylistType.DVR) {
|
31562
31570
|
return;
|
31563
31571
|
}
|
31564
31572
|
const sidePercentage = event.screenX * 100 / event.target.clientWidth;
|
@@ -31572,7 +31580,7 @@ var init_HLSView = __esm({
|
|
31572
31580
|
setIsSeekEnabled(false);
|
31573
31581
|
}, 200);
|
31574
31582
|
},
|
31575
|
-
[isLandscape, isMobile, onSeekTo]
|
31583
|
+
[hlsState == null ? void 0 : hlsState.variants, isLandscape, isMobile, onSeekTo]
|
31576
31584
|
);
|
31577
31585
|
const onClickHandler = (0, import_react194.useCallback)(() => {
|
31578
31586
|
if (!(isMobile || isLandscape)) {
|
@@ -31652,7 +31660,7 @@ var init_HLSView = __esm({
|
|
31652
31660
|
onDoubleClickHandler(e);
|
31653
31661
|
}
|
31654
31662
|
},
|
31655
|
-
/* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, isMobile || isLandscape ? /* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, !showLoader && /* @__PURE__ */ import_react194.default.createElement(
|
31663
|
+
/* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, isMobile || isLandscape ? /* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk96.HLSPlaylistType.DVR && /* @__PURE__ */ import_react194.default.createElement(
|
31656
31664
|
Flex,
|
31657
31665
|
{
|
31658
31666
|
align: "center",
|
@@ -31747,7 +31755,7 @@ var init_HLSView = __esm({
|
|
31747
31755
|
align: "start",
|
31748
31756
|
css: {
|
31749
31757
|
position: "absolute",
|
31750
|
-
bottom: isFullScreen && ((
|
31758
|
+
bottom: isFullScreen && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk96.HLSPlaylistType.DVR ? "$8" : "0",
|
31751
31759
|
left: "0",
|
31752
31760
|
zIndex: 1,
|
31753
31761
|
background: isMobile || isLandscape ? "" : `linear-gradient(180deg, ${theme.colors.background_dim.value}00 29.46%, ${theme.colors.background_dim.value}A3 100%);`,
|
@@ -31759,7 +31767,7 @@ var init_HLSView = __esm({
|
|
31759
31767
|
opacity: controlsVisible ? `1` : "0"
|
31760
31768
|
}
|
31761
31769
|
},
|
31762
|
-
|
31770
|
+
((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk96.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Progress, null) : null,
|
31763
31771
|
/* @__PURE__ */ import_react194.default.createElement(
|
31764
31772
|
HMSVideoPlayer.Controls.Root,
|
31765
31773
|
{
|
@@ -31767,7 +31775,7 @@ var init_HLSView = __esm({
|
|
31767
31775
|
p: "$4 $8"
|
31768
31776
|
}
|
31769
31777
|
},
|
31770
|
-
/* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, /* @__PURE__ */ import_react194.default.createElement(
|
31778
|
+
/* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk96.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react194.default.createElement(import_react194.default.Fragment, null, /* @__PURE__ */ import_react194.default.createElement(
|
31771
31779
|
HMSVideoPlayer.Seeker,
|
31772
31780
|
{
|
31773
31781
|
onClick: () => {
|
@@ -31785,7 +31793,7 @@ var init_HLSView = __esm({
|
|
31785
31793
|
title: "forward"
|
31786
31794
|
},
|
31787
31795
|
/* @__PURE__ */ import_react194.default.createElement(import_react_icons93.ForwardArrowIcon, { width: 20, height: 20 })
|
31788
|
-
), !isVideoLive ? /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Duration, null) : null, /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Volume, null)), /* @__PURE__ */ import_react194.default.createElement(
|
31796
|
+
), !isVideoLive ? /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Duration, null) : null) : null, /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Volume, null)), /* @__PURE__ */ import_react194.default.createElement(
|
31789
31797
|
IconButton,
|
31790
31798
|
{
|
31791
31799
|
css: { px: "$2" },
|
@@ -31817,7 +31825,7 @@ var init_HLSView = __esm({
|
|
31817
31825
|
},
|
31818
31826
|
isVideoLive ? "LIVE" : "GO LIVE"
|
31819
31827
|
)))
|
31820
|
-
), (isMobile || isLandscape) && !isVideoLive ? /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Duration, null) : null),
|
31828
|
+
), (isMobile || isLandscape) && !isVideoLive && ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk96.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Duration, null) : null),
|
31821
31829
|
/* @__PURE__ */ import_react194.default.createElement(HMSVideoPlayer.Controls.Right, null, hasCaptions && !(isMobile || isLandscape) && /* @__PURE__ */ import_react194.default.createElement(HLSCaptionSelector, { isEnabled: isCaptionEnabled }), availableLayers.length > 0 && !(isMobile || isLandscape) ? /* @__PURE__ */ import_react194.default.createElement(
|
31822
31830
|
HLSQualitySelector,
|
31823
31831
|
{
|