@100mslive/roomkit-react 0.3.33-alpha.0 → 0.3.33-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +320 -320
- 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 +334 -334
- package/dist/index.js.map +4 -4
- package/dist/meta.cjs.json +21 -21
- package/dist/meta.esbuild.json +21 -21
- package/package.json +7 -7
- package/src/Prebuilt/components/ConferenceScreen.tsx +2 -2
package/dist/index.js
CHANGED
@@ -34,8 +34,8 @@ var __objRest = (source, exclude) => {
|
|
34
34
|
}
|
35
35
|
return target;
|
36
36
|
};
|
37
|
-
var __esm = (
|
38
|
-
return
|
37
|
+
var __esm = (fn, res) => function __init() {
|
38
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
39
39
|
};
|
40
40
|
var __commonJS = (cb, mod) => function __require() {
|
41
41
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", 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.23-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.7 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.33-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.7/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.33-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.12", 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.3.1-1", 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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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-ubuntu24", 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: "837", 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", 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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250309.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.12/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:5970", 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: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", 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.33-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: "false", GITHUB_RUN_ID: "13835418634", 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: "1392df67cf015eea9bd472b463264d98d1c51c52", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "4be62e976e08a4ff403d3131416e4e2587c27e48f73030d93074f71f9b996dc6", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/chore/fix-media-channel-issue", 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--1741871522494-0.29798369194242147:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741871522308-0.8686436007807559:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741871496993-0.6025293844702695:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741871496822-0.9185672941055487:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/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.7/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_74793236-03fb-4f0d-afc1-459796203762", INVOCATION_ID: "4831f6fdb89649359affa25ffa9a4380", 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: "743", 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: "^19.6.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_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 207", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "chore/fix-media-channel-issue", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", 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/27.2.12479018", 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.33-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.33-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_resolutions_axios: "^1.7.4", 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: "false", 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: "1392df67cf015eea9bd472b463264d98d1c51c52", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", 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/chore/fix-media-channel-issue", 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", 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_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", JAVA_HOME: "/usr/lib/jvm/temurin-17-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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", 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/27.2.12479018", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/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_knip: "^5.11.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/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0d6d0b4e-bece-4b8c-902e-2ca00a070c73" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5e84d6f9-986f-4848-aa52-474836c6c48d", 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.23-alpha.1", 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.7 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.33-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5e84d6f9-986f-4848-aa52-474836c6c48d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.7/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.33-alpha.1", 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.12", 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.3.1-1", 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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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-ubuntu24", 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: "830", 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", 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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250309.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.12/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:9308", 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: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", 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.33-alpha.1", 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: "false", GITHUB_RUN_ID: "13894653949", 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: "3531a7784035baaeaa09dcd80f8ecff9aaabcf25", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "f0c27a81afd31747c0991dc526c77144f3b8e9eb4b54e8ec97ab719889d88941", 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--1742199630844-0.9679064358698519:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199630637-0.05987160159077409:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199605058-0.7174050912653267:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199604887-0.46920419967569305:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/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.7/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4b2e87e1-af59-4ff4-bfaa-073447cb0c8a", INVOCATION_ID: "b4a663950ebd41958fdc0fe9f3c40721", 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: "745", 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: "^19.6.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_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 485", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", 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/27.2.12479018", 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.33-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.33-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", 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: "false", 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: "3531a7784035baaeaa09dcd80f8ecff9aaabcf25", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", 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", 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_5e84d6f9-986f-4848-aa52-474836c6c48d", JAVA_HOME: "/usr/lib/jvm/temurin-17-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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5e84d6f9-986f-4848-aa52-474836c6c48d", 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/27.2.12479018", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/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_knip: "^5.11.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/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5e84d6f9-986f-4848-aa52-474836c6c48d" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -2286,8 +2286,8 @@ var require_lodash = __commonJS({
|
|
2286
2286
|
function createBind(func, bitmask, thisArg) {
|
2287
2287
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2288
2288
|
function wrapper() {
|
2289
|
-
var
|
2290
|
-
return
|
2289
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2290
|
+
return fn.apply(isBind ? thisArg : this, arguments);
|
2291
2291
|
}
|
2292
2292
|
return wrapper;
|
2293
2293
|
}
|
@@ -2353,8 +2353,8 @@ var require_lodash = __commonJS({
|
|
2353
2353
|
arity - length
|
2354
2354
|
);
|
2355
2355
|
}
|
2356
|
-
var
|
2357
|
-
return apply(
|
2356
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2357
|
+
return apply(fn, this, args);
|
2358
2358
|
}
|
2359
2359
|
return wrapper;
|
2360
2360
|
}
|
@@ -2442,7 +2442,7 @@ var require_lodash = __commonJS({
|
|
2442
2442
|
arity - length
|
2443
2443
|
);
|
2444
2444
|
}
|
2445
|
-
var thisBinding = isBind ? thisArg : this,
|
2445
|
+
var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
|
2446
2446
|
length = args.length;
|
2447
2447
|
if (argPos) {
|
2448
2448
|
args = reorder(args, argPos);
|
@@ -2453,9 +2453,9 @@ var require_lodash = __commonJS({
|
|
2453
2453
|
args.length = ary2;
|
2454
2454
|
}
|
2455
2455
|
if (this && this !== root && this instanceof wrapper) {
|
2456
|
-
|
2456
|
+
fn = Ctor || createCtor(fn);
|
2457
2457
|
}
|
2458
|
-
return
|
2458
|
+
return fn.apply(thisBinding, args);
|
2459
2459
|
}
|
2460
2460
|
return wrapper;
|
2461
2461
|
}
|
@@ -2512,14 +2512,14 @@ var require_lodash = __commonJS({
|
|
2512
2512
|
function createPartial(func, bitmask, thisArg, partials) {
|
2513
2513
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2514
2514
|
function wrapper() {
|
2515
|
-
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength),
|
2515
|
+
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2516
2516
|
while (++leftIndex < leftLength) {
|
2517
2517
|
args[leftIndex] = partials[leftIndex];
|
2518
2518
|
}
|
2519
2519
|
while (argsLength--) {
|
2520
2520
|
args[leftIndex++] = arguments[++argsIndex];
|
2521
2521
|
}
|
2522
|
-
return apply(
|
2522
|
+
return apply(fn, isBind ? thisArg : this, args);
|
2523
2523
|
}
|
2524
2524
|
return wrapper;
|
2525
2525
|
}
|
@@ -5628,16 +5628,16 @@ var require_ua_parser = __commonJS({
|
|
5628
5628
|
return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
|
5629
5629
|
}
|
5630
5630
|
};
|
5631
|
-
var rgxMapper = function(
|
5632
|
-
var i = 0,
|
5631
|
+
var rgxMapper = function(ua, arrays) {
|
5632
|
+
var i = 0, j2, k2, p, q, matches, match18;
|
5633
5633
|
while (i < arrays.length && !matches) {
|
5634
5634
|
var regex = arrays[i], props = arrays[i + 1];
|
5635
|
-
|
5636
|
-
while (
|
5637
|
-
if (!regex[
|
5635
|
+
j2 = k2 = 0;
|
5636
|
+
while (j2 < regex.length && !matches) {
|
5637
|
+
if (!regex[j2]) {
|
5638
5638
|
break;
|
5639
5639
|
}
|
5640
|
-
matches = regex[
|
5640
|
+
matches = regex[j2++].exec(ua);
|
5641
5641
|
if (!!matches) {
|
5642
5642
|
for (p = 0; p < props.length; p++) {
|
5643
5643
|
match18 = matches[++k2];
|
@@ -5669,8 +5669,8 @@ var require_ua_parser = __commonJS({
|
|
5669
5669
|
}, strMapper = function(str, map) {
|
5670
5670
|
for (var i in map) {
|
5671
5671
|
if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {
|
5672
|
-
for (var
|
5673
|
-
if (has(map[i][
|
5672
|
+
for (var j2 = 0; j2 < map[i].length; j2++) {
|
5673
|
+
if (has(map[i][j2], str)) {
|
5674
5674
|
return i === UNKNOWN ? undefined2 : i;
|
5675
5675
|
}
|
5676
5676
|
}
|
@@ -6726,16 +6726,16 @@ var require_ua_parser = __commonJS({
|
|
6726
6726
|
[NAME, VERSION]
|
6727
6727
|
]
|
6728
6728
|
};
|
6729
|
-
var UAParser = function(
|
6730
|
-
if (typeof
|
6731
|
-
extensions =
|
6732
|
-
|
6729
|
+
var UAParser = function(ua, extensions) {
|
6730
|
+
if (typeof ua === OBJ_TYPE) {
|
6731
|
+
extensions = ua;
|
6732
|
+
ua = undefined2;
|
6733
6733
|
}
|
6734
6734
|
if (!(this instanceof UAParser)) {
|
6735
|
-
return new UAParser(
|
6735
|
+
return new UAParser(ua, extensions).getResult();
|
6736
6736
|
}
|
6737
6737
|
var _navigator = typeof window2 !== UNDEF_TYPE && window2.navigator ? window2.navigator : undefined2;
|
6738
|
-
var _ua =
|
6738
|
+
var _ua = ua || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
|
6739
6739
|
var _uach = _navigator && _navigator.userAgentData ? _navigator.userAgentData : undefined2;
|
6740
6740
|
var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
|
6741
6741
|
var _isSelfNav = _navigator && _navigator.userAgent == _ua;
|
@@ -6801,8 +6801,8 @@ var require_ua_parser = __commonJS({
|
|
6801
6801
|
this.getUA = function() {
|
6802
6802
|
return _ua;
|
6803
6803
|
};
|
6804
|
-
this.setUA = function(
|
6805
|
-
_ua = typeof
|
6804
|
+
this.setUA = function(ua2) {
|
6805
|
+
_ua = typeof ua2 === STR_TYPE && ua2.length > UA_MAX_LENGTH ? trim(ua2, UA_MAX_LENGTH) : ua2;
|
6806
6806
|
return this;
|
6807
6807
|
};
|
6808
6808
|
this.setUA(_ua);
|
@@ -6834,8 +6834,8 @@ var require_ua_parser = __commonJS({
|
|
6834
6834
|
$.ua.get = function() {
|
6835
6835
|
return parser.getUA();
|
6836
6836
|
};
|
6837
|
-
$.ua.set = function(
|
6838
|
-
parser.setUA(
|
6837
|
+
$.ua.set = function(ua) {
|
6838
|
+
parser.setUA(ua);
|
6839
6839
|
var result = parser.getResult();
|
6840
6840
|
for (var prop in result) {
|
6841
6841
|
$.ua[prop] = result[prop];
|
@@ -7694,8 +7694,8 @@ var require_sdp = __commonJS({
|
|
7694
7694
|
const parsed = {};
|
7695
7695
|
let kv;
|
7696
7696
|
const parts = line.substring(line.indexOf(" ") + 1).split(";");
|
7697
|
-
for (let
|
7698
|
-
kv = parts[
|
7697
|
+
for (let j2 = 0; j2 < parts.length; j2++) {
|
7698
|
+
kv = parts[j2].trim().split("=");
|
7699
7699
|
parsed[kv[0].trim()] = kv[1];
|
7700
7700
|
}
|
7701
7701
|
return parsed;
|
@@ -8675,8 +8675,8 @@ var require_parser = __commonJS({
|
|
8675
8675
|
media.push({ rtp: [], fmtp: [] });
|
8676
8676
|
location = media[media.length - 1];
|
8677
8677
|
}
|
8678
|
-
for (var
|
8679
|
-
var obj = grammar[type][
|
8678
|
+
for (var j2 = 0; j2 < (grammar[type] || []).length; j2 += 1) {
|
8679
|
+
var obj = grammar[type][j2];
|
8680
8680
|
if (obj.reg.test(content)) {
|
8681
8681
|
return parseReg(obj, location, content);
|
8682
8682
|
}
|
@@ -9359,7 +9359,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9359
9359
|
shape: createShapeTypeChecker,
|
9360
9360
|
exact: createStrictShapeTypeChecker
|
9361
9361
|
};
|
9362
|
-
function
|
9362
|
+
function is(x, y2) {
|
9363
9363
|
if (x === y2) {
|
9364
9364
|
return x !== 0 || 1 / x === 1 / y2;
|
9365
9365
|
} else {
|
@@ -9502,7 +9502,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9502
9502
|
function validate(props, propName, componentName, location, propFullName) {
|
9503
9503
|
var propValue = props[propName];
|
9504
9504
|
for (var i = 0; i < expectedValues.length; i++) {
|
9505
|
-
if (
|
9505
|
+
if (is(propValue, expectedValues[i])) {
|
9506
9506
|
return null;
|
9507
9507
|
}
|
9508
9508
|
}
|
@@ -19357,8 +19357,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
19357
19357
|
// ../hms-video-store/dist/index.js
|
19358
19358
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
19359
19359
|
var import_lodash3 = __toESM(require_lodash2());
|
19360
|
-
import { v4 as
|
19361
|
-
import { v4 as
|
19360
|
+
import { v4 as Po } from "uuid";
|
19361
|
+
import { v4 as ko } from "uuid";
|
19362
19362
|
|
19363
19363
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
19364
19364
|
init_define_process_env();
|
@@ -19729,8 +19729,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19729
19729
|
navigator2.getUserMedia = getUserMedia_.bind(navigator2);
|
19730
19730
|
if (navigator2.mediaDevices.getUserMedia) {
|
19731
19731
|
const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
|
19732
|
-
navigator2.mediaDevices.getUserMedia = function(
|
19733
|
-
return shimConstraints_(
|
19732
|
+
navigator2.mediaDevices.getUserMedia = function(cs) {
|
19733
|
+
return shimConstraints_(cs, (c2) => origGetUserMedia(c2).then((stream) => {
|
19734
19734
|
if (c2.audio && !stream.getAudioTracks().length || c2.video && !stream.getVideoTracks().length) {
|
19735
19735
|
stream.getTracks().forEach((track) => {
|
19736
19736
|
track.stop();
|
@@ -21455,43 +21455,43 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
21455
21455
|
|
21456
21456
|
// ../hms-video-store/dist/index.js
|
21457
21457
|
var import_lodash4 = __toESM(require_lodash2());
|
21458
|
-
import { v4 as
|
21459
|
-
import { v4 as
|
21460
|
-
import { v4 as
|
21461
|
-
import { EventEmitter2 as
|
21462
|
-
var
|
21463
|
-
import { EventEmitter2 as
|
21464
|
-
import { v4 as
|
21465
|
-
import { EventEmitter2 as
|
21466
|
-
import
|
21467
|
-
import { v4 as
|
21468
|
-
import { v4 as
|
21469
|
-
var
|
21470
|
-
var
|
21471
|
-
var
|
21472
|
-
var
|
21473
|
-
var
|
21474
|
-
var
|
21475
|
-
var
|
21458
|
+
import { v4 as Do } from "uuid";
|
21459
|
+
import { v4 as Oo } from "uuid";
|
21460
|
+
import { v4 as Vo } from "uuid";
|
21461
|
+
import { EventEmitter2 as Fo } from "eventemitter2";
|
21462
|
+
var Yt = __toESM(require_lib());
|
21463
|
+
import { EventEmitter2 as Sn } from "eventemitter2";
|
21464
|
+
import { v4 as Mn } from "uuid";
|
21465
|
+
import { EventEmitter2 as yn } from "eventemitter2";
|
21466
|
+
import En from "eventemitter2";
|
21467
|
+
import { v4 as Pn } from "uuid";
|
21468
|
+
import { v4 as In } from "uuid";
|
21469
|
+
var co = Object.defineProperty;
|
21470
|
+
var lo = Object.defineProperties;
|
21471
|
+
var uo = Object.getOwnPropertyDescriptors;
|
21472
|
+
var ai = Object.getOwnPropertySymbols;
|
21473
|
+
var gs = Object.prototype.hasOwnProperty;
|
21474
|
+
var Ts = Object.prototype.propertyIsEnumerable;
|
21475
|
+
var Ss = (a2, e, t) => e in a2 ? co(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21476
21476
|
var m = (a2, e) => {
|
21477
21477
|
for (var t in e || (e = {}))
|
21478
|
-
|
21479
|
-
if (
|
21480
|
-
for (var t of
|
21481
|
-
|
21478
|
+
gs.call(e, t) && Ss(a2, t, e[t]);
|
21479
|
+
if (ai)
|
21480
|
+
for (var t of ai(e))
|
21481
|
+
Ts.call(e, t) && Ss(a2, t, e[t]);
|
21482
21482
|
return a2;
|
21483
21483
|
};
|
21484
|
-
var M = (a2, e) =>
|
21485
|
-
var
|
21484
|
+
var M = (a2, e) => lo(a2, uo(e));
|
21485
|
+
var kr = (a2, e) => {
|
21486
21486
|
var t = {};
|
21487
21487
|
for (var i in a2)
|
21488
|
-
|
21489
|
-
if (a2 != null &&
|
21490
|
-
for (var i of
|
21491
|
-
e.indexOf(i) < 0 &&
|
21488
|
+
gs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21489
|
+
if (a2 != null && ai)
|
21490
|
+
for (var i of ai(a2))
|
21491
|
+
e.indexOf(i) < 0 && Ts.call(a2, i) && (t[i] = a2[i]);
|
21492
21492
|
return t;
|
21493
21493
|
};
|
21494
|
-
var
|
21494
|
+
var mo = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21495
21495
|
var c = (a2, e, t) => new Promise((i, r) => {
|
21496
21496
|
var s = (d) => {
|
21497
21497
|
try {
|
@@ -21508,20 +21508,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21508
21508
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21509
21509
|
n((t = t.apply(a2, e)).next());
|
21510
21510
|
});
|
21511
|
-
var
|
21512
|
-
|
21511
|
+
var Ir = mo((Jc, Eo) => {
|
21512
|
+
Eo.exports = { version: "0.12.33-alpha.1", 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"] };
|
21513
21513
|
});
|
21514
|
-
var
|
21515
|
-
var
|
21516
|
-
var
|
21517
|
-
var
|
21518
|
-
var
|
21514
|
+
var Er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Er || {});
|
21515
|
+
var So = ((e) => (e.CHAT = "chat", e))(So || {});
|
21516
|
+
var fs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(fs || {});
|
21517
|
+
var Pr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(Pr || {});
|
21518
|
+
var vs = ((t) => (t.audio = "audio", t.video = "video", t))(vs || {});
|
21519
21519
|
function Fe(a2, e) {
|
21520
21520
|
let t, i;
|
21521
21521
|
if (e)
|
21522
21522
|
for (let r of e.auxiliaryTracks) {
|
21523
21523
|
let s = a2[r];
|
21524
|
-
|
21524
|
+
go(s) && (i = gt(s) ? s : i, t = Tt(s) ? s : t);
|
21525
21525
|
}
|
21526
21526
|
return { video: t, audio: i };
|
21527
21527
|
}
|
@@ -21531,16 +21531,16 @@ function gt(a2) {
|
|
21531
21531
|
function Tt(a2) {
|
21532
21532
|
return a2 && a2.type === "video";
|
21533
21533
|
}
|
21534
|
-
function
|
21534
|
+
function go(a2) {
|
21535
21535
|
return a2 && a2.source === "screen";
|
21536
21536
|
}
|
21537
|
-
function
|
21537
|
+
function ci(a2) {
|
21538
21538
|
return a2 && a2.source === "audioplaylist";
|
21539
21539
|
}
|
21540
21540
|
function ft(a2) {
|
21541
21541
|
return a2 && a2.source === "videoplaylist";
|
21542
21542
|
}
|
21543
|
-
function
|
21543
|
+
function Ms(a2) {
|
21544
21544
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21545
21545
|
}
|
21546
21546
|
function ze(a2, e) {
|
@@ -21551,8 +21551,8 @@ function vt(a2) {
|
|
21551
21551
|
let e = false, t = false, i = false;
|
21552
21552
|
return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
|
21553
21553
|
}
|
21554
|
-
var
|
21555
|
-
var
|
21554
|
+
var ks = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ks || {});
|
21555
|
+
var To = typeof window != "undefined" && typeof window.expect != "undefined";
|
21556
21556
|
var l = class {
|
21557
21557
|
static v(e, ...t) {
|
21558
21558
|
this.log(0, e, ...t);
|
@@ -21618,28 +21618,28 @@ var l = class {
|
|
21618
21618
|
}
|
21619
21619
|
}
|
21620
21620
|
};
|
21621
|
-
l.level =
|
21621
|
+
l.level = To ? 7 : 0;
|
21622
21622
|
var Te = new import_ua_parser_js.UAParser();
|
21623
21623
|
var U = typeof window != "undefined";
|
21624
|
+
var Es;
|
21625
|
+
var Ge = typeof window == "undefined" && !((Es = Te.getBrowser().name) != null && Es.toLowerCase().includes("electron"));
|
21626
|
+
var vo = () => !Ge;
|
21627
|
+
var Tc = vo();
|
21624
21628
|
var Ps;
|
21625
|
-
var Ge = typeof window == "undefined" && !((Ps = Te.getBrowser().name) != null && Ps.toLowerCase().includes("electron"));
|
21626
|
-
var Mo = () => !Ge;
|
21627
|
-
var fc = Mo();
|
21628
21629
|
var bs;
|
21630
|
+
var Cs = (bs = (Ps = Te.getBrowser()) == null ? void 0 : Ps.name) == null ? void 0 : bs.toLowerCase().includes("safari");
|
21629
21631
|
var As;
|
21630
|
-
var Ls = (As = (bs = Te.getBrowser()) == null ? void 0 : bs.name) == null ? void 0 : As.toLowerCase().includes("safari");
|
21631
21632
|
var Is;
|
21632
|
-
var
|
21633
|
-
var
|
21634
|
-
|
21635
|
-
function yo() {
|
21633
|
+
var di = ((Is = (As = Te.getBrowser()) == null ? void 0 : As.name) == null ? void 0 : Is.toLowerCase()) === "firefox";
|
21634
|
+
var Ls = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ls || {});
|
21635
|
+
function Mo() {
|
21636
21636
|
if (U && window) {
|
21637
21637
|
let a2 = window.location.hostname;
|
21638
21638
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21639
21639
|
}
|
21640
21640
|
return "CUSTOM";
|
21641
21641
|
}
|
21642
|
-
var Xe =
|
21642
|
+
var Xe = Mo();
|
21643
21643
|
var P4 = { 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, NO_DATA: 3015 }, 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 } };
|
21644
21644
|
var k = class a extends Error {
|
21645
21645
|
constructor(t, i, r, s, o, n = false) {
|
@@ -21696,8 +21696,8 @@ var W = class extends k {
|
|
21696
21696
|
}`;
|
21697
21697
|
}
|
21698
21698
|
};
|
21699
|
-
var
|
21700
|
-
var
|
21699
|
+
var Ds = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Ds || {});
|
21700
|
+
var yo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21701
21701
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21702
21702
|
return new k(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21703
21703
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -21759,7 +21759,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21759
21759
|
}, StatsFailed(a2, e = "") {
|
21760
21760
|
return new k(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21761
21761
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21762
|
-
return new k(a2, "ServerErrors", e, t, t,
|
21762
|
+
return new k(a2, "ServerErrors", e, t, t, yo.includes(e));
|
21763
21763
|
}, AlreadyJoined(a2, e = "") {
|
21764
21764
|
return new k(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21765
21765
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -21807,7 +21807,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21807
21807
|
}, NoEntryPlaying(a2, e) {
|
21808
21808
|
return new k(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21809
21809
|
} } };
|
21810
|
-
var
|
21810
|
+
var Ar = class {
|
21811
21811
|
constructor() {
|
21812
21812
|
this.valuesMap = /* @__PURE__ */ new Map();
|
21813
21813
|
}
|
@@ -21832,9 +21832,9 @@ var Ir = class {
|
|
21832
21832
|
return this.valuesMap.size;
|
21833
21833
|
}
|
21834
21834
|
};
|
21835
|
-
var
|
21835
|
+
var ws = () => {
|
21836
21836
|
try {
|
21837
|
-
U && !localStorage && (window.localStorage = new
|
21837
|
+
U && !localStorage && (window.localStorage = new Ar());
|
21838
21838
|
} catch (a2) {
|
21839
21839
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21840
21840
|
}
|
@@ -21846,7 +21846,7 @@ var fe = class {
|
|
21846
21846
|
}
|
21847
21847
|
getStorage() {
|
21848
21848
|
try {
|
21849
|
-
return U && !this.storage && (
|
21849
|
+
return U && !this.storage && (ws(), this.storage = window.localStorage), this.storage;
|
21850
21850
|
} catch (e) {
|
21851
21851
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21852
21852
|
}
|
@@ -21866,29 +21866,29 @@ var fe = class {
|
|
21866
21866
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21867
21867
|
}
|
21868
21868
|
};
|
21869
|
-
var
|
21869
|
+
var li = () => {
|
21870
21870
|
let a2, e = new fe("hms-analytics-deviceId"), t = e.get();
|
21871
|
-
return t ? a2 = t : (a2 =
|
21871
|
+
return t ? a2 = t : (a2 = ko(), e.set(a2)), a2;
|
21872
21872
|
};
|
21873
21873
|
function he(a2) {
|
21874
21874
|
return a2 != null;
|
21875
21875
|
}
|
21876
|
-
var
|
21876
|
+
var Os = Ir().version;
|
21877
21877
|
function Et(a2 = "prod", e) {
|
21878
21878
|
let t = "web", i = Xe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21879
21879
|
if (Ge)
|
21880
|
-
return
|
21881
|
-
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n =
|
21882
|
-
return s.type && (p = `${
|
21880
|
+
return xs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Os, env: i, domain: Xe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21881
|
+
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n = Rr(`web_${r.name}`), d = r.version || "", u = Rr(`${o.name}_${o.version}`), p = u;
|
21882
|
+
return s.type && (p = `${Rr(`${s.vendor}_${s.type}`)}/${u}`), xs({ os: n, os_version: d, sdk: t, sdk_version: Os, device_model: p, env: i, domain: Xe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21883
21883
|
}
|
21884
|
-
function
|
21884
|
+
function Rr(a2) {
|
21885
21885
|
return a2.replace(/ /g, "_");
|
21886
21886
|
}
|
21887
|
-
var
|
21887
|
+
var xs = (a2, e = ",") => Object.keys(a2).filter((t) => he(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21888
21888
|
var C = class {
|
21889
21889
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21890
21890
|
this.metadata = { peer: {}, userAgent: Et() };
|
21891
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
21891
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Po(), this.device_id = li();
|
21892
21892
|
}
|
21893
21893
|
toSignalParams() {
|
21894
21894
|
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Xe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -21904,12 +21904,12 @@ var y = class {
|
|
21904
21904
|
return new C({ name: i, level: r, properties: s });
|
21905
21905
|
}
|
21906
21906
|
static preview(i) {
|
21907
|
-
var r = i, { error: e } = r, t =
|
21907
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21908
21908
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21909
21909
|
return new C({ name: s, level: o, properties: n });
|
21910
21910
|
}
|
21911
21911
|
static join(i) {
|
21912
|
-
var r = i, { error: e } = r, t =
|
21912
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21913
21913
|
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
21914
21914
|
return new C({ name: s, level: o, properties: n });
|
21915
21915
|
}
|
@@ -22000,7 +22000,7 @@ var y = class {
|
|
22000
22000
|
}
|
22001
22001
|
};
|
22002
22002
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
22003
|
-
var
|
22003
|
+
var Hr = class {
|
22004
22004
|
constructor() {
|
22005
22005
|
this.storage = new fe("hms-device-selection");
|
22006
22006
|
this.remember = false;
|
@@ -22034,19 +22034,11 @@ var Cr = class {
|
|
22034
22034
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
22035
22035
|
}
|
22036
22036
|
};
|
22037
|
-
var
|
22038
|
-
var
|
22039
|
-
var
|
22040
|
-
var
|
22041
|
-
|
22042
|
-
var Vs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Vs || {});
|
22043
|
-
var Fs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Fs || {});
|
22044
|
-
var Gs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Gs || {});
|
22045
|
-
var Ws = ((e) => (e.CAPTION = "caption", e))(Ws || {});
|
22046
|
-
var _r = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(_r || {});
|
22047
|
-
var $s = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))($s || {});
|
22048
|
-
var xr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(xr || {});
|
22049
|
-
function Si(a2, e = 300) {
|
22037
|
+
var Y = new Hr();
|
22038
|
+
var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
|
22039
|
+
var Lr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Lr || {});
|
22040
|
+
var _r = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(_r || {});
|
22041
|
+
function mi(a2, e = 300) {
|
22050
22042
|
let t;
|
22051
22043
|
return function(...i) {
|
22052
22044
|
clearTimeout(t), t = void 0;
|
@@ -22056,7 +22048,15 @@ function Si(a2, e = 300) {
|
|
22056
22048
|
}, e);
|
22057
22049
|
};
|
22058
22050
|
}
|
22059
|
-
var
|
22051
|
+
var Or = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Or || {});
|
22052
|
+
var Fs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Fs || {});
|
22053
|
+
var Gs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Gs || {});
|
22054
|
+
var Ws = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ws || {});
|
22055
|
+
var $s = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))($s || {});
|
22056
|
+
var Ks = ((e) => (e.CAPTION = "caption", e))(Ks || {});
|
22057
|
+
var xr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(xr || {});
|
22058
|
+
var qs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(qs || {});
|
22059
|
+
var Ur = class {
|
22060
22060
|
constructor() {
|
22061
22061
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
22062
22062
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -22083,8 +22083,8 @@ var Br = class {
|
|
22083
22083
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
22084
22084
|
}
|
22085
22085
|
};
|
22086
|
-
var
|
22087
|
-
var
|
22086
|
+
var zs = new Ur();
|
22087
|
+
var Br = class {
|
22088
22088
|
constructor() {
|
22089
22089
|
this.TAG = "[HMSResizeObserverWrapper]";
|
22090
22090
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -22097,7 +22097,7 @@ var Vr = class {
|
|
22097
22097
|
(t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
|
22098
22098
|
};
|
22099
22099
|
this.createObserver = () => {
|
22100
|
-
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(
|
22100
|
+
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(mi(this.handleResize, 300)));
|
22101
22101
|
};
|
22102
22102
|
this.handleResize = (e) => {
|
22103
22103
|
var t;
|
@@ -22111,43 +22111,43 @@ var Vr = class {
|
|
22111
22111
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
22112
22112
|
}
|
22113
22113
|
};
|
22114
|
-
var
|
22115
|
-
var
|
22116
|
-
var
|
22117
|
-
var
|
22118
|
-
var
|
22119
|
-
var
|
22114
|
+
var Ys = new Br();
|
22115
|
+
var Vr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Vr || {});
|
22116
|
+
var Fr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Fr || {});
|
22117
|
+
var ea = "https://event.100ms.live/v2/client/report";
|
22118
|
+
var ta = "https://event-nonprod.100ms.live/v2/client/report";
|
22119
|
+
var Rt = Math.pow(2, 31) - 1;
|
22120
22120
|
var ot = class {
|
22121
22121
|
};
|
22122
|
-
ot.makePeerId = () =>
|
22122
|
+
ot.makePeerId = () => Vo();
|
22123
22123
|
var F = (a2) => a2.room;
|
22124
|
-
var
|
22125
|
-
var
|
22126
|
-
var
|
22127
|
-
var
|
22128
|
-
var
|
22129
|
-
var
|
22124
|
+
var Go = (a2) => a2.errors;
|
22125
|
+
var Tm = createSelector(Go, (a2) => a2.length === 0 ? null : a2.at(-1));
|
22126
|
+
var fm = createSelector(F, (a2) => a2.id);
|
22127
|
+
var Q = (a2) => a2.peers;
|
22128
|
+
var Ai = (a2) => a2.messages.byID;
|
22129
|
+
var la = (a2) => a2.messages.allIDs;
|
22130
22130
|
var N = (a2) => a2.tracks;
|
22131
|
-
var
|
22132
|
-
var
|
22131
|
+
var zr = (a2) => a2.appData;
|
22132
|
+
var Wo = (a2) => a2.speakers;
|
22133
22133
|
var Be = createSelector([F], (a2) => a2 && a2.isConnected);
|
22134
|
-
var
|
22135
|
-
var
|
22136
|
-
var ke = createSelector([F,
|
22137
|
-
var
|
22138
|
-
var re = createSelector(F,
|
22134
|
+
var ym = createSelector([Be, F], (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));
|
22135
|
+
var $o = (a2) => a2.hideLocalPeer;
|
22136
|
+
var ke = createSelector([F, Q, $o], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
22137
|
+
var Ko = createSelector(N, (a2) => Object.values(a2));
|
22138
|
+
var re = createSelector(F, Q, (a2, e) => e[a2.localPeer]);
|
22139
22139
|
var Ie = createSelector(F, (a2) => a2.localPeer);
|
22140
|
-
var
|
22141
|
-
var
|
22140
|
+
var km = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
|
22141
|
+
var Em = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
|
22142
22142
|
var le = createSelector(re, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
22143
|
-
var
|
22144
|
-
var
|
22145
|
-
var
|
22143
|
+
var X = createSelector(re, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
22144
|
+
var qo = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
22145
|
+
var pa = createSelector([le, X, qo], (a2, e, t) => {
|
22146
22146
|
let i = t ? [...t] : [];
|
22147
22147
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22148
22148
|
});
|
22149
|
-
var
|
22150
|
-
var
|
22149
|
+
var Pm = createSelector(ke, (a2) => a2.filter((e) => !e.isLocal));
|
22150
|
+
var bm = createSelector(Q, Wo, (a2, e) => {
|
22151
22151
|
let t = Object.entries(e).sort((i, r) => {
|
22152
22152
|
var n, d;
|
22153
22153
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22160,11 +22160,11 @@ var Cm = createSelector(z, $o, (a2, e) => {
|
|
22160
22160
|
}
|
22161
22161
|
return null;
|
22162
22162
|
});
|
22163
|
-
var
|
22163
|
+
var Xr = createSelector(re, N, (a2, e) => {
|
22164
22164
|
let { video: t, audio: i } = Fe(e, a2);
|
22165
22165
|
return !!(t || i);
|
22166
22166
|
});
|
22167
|
-
var
|
22167
|
+
var jo = createSelector(Q, N, (a2, e) => {
|
22168
22168
|
let t;
|
22169
22169
|
for (let i in a2) {
|
22170
22170
|
let r = a2[i], { video: s, audio: o } = Fe(e, r);
|
@@ -22174,15 +22174,15 @@ var Jo = createSelector(z, N, (a2, e) => {
|
|
22174
22174
|
}
|
22175
22175
|
return t;
|
22176
22176
|
});
|
22177
|
-
var
|
22178
|
-
var
|
22177
|
+
var Im = createSelector(jo, (a2) => !!a2);
|
22178
|
+
var Rm = createSelector(Q, N, (a2, e) => {
|
22179
22179
|
for (let t in a2) {
|
22180
22180
|
let i = a2[t], { audio: r, video: s } = Fe(e, i);
|
22181
22181
|
if (!s && r)
|
22182
22182
|
return i;
|
22183
22183
|
}
|
22184
22184
|
});
|
22185
|
-
var
|
22185
|
+
var Hm = createSelector(Q, N, (a2, e) => {
|
22186
22186
|
let t = [], i = [];
|
22187
22187
|
for (let r in a2) {
|
22188
22188
|
let s = a2[r], { video: o, audio: n } = Fe(e, s);
|
@@ -22190,82 +22190,82 @@ var _m = createSelector(z, N, (a2, e) => {
|
|
22190
22190
|
}
|
22191
22191
|
return t.concat(i);
|
22192
22192
|
});
|
22193
|
-
var
|
22193
|
+
var Cm = createSelector(Q, N, (a2, e) => {
|
22194
22194
|
for (let t in e) {
|
22195
22195
|
let i = e[t];
|
22196
22196
|
if (ft(i) && Tt(i) && i.peerId)
|
22197
22197
|
return a2[i.peerId];
|
22198
22198
|
}
|
22199
22199
|
});
|
22200
|
-
var
|
22200
|
+
var Lm = createSelector(Q, N, (a2, e) => {
|
22201
22201
|
for (let t in e) {
|
22202
22202
|
let i = e[t];
|
22203
|
-
if (
|
22203
|
+
if (ci(i) && i.peerId)
|
22204
22204
|
return a2[i.peerId];
|
22205
22205
|
}
|
22206
22206
|
});
|
22207
|
-
var
|
22208
|
-
var
|
22209
|
-
var
|
22210
|
-
var
|
22207
|
+
var Dm = createSelector(Ko, (a2) => a2.filter(Ms));
|
22208
|
+
var wm = createSelector(la, (a2) => a2.length);
|
22209
|
+
var _m = createSelector(Ai, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22210
|
+
var Dt = createSelector(la, Ai, (a2, e) => {
|
22211
22211
|
let t = [];
|
22212
22212
|
return a2.forEach((i) => {
|
22213
22213
|
t.push(e[i]);
|
22214
22214
|
}), t;
|
22215
22215
|
});
|
22216
|
-
var
|
22216
|
+
var Jo = createSelector(Dt, (a2) => a2.filter((e) => {
|
22217
22217
|
var t;
|
22218
22218
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22219
22219
|
}));
|
22220
|
-
var
|
22220
|
+
var Nm = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
22221
22221
|
var se = createSelector([F], (a2) => a2 && a2.roomState);
|
22222
|
-
var
|
22223
|
-
var
|
22224
|
-
var
|
22222
|
+
var ma = createSelector(se, (a2) => a2 === "Preview");
|
22223
|
+
var Om = createSelector(F, (a2) => a2.roomState !== "Disconnected");
|
22224
|
+
var xm = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22225
22225
|
var Ee = (a2) => a2.roles;
|
22226
|
-
var
|
22226
|
+
var Um = createSelector([Ee], (a2) => Object.keys(a2));
|
22227
22227
|
var ct = createSelector([re, Ee], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22228
|
-
var
|
22228
|
+
var Qo = (a2) => {
|
22229
22229
|
var e;
|
22230
22230
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22231
22231
|
};
|
22232
|
-
var
|
22233
|
-
var
|
22232
|
+
var Sa = createSelector([Qo, Ee], (a2, e) => a2 ? e[a2] : null);
|
22233
|
+
var Bm = createSelector([ct], (a2) => {
|
22234
22234
|
var e;
|
22235
22235
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22236
22236
|
});
|
22237
|
-
var
|
22238
|
-
var
|
22239
|
-
var
|
22240
|
-
var
|
22241
|
-
var
|
22242
|
-
var
|
22243
|
-
var
|
22244
|
-
var
|
22245
|
-
var
|
22246
|
-
var
|
22247
|
-
var
|
22248
|
-
var
|
22249
|
-
var
|
22250
|
-
var
|
22251
|
-
var
|
22252
|
-
var
|
22253
|
-
var
|
22254
|
-
var
|
22255
|
-
var
|
22256
|
-
var
|
22257
|
-
var
|
22258
|
-
var
|
22259
|
-
var
|
22237
|
+
var ga = createSelector(ct, (a2) => a2 == null ? void 0 : a2.permissions);
|
22238
|
+
var Vm = createSelector(F, (a2) => a2.recording);
|
22239
|
+
var Fm = createSelector(F, (a2) => a2.rtmp);
|
22240
|
+
var Gm = createSelector(F, (a2) => a2.hls);
|
22241
|
+
var Wm = createSelector(F, (a2) => a2.transcriptions);
|
22242
|
+
var $m = createSelector(F, (a2) => a2.sessionId);
|
22243
|
+
var Km = createSelector(F, (a2) => a2.startedAt);
|
22244
|
+
var qm = createSelector(F, (a2) => !!a2.isLargeRoom);
|
22245
|
+
var jm = createSelector(F, (a2) => !!a2.isEffectsEnabled);
|
22246
|
+
var Jm = createSelector(F, (a2) => !!a2.isVBEnabled);
|
22247
|
+
var Qm = createSelector(F, (a2) => a2.effectsKey);
|
22248
|
+
var Ta = (a2) => a2.polls;
|
22249
|
+
var Zm = createSelector(ke, (a2) => a2.filter((e) => e.isHandRaised));
|
22250
|
+
var zo = (a2) => a2.whiteboards;
|
22251
|
+
var eS = createSelector(zo, (a2) => Object.values(a2)[0]);
|
22252
|
+
var va = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22253
|
+
var Zr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22254
|
+
var Ma = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22255
|
+
var ya = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22256
|
+
var ka = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22257
|
+
var Ea = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22258
|
+
var Pa = (a2 = "audio") => createSelector(va(a2), (e) => Object.values(e));
|
22259
|
+
var ba = (a2 = "audio") => createSelector(va(a2), Zr(a2), (e, t) => {
|
22260
22260
|
if (t.id)
|
22261
22261
|
return e[t.id];
|
22262
22262
|
});
|
22263
|
-
var
|
22264
|
-
var
|
22263
|
+
var Aa = { selection: Zr("audio"), progress: Ma("audio"), currentTime: ya("audio"), playbackRate: ka("audio"), volume: Ea("audio"), list: Pa("audio"), selectedItem: ba("audio") };
|
22264
|
+
var Ia = { selection: Zr("video"), progress: Ma("video"), currentTime: ya("video"), playbackRate: ka("video"), volume: Ea("video"), list: Pa("video"), selectedItem: ba("video") };
|
22265
22265
|
function H(a2) {
|
22266
22266
|
return (e) => (t) => a2(t, e);
|
22267
22267
|
}
|
22268
|
-
var
|
22268
|
+
var wt = "HMS-Store:";
|
22269
22269
|
var b = class {
|
22270
22270
|
static v(e, ...t) {
|
22271
22271
|
this.log(0, e, ...t);
|
@@ -22295,23 +22295,23 @@ var b = class {
|
|
22295
22295
|
if (!(this.level.valueOf() > e.valueOf()))
|
22296
22296
|
switch (e) {
|
22297
22297
|
case 0: {
|
22298
|
-
console.log(
|
22298
|
+
console.log(wt, ...t);
|
22299
22299
|
break;
|
22300
22300
|
}
|
22301
22301
|
case 1: {
|
22302
|
-
console.debug(
|
22302
|
+
console.debug(wt, ...t);
|
22303
22303
|
break;
|
22304
22304
|
}
|
22305
22305
|
case 2: {
|
22306
|
-
console.info(
|
22306
|
+
console.info(wt, ...t);
|
22307
22307
|
break;
|
22308
22308
|
}
|
22309
22309
|
case 3: {
|
22310
|
-
console.warn(
|
22310
|
+
console.warn(wt, ...t);
|
22311
22311
|
break;
|
22312
22312
|
}
|
22313
22313
|
case 6: {
|
22314
|
-
console.error(
|
22314
|
+
console.error(wt, ...t);
|
22315
22315
|
break;
|
22316
22316
|
}
|
22317
22317
|
case 4: {
|
@@ -22332,133 +22332,133 @@ var b = class {
|
|
22332
22332
|
}
|
22333
22333
|
};
|
22334
22334
|
b.level = 0;
|
22335
|
-
var
|
22336
|
-
var
|
22337
|
-
var
|
22335
|
+
var es = (a2, e) => e;
|
22336
|
+
var _t = (a2, e) => e;
|
22337
|
+
var Ra = (a2, e) => e;
|
22338
|
+
var Yo = (a2, e) => e;
|
22338
22339
|
var Xo = (a2, e) => e;
|
22339
|
-
var
|
22340
|
-
var
|
22341
|
-
var
|
22342
|
-
var en = createSelector([N, Nt], (a2, e) => {
|
22340
|
+
var z = createSelector([Q, es], (a2, e) => e ? a2[e] : null);
|
22341
|
+
var ts = createSelector([N, _t], (a2, e) => e ? a2[e] : null);
|
22342
|
+
var Zo = createSelector([N, _t], (a2, e) => {
|
22343
22343
|
if (!e)
|
22344
22344
|
return null;
|
22345
22345
|
let t = a2[e];
|
22346
22346
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22347
22347
|
});
|
22348
|
-
var
|
22348
|
+
var en = createSelector([N, _t], (a2, e) => {
|
22349
22349
|
if (!e)
|
22350
22350
|
return null;
|
22351
22351
|
let t = a2[e];
|
22352
22352
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22353
22353
|
});
|
22354
|
-
var
|
22354
|
+
var tn = createSelector([N, _t], (a2, e) => {
|
22355
22355
|
if (!e)
|
22356
22356
|
return null;
|
22357
22357
|
let t = a2[e];
|
22358
22358
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22359
22359
|
});
|
22360
|
-
var
|
22360
|
+
var rn = createSelector([N, _t], (a2, e) => {
|
22361
22361
|
if (!e)
|
22362
22362
|
return null;
|
22363
22363
|
let t = a2[e];
|
22364
22364
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22365
22365
|
});
|
22366
|
-
var
|
22367
|
-
var
|
22368
|
-
var
|
22366
|
+
var sn = createSelector([Ta, Xo], (a2, e) => e ? a2[e] : null);
|
22367
|
+
var Z = H(z);
|
22368
|
+
var uS = H(createSelector([zr, Yo], (a2, e) => {
|
22369
22369
|
if (a2)
|
22370
22370
|
return e ? a2[e] : a2;
|
22371
22371
|
}));
|
22372
|
-
function
|
22372
|
+
function pS(a2) {
|
22373
22373
|
return (e) => {
|
22374
22374
|
if (e.sessionStore)
|
22375
22375
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22376
22376
|
};
|
22377
22377
|
}
|
22378
|
-
var
|
22379
|
-
var
|
22380
|
-
var
|
22381
|
-
var
|
22382
|
-
var
|
22383
|
-
var
|
22384
|
-
var
|
22385
|
-
var
|
22386
|
-
let t =
|
22378
|
+
var mS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.name));
|
22379
|
+
var SS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.type));
|
22380
|
+
var Ii = H(ts);
|
22381
|
+
var Ha = H(Zo);
|
22382
|
+
var gS = H(en);
|
22383
|
+
var TS = H(tn);
|
22384
|
+
var fS = H(rn);
|
22385
|
+
var an = H((a2, e) => {
|
22386
|
+
let t = z(a2, e);
|
22387
22387
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22388
22388
|
return a2.tracks[t.videoTrack];
|
22389
22389
|
});
|
22390
|
-
var
|
22391
|
-
let t =
|
22390
|
+
var on = H((a2, e) => {
|
22391
|
+
let t = z(a2, e);
|
22392
22392
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22393
22393
|
return a2.tracks[t.audioTrack];
|
22394
22394
|
});
|
22395
|
-
var
|
22396
|
-
let t =
|
22395
|
+
var MS = H((a2, e) => {
|
22396
|
+
let t = z(a2, e);
|
22397
22397
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22398
22398
|
});
|
22399
|
-
var
|
22400
|
-
var
|
22401
|
-
var
|
22402
|
-
let t =
|
22403
|
-
return
|
22404
|
-
};
|
22405
|
-
var
|
22406
|
-
var
|
22399
|
+
var Ca = (a2, e) => e ? a2.speakers[e] : null;
|
22400
|
+
var yS = H(createSelector(Ca, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22401
|
+
var nn = (a2, e) => {
|
22402
|
+
let t = on(e)(a2);
|
22403
|
+
return Ca(a2, t == null ? void 0 : t.id);
|
22404
|
+
};
|
22405
|
+
var kS = H(createSelector(nn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22406
|
+
var ES = H((a2, e) => {
|
22407
22407
|
if (e)
|
22408
22408
|
return a2.connectionQualities[e];
|
22409
22409
|
});
|
22410
|
-
var
|
22411
|
-
let t =
|
22410
|
+
var PS = H((a2, e) => {
|
22411
|
+
let t = z(a2, e);
|
22412
22412
|
if (t) {
|
22413
22413
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => gt(a2.tracks[r]));
|
22414
22414
|
return i ? a2.tracks[i] : void 0;
|
22415
22415
|
}
|
22416
22416
|
});
|
22417
|
-
var
|
22417
|
+
var bS = H(createSelector(N, z, (a2, e) => {
|
22418
22418
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22419
22419
|
let r = a2[i];
|
22420
22420
|
return ft(r) && Tt(r);
|
22421
22421
|
});
|
22422
22422
|
return t ? a2[t] : void 0;
|
22423
22423
|
}));
|
22424
|
-
var
|
22424
|
+
var AS = H(createSelector(N, z, (a2, e) => {
|
22425
22425
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22426
22426
|
let r = a2[i];
|
22427
22427
|
return ft(r) && gt(r);
|
22428
22428
|
});
|
22429
22429
|
return t ? a2[t] : void 0;
|
22430
22430
|
}));
|
22431
|
-
var
|
22431
|
+
var IS = H(createSelector(N, z, (a2, e) => {
|
22432
22432
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22433
22433
|
let r = a2[i];
|
22434
|
-
return
|
22434
|
+
return ci(r) && gt(r);
|
22435
22435
|
});
|
22436
22436
|
return t ? a2[t] : void 0;
|
22437
22437
|
}));
|
22438
|
-
var
|
22439
|
-
var
|
22440
|
-
var
|
22441
|
-
let t =
|
22438
|
+
var La = H(createSelector(N, z, (a2, e) => Fe(a2, e)));
|
22439
|
+
var Da = (a2) => createSelector(La(a2), (e) => e.audio);
|
22440
|
+
var HS = H((a2, e) => {
|
22441
|
+
let t = z(a2, e);
|
22442
22442
|
return ze(a2, t == null ? void 0 : t.audioTrack);
|
22443
22443
|
});
|
22444
|
-
var
|
22445
|
-
let t =
|
22444
|
+
var CS = H((a2, e) => {
|
22445
|
+
let t = z(a2, e);
|
22446
22446
|
return ze(a2, t == null ? void 0 : t.videoTrack);
|
22447
22447
|
});
|
22448
|
-
var
|
22448
|
+
var wa = H((a2, e) => {
|
22449
22449
|
if (e && a2.tracks[e])
|
22450
22450
|
return a2.tracks[e].volume === 0;
|
22451
22451
|
});
|
22452
|
-
var
|
22453
|
-
let t =
|
22454
|
-
return
|
22452
|
+
var LS = H((a2, e) => {
|
22453
|
+
let t = z(a2, e);
|
22454
|
+
return wa(t == null ? void 0 : t.audioTrack)(a2);
|
22455
22455
|
});
|
22456
|
-
var
|
22457
|
-
let t =
|
22458
|
-
return
|
22456
|
+
var DS = H((a2, e) => {
|
22457
|
+
let t = Da(e)(a2);
|
22458
|
+
return wa(t == null ? void 0 : t.id)(a2);
|
22459
22459
|
});
|
22460
|
-
var
|
22461
|
-
let t =
|
22460
|
+
var _a7 = H((a2, e) => {
|
22461
|
+
let t = ts(a2, e);
|
22462
22462
|
if (t) {
|
22463
22463
|
if (t.type !== "audio") {
|
22464
22464
|
b.w("Please pass audio track here");
|
@@ -22467,16 +22467,16 @@ var Na = H((a2, e) => {
|
|
22467
22467
|
return t.volume;
|
22468
22468
|
}
|
22469
22469
|
});
|
22470
|
-
var
|
22471
|
-
let t =
|
22472
|
-
return
|
22470
|
+
var wS = H((a2, e) => {
|
22471
|
+
let t = z(a2, e);
|
22472
|
+
return _a7(t == null ? void 0 : t.audioTrack)(a2);
|
22473
22473
|
});
|
22474
|
-
var
|
22475
|
-
let t =
|
22476
|
-
return
|
22474
|
+
var _S = H((a2, e) => {
|
22475
|
+
let t = Da(e)(a2);
|
22476
|
+
return _a7(t == null ? void 0 : t.id)(a2);
|
22477
22477
|
});
|
22478
|
-
var
|
22479
|
-
let t =
|
22478
|
+
var NS = H((a2, e) => {
|
22479
|
+
let t = ts(a2, e);
|
22480
22480
|
if (t) {
|
22481
22481
|
if (t.type !== "video") {
|
22482
22482
|
b.w("Please pass video track here");
|
@@ -22485,50 +22485,50 @@ var VS = H((a2, e) => {
|
|
22485
22485
|
return t.layer;
|
22486
22486
|
}
|
22487
22487
|
});
|
22488
|
-
var
|
22488
|
+
var Na = createSelector([Dt, Ie, es], (a2, e, t) => {
|
22489
22489
|
if (t)
|
22490
22490
|
return a2.filter((i) => {
|
22491
22491
|
var r;
|
22492
22492
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22493
22493
|
});
|
22494
22494
|
});
|
22495
|
-
var
|
22495
|
+
var Oa = createSelector([Dt, Ra], (a2, e) => {
|
22496
22496
|
if (e)
|
22497
22497
|
return a2.filter((t) => {
|
22498
22498
|
var i, r;
|
22499
22499
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22500
22500
|
});
|
22501
22501
|
});
|
22502
|
-
var
|
22502
|
+
var cn = createSelector(Dt, (a2) => a2.filter((e) => {
|
22503
22503
|
var t;
|
22504
22504
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22505
22505
|
}));
|
22506
|
-
var
|
22507
|
-
var
|
22508
|
-
var
|
22509
|
-
var
|
22510
|
-
var
|
22511
|
-
var
|
22512
|
-
var
|
22513
|
-
var
|
22514
|
-
var
|
22506
|
+
var dn = createSelector([Oa, Ra], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22507
|
+
var ln = createSelector([Na, es], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22508
|
+
var OS = createSelector(cn, (a2) => a2.filter((e) => !e.read).length);
|
22509
|
+
var xS = H(Na);
|
22510
|
+
var US = H(Oa);
|
22511
|
+
var BS = H(dn);
|
22512
|
+
var VS = H(ln);
|
22513
|
+
var xa = H(sn);
|
22514
|
+
var XS = createSelector([Q, N], (a2, e) => Object.values(a2).map((i) => {
|
22515
22515
|
var r;
|
22516
22516
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22517
22517
|
}));
|
22518
|
-
var
|
22519
|
-
var
|
22520
|
-
var
|
22521
|
-
var
|
22522
|
-
var
|
22518
|
+
var un = (a2) => a2.roleChangeRequests[0] || null;
|
22519
|
+
var ZS = createSelector([un, Q, Ee], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22520
|
+
var eg = createSelector([ct], (a2) => vt(a2));
|
22521
|
+
var tg = createSelector([Sa], (a2) => vt(a2));
|
22522
|
+
var hn = createSelector([X, N], (a2, e) => {
|
22523
22523
|
let t = null;
|
22524
22524
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22525
22525
|
});
|
22526
|
-
var
|
22526
|
+
var mn = createSelector([le, N], (a2, e) => {
|
22527
22527
|
let t = null;
|
22528
22528
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22529
22529
|
});
|
22530
|
-
var
|
22531
|
-
var
|
22530
|
+
var Tn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(Tn || {});
|
22531
|
+
var os = class {
|
22532
22532
|
constructor() {
|
22533
22533
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22534
22534
|
this.failedEvents = new fe("client-events");
|
@@ -22547,7 +22547,7 @@ var ns = class {
|
|
22547
22547
|
this.addEventToStorage(e);
|
22548
22548
|
return;
|
22549
22549
|
}
|
22550
|
-
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ?
|
22550
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? ea : ta;
|
22551
22551
|
fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
|
22552
22552
|
if (r.status === 401) {
|
22553
22553
|
this.removeFromStorage(e);
|
@@ -22573,8 +22573,8 @@ var ns = class {
|
|
22573
22573
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22574
22574
|
}
|
22575
22575
|
};
|
22576
|
-
var He = new
|
22577
|
-
var
|
22576
|
+
var He = new os();
|
22577
|
+
var $t = class {
|
22578
22578
|
static handleError(e) {
|
22579
22579
|
if (e.status === 404)
|
22580
22580
|
throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
|
@@ -22600,67 +22600,67 @@ var Kt = class {
|
|
22600
22600
|
});
|
22601
22601
|
}
|
22602
22602
|
};
|
22603
|
-
|
22604
|
-
var
|
22605
|
-
var
|
22606
|
-
var
|
22603
|
+
$t.TAG = "[FeedbackService]";
|
22604
|
+
var ns = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(ns || {});
|
22605
|
+
var j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
|
22606
|
+
var lr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(lr || {});
|
22607
22607
|
var ht = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ht || {});
|
22608
|
-
var
|
22609
|
-
var
|
22610
|
-
var
|
22611
|
-
var
|
22612
|
-
var
|
22613
|
-
var
|
22614
|
-
var
|
22615
|
-
var
|
22616
|
-
var Le = createSelector([
|
22617
|
-
var
|
22608
|
+
var Un = (a2) => a2.localPeer.id;
|
22609
|
+
var Bn = (a2) => a2.localPeer.audioTrack;
|
22610
|
+
var Vn = (a2) => a2.localPeer.videoTrack;
|
22611
|
+
var Fn = (a2, e) => e;
|
22612
|
+
var oo = (a2, e) => e;
|
22613
|
+
var Gn = (a2) => a2.remoteTrackStats;
|
22614
|
+
var no = (a2) => a2.peerStats;
|
22615
|
+
var us = (a2) => a2.localTrackStats;
|
22616
|
+
var Le = createSelector([no, Un], (a2, e) => a2[e]);
|
22617
|
+
var Wn = createSelector(Le, (a2) => {
|
22618
22618
|
var e;
|
22619
22619
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22620
22620
|
});
|
22621
|
-
var
|
22621
|
+
var $n = createSelector(Le, (a2) => {
|
22622
22622
|
var e;
|
22623
22623
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22624
22624
|
});
|
22625
|
-
var
|
22625
|
+
var Kn = createSelector(Le, (a2) => {
|
22626
22626
|
var e;
|
22627
22627
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22628
22628
|
});
|
22629
|
-
var
|
22629
|
+
var qn = createSelector(Le, (a2) => {
|
22630
22630
|
var e;
|
22631
22631
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22632
22632
|
});
|
22633
|
-
var
|
22633
|
+
var jn = createSelector(Le, (a2) => {
|
22634
22634
|
var e;
|
22635
22635
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22636
22636
|
});
|
22637
|
-
var
|
22637
|
+
var Jn = createSelector(Le, (a2) => {
|
22638
22638
|
var e;
|
22639
22639
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22640
22640
|
});
|
22641
|
-
var
|
22641
|
+
var Qn = createSelector(Le, (a2) => {
|
22642
22642
|
var e;
|
22643
22643
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22644
22644
|
});
|
22645
|
-
var
|
22645
|
+
var zn = createSelector(Le, (a2) => {
|
22646
22646
|
var e;
|
22647
22647
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22648
22648
|
});
|
22649
|
-
var
|
22650
|
-
var
|
22651
|
-
var
|
22649
|
+
var Yn = createSelector([no, Fn], (a2, e) => e ? a2[e] : void 0);
|
22650
|
+
var Xn = createSelector([Gn, oo], (a2, e) => e ? a2[e] : void 0);
|
22651
|
+
var ps = createSelector([us, oo], (a2, e) => e ? a2[e] : void 0);
|
22652
|
+
var Zn = H(Yn);
|
22652
22653
|
var ec = H(Xn);
|
22653
|
-
var tc =
|
22654
|
-
var ic = createSelector([ps, Vn], (a2, e) => {
|
22654
|
+
var tc = createSelector([us, Bn], (a2, e) => {
|
22655
22655
|
var t;
|
22656
22656
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22657
22657
|
});
|
22658
|
-
var
|
22659
|
-
var
|
22658
|
+
var ic = H(createSelector(ps, (a2) => a2 == null ? void 0 : a2[0]));
|
22659
|
+
var rc = createSelector([us, Vn], (a2, e) => {
|
22660
22660
|
var t;
|
22661
22661
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22662
22662
|
});
|
22663
|
-
var
|
22663
|
+
var sc = H(createSelector(ps, (a2) => a2));
|
22664
22664
|
|
22665
22665
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22666
22666
|
import {
|
@@ -22779,7 +22779,7 @@ var RecordingStatus = () => {
|
|
22779
22779
|
};
|
22780
22780
|
var RecordingPauseStatus = () => {
|
22781
22781
|
const recording = useHMSStore29(selectRecordingState2);
|
22782
|
-
if (recording.hls && recording.hls.state ===
|
22782
|
+
if (recording.hls && recording.hls.state === Fs.PAUSED) {
|
22783
22783
|
return /* @__PURE__ */ React64.createElement(
|
22784
22784
|
Tooltip,
|
22785
22785
|
{
|
@@ -27637,7 +27637,7 @@ var Chat = () => {
|
|
27637
27637
|
const listRef = useRef26(null);
|
27638
27638
|
const hmsActions = useHMSActions42();
|
27639
27639
|
const vanillaStore = useHMSVanillaStore11();
|
27640
|
-
const { enabled: isChatEnabled = true } = useHMSStore61(
|
27640
|
+
const { enabled: isChatEnabled = true } = useHMSStore61(pS("chatState" /* CHAT_STATE */)) || {};
|
27641
27641
|
const isMobile = useMedia20(config.media.md);
|
27642
27642
|
const isMobileHLSStream = useMobileHLSStream();
|
27643
27643
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27727,7 +27727,7 @@ var NewMessageIndicator = ({
|
|
27727
27727
|
scrollToBottom,
|
27728
27728
|
listRef
|
27729
27729
|
}) => {
|
27730
|
-
const unreadCount = useHMSStore61(
|
27730
|
+
const unreadCount = useHMSStore61(_m);
|
27731
27731
|
if (!unreadCount || !listRef.current) {
|
27732
27732
|
return null;
|
27733
27733
|
}
|
@@ -28749,12 +28749,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28749
28749
|
const roomState = useHMSStore69(selectRoomState6);
|
28750
28750
|
const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
|
28751
28751
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
28752
|
-
const isEffectsEnabled = useHMSStore69(
|
28753
|
-
const effectsKey = useHMSStore69(
|
28752
|
+
const isEffectsEnabled = useHMSStore69(jm);
|
28753
|
+
const effectsKey = useHMSStore69(Qm);
|
28754
28754
|
const isMobile = useMedia24(config.media.md);
|
28755
28755
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28756
28756
|
const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
28757
|
-
const background = useHMSStore69(
|
28757
|
+
const background = useHMSStore69(uS(APP_DATA.background));
|
28758
28758
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28759
28759
|
const pluginLoadingRef = useRef27(false);
|
28760
28760
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -29846,7 +29846,7 @@ var useTileLayout = ({
|
|
29846
29846
|
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
29847
29847
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
29848
29848
|
const rowElements = [];
|
29849
|
-
for (let
|
29849
|
+
for (let j2 = 0; j2 < numCols; j2++) {
|
29850
29850
|
if (index < page.length) {
|
29851
29851
|
rowElements.push(page[index++]);
|
29852
29852
|
}
|
@@ -33129,8 +33129,8 @@ var ConferenceScreen = () => {
|
|
33129
33129
|
initEndpoint: endpoints == null ? void 0 : endpoints.init,
|
33130
33130
|
rememberDeviceSelection: true,
|
33131
33131
|
settings: {
|
33132
|
-
|
33133
|
-
|
33132
|
+
isAudioMuted: !isPreviewScreenEnabled,
|
33133
|
+
isVideoMuted: !isPreviewScreenEnabled,
|
33134
33134
|
speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
|
33135
33135
|
}
|
33136
33136
|
}).then(() => requestPermission()).catch(console.error);
|
@@ -34600,8 +34600,8 @@ import { useEffect as useEffect75 } from "react";
|
|
34600
34600
|
import { useAwayNotifications as useAwayNotifications5, useHMSNotifications as useHMSNotifications8, useHMSStore as useHMSStore92 } from "@100mslive/react-sdk";
|
34601
34601
|
var MessageNotifications = () => {
|
34602
34602
|
var _a8, _b7;
|
34603
|
-
const notification = useHMSNotifications8(
|
34604
|
-
const amIScreenSharing = useHMSStore92(
|
34603
|
+
const notification = useHMSNotifications8(Pr.NEW_MESSAGE);
|
34604
|
+
const amIScreenSharing = useHMSStore92(Xr);
|
34605
34605
|
const logoURL = (_b7 = (_a8 = useRoomLayout()) == null ? void 0 : _a8.logo) == null ? void 0 : _b7.url;
|
34606
34606
|
const { pipWindow } = usePIPWindow();
|
34607
34607
|
const { showNotification } = useAwayNotifications5();
|