@100mslive/roomkit-react 0.3.12-alpha.8 → 0.3.13-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-YERRDOU3.css → HLSView-CU536VT4.css} +3 -3
- package/dist/{HLSView-YERRDOU3.css.map → HLSView-CU536VT4.css.map} +1 -1
- package/dist/{HLSView-HM5WEBLW.js → HLSView-K2ETVPZ6.js} +2 -2
- package/dist/Prebuilt/plugins/CaptionsViewer.d.ts +5 -1
- package/dist/{chunk-E2EX6WG2.js → chunk-3FTUSPXW.js} +232 -205
- package/dist/chunk-3FTUSPXW.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +205 -178
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +27 -22
- package/dist/meta.esbuild.json +37 -32
- package/package.json +7 -7
- package/src/Prebuilt/components/MoreSettings/CaptionContent.tsx +3 -0
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +5 -7
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +19 -3
- package/dist/chunk-E2EX6WG2.js.map +0 -7
- /package/dist/{HLSView-HM5WEBLW.js.map → HLSView-K2ETVPZ6.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
109
109
|
var define_process_env_default;
|
110
110
|
var init_define_process_env = __esm({
|
111
111
|
"<define:process.env>"() {
|
112
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f23148d2-da97-4e7e-8729-768782d45c1c", GIT_CLONE_PROTECTION_ACTIVE: "false", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.2-alpha.8", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.3 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.12-alpha.8", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f23148d2-da97-4e7e-8729-768782d45c1c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.12-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.9", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "593", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.10/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240603.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.3/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17376", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.12-alpha.8", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "true", GITHUB_RUN_ID: "9462359937", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e7d64aa51c443d954396dde339867efe572c0982", 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: "10c18f22c900480d5f4019804340e74e0e8b80e74334f44ddc0f0f2575c479ed", 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--1718095273649-0.6444348913573028:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718095273452-0.27461651391148423:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718095247567-0.05113045918839276:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718095247386-0.7049782734888921:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c4093190-a8a6-4c86-babc-5378a04407e6", INVOCATION_ID: "12e11d95729f4888a4a09b2a034e2560", 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: "569", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 61", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "true", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.12-alpha.8", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.12-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", GITHUB_SHA: "e7d64aa51c443d954396dde339867efe572c0982", 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_f23148d2-da97-4e7e-8729-768782d45c1c", 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", 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_f23148d2-da97-4e7e-8729-768782d45c1c", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__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_f23148d2-da97-4e7e-8729-768782d45c1c" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_aee35c30-81b4-4851-a088-db16e1c3ba79", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.3-alpha.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.3 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.13-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_aee35c30-81b4-4851-a088-db16e1c3ba79", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.13-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.9", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.11/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240609.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.4/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18217", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.13-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "true", GITHUB_RUN_ID: "9483002577", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "82f45fd8c79f9b264094447217d533d395e831fd", 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: "705b325098cbbe92c87cdc7656411dabb49e8deff999eda21b720d0d3feee680", 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--1718197155619-0.15661163645046838:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718197155417-0.9166698138007559:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718197129042-0.5676575760806672:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1718197128864-0.7995645223142662:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_23e2c54f-347e-4416-810e-639cca652813", INVOCATION_ID: "99b29505ad3845ca9a653362d5bb0b16", 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: "570", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 114", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "true", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.13-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.13-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "82f45fd8c79f9b264094447217d533d395e831fd", 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_aee35c30-81b4-4851-a088-db16e1c3ba79", 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", 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_aee35c30-81b4-4851-a088-db16e1c3ba79", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__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_aee35c30-81b4-4851-a088-db16e1c3ba79" };
|
113
113
|
}
|
114
114
|
});
|
115
115
|
|
@@ -2791,11 +2791,11 @@ var init_formatBytes = __esm({
|
|
2791
2791
|
return "-";
|
2792
2792
|
}
|
2793
2793
|
const k = 1024;
|
2794
|
-
const
|
2794
|
+
const dm = decimals < 0 ? 0 : decimals;
|
2795
2795
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
2796
2796
|
let i = Math.floor(Math.log(bytes) / Math.log(k));
|
2797
2797
|
i === 0 && i++;
|
2798
|
-
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(
|
2798
|
+
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
|
2799
2799
|
};
|
2800
2800
|
}
|
2801
2801
|
});
|
@@ -13595,10 +13595,10 @@ var init_StatsForNerds = __esm({
|
|
13595
13595
|
if (bytes === 0)
|
13596
13596
|
return "0 " + unit;
|
13597
13597
|
const k = 1024;
|
13598
|
-
const
|
13598
|
+
const dm = decimals < 0 ? 0 : decimals;
|
13599
13599
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
13600
13600
|
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
13601
|
-
return parseFloat((bytes / Math.pow(k, i)).toFixed(
|
13601
|
+
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
|
13602
13602
|
};
|
13603
13603
|
}
|
13604
13604
|
});
|
@@ -13813,6 +13813,7 @@ var init_CaptionContent = __esm({
|
|
13813
13813
|
yield actions.stopTranscription({
|
13814
13814
|
mode: import_react_sdk27.HMSTranscriptionMode.CAPTION
|
13815
13815
|
});
|
13816
|
+
setIsCaptionEnabled(false);
|
13816
13817
|
const id2 = ToastManager.replaceToast(toastId, {
|
13817
13818
|
title: `Disabling Closed Caption for everyone.`,
|
13818
13819
|
variant: "standard",
|
@@ -13840,6 +13841,8 @@ var init_CaptionContent = __esm({
|
|
13840
13841
|
icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons26.AlertTriangleIcon, { style: { marginRight: "0.5rem" } })
|
13841
13842
|
});
|
13842
13843
|
setToastId(id);
|
13844
|
+
} finally {
|
13845
|
+
setIsCaptionEnabled(true);
|
13843
13846
|
}
|
13844
13847
|
onExit();
|
13845
13848
|
})
|
@@ -19873,13 +19876,13 @@ function Qt(a2, e = 300) {
|
|
19873
19876
|
function R(a2) {
|
19874
19877
|
return (e) => (t) => a2(t, e);
|
19875
19878
|
}
|
19876
|
-
function
|
19879
|
+
function Em(a2) {
|
19877
19880
|
return (e) => {
|
19878
19881
|
if (e.sessionStore)
|
19879
19882
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19880
19883
|
};
|
19881
19884
|
}
|
19882
|
-
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, _t, import_eventemitter24, import_uuid9, import_uuid10, _a7, Na, Oa, Wt, qr, jr, Kr, S,
|
19885
|
+
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, _t, import_eventemitter24, import_uuid9, import_uuid10, _a7, Na, Oa, Wt, qr, jr, Kr, S, M, er, Ba, cr, tr, Va, Jr, ir, Qr, Xr, Ga, d, he, N, Zr, Le, $a, Fn, es, ts, rs, ss, Ve, y, f, qa, m, ar, as, ne, os, cs, ds, H, v, lr, j, ur, pr, hr, Ss, gs, Ts, fs, vs, Ms, mr, ks, Sr, As, gr, Tr, bs, Hs, pt, Qe, U, go, Hh, Ch, W, ni, Us, _, Rr, To, He, wh, fo, ue, vo, Y, fe, _h, Nh, ie, J, Mo, Vs, Oh, xh, Hr, yo, Bh, Vh, Fh, Gh, Wh, $h, Kh, qh, gt, Po, jh, X, Gs, Jh, Qh, pe, zh, Ye, Eo, Ws, Yh, $s, Xh, Zh, em, tm, im, rm, sm, am, om, Ks, lm, ko, um, js, Cr, Js, Qs, zs, Ys, Xs, Zs, ea, ta, Tt, E, Lr, ft, ia, Ao, Io, $, Dr, Ro, bo, Ho, Co, Lo, Q, Pm, Am, Im, ci, ra, Rm, bm, Hm, Do, wo, Lm, sa, Dm, _o, wm, _m, Nm, Om, xm, Um, aa, oa, Vm, Fm, na, Gm, Wm, ca, $m, Km, qm, da, la, No, Oo, xo, jm, Jm, Qm, zm, Ym, ua, dS, Uo, lS, uS, pS, Vo, Fo, xr, Me, K, Fi, zi, cn, dn, ln, un, Ca, pn, La, Gr, Pe, hn, mn, Sn, gn, Tn, fn, vn, Mn, yn, Pn, Wr, En, kn, An, In, Rn, bn;
|
19883
19886
|
var init_dist = __esm({
|
19884
19887
|
"../hms-video-store/dist/index.js"() {
|
19885
19888
|
"use strict";
|
@@ -19922,7 +19925,7 @@ var init_dist = __esm({
|
|
19922
19925
|
jr.call(e, t) && Kr(a2, t, e[t]);
|
19923
19926
|
return a2;
|
19924
19927
|
};
|
19925
|
-
|
19928
|
+
M = (a2, e) => Na(a2, Oa(e));
|
19926
19929
|
er = (a2, e) => {
|
19927
19930
|
var t = {};
|
19928
19931
|
for (var i in a2)
|
@@ -19934,7 +19937,7 @@ var init_dist = __esm({
|
|
19934
19937
|
};
|
19935
19938
|
Ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
19936
19939
|
cr = Ba((Ic, Ja) => {
|
19937
|
-
Ja.exports = { version: "0.12.
|
19940
|
+
Ja.exports = { version: "0.12.13-alpha.0", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
19938
19941
|
});
|
19939
19942
|
tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(tr || {});
|
19940
19943
|
Va = ((e) => (e.CHAT = "chat", e))(Va || {});
|
@@ -20017,7 +20020,7 @@ var init_dist = __esm({
|
|
20017
20020
|
rs = ((ts = (es = he.getBrowser()) == null ? void 0 : es.name) == null ? void 0 : ts.toLowerCase()) === "firefox";
|
20018
20021
|
ss = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ss || {});
|
20019
20022
|
Ve = Ka();
|
20020
|
-
|
20023
|
+
y = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
20021
20024
|
f = class a extends Error {
|
20022
20025
|
constructor(t, i, r, s, o, n = false) {
|
20023
20026
|
super(s);
|
@@ -20049,97 +20052,97 @@ var init_dist = __esm({
|
|
20049
20052
|
};
|
20050
20053
|
qa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
20051
20054
|
m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
20052
|
-
return new f(
|
20055
|
+
return new f(y.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
20053
20056
|
}, WebSocketConnectionLost(a2, e = "") {
|
20054
|
-
return new f(
|
20057
|
+
return new f(y.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
20055
20058
|
}, AbnormalClose(a2, e = "") {
|
20056
|
-
return new f(
|
20059
|
+
return new f(y.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
20057
20060
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
20058
20061
|
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
20059
20062
|
}, EndpointUnreachable(a2, e = "") {
|
20060
|
-
return new f(
|
20063
|
+
return new f(y.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
20061
20064
|
}, InvalidTokenFormat(a2, e = "") {
|
20062
|
-
return new f(
|
20065
|
+
return new f(y.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
20063
20066
|
}, InitConfigNotAvailable(a2, e = "") {
|
20064
|
-
return new f(
|
20067
|
+
return new f(y.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
20065
20068
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
20066
|
-
return new f(
|
20069
|
+
return new f(y.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
20067
20070
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
20068
|
-
return new f(
|
20071
|
+
return new f(y.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
20069
20072
|
}, DeviceNotAvailable(a2, e, t = "") {
|
20070
|
-
return new f(
|
20073
|
+
return new f(y.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
20071
20074
|
}, DeviceInUse(a2, e, t = "") {
|
20072
|
-
return new f(
|
20075
|
+
return new f(y.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
20073
20076
|
}, DeviceLostMidway(a2, e, t = "") {
|
20074
|
-
return new f(
|
20077
|
+
return new f(y.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
20075
20078
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
20076
|
-
return new f(
|
20079
|
+
return new f(y.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
20077
20080
|
}, InvalidVideoSettings(a2, e = "") {
|
20078
|
-
return new f(
|
20081
|
+
return new f(y.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
20079
20082
|
}, AutoplayBlocked(a2, e = "") {
|
20080
|
-
return new f(
|
20083
|
+
return new f(y.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
20081
20084
|
}, CodecChangeNotPermitted(a2, e = "") {
|
20082
|
-
return new f(
|
20085
|
+
return new f(y.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
20083
20086
|
}, OverConstrained(a2, e, t = "") {
|
20084
|
-
return new f(
|
20087
|
+
return new f(y.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
20085
20088
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
20086
|
-
return new f(
|
20089
|
+
return new f(y.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
20087
20090
|
}, SystemDeniedPermission(a2, e, t = "") {
|
20088
|
-
return new f(
|
20091
|
+
return new f(y.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
20089
20092
|
}, CurrentTabNotShared() {
|
20090
|
-
return new f(
|
20093
|
+
return new f(y.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
|
20091
20094
|
}, AudioPlaybackError(a2) {
|
20092
|
-
return new f(
|
20095
|
+
return new f(y.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
20093
20096
|
}, SelectedDeviceMissing(a2) {
|
20094
|
-
return new f(
|
20097
|
+
return new f(y.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
20095
20098
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
20096
|
-
return new f(
|
20099
|
+
return new f(y.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
20097
20100
|
}, CreateAnswerFailed(a2, e = "") {
|
20098
|
-
return new f(
|
20101
|
+
return new f(y.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
20099
20102
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
20100
|
-
return new f(
|
20103
|
+
return new f(y.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
20101
20104
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
20102
|
-
return new f(
|
20105
|
+
return new f(y.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
20103
20106
|
}, ICEFailure(a2, e = "", t = false) {
|
20104
|
-
return new f(
|
20107
|
+
return new f(y.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
20105
20108
|
}, ICEDisconnected(a2, e = "") {
|
20106
|
-
return new f(
|
20109
|
+
return new f(y.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
20107
20110
|
}, StatsFailed(a2, e = "") {
|
20108
|
-
return new f(
|
20111
|
+
return new f(y.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
20109
20112
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
20110
20113
|
return new f(a2, "ServerErrors", e, t, t, qa.includes(e));
|
20111
20114
|
}, AlreadyJoined(a2, e = "") {
|
20112
|
-
return new f(
|
20115
|
+
return new f(y.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
20113
20116
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
20114
|
-
return new f(
|
20117
|
+
return new f(y.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
20115
20118
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
20116
|
-
return new f(
|
20119
|
+
return new f(y.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
20117
20120
|
}, Signalling(a2, e) {
|
20118
|
-
return new f(
|
20121
|
+
return new f(y.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
20119
20122
|
}, Unknown(a2, e) {
|
20120
|
-
return new f(
|
20123
|
+
return new f(y.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
20121
20124
|
}, NotReady(a2, e = "") {
|
20122
|
-
return new f(
|
20125
|
+
return new f(y.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
20123
20126
|
}, JsonParsingFailed(a2, e, t = "") {
|
20124
|
-
return new f(
|
20127
|
+
return new f(y.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
20125
20128
|
}, TrackMetadataMissing(a2, e = "") {
|
20126
|
-
return new f(
|
20129
|
+
return new f(y.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
20127
20130
|
}, RTCTrackMissing(a2, e = "") {
|
20128
|
-
return new f(
|
20131
|
+
return new f(y.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
20129
20132
|
}, PeerMetadataMissing(a2, e = "") {
|
20130
|
-
return new f(
|
20133
|
+
return new f(y.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
20131
20134
|
}, ValidationFailed(a2, e) {
|
20132
|
-
return new f(
|
20135
|
+
return new f(y.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
20133
20136
|
}, InvalidRole(a2, e) {
|
20134
|
-
return new f(
|
20137
|
+
return new f(y.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
20135
20138
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
20136
|
-
return new f(
|
20139
|
+
return new f(y.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
20137
20140
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
20138
|
-
return new f(
|
20141
|
+
return new f(y.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
20139
20142
|
}, MissingMediaDevices() {
|
20140
|
-
return new f(
|
20143
|
+
return new f(y.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
|
20141
20144
|
}, MissingRTCPeerConnection() {
|
20142
|
-
return new f(
|
20145
|
+
return new f(y.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
|
20143
20146
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
20144
20147
|
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
20145
20148
|
}, InitFailed(a2, e = "") {
|
@@ -20151,9 +20154,9 @@ var init_dist = __esm({
|
|
20151
20154
|
}, DeviceNotSupported(a2, e = "") {
|
20152
20155
|
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
20153
20156
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
20154
|
-
return new f(
|
20157
|
+
return new f(y.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
20155
20158
|
}, NoEntryPlaying(a2, e) {
|
20156
|
-
return new f(
|
20159
|
+
return new f(y.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
20157
20160
|
} } };
|
20158
20161
|
ar = class {
|
20159
20162
|
constructor() {
|
@@ -20220,93 +20223,99 @@ var init_dist = __esm({
|
|
20220
20223
|
};
|
20221
20224
|
cs = cr().version;
|
20222
20225
|
ds = (a2, e = ",") => Object.keys(a2).filter((t) => re(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
20223
|
-
|
20226
|
+
H = class {
|
20224
20227
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
20225
20228
|
this.metadata = { peer: {}, userAgent: ot() };
|
20226
20229
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = os();
|
20227
20230
|
}
|
20228
20231
|
toSignalParams() {
|
20229
|
-
return { name: this.name, info:
|
20232
|
+
return { name: this.name, info: M(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
20230
20233
|
}
|
20231
20234
|
};
|
20232
|
-
|
20235
|
+
v = class {
|
20233
20236
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
20234
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(
|
20235
|
-
return new
|
20237
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(M(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
20238
|
+
return new H({ name: o, level: n, properties: l });
|
20236
20239
|
}
|
20237
20240
|
static disconnect(e, t) {
|
20238
20241
|
let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
|
20239
|
-
return new
|
20242
|
+
return new H({ name: i, level: r, properties: s });
|
20240
20243
|
}
|
20241
20244
|
static preview(i) {
|
20242
20245
|
var r = i, { error: e } = r, t = er(r, ["error"]);
|
20243
20246
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
20244
|
-
return new
|
20247
|
+
return new H({ name: s, level: o, properties: n });
|
20245
20248
|
}
|
20246
20249
|
static join(i) {
|
20247
20250
|
var r = i, { error: e } = r, t = er(r, ["error"]);
|
20248
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(
|
20249
|
-
return new
|
20251
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
20252
|
+
return new H({ name: s, level: o, properties: n });
|
20250
20253
|
}
|
20251
20254
|
static publish({ devices: e, settings: t, error: i }) {
|
20252
20255
|
let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
|
20253
|
-
return new
|
20256
|
+
return new H({ name: r, level: s, properties: o });
|
20254
20257
|
}
|
20255
20258
|
static hlsPlayerError(e) {
|
20256
|
-
return new
|
20259
|
+
return new H({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
|
20257
20260
|
}
|
20258
20261
|
static subscribeFail(e) {
|
20259
20262
|
let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
|
20260
|
-
return new
|
20263
|
+
return new H({ name: t, level: i, properties: r });
|
20261
20264
|
}
|
20262
20265
|
static leave() {
|
20263
|
-
return new
|
20266
|
+
return new H({ name: "leave", level: 1 });
|
20264
20267
|
}
|
20265
20268
|
static autoplayError() {
|
20266
|
-
return new
|
20269
|
+
return new H({ name: "autoplayError", level: 2 });
|
20267
20270
|
}
|
20268
20271
|
static audioPlaybackError(e) {
|
20269
|
-
return new
|
20272
|
+
return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
|
20270
20273
|
}
|
20271
20274
|
static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
|
20272
20275
|
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, l = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
|
20273
|
-
return new
|
20276
|
+
return new H({ name: o, level: n, properties: l });
|
20274
20277
|
}
|
20275
20278
|
static performance(e) {
|
20276
20279
|
let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
|
20277
|
-
return new
|
20280
|
+
return new H({ name: t, level: i, properties: r });
|
20278
20281
|
}
|
20279
20282
|
static rtcStats(e) {
|
20280
20283
|
let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
|
20281
|
-
return new
|
20284
|
+
return new H({ name: t, level: i, properties: r });
|
20282
20285
|
}
|
20283
20286
|
static rtcStatsFailed(e) {
|
20284
20287
|
let t = "rtc.stats.failed", i = 2;
|
20285
|
-
return new
|
20288
|
+
return new H({ name: t, level: i, properties: this.getErrorProperties(e) });
|
20286
20289
|
}
|
20287
20290
|
static degradationStats(e, t) {
|
20288
20291
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
20289
20292
|
if (!t && e.degradedAt instanceof Date) {
|
20290
20293
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
20291
|
-
s =
|
20294
|
+
s = M(S({}, s), { duration: n, restoredAt: o });
|
20292
20295
|
}
|
20293
|
-
return new
|
20296
|
+
return new H({ name: i, level: r, properties: s });
|
20294
20297
|
}
|
20295
20298
|
static audioDetectionFail(e, t) {
|
20296
20299
|
let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
|
20297
|
-
return new
|
20300
|
+
return new H({ name: s, level: r, properties: i });
|
20298
20301
|
}
|
20299
20302
|
static previewNetworkQuality(e) {
|
20300
|
-
return new
|
20303
|
+
return new H({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
|
20301
20304
|
}
|
20302
20305
|
static publishStats(e) {
|
20303
|
-
return new
|
20306
|
+
return new H({ name: "publisher.stats", level: 1, properties: e });
|
20304
20307
|
}
|
20305
20308
|
static subscribeStats(e) {
|
20306
|
-
return new
|
20309
|
+
return new H({ name: "subscriber.stats", level: 1, properties: e });
|
20307
20310
|
}
|
20308
20311
|
static getKrispUsage(e) {
|
20309
|
-
return new
|
20312
|
+
return new H({ name: "krisp.usage", level: 1, properties: { duration: e } });
|
20313
|
+
}
|
20314
|
+
static krispStart() {
|
20315
|
+
return new H({ name: "krisp.start", level: 1 });
|
20316
|
+
}
|
20317
|
+
static krispStop() {
|
20318
|
+
return new H({ name: "krisp.stop", level: 1 });
|
20310
20319
|
}
|
20311
20320
|
static eventNameFor(e, t) {
|
20312
20321
|
return `${e}.${t ? "success" : "failed"}`;
|
@@ -20319,7 +20328,7 @@ var init_dist = __esm({
|
|
20319
20328
|
return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
20320
20329
|
}
|
20321
20330
|
};
|
20322
|
-
|
20331
|
+
v.KEY_REQUESTED_AT = "requested_at", v.KEY_RESPONDED_AT = "responded_at";
|
20323
20332
|
lr = class {
|
20324
20333
|
constructor() {
|
20325
20334
|
this.storage = new ne("hms-device-selection");
|
@@ -20430,8 +20439,8 @@ var init_dist = __esm({
|
|
20430
20439
|
Qe.makePeerId = () => (0, import_uuid7.v4)();
|
20431
20440
|
U = (a2) => a2.room;
|
20432
20441
|
go = (a2) => a2.errors;
|
20433
|
-
|
20434
|
-
|
20442
|
+
Hh = createSelector(go, (a2) => a2.length === 0 ? null : a2.at(-1));
|
20443
|
+
Ch = createSelector(U, (a2) => a2.id);
|
20435
20444
|
W = (a2) => a2.peers;
|
20436
20445
|
ni = (a2) => a2.messages.byID;
|
20437
20446
|
Us = (a2) => a2.messages.allIDs;
|
@@ -20439,14 +20448,14 @@ var init_dist = __esm({
|
|
20439
20448
|
Rr = (a2) => a2.appData;
|
20440
20449
|
To = (a2) => a2.speakers;
|
20441
20450
|
He = createSelector([U], (a2) => a2 && a2.isConnected);
|
20442
|
-
|
20451
|
+
wh = createSelector([He, U], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
20443
20452
|
fo = (a2) => a2.hideLocalPeer;
|
20444
20453
|
ue = createSelector([U, W, fo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
20445
20454
|
vo = createSelector(_, (a2) => Object.values(a2));
|
20446
20455
|
Y = createSelector(U, W, (a2, e) => e[a2.localPeer]);
|
20447
20456
|
fe = createSelector(U, (a2) => a2.localPeer);
|
20448
|
-
|
20449
|
-
|
20457
|
+
_h = createSelector(Y, (a2) => a2 == null ? void 0 : a2.name);
|
20458
|
+
Nh = createSelector(Y, (a2) => a2 == null ? void 0 : a2.roleName);
|
20450
20459
|
ie = createSelector(Y, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
20451
20460
|
J = createSelector(Y, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
20452
20461
|
Mo = createSelector(Y, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
@@ -20454,8 +20463,8 @@ var init_dist = __esm({
|
|
20454
20463
|
let i = t ? [...t] : [];
|
20455
20464
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
20456
20465
|
});
|
20457
|
-
|
20458
|
-
|
20466
|
+
Oh = createSelector(ue, (a2) => a2.filter((e) => !e.isLocal));
|
20467
|
+
xh = createSelector(W, To, (a2, e) => {
|
20459
20468
|
let t = Object.entries(e).sort((i, r) => {
|
20460
20469
|
var n, l;
|
20461
20470
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -20482,15 +20491,15 @@ var init_dist = __esm({
|
|
20482
20491
|
}
|
20483
20492
|
return t;
|
20484
20493
|
});
|
20485
|
-
|
20486
|
-
|
20494
|
+
Bh = createSelector(yo, (a2) => !!a2);
|
20495
|
+
Vh = createSelector(W, _, (a2, e) => {
|
20487
20496
|
for (let t in a2) {
|
20488
20497
|
let i = a2[t], { audio: r, video: s } = Ce(e, i);
|
20489
20498
|
if (!s && r)
|
20490
20499
|
return i;
|
20491
20500
|
}
|
20492
20501
|
});
|
20493
|
-
|
20502
|
+
Fh = createSelector(W, _, (a2, e) => {
|
20494
20503
|
let t = [], i = [];
|
20495
20504
|
for (let r in a2) {
|
20496
20505
|
let s = a2[r], { video: o, audio: n } = Ce(e, s);
|
@@ -20498,23 +20507,23 @@ var init_dist = __esm({
|
|
20498
20507
|
}
|
20499
20508
|
return t.concat(i);
|
20500
20509
|
});
|
20501
|
-
|
20510
|
+
Gh = createSelector(W, _, (a2, e) => {
|
20502
20511
|
for (let t in e) {
|
20503
20512
|
let i = e[t];
|
20504
20513
|
if (st(i) && rt(i) && i.peerId)
|
20505
20514
|
return a2[i.peerId];
|
20506
20515
|
}
|
20507
20516
|
});
|
20508
|
-
|
20517
|
+
Wh = createSelector(W, _, (a2, e) => {
|
20509
20518
|
for (let t in e) {
|
20510
20519
|
let i = e[t];
|
20511
20520
|
if (qt(i) && i.peerId)
|
20512
20521
|
return a2[i.peerId];
|
20513
20522
|
}
|
20514
20523
|
});
|
20515
|
-
|
20516
|
-
|
20517
|
-
|
20524
|
+
$h = createSelector(vo, (a2) => a2.filter(zr));
|
20525
|
+
Kh = createSelector(Us, (a2) => a2.length);
|
20526
|
+
qh = createSelector(ni, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
20518
20527
|
gt = createSelector(Us, ni, (a2, e) => {
|
20519
20528
|
let t = [];
|
20520
20529
|
return a2.forEach((i) => {
|
@@ -20525,37 +20534,37 @@ var init_dist = __esm({
|
|
20525
20534
|
var t;
|
20526
20535
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
20527
20536
|
}));
|
20528
|
-
|
20537
|
+
jh = createSelector(Po, (a2) => a2.filter((e) => !e.read).length);
|
20529
20538
|
X = createSelector([U], (a2) => a2 && a2.roomState);
|
20530
20539
|
Gs = createSelector(X, (a2) => a2 === "Preview");
|
20531
|
-
|
20532
|
-
|
20540
|
+
Jh = createSelector(U, (a2) => a2.roomState !== "Disconnected");
|
20541
|
+
Qh = createSelector(U, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
20533
20542
|
pe = (a2) => a2.roles;
|
20534
|
-
|
20543
|
+
zh = createSelector([pe], (a2) => Object.keys(a2));
|
20535
20544
|
Ye = createSelector([Y, pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
20536
20545
|
Eo = (a2) => {
|
20537
20546
|
var e;
|
20538
20547
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
20539
20548
|
};
|
20540
20549
|
Ws = createSelector([Eo, pe], (a2, e) => a2 ? e[a2] : null);
|
20541
|
-
|
20550
|
+
Yh = createSelector([Ye], (a2) => {
|
20542
20551
|
var e;
|
20543
20552
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
20544
20553
|
});
|
20545
20554
|
$s = createSelector(Ye, (a2) => a2 == null ? void 0 : a2.permissions);
|
20546
|
-
|
20547
|
-
|
20548
|
-
|
20549
|
-
|
20550
|
-
|
20551
|
-
|
20552
|
-
|
20553
|
-
|
20554
|
-
|
20555
|
+
Xh = createSelector(U, (a2) => a2.recording);
|
20556
|
+
Zh = createSelector(U, (a2) => a2.rtmp);
|
20557
|
+
em = createSelector(U, (a2) => a2.hls);
|
20558
|
+
tm = createSelector(U, (a2) => a2.transcriptions);
|
20559
|
+
im = createSelector(U, (a2) => a2.sessionId);
|
20560
|
+
rm = createSelector(U, (a2) => a2.startedAt);
|
20561
|
+
sm = createSelector(U, (a2) => !!a2.isLargeRoom);
|
20562
|
+
am = createSelector(U, (a2) => !!a2.isEffectsEnabled);
|
20563
|
+
om = createSelector(U, (a2) => a2.effectsKey);
|
20555
20564
|
Ks = (a2) => a2.polls;
|
20556
|
-
|
20565
|
+
lm = createSelector(ue, (a2) => a2.filter((e) => e.isHandRaised));
|
20557
20566
|
ko = (a2) => a2.whiteboards;
|
20558
|
-
|
20567
|
+
um = createSelector(ko, (a2) => Object.values(a2)[0]);
|
20559
20568
|
js = (a2 = "audio") => (e) => e.playlist[a2].list;
|
20560
20569
|
Cr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
20561
20570
|
Js = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -20669,17 +20678,17 @@ var init_dist = __esm({
|
|
20669
20678
|
});
|
20670
20679
|
Lo = createSelector([Ks, Io], (a2, e) => e ? a2[e] : null);
|
20671
20680
|
Q = R($);
|
20672
|
-
|
20681
|
+
Pm = R(createSelector([Rr, Ao], (a2, e) => {
|
20673
20682
|
if (a2)
|
20674
20683
|
return e ? a2[e] : a2;
|
20675
20684
|
}));
|
20676
|
-
|
20677
|
-
|
20685
|
+
Am = R(createSelector($, (a2) => a2 == null ? void 0 : a2.name));
|
20686
|
+
Im = R(createSelector($, (a2) => a2 == null ? void 0 : a2.type));
|
20678
20687
|
ci = R(Dr);
|
20679
20688
|
ra = R(Ro);
|
20680
|
-
|
20681
|
-
|
20682
|
-
|
20689
|
+
Rm = R(bo);
|
20690
|
+
bm = R(Ho);
|
20691
|
+
Hm = R(Co);
|
20683
20692
|
Do = R((a2, e) => {
|
20684
20693
|
let t = $(a2, e);
|
20685
20694
|
if (t && t.videoTrack && t.videoTrack !== "")
|
@@ -20690,43 +20699,43 @@ var init_dist = __esm({
|
|
20690
20699
|
if (t && t.audioTrack && t.audioTrack !== "")
|
20691
20700
|
return a2.tracks[t.audioTrack];
|
20692
20701
|
});
|
20693
|
-
|
20702
|
+
Lm = R((a2, e) => {
|
20694
20703
|
let t = $(a2, e);
|
20695
20704
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
20696
20705
|
});
|
20697
20706
|
sa = (a2, e) => e ? a2.speakers[e] : null;
|
20698
|
-
|
20707
|
+
Dm = R(createSelector(sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20699
20708
|
_o = (a2, e) => {
|
20700
20709
|
let t = wo(e)(a2);
|
20701
20710
|
return sa(a2, t == null ? void 0 : t.id);
|
20702
20711
|
};
|
20703
|
-
|
20704
|
-
|
20712
|
+
wm = R(createSelector(_o, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20713
|
+
_m = R((a2, e) => {
|
20705
20714
|
if (e)
|
20706
20715
|
return a2.connectionQualities[e];
|
20707
20716
|
});
|
20708
|
-
|
20717
|
+
Nm = R((a2, e) => {
|
20709
20718
|
let t = $(a2, e);
|
20710
20719
|
if (t) {
|
20711
20720
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => it(a2.tracks[r]));
|
20712
20721
|
return i ? a2.tracks[i] : void 0;
|
20713
20722
|
}
|
20714
20723
|
});
|
20715
|
-
|
20724
|
+
Om = R(createSelector(_, $, (a2, e) => {
|
20716
20725
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20717
20726
|
let r = a2[i];
|
20718
20727
|
return st(r) && rt(r);
|
20719
20728
|
});
|
20720
20729
|
return t ? a2[t] : void 0;
|
20721
20730
|
}));
|
20722
|
-
|
20731
|
+
xm = R(createSelector(_, $, (a2, e) => {
|
20723
20732
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20724
20733
|
let r = a2[i];
|
20725
20734
|
return st(r) && it(r);
|
20726
20735
|
});
|
20727
20736
|
return t ? a2[t] : void 0;
|
20728
20737
|
}));
|
20729
|
-
|
20738
|
+
Um = R(createSelector(_, $, (a2, e) => {
|
20730
20739
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20731
20740
|
let r = a2[i];
|
20732
20741
|
return qt(r) && it(r);
|
@@ -20735,11 +20744,11 @@ var init_dist = __esm({
|
|
20735
20744
|
}));
|
20736
20745
|
aa = R(createSelector(_, $, (a2, e) => Ce(a2, e)));
|
20737
20746
|
oa = (a2) => createSelector(aa(a2), (e) => e.audio);
|
20738
|
-
|
20747
|
+
Vm = R((a2, e) => {
|
20739
20748
|
let t = $(a2, e);
|
20740
20749
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
20741
20750
|
});
|
20742
|
-
|
20751
|
+
Fm = R((a2, e) => {
|
20743
20752
|
let t = $(a2, e);
|
20744
20753
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
20745
20754
|
});
|
@@ -20747,11 +20756,11 @@ var init_dist = __esm({
|
|
20747
20756
|
if (e && a2.tracks[e])
|
20748
20757
|
return a2.tracks[e].volume === 0;
|
20749
20758
|
});
|
20750
|
-
|
20759
|
+
Gm = R((a2, e) => {
|
20751
20760
|
let t = $(a2, e);
|
20752
20761
|
return na(t == null ? void 0 : t.audioTrack)(a2);
|
20753
20762
|
});
|
20754
|
-
|
20763
|
+
Wm = R((a2, e) => {
|
20755
20764
|
let t = oa(e)(a2);
|
20756
20765
|
return na(t == null ? void 0 : t.id)(a2);
|
20757
20766
|
});
|
@@ -20765,15 +20774,15 @@ var init_dist = __esm({
|
|
20765
20774
|
return t.volume;
|
20766
20775
|
}
|
20767
20776
|
});
|
20768
|
-
|
20777
|
+
$m = R((a2, e) => {
|
20769
20778
|
let t = $(a2, e);
|
20770
20779
|
return ca(t == null ? void 0 : t.audioTrack)(a2);
|
20771
20780
|
});
|
20772
|
-
|
20781
|
+
Km = R((a2, e) => {
|
20773
20782
|
let t = oa(e)(a2);
|
20774
20783
|
return ca(t == null ? void 0 : t.id)(a2);
|
20775
20784
|
});
|
20776
|
-
|
20785
|
+
qm = R((a2, e) => {
|
20777
20786
|
let t = Dr(a2, e);
|
20778
20787
|
if (t) {
|
20779
20788
|
if (t.type !== "video") {
|
@@ -20803,20 +20812,20 @@ var init_dist = __esm({
|
|
20803
20812
|
}));
|
20804
20813
|
Oo = createSelector([la, ia], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20805
20814
|
xo = createSelector([da, Lr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20806
|
-
|
20807
|
-
|
20808
|
-
|
20809
|
-
|
20810
|
-
|
20815
|
+
jm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
|
20816
|
+
Jm = R(da);
|
20817
|
+
Qm = R(la);
|
20818
|
+
zm = R(Oo);
|
20819
|
+
Ym = R(xo);
|
20811
20820
|
ua = R(Lo);
|
20812
|
-
|
20821
|
+
dS = createSelector([W, _], (a2, e) => Object.values(a2).map((i) => {
|
20813
20822
|
var r;
|
20814
20823
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
20815
20824
|
}));
|
20816
20825
|
Uo = (a2) => a2.roleChangeRequests[0] || null;
|
20817
|
-
|
20818
|
-
|
20819
|
-
|
20826
|
+
lS = createSelector([Uo, W, pe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
20827
|
+
uS = createSelector([Ye], (a2) => at(a2));
|
20828
|
+
pS = createSelector([Ws], (a2) => at(a2));
|
20820
20829
|
Vo = createSelector([J, _], (a2, e) => {
|
20821
20830
|
let t = null;
|
20822
20831
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
@@ -27452,7 +27461,7 @@ var init_Chat = __esm({
|
|
27452
27461
|
const listRef = (0, import_react149.useRef)(null);
|
27453
27462
|
const hmsActions = (0, import_react_sdk73.useHMSActions)();
|
27454
27463
|
const vanillaStore = (0, import_react_sdk73.useHMSVanillaStore)();
|
27455
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk73.useHMSStore)(
|
27464
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk73.useHMSStore)(Em("chatState" /* CHAT_STATE */)) || {};
|
27456
27465
|
const isMobile = (0, import_react_use24.useMedia)(config.media.md);
|
27457
27466
|
const isMobileHLSStream = useMobileHLSStream();
|
27458
27467
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27542,7 +27551,7 @@ var init_Chat = __esm({
|
|
27542
27551
|
scrollToBottom,
|
27543
27552
|
listRef
|
27544
27553
|
}) => {
|
27545
|
-
const unreadCount = (0, import_react_sdk73.useHMSStore)(
|
27554
|
+
const unreadCount = (0, import_react_sdk73.useHMSStore)(qh);
|
27546
27555
|
if (!unreadCount || !listRef.current) {
|
27547
27556
|
return null;
|
27548
27557
|
}
|
@@ -28757,12 +28766,12 @@ var init_VBPicker = __esm({
|
|
28757
28766
|
const [blurAmount, setBlurAmount] = (0, import_react159.useState)(VBHandler.getBlurAmount() || 0.5);
|
28758
28767
|
const roomState = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectRoomState);
|
28759
28768
|
const isLargeRoom = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectIsLargeRoom);
|
28760
|
-
const isEffectsEnabled = (0, import_react_sdk81.useHMSStore)(
|
28761
|
-
const effectsKey = (0, import_react_sdk81.useHMSStore)(
|
28769
|
+
const isEffectsEnabled = (0, import_react_sdk81.useHMSStore)(am);
|
28770
|
+
const effectsKey = (0, import_react_sdk81.useHMSStore)(om);
|
28762
28771
|
const isMobile = (0, import_react_use30.useMedia)(config.media.md);
|
28763
28772
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28764
28773
|
const isPluginAdded = (0, import_react_sdk81.useHMSStore)((0, import_react_sdk81.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
28765
|
-
const background = (0, import_react_sdk81.useHMSStore)(
|
28774
|
+
const background = (0, import_react_sdk81.useHMSStore)(Pm(APP_DATA.background));
|
28766
28775
|
const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
|
28767
28776
|
const inPreview = roomState === import_react_sdk81.HMSRoomState.Preview;
|
28768
28777
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -30689,9 +30698,9 @@ var init_ScreenshareLayout = __esm({
|
|
30689
30698
|
}
|
30690
30699
|
});
|
30691
30700
|
|
30692
|
-
// ../../../../../../../tmp/tmp-
|
30693
|
-
var
|
30694
|
-
"../../../../../../../tmp/tmp-
|
30701
|
+
// ../../../../../../../tmp/tmp-2781-JW1LaaX0rzmN/1900c87f8d60/index.css
|
30702
|
+
var init_c87f8d60 = __esm({
|
30703
|
+
"../../../../../../../tmp/tmp-2781-JW1LaaX0rzmN/1900c87f8d60/index.css"() {
|
30695
30704
|
}
|
30696
30705
|
});
|
30697
30706
|
|
@@ -30713,7 +30722,7 @@ var init_WhiteboardLayout = __esm({
|
|
30713
30722
|
init_ProminenceLayout();
|
30714
30723
|
init_useUISettings();
|
30715
30724
|
init_constants();
|
30716
|
-
|
30725
|
+
init_c87f8d60();
|
30717
30726
|
WhiteboardEmbed = () => {
|
30718
30727
|
const isMobile = (0, import_react_use42.useMedia)(config.media.md);
|
30719
30728
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk93.useWhiteboard)(isMobile);
|
@@ -31185,6 +31194,9 @@ var init_CaptionsViewer = __esm({
|
|
31185
31194
|
}
|
31186
31195
|
enqueue(data3) {
|
31187
31196
|
var _a8;
|
31197
|
+
if (!data3.transcript.trim()) {
|
31198
|
+
return;
|
31199
|
+
}
|
31188
31200
|
if (this.size() === this.capacity && this.storage[this.size() - 1].final) {
|
31189
31201
|
this.dequeue(this.storage[this.size() - 1]);
|
31190
31202
|
}
|
@@ -31323,7 +31335,10 @@ var init_CaptionsViewer = __esm({
|
|
31323
31335
|
data3
|
31324
31336
|
);
|
31325
31337
|
};
|
31326
|
-
CaptionsViewer = (
|
31338
|
+
CaptionsViewer = ({
|
31339
|
+
defaultPosition,
|
31340
|
+
setDefaultPosition
|
31341
|
+
}) => {
|
31327
31342
|
var _a8;
|
31328
31343
|
const { elements, screenType } = useRoomLayoutConferencingScreen();
|
31329
31344
|
const isMobile = (0, import_react_use43.useMedia)(config.media.md);
|
@@ -31360,32 +31375,43 @@ var init_CaptionsViewer = __esm({
|
|
31360
31375
|
if (dataToShow.length <= 0 || screenType === "hls_live_streaming" || !isCaptionEnabled || !isTranscriptionEnabled) {
|
31361
31376
|
return null;
|
31362
31377
|
}
|
31363
|
-
return /* @__PURE__ */ import_react186.default.createElement(
|
31364
|
-
|
31378
|
+
return /* @__PURE__ */ import_react186.default.createElement(
|
31379
|
+
import_react_draggable2.default,
|
31365
31380
|
{
|
31366
|
-
|
31367
|
-
|
31368
|
-
|
31369
|
-
|
31370
|
-
|
31371
|
-
top: showCaptionAtTop ? "0" : "",
|
31372
|
-
left: isMobile ? 0 : "50%",
|
31373
|
-
transform: isMobile ? "" : "translateX(-50%)",
|
31374
|
-
background: "#000000A3",
|
31375
|
-
overflow: "clip",
|
31376
|
-
zIndex: 10,
|
31377
|
-
height: "fit-content",
|
31378
|
-
r: "$1",
|
31379
|
-
p: "$6",
|
31380
|
-
transition: "bottom 0.3s ease-in-out",
|
31381
|
-
"&:empty": { display: "none" }
|
31381
|
+
bounds: "parent",
|
31382
|
+
nodeRef,
|
31383
|
+
defaultPosition,
|
31384
|
+
onStop: (_2, data3) => {
|
31385
|
+
setDefaultPosition({ x: data3.lastX, y: data3.lastY });
|
31382
31386
|
}
|
31383
31387
|
},
|
31384
|
-
/* @__PURE__ */ import_react186.default.createElement(
|
31385
|
-
|
31386
|
-
|
31387
|
-
|
31388
|
-
|
31388
|
+
/* @__PURE__ */ import_react186.default.createElement(
|
31389
|
+
Box,
|
31390
|
+
{
|
31391
|
+
ref: nodeRef,
|
31392
|
+
css: {
|
31393
|
+
position: "absolute",
|
31394
|
+
w: isMobile ? "100%" : "40%",
|
31395
|
+
bottom: showCaptionAtTop ? "" : "0",
|
31396
|
+
top: showCaptionAtTop ? "0" : "",
|
31397
|
+
left: isMobile ? 0 : "50%",
|
31398
|
+
transform: isMobile ? "" : "translateX(-50%)",
|
31399
|
+
background: "#000000A3",
|
31400
|
+
overflow: "clip",
|
31401
|
+
zIndex: 10,
|
31402
|
+
height: "fit-content",
|
31403
|
+
r: "$1",
|
31404
|
+
p: "$6",
|
31405
|
+
transition: "bottom 0.3s ease-in-out",
|
31406
|
+
"&:empty": { display: "none" }
|
31407
|
+
}
|
31408
|
+
},
|
31409
|
+
/* @__PURE__ */ import_react186.default.createElement(Flex, { direction: "column" }, dataToShow.map((data3, index) => {
|
31410
|
+
const key = Object.keys(data3)[0];
|
31411
|
+
return /* @__PURE__ */ import_react186.default.createElement(TranscriptView, { key: index, peer_id: key, data: data3[key] });
|
31412
|
+
}))
|
31413
|
+
)
|
31414
|
+
);
|
31389
31415
|
};
|
31390
31416
|
}
|
31391
31417
|
});
|
@@ -33193,6 +33219,7 @@ var init_VideoStreamingSection = __esm({
|
|
33193
33219
|
const pdfAnnotatorActive = usePDFConfig();
|
33194
33220
|
const isMobileHLSStream = useMobileHLSStream();
|
33195
33221
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
33222
|
+
const [captionPosition, setCaptionPosition] = (0, import_react203.useState)({ x: -200, y: 0 });
|
33196
33223
|
useCloseScreenshareWhiteboard();
|
33197
33224
|
const { isNotAllowedToPublish, isScreenOnlyPublishParams, hasSubscribedRolePublishing } = useWaitingRoomInfo();
|
33198
33225
|
(0, import_react203.useEffect)(() => {
|
@@ -33263,7 +33290,7 @@ var init_VideoStreamingSection = __esm({
|
|
33263
33290
|
var _a9;
|
33264
33291
|
return /* @__PURE__ */ import_react203.default.createElement(GridLayout, __spreadValues({}, (_a9 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a9.grid));
|
33265
33292
|
}),
|
33266
|
-
/* @__PURE__ */ import_react203.default.createElement(CaptionsViewer,
|
33293
|
+
/* @__PURE__ */ import_react203.default.createElement(CaptionsViewer, { setDefaultPosition: setCaptionPosition, defaultPosition: captionPosition }),
|
33267
33294
|
/* @__PURE__ */ import_react203.default.createElement(
|
33268
33295
|
Box,
|
33269
33296
|
{
|