@100mslive/roomkit-react 0.3.19-alpha.1 → 0.3.19-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-6KUW45BA.js → HLSView-BRZ2FW7O.js} +2 -2
- package/dist/{HLSView-MI7WHLIB.css → HLSView-UXA322ED.css} +3 -3
- package/dist/{HLSView-MI7WHLIB.css.map → HLSView-UXA322ED.css.map} +1 -1
- package/dist/{chunk-NC3PKPDD.js → chunk-KR2DZJO5.js} +344 -341
- package/dist/chunk-KR2DZJO5.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +329 -328
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +22 -22
- package/dist/meta.esbuild.json +32 -32
- package/package.json +7 -7
- package/src/Video/Video.tsx +1 -1
- package/dist/chunk-NC3PKPDD.js.map +0 -7
- /package/dist/{HLSView-6KUW45BA.js.map → HLSView-BRZ2FW7O.js.map} +0 -0
@@ -44,13 +44,13 @@ var __export = (target, all) => {
|
|
44
44
|
for (var name in all)
|
45
45
|
__defProp(target, name, { get: all[name], enumerable: true });
|
46
46
|
};
|
47
|
-
var __copyProps = (
|
47
|
+
var __copyProps = (to, from, except, desc) => {
|
48
48
|
if (from && typeof from === "object" || typeof from === "function") {
|
49
49
|
for (let key of __getOwnPropNames(from))
|
50
|
-
if (!__hasOwnProp.call(
|
51
|
-
__defProp(
|
50
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
51
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
52
52
|
}
|
53
|
-
return
|
53
|
+
return to;
|
54
54
|
};
|
55
55
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
56
56
|
// If the importer is in node compatibility mode or this is not an ESM
|
@@ -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_6cea5802-ce23-4c1e-97a2-70076471882b", 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.9-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.4 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.19-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6cea5802-ce23-4c1e-97a2-70076471882b", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.19-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.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240811.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.6/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:1821", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.19-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: "10472637880", 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: "4e76816ac6791d45d6099d5ecf81b9b730bbb9db", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "6790174dc36e26c3b589aa85cb1ac4b030a9489d29e85bee676df9058a07e5f4", 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--1724160935532-0.7852344527720556:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1724160935303-0.6284305740362575:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1724160908813-0.14105343274938886:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1724160908629-0.46815752240870667:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_05bd7fdb-bfbd-48f1-a2d1-f746c00dddb2", INVOCATION_ID: "297196c99e914941bba85b21184f9190", 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: "644", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 92", 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.0.12077973", 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.19-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-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: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "4e76816ac6791d45d6099d5ecf81b9b730bbb9db", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6cea5802-ce23-4c1e-97a2-70076471882b", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6cea5802-ce23-4c1e-97a2-70076471882b", 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.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_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.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6cea5802-ce23-4c1e-97a2-70076471882b" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8e80bbea-1ccb-4925-b28b-fa461606c676", 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.9-alpha.2", 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.4 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.19-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8e80bbea-1ccb-4925-b28b-fa461606c676", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.19-alpha.2", 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.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "601", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240825.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.6/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17225", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.19-alpha.2", 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: "10592524676", 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: "88c8ac68235961d5352322c7be3efedad27f6d92", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "a2abe29da55815a39e288ff49ea5cd8828252bca80913f4baf1e0a3db3791b87", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1724831759242-0.1595028060328194:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1724831759048-0.21877242189553248:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1724831733657-0.21061851403670917:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1724831733475-0.416211556167259:/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.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_67d6c53f-3cdd-439a-80c8-c2c4c7b862ae", INVOCATION_ID: "ef7e228817de496190ba8acc4bdd30f3", 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: "645", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 347", 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.0.12077973", 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.19-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-alpha.2", 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: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "88c8ac68235961d5352322c7be3efedad27f6d92", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_8e80bbea-1ccb-4925-b28b-fa461606c676", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8e80bbea-1ccb-4925-b28b-fa461606c676", 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.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_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.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_8e80bbea-1ccb-4925-b28b-fa461606c676" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -4149,7 +4149,7 @@ var require_lodash = __commonJS({
|
|
4149
4149
|
function eq(value, other) {
|
4150
4150
|
return value === other || value !== value && other !== other;
|
4151
4151
|
}
|
4152
|
-
var
|
4152
|
+
var gt = createRelationalOperation(baseGt);
|
4153
4153
|
var gte = createRelationalOperation(function(value, other) {
|
4154
4154
|
return value >= other;
|
4155
4155
|
});
|
@@ -4291,7 +4291,7 @@ var require_lodash = __commonJS({
|
|
4291
4291
|
function isWeakSet(value) {
|
4292
4292
|
return isObjectLike(value) && baseGetTag(value) == weakSetTag;
|
4293
4293
|
}
|
4294
|
-
var
|
4294
|
+
var lt2 = createRelationalOperation(baseLt);
|
4295
4295
|
var lte = createRelationalOperation(function(value, other) {
|
4296
4296
|
return value <= other;
|
4297
4297
|
});
|
@@ -4373,7 +4373,7 @@ var require_lodash = __commonJS({
|
|
4373
4373
|
var assignWith = createAssigner(function(object, source, srcIndex, customizer2) {
|
4374
4374
|
copyObject(source, keys(source), object, customizer2);
|
4375
4375
|
});
|
4376
|
-
var
|
4376
|
+
var at2 = flatRest(baseAt);
|
4377
4377
|
function create(prototype, properties) {
|
4378
4378
|
var result2 = baseCreate(prototype);
|
4379
4379
|
return properties == null ? result2 : baseAssign(result2, properties);
|
@@ -5107,7 +5107,7 @@ var require_lodash = __commonJS({
|
|
5107
5107
|
lodash.assignIn = assignIn;
|
5108
5108
|
lodash.assignInWith = assignInWith;
|
5109
5109
|
lodash.assignWith = assignWith;
|
5110
|
-
lodash.at =
|
5110
|
+
lodash.at = at2;
|
5111
5111
|
lodash.before = before;
|
5112
5112
|
lodash.bind = bind;
|
5113
5113
|
lodash.bindAll = bindAll;
|
@@ -5288,7 +5288,7 @@ var require_lodash = __commonJS({
|
|
5288
5288
|
lodash.forOwn = forOwn;
|
5289
5289
|
lodash.forOwnRight = forOwnRight;
|
5290
5290
|
lodash.get = get;
|
5291
|
-
lodash.gt =
|
5291
|
+
lodash.gt = gt;
|
5292
5292
|
lodash.gte = gte;
|
5293
5293
|
lodash.has = has;
|
5294
5294
|
lodash.hasIn = hasIn;
|
@@ -5341,7 +5341,7 @@ var require_lodash = __commonJS({
|
|
5341
5341
|
lodash.lastIndexOf = lastIndexOf;
|
5342
5342
|
lodash.lowerCase = lowerCase;
|
5343
5343
|
lodash.lowerFirst = lowerFirst;
|
5344
|
-
lodash.lt =
|
5344
|
+
lodash.lt = lt2;
|
5345
5345
|
lodash.lte = lte;
|
5346
5346
|
lodash.max = max;
|
5347
5347
|
lodash.maxBy = maxBy;
|
@@ -7671,12 +7671,12 @@ var require_sdp = __commonJS({
|
|
7671
7671
|
return parsed;
|
7672
7672
|
};
|
7673
7673
|
SDPUtils2.writeRtpMap = function(codec) {
|
7674
|
-
let
|
7674
|
+
let pt2 = codec.payloadType;
|
7675
7675
|
if (codec.preferredPayloadType !== void 0) {
|
7676
|
-
|
7676
|
+
pt2 = codec.preferredPayloadType;
|
7677
7677
|
}
|
7678
7678
|
const channels = codec.channels || codec.numChannels || 1;
|
7679
|
-
return "a=rtpmap:" +
|
7679
|
+
return "a=rtpmap:" + pt2 + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
|
7680
7680
|
};
|
7681
7681
|
SDPUtils2.parseExtmap = function(line) {
|
7682
7682
|
const parts = line.substring(9).split(" ");
|
@@ -7702,9 +7702,9 @@ var require_sdp = __commonJS({
|
|
7702
7702
|
};
|
7703
7703
|
SDPUtils2.writeFmtp = function(codec) {
|
7704
7704
|
let line = "";
|
7705
|
-
let
|
7705
|
+
let pt2 = codec.payloadType;
|
7706
7706
|
if (codec.preferredPayloadType !== void 0) {
|
7707
|
-
|
7707
|
+
pt2 = codec.preferredPayloadType;
|
7708
7708
|
}
|
7709
7709
|
if (codec.parameters && Object.keys(codec.parameters).length) {
|
7710
7710
|
const params = [];
|
@@ -7715,7 +7715,7 @@ var require_sdp = __commonJS({
|
|
7715
7715
|
params.push(param);
|
7716
7716
|
}
|
7717
7717
|
});
|
7718
|
-
line += "a=fmtp:" +
|
7718
|
+
line += "a=fmtp:" + pt2 + " " + params.join(";") + "\r\n";
|
7719
7719
|
}
|
7720
7720
|
return line;
|
7721
7721
|
};
|
@@ -7728,13 +7728,13 @@ var require_sdp = __commonJS({
|
|
7728
7728
|
};
|
7729
7729
|
SDPUtils2.writeRtcpFb = function(codec) {
|
7730
7730
|
let lines = "";
|
7731
|
-
let
|
7731
|
+
let pt2 = codec.payloadType;
|
7732
7732
|
if (codec.preferredPayloadType !== void 0) {
|
7733
|
-
|
7733
|
+
pt2 = codec.preferredPayloadType;
|
7734
7734
|
}
|
7735
7735
|
if (codec.rtcpFeedback && codec.rtcpFeedback.length) {
|
7736
7736
|
codec.rtcpFeedback.forEach((fb) => {
|
7737
|
-
lines += "a=rtcp-fb:" +
|
7737
|
+
lines += "a=rtcp-fb:" + pt2 + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
|
7738
7738
|
});
|
7739
7739
|
}
|
7740
7740
|
return lines;
|
@@ -7862,21 +7862,21 @@ var require_sdp = __commonJS({
|
|
7862
7862
|
const mline = lines[0].split(" ");
|
7863
7863
|
description.profile = mline[2];
|
7864
7864
|
for (let i = 3; i < mline.length; i++) {
|
7865
|
-
const
|
7865
|
+
const pt2 = mline[i];
|
7866
7866
|
const rtpmapline = SDPUtils2.matchPrefix(
|
7867
7867
|
mediaSection,
|
7868
|
-
"a=rtpmap:" +
|
7868
|
+
"a=rtpmap:" + pt2 + " "
|
7869
7869
|
)[0];
|
7870
7870
|
if (rtpmapline) {
|
7871
7871
|
const codec = SDPUtils2.parseRtpMap(rtpmapline);
|
7872
7872
|
const fmtps = SDPUtils2.matchPrefix(
|
7873
7873
|
mediaSection,
|
7874
|
-
"a=fmtp:" +
|
7874
|
+
"a=fmtp:" + pt2 + " "
|
7875
7875
|
);
|
7876
7876
|
codec.parameters = fmtps.length ? SDPUtils2.parseFmtp(fmtps[0]) : {};
|
7877
7877
|
codec.rtcpFeedback = SDPUtils2.matchPrefix(
|
7878
7878
|
mediaSection,
|
7879
|
-
"a=rtcp-fb:" +
|
7879
|
+
"a=rtcp-fb:" + pt2 + " "
|
7880
7880
|
).map(SDPUtils2.parseRtcpFb);
|
7881
7881
|
description.codecs.push(codec);
|
7882
7882
|
switch (codec.name.toUpperCase()) {
|
@@ -9193,25 +9193,25 @@ var require_object_assign = __commonJS({
|
|
9193
9193
|
}
|
9194
9194
|
module.exports = shouldUseNative() ? Object.assign : function(target, source) {
|
9195
9195
|
var from;
|
9196
|
-
var
|
9196
|
+
var to = toObject(target);
|
9197
9197
|
var symbols;
|
9198
9198
|
for (var s = 1; s < arguments.length; s++) {
|
9199
9199
|
from = Object(arguments[s]);
|
9200
9200
|
for (var key in from) {
|
9201
9201
|
if (hasOwnProperty.call(from, key)) {
|
9202
|
-
|
9202
|
+
to[key] = from[key];
|
9203
9203
|
}
|
9204
9204
|
}
|
9205
9205
|
if (getOwnPropertySymbols) {
|
9206
9206
|
symbols = getOwnPropertySymbols(from);
|
9207
9207
|
for (var i = 0; i < symbols.length; i++) {
|
9208
9208
|
if (propIsEnumerable.call(from, symbols[i])) {
|
9209
|
-
|
9209
|
+
to[symbols[i]] = from[symbols[i]];
|
9210
9210
|
}
|
9211
9211
|
}
|
9212
9212
|
}
|
9213
9213
|
}
|
9214
|
-
return
|
9214
|
+
return to;
|
9215
9215
|
};
|
9216
9216
|
}
|
9217
9217
|
});
|
@@ -11884,7 +11884,7 @@ var StyledVideo = styled("video", {
|
|
11884
11884
|
var Video = (_a7) => {
|
11885
11885
|
var _b7 = _a7, { trackId, attach } = _b7, props = __objRest(_b7, ["trackId", "attach"]);
|
11886
11886
|
const { videoRef } = useVideo({ trackId, attach });
|
11887
|
-
return /* @__PURE__ */ React13.createElement(StyledVideo, __spreadValues({
|
11887
|
+
return /* @__PURE__ */ React13.createElement(StyledVideo, __spreadValues({ ref: videoRef }, props));
|
11888
11888
|
};
|
11889
11889
|
|
11890
11890
|
// src/TileMenu/index.tsx
|
@@ -14128,8 +14128,8 @@ var PipManager = class {
|
|
14128
14128
|
/**
|
14129
14129
|
* @private {boolean} on - whether pip is on/off
|
14130
14130
|
*/
|
14131
|
-
this.callListeners = (
|
14132
|
-
this.listeners.forEach((listener) => listener == null ? void 0 : listener(
|
14131
|
+
this.callListeners = (on2) => {
|
14132
|
+
this.listeners.forEach((listener) => listener == null ? void 0 : listener(on2));
|
14133
14133
|
};
|
14134
14134
|
this.reset();
|
14135
14135
|
}
|
@@ -19237,8 +19237,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
19237
19237
|
// ../hms-video-store/dist/index.js
|
19238
19238
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
19239
19239
|
var import_lodash3 = __toESM(require_lodash2());
|
19240
|
-
import { v4 as
|
19241
|
-
import { v4 as
|
19240
|
+
import { v4 as ho } from "uuid";
|
19241
|
+
import { v4 as uo } from "uuid";
|
19242
19242
|
|
19243
19243
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
19244
19244
|
init_define_process_env();
|
@@ -19493,16 +19493,16 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19493
19493
|
};
|
19494
19494
|
if (r.ideal !== void 0) {
|
19495
19495
|
cc.optional = cc.optional || [];
|
19496
|
-
let
|
19496
|
+
let oc2 = {};
|
19497
19497
|
if (typeof r.ideal === "number") {
|
19498
|
-
|
19499
|
-
cc.optional.push(
|
19500
|
-
|
19501
|
-
|
19502
|
-
cc.optional.push(
|
19498
|
+
oc2[oldname_("min", key)] = r.ideal;
|
19499
|
+
cc.optional.push(oc2);
|
19500
|
+
oc2 = {};
|
19501
|
+
oc2[oldname_("max", key)] = r.ideal;
|
19502
|
+
cc.optional.push(oc2);
|
19503
19503
|
} else {
|
19504
|
-
|
19505
|
-
cc.optional.push(
|
19504
|
+
oc2[oldname_("", key)] = r.ideal;
|
19505
|
+
cc.optional.push(oc2);
|
19506
19506
|
}
|
19507
19507
|
}
|
19508
19508
|
if (r.exact !== void 0 && typeof r.exact !== "number") {
|
@@ -21335,24 +21335,24 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
21335
21335
|
|
21336
21336
|
// ../hms-video-store/dist/index.js
|
21337
21337
|
var import_lodash4 = __toESM(require_lodash2());
|
21338
|
-
import { v4 as Mo } from "uuid";
|
21339
21338
|
import { v4 as Eo } from "uuid";
|
21340
|
-
import { v4 as
|
21341
|
-
import {
|
21339
|
+
import { v4 as Ro } from "uuid";
|
21340
|
+
import { v4 as Lo } from "uuid";
|
21341
|
+
import { EventEmitter2 as wo } from "eventemitter2";
|
21342
21342
|
var qt = __toESM(require_lib());
|
21343
|
-
import { EventEmitter2 as
|
21344
|
-
import { v4 as cn } from "uuid";
|
21345
|
-
import { EventEmitter2 as dn } from "eventemitter2";
|
21346
|
-
import ln from "eventemitter2";
|
21343
|
+
import { EventEmitter2 as on } from "eventemitter2";
|
21347
21344
|
import { v4 as un } from "uuid";
|
21345
|
+
import { EventEmitter2 as pn } from "eventemitter2";
|
21346
|
+
import hn from "eventemitter2";
|
21348
21347
|
import { v4 as mn } from "uuid";
|
21349
|
-
|
21350
|
-
var
|
21351
|
-
var
|
21348
|
+
import { v4 as Tn } from "uuid";
|
21349
|
+
var Ya = Object.defineProperty;
|
21350
|
+
var Xa = Object.defineProperties;
|
21351
|
+
var Za = Object.getOwnPropertyDescriptors;
|
21352
21352
|
var ei = Object.getOwnPropertySymbols;
|
21353
21353
|
var as = Object.prototype.hasOwnProperty;
|
21354
21354
|
var os = Object.prototype.propertyIsEnumerable;
|
21355
|
-
var ss = (a2, e, t) => e in a2 ?
|
21355
|
+
var ss = (a2, e, t) => e in a2 ? Ya(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21356
21356
|
var h = (a2, e) => {
|
21357
21357
|
for (var t in e || (e = {}))
|
21358
21358
|
as.call(e, t) && ss(a2, t, e[t]);
|
@@ -21361,7 +21361,7 @@ var h = (a2, e) => {
|
|
21361
21361
|
os.call(e, t) && ss(a2, t, e[t]);
|
21362
21362
|
return a2;
|
21363
21363
|
};
|
21364
|
-
var M = (a2, e) =>
|
21364
|
+
var M = (a2, e) => Xa(a2, Za(e));
|
21365
21365
|
var mr = (a2, e) => {
|
21366
21366
|
var t = {};
|
21367
21367
|
for (var i in a2)
|
@@ -21371,52 +21371,52 @@ var mr = (a2, e) => {
|
|
21371
21371
|
e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
|
21372
21372
|
return t;
|
21373
21373
|
};
|
21374
|
-
var
|
21375
|
-
var vr =
|
21376
|
-
|
21374
|
+
var io = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21375
|
+
var vr = io((wc, po) => {
|
21376
|
+
po.exports = { version: "0.12.19-alpha.2", 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"] };
|
21377
21377
|
});
|
21378
21378
|
var Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
|
21379
|
-
var
|
21379
|
+
var ro = ((e) => (e.CHAT = "chat", e))(ro || {});
|
21380
21380
|
var ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
|
21381
21381
|
var gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
|
21382
21382
|
var cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
|
21383
|
-
function
|
21383
|
+
function Ue(a2, e) {
|
21384
21384
|
let t, i;
|
21385
21385
|
if (e)
|
21386
21386
|
for (let r of e.auxiliaryTracks) {
|
21387
21387
|
let s = a2[r];
|
21388
|
-
|
21388
|
+
so(s) && (i = pt(s) ? s : i, t = ht(s) ? s : t);
|
21389
21389
|
}
|
21390
21390
|
return { video: t, audio: i };
|
21391
21391
|
}
|
21392
|
-
function
|
21392
|
+
function pt(a2) {
|
21393
21393
|
return a2 && a2.type === "audio";
|
21394
21394
|
}
|
21395
|
-
function
|
21395
|
+
function ht(a2) {
|
21396
21396
|
return a2 && a2.type === "video";
|
21397
21397
|
}
|
21398
|
-
function
|
21398
|
+
function so(a2) {
|
21399
21399
|
return a2 && a2.source === "screen";
|
21400
21400
|
}
|
21401
21401
|
function ri(a2) {
|
21402
21402
|
return a2 && a2.source === "audioplaylist";
|
21403
21403
|
}
|
21404
|
-
function
|
21404
|
+
function mt(a2) {
|
21405
21405
|
return a2 && a2.source === "videoplaylist";
|
21406
21406
|
}
|
21407
21407
|
function ds(a2) {
|
21408
21408
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21409
21409
|
}
|
21410
|
-
function
|
21410
|
+
function je(a2, e) {
|
21411
21411
|
return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
|
21412
21412
|
}
|
21413
|
-
function
|
21413
|
+
function St(a2) {
|
21414
21414
|
var r;
|
21415
21415
|
let e = false, t = false, i = false;
|
21416
21416
|
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 };
|
21417
21417
|
}
|
21418
21418
|
var us = ((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))(us || {});
|
21419
|
-
var
|
21419
|
+
var ao = typeof window != "undefined" && typeof window.expect != "undefined";
|
21420
21420
|
var l = class {
|
21421
21421
|
static v(e, ...t) {
|
21422
21422
|
this.log(0, e, ...t);
|
@@ -21482,26 +21482,29 @@ var l = class {
|
|
21482
21482
|
}
|
21483
21483
|
}
|
21484
21484
|
};
|
21485
|
-
l.level =
|
21486
|
-
var
|
21485
|
+
l.level = ao ? 7 : 0;
|
21486
|
+
var he = new import_ua_parser_js.UAParser();
|
21487
21487
|
var B = typeof window != "undefined";
|
21488
21488
|
var ps;
|
21489
|
-
var
|
21490
|
-
var
|
21491
|
-
var
|
21489
|
+
var Be = typeof window == "undefined" && !((ps = he.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
|
21490
|
+
var no = () => !Be;
|
21491
|
+
var oc = no();
|
21492
21492
|
var hs;
|
21493
21493
|
var ms;
|
21494
|
-
var
|
21495
|
-
var
|
21496
|
-
|
21494
|
+
var vs = ((ms = (hs = he.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "safari";
|
21495
|
+
var Ss;
|
21496
|
+
var gs;
|
21497
|
+
var Ms = ((gs = (Ss = he.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase()) === "firefox";
|
21498
|
+
var ys = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ys || {});
|
21499
|
+
function co() {
|
21497
21500
|
if (B && window) {
|
21498
21501
|
let a2 = window.location.hostname;
|
21499
21502
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21500
21503
|
}
|
21501
21504
|
return "CUSTOM";
|
21502
21505
|
}
|
21503
|
-
var
|
21504
|
-
var
|
21506
|
+
var Qe = co();
|
21507
|
+
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 }, 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 } };
|
21505
21508
|
var f = class a extends Error {
|
21506
21509
|
constructor(t, i, r, s, o, n = false) {
|
21507
21510
|
super(s);
|
@@ -21531,99 +21534,99 @@ var f = class a extends Error {
|
|
21531
21534
|
}`;
|
21532
21535
|
}
|
21533
21536
|
};
|
21534
|
-
var
|
21537
|
+
var lo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21535
21538
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21536
|
-
return new f(
|
21539
|
+
return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21537
21540
|
}, WebSocketConnectionLost(a2, e = "") {
|
21538
|
-
return new f(
|
21541
|
+
return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
21539
21542
|
}, AbnormalClose(a2, e = "") {
|
21540
|
-
return new f(
|
21543
|
+
return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
21541
21544
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
21542
21545
|
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
21543
21546
|
}, EndpointUnreachable(a2, e = "") {
|
21544
|
-
return new f(
|
21547
|
+
return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
21545
21548
|
}, InvalidTokenFormat(a2, e = "") {
|
21546
|
-
return new f(
|
21549
|
+
return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
21547
21550
|
}, InitConfigNotAvailable(a2, e = "") {
|
21548
|
-
return new f(
|
21551
|
+
return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
21549
21552
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
21550
|
-
return new f(
|
21553
|
+
return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
21551
21554
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
21552
|
-
return new f(
|
21555
|
+
return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
21553
21556
|
}, DeviceNotAvailable(a2, e, t = "") {
|
21554
|
-
return new f(
|
21557
|
+
return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
21555
21558
|
}, DeviceInUse(a2, e, t = "") {
|
21556
|
-
return new f(
|
21559
|
+
return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
21557
21560
|
}, DeviceLostMidway(a2, e, t = "") {
|
21558
|
-
return new f(
|
21561
|
+
return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
21559
21562
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
21560
|
-
return new f(
|
21563
|
+
return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
21561
21564
|
}, InvalidVideoSettings(a2, e = "") {
|
21562
|
-
return new f(
|
21565
|
+
return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
21563
21566
|
}, AutoplayBlocked(a2, e = "") {
|
21564
|
-
return new f(
|
21567
|
+
return new f(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
21565
21568
|
}, CodecChangeNotPermitted(a2, e = "") {
|
21566
|
-
return new f(
|
21569
|
+
return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
21567
21570
|
}, OverConstrained(a2, e, t = "") {
|
21568
|
-
return new f(
|
21571
|
+
return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
21569
21572
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
21570
|
-
return new f(
|
21573
|
+
return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
21571
21574
|
}, SystemDeniedPermission(a2, e, t = "") {
|
21572
|
-
return new f(
|
21575
|
+
return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
21573
21576
|
}, CurrentTabNotShared() {
|
21574
|
-
return new f(
|
21577
|
+
return new f(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
|
21575
21578
|
}, AudioPlaybackError(a2) {
|
21576
|
-
return new f(
|
21579
|
+
return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
21577
21580
|
}, SelectedDeviceMissing(a2) {
|
21578
|
-
return new f(
|
21581
|
+
return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
21579
21582
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
21580
|
-
return new f(
|
21583
|
+
return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
21581
21584
|
}, CreateAnswerFailed(a2, e = "") {
|
21582
|
-
return new f(
|
21585
|
+
return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
21583
21586
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
21584
|
-
return new f(
|
21587
|
+
return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
21585
21588
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
21586
|
-
return new f(
|
21589
|
+
return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
21587
21590
|
}, ICEFailure(a2, e = "", t = false) {
|
21588
|
-
return new f(
|
21591
|
+
return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
21589
21592
|
}, ICEDisconnected(a2, e = "") {
|
21590
|
-
return new f(
|
21593
|
+
return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
21591
21594
|
}, StatsFailed(a2, e = "") {
|
21592
|
-
return new f(
|
21595
|
+
return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21593
21596
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21594
|
-
return new f(a2, "ServerErrors", e, t, t,
|
21597
|
+
return new f(a2, "ServerErrors", e, t, t, lo.includes(e));
|
21595
21598
|
}, AlreadyJoined(a2, e = "") {
|
21596
|
-
return new f(
|
21599
|
+
return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21597
21600
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
21598
|
-
return new f(
|
21601
|
+
return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
21599
21602
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
21600
|
-
return new f(
|
21603
|
+
return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
21601
21604
|
}, Signalling(a2, e) {
|
21602
|
-
return new f(
|
21605
|
+
return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
21603
21606
|
}, Unknown(a2, e) {
|
21604
|
-
return new f(
|
21607
|
+
return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
21605
21608
|
}, NotReady(a2, e = "") {
|
21606
|
-
return new f(
|
21609
|
+
return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
21607
21610
|
}, JsonParsingFailed(a2, e, t = "") {
|
21608
|
-
return new f(
|
21611
|
+
return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
21609
21612
|
}, TrackMetadataMissing(a2, e = "") {
|
21610
|
-
return new f(
|
21613
|
+
return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
21611
21614
|
}, RTCTrackMissing(a2, e = "") {
|
21612
|
-
return new f(
|
21615
|
+
return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
21613
21616
|
}, PeerMetadataMissing(a2, e = "") {
|
21614
|
-
return new f(
|
21617
|
+
return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
21615
21618
|
}, ValidationFailed(a2, e) {
|
21616
|
-
return new f(
|
21619
|
+
return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
21617
21620
|
}, InvalidRole(a2, e) {
|
21618
|
-
return new f(
|
21621
|
+
return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
21619
21622
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
21620
|
-
return new f(
|
21623
|
+
return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
21621
21624
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
21622
|
-
return new f(
|
21625
|
+
return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
21623
21626
|
}, MissingMediaDevices() {
|
21624
|
-
return new f(
|
21627
|
+
return new f(P4.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
|
21625
21628
|
}, MissingRTCPeerConnection() {
|
21626
|
-
return new f(
|
21629
|
+
return new f(P4.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
|
21627
21630
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
21628
21631
|
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
21629
21632
|
}, InitFailed(a2, e = "") {
|
@@ -21635,9 +21638,9 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21635
21638
|
}, DeviceNotSupported(a2, e = "") {
|
21636
21639
|
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
21637
21640
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
21638
|
-
return new f(
|
21641
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
21639
21642
|
}, NoEntryPlaying(a2, e) {
|
21640
|
-
return new f(
|
21643
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21641
21644
|
} } };
|
21642
21645
|
var fr = class {
|
21643
21646
|
constructor() {
|
@@ -21664,21 +21667,21 @@ var fr = class {
|
|
21664
21667
|
return this.valuesMap.size;
|
21665
21668
|
}
|
21666
21669
|
};
|
21667
|
-
var
|
21670
|
+
var ks = () => {
|
21668
21671
|
try {
|
21669
21672
|
B && !localStorage && (window.localStorage = new fr());
|
21670
21673
|
} catch (a2) {
|
21671
21674
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21672
21675
|
}
|
21673
21676
|
};
|
21674
|
-
var
|
21677
|
+
var me = class {
|
21675
21678
|
constructor(e) {
|
21676
21679
|
this.key = e;
|
21677
21680
|
this.storage = null;
|
21678
21681
|
}
|
21679
21682
|
getStorage() {
|
21680
21683
|
try {
|
21681
|
-
return B && !this.storage && (
|
21684
|
+
return B && !this.storage && (ks(), this.storage = window.localStorage), this.storage;
|
21682
21685
|
} catch (e) {
|
21683
21686
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21684
21687
|
}
|
@@ -21698,32 +21701,32 @@ var he = class {
|
|
21698
21701
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21699
21702
|
}
|
21700
21703
|
};
|
21701
|
-
var
|
21702
|
-
let a2, e = new
|
21703
|
-
return t ? a2 = t : (a2 =
|
21704
|
+
var Es = () => {
|
21705
|
+
let a2, e = new me("hms-analytics-deviceId"), t = e.get();
|
21706
|
+
return t ? a2 = t : (a2 = uo(), e.set(a2)), a2;
|
21704
21707
|
};
|
21705
21708
|
function ne(a2) {
|
21706
21709
|
return a2 != null;
|
21707
21710
|
}
|
21708
|
-
var
|
21711
|
+
var bs = vr().version;
|
21709
21712
|
function vt(a2 = "prod", e) {
|
21710
|
-
let t = "web", i =
|
21711
|
-
if (
|
21712
|
-
return
|
21713
|
-
let r =
|
21714
|
-
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`),
|
21713
|
+
let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21714
|
+
if (Be)
|
21715
|
+
return Is({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: bs, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21716
|
+
let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
|
21717
|
+
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), Is({ os: n, os_version: d, sdk: t, sdk_version: bs, device_model: p, env: i, domain: Qe, 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 });
|
21715
21718
|
}
|
21716
21719
|
function Mr(a2) {
|
21717
21720
|
return a2.replace(/ /g, "_");
|
21718
21721
|
}
|
21719
|
-
var
|
21722
|
+
var Is = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21720
21723
|
var H = class {
|
21721
21724
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21722
21725
|
this.metadata = { peer: {}, userAgent: vt() };
|
21723
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
21726
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = ho(), this.device_id = Es();
|
21724
21727
|
}
|
21725
21728
|
toSignalParams() {
|
21726
|
-
return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain:
|
21729
|
+
return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
21727
21730
|
}
|
21728
21731
|
};
|
21729
21732
|
var y = class {
|
@@ -21811,8 +21814,8 @@ var y = class {
|
|
21811
21814
|
static krispStop() {
|
21812
21815
|
return new H({ name: "krisp.stop", level: 1 });
|
21813
21816
|
}
|
21814
|
-
static interruption(e, t, i) {
|
21815
|
-
return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ type: t },
|
21817
|
+
static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
|
21818
|
+
return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ reason: i, type: t }, r) });
|
21816
21819
|
}
|
21817
21820
|
static eventNameFor(e, t) {
|
21818
21821
|
return `${e}.${t ? "success" : "failed"}`;
|
@@ -21828,7 +21831,7 @@ var y = class {
|
|
21828
21831
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21829
21832
|
var yr = class {
|
21830
21833
|
constructor() {
|
21831
|
-
this.storage = new
|
21834
|
+
this.storage = new me("hms-device-selection");
|
21832
21835
|
this.remember = false;
|
21833
21836
|
this.TAG = "[HMSDeviceStorage]";
|
21834
21837
|
}
|
@@ -21862,7 +21865,7 @@ var yr = class {
|
|
21862
21865
|
};
|
21863
21866
|
var J = new yr();
|
21864
21867
|
var kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
|
21865
|
-
var
|
21868
|
+
var Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
|
21866
21869
|
function oi(a2, e = 300) {
|
21867
21870
|
let t;
|
21868
21871
|
return function(...i) {
|
@@ -21874,13 +21877,13 @@ function oi(a2, e = 300) {
|
|
21874
21877
|
};
|
21875
21878
|
}
|
21876
21879
|
var Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
|
21877
|
-
var
|
21878
|
-
var
|
21879
|
-
var
|
21880
|
-
var
|
21881
|
-
var
|
21880
|
+
var Cs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Cs || {});
|
21881
|
+
var Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
|
21882
|
+
var ws = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(ws || {});
|
21883
|
+
var Ds = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Ds || {});
|
21884
|
+
var _s = ((e) => (e.CAPTION = "caption", e))(_s || {});
|
21882
21885
|
var Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
|
21883
|
-
var
|
21886
|
+
var Ns = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ns || {});
|
21884
21887
|
var Ar = class {
|
21885
21888
|
constructor() {
|
21886
21889
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -21908,7 +21911,7 @@ var Ar = class {
|
|
21908
21911
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
21909
21912
|
}
|
21910
21913
|
};
|
21911
|
-
var
|
21914
|
+
var Bs = new Ar();
|
21912
21915
|
var Hr = class {
|
21913
21916
|
constructor() {
|
21914
21917
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -21936,43 +21939,43 @@ var Hr = class {
|
|
21936
21939
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
21937
21940
|
}
|
21938
21941
|
};
|
21939
|
-
var
|
21942
|
+
var Vs = new Hr();
|
21940
21943
|
var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
|
21941
21944
|
var Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
|
21942
|
-
var
|
21943
|
-
var
|
21944
|
-
var
|
21945
|
-
var
|
21945
|
+
var Ws = "https://event.100ms.live/v2/client/report";
|
21946
|
+
var $s = "https://event-nonprod.100ms.live/v2/client/report";
|
21947
|
+
var Pt = Math.pow(2, 31) - 1;
|
21948
|
+
var rt = class {
|
21946
21949
|
};
|
21947
|
-
|
21950
|
+
rt.makePeerId = () => Lo();
|
21948
21951
|
var V = (a2) => a2.room;
|
21949
|
-
var
|
21950
|
-
var
|
21951
|
-
var
|
21952
|
+
var Do = (a2) => a2.errors;
|
21953
|
+
var Yh = createSelector(Do, (a2) => a2.length === 0 ? null : a2.at(-1));
|
21954
|
+
var Xh = createSelector(V, (a2) => a2.id);
|
21952
21955
|
var K = (a2) => a2.peers;
|
21953
21956
|
var fi = (a2) => a2.messages.byID;
|
21954
|
-
var
|
21957
|
+
var Zs = (a2) => a2.messages.allIDs;
|
21955
21958
|
var O = (a2) => a2.tracks;
|
21956
21959
|
var Vr = (a2) => a2.appData;
|
21957
|
-
var
|
21958
|
-
var
|
21959
|
-
var
|
21960
|
-
var
|
21961
|
-
var
|
21962
|
-
var
|
21960
|
+
var _o = (a2) => a2.speakers;
|
21961
|
+
var Oe = createSelector([V], (a2) => a2 && a2.isConnected);
|
21962
|
+
var tm = createSelector([Oe, V], (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));
|
21963
|
+
var No = (a2) => a2.hideLocalPeer;
|
21964
|
+
var fe = createSelector([V, K, No], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
21965
|
+
var Oo = createSelector(O, (a2) => Object.values(a2));
|
21963
21966
|
var ie = createSelector(V, K, (a2, e) => e[a2.localPeer]);
|
21964
21967
|
var Ee = createSelector(V, (a2) => a2.localPeer);
|
21965
|
-
var
|
21966
|
-
var
|
21968
|
+
var im = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
|
21969
|
+
var rm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
|
21967
21970
|
var oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
21968
21971
|
var z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
21969
|
-
var
|
21970
|
-
var
|
21972
|
+
var xo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
21973
|
+
var ta = createSelector([oe, z, xo], (a2, e, t) => {
|
21971
21974
|
let i = t ? [...t] : [];
|
21972
21975
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
21973
21976
|
});
|
21974
|
-
var
|
21975
|
-
var
|
21977
|
+
var sm = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
|
21978
|
+
var am = createSelector(K, _o, (a2, e) => {
|
21976
21979
|
let t = Object.entries(e).sort((i, r) => {
|
21977
21980
|
var n, d;
|
21978
21981
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -21986,107 +21989,107 @@ var em = createSelector(K, Lo, (a2, e) => {
|
|
21986
21989
|
return null;
|
21987
21990
|
});
|
21988
21991
|
var Gr = createSelector(ie, O, (a2, e) => {
|
21989
|
-
let { video: t, audio: i } =
|
21992
|
+
let { video: t, audio: i } = Ue(e, a2);
|
21990
21993
|
return !!(t || i);
|
21991
21994
|
});
|
21992
|
-
var
|
21995
|
+
var Uo = createSelector(K, O, (a2, e) => {
|
21993
21996
|
let t;
|
21994
21997
|
for (let i in a2) {
|
21995
|
-
let r = a2[i], { video: s, audio: o } =
|
21998
|
+
let r = a2[i], { video: s, audio: o } = Ue(e, r);
|
21996
21999
|
if (s)
|
21997
22000
|
return r;
|
21998
22001
|
o && !t && (t = r);
|
21999
22002
|
}
|
22000
22003
|
return t;
|
22001
22004
|
});
|
22002
|
-
var
|
22003
|
-
var
|
22005
|
+
var nm = createSelector(Uo, (a2) => !!a2);
|
22006
|
+
var cm = createSelector(K, O, (a2, e) => {
|
22004
22007
|
for (let t in a2) {
|
22005
|
-
let i = a2[t], { audio: r, video: s } =
|
22008
|
+
let i = a2[t], { audio: r, video: s } = Ue(e, i);
|
22006
22009
|
if (!s && r)
|
22007
22010
|
return i;
|
22008
22011
|
}
|
22009
22012
|
});
|
22010
|
-
var
|
22013
|
+
var dm = createSelector(K, O, (a2, e) => {
|
22011
22014
|
let t = [], i = [];
|
22012
22015
|
for (let r in a2) {
|
22013
|
-
let s = a2[r], { video: o, audio: n } =
|
22016
|
+
let s = a2[r], { video: o, audio: n } = Ue(e, s);
|
22014
22017
|
o ? t.push(s) : n && i.push(s);
|
22015
22018
|
}
|
22016
22019
|
return t.concat(i);
|
22017
22020
|
});
|
22018
|
-
var
|
22021
|
+
var lm = createSelector(K, O, (a2, e) => {
|
22019
22022
|
for (let t in e) {
|
22020
22023
|
let i = e[t];
|
22021
|
-
if (
|
22024
|
+
if (mt(i) && ht(i) && i.peerId)
|
22022
22025
|
return a2[i.peerId];
|
22023
22026
|
}
|
22024
22027
|
});
|
22025
|
-
var
|
22028
|
+
var um = createSelector(K, O, (a2, e) => {
|
22026
22029
|
for (let t in e) {
|
22027
22030
|
let i = e[t];
|
22028
22031
|
if (ri(i) && i.peerId)
|
22029
22032
|
return a2[i.peerId];
|
22030
22033
|
}
|
22031
22034
|
});
|
22032
|
-
var
|
22033
|
-
var
|
22034
|
-
var
|
22035
|
-
var At = createSelector(
|
22035
|
+
var pm = createSelector(Oo, (a2) => a2.filter(ds));
|
22036
|
+
var hm = createSelector(Zs, (a2) => a2.length);
|
22037
|
+
var mm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22038
|
+
var At = createSelector(Zs, fi, (a2, e) => {
|
22036
22039
|
let t = [];
|
22037
22040
|
return a2.forEach((i) => {
|
22038
22041
|
t.push(e[i]);
|
22039
22042
|
}), t;
|
22040
22043
|
});
|
22041
|
-
var
|
22044
|
+
var Bo = createSelector(At, (a2) => a2.filter((e) => {
|
22042
22045
|
var t;
|
22043
22046
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22044
22047
|
}));
|
22045
|
-
var
|
22048
|
+
var Sm = createSelector(Bo, (a2) => a2.filter((e) => !e.read).length);
|
22046
22049
|
var re = createSelector([V], (a2) => a2 && a2.roomState);
|
22047
|
-
var
|
22048
|
-
var
|
22049
|
-
var
|
22050
|
-
var
|
22051
|
-
var
|
22052
|
-
var
|
22053
|
-
var
|
22050
|
+
var ra = createSelector(re, (a2) => a2 === "Preview");
|
22051
|
+
var gm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
|
22052
|
+
var Tm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22053
|
+
var ve = (a2) => a2.roles;
|
22054
|
+
var fm = createSelector([ve], (a2) => Object.keys(a2));
|
22055
|
+
var at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22056
|
+
var Vo = (a2) => {
|
22054
22057
|
var e;
|
22055
22058
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22056
22059
|
};
|
22057
|
-
var
|
22058
|
-
var
|
22060
|
+
var sa = createSelector([Vo, ve], (a2, e) => a2 ? e[a2] : null);
|
22061
|
+
var vm = createSelector([at], (a2) => {
|
22059
22062
|
var e;
|
22060
22063
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22061
22064
|
});
|
22062
|
-
var
|
22063
|
-
var
|
22064
|
-
var
|
22065
|
-
var
|
22066
|
-
var
|
22067
|
-
var
|
22068
|
-
var
|
22069
|
-
var
|
22070
|
-
var
|
22071
|
-
var
|
22072
|
-
var
|
22073
|
-
var
|
22074
|
-
var
|
22075
|
-
var
|
22076
|
-
var
|
22077
|
-
var
|
22065
|
+
var aa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
|
22066
|
+
var Mm = createSelector(V, (a2) => a2.recording);
|
22067
|
+
var ym = createSelector(V, (a2) => a2.rtmp);
|
22068
|
+
var km = createSelector(V, (a2) => a2.hls);
|
22069
|
+
var Em = createSelector(V, (a2) => a2.transcriptions);
|
22070
|
+
var Pm = createSelector(V, (a2) => a2.sessionId);
|
22071
|
+
var bm = createSelector(V, (a2) => a2.startedAt);
|
22072
|
+
var Im = createSelector(V, (a2) => !!a2.isLargeRoom);
|
22073
|
+
var Rm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
|
22074
|
+
var Am = createSelector(V, (a2) => !!a2.isVBEnabled);
|
22075
|
+
var Hm = createSelector(V, (a2) => a2.effectsKey);
|
22076
|
+
var oa = (a2) => a2.polls;
|
22077
|
+
var Dm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
|
22078
|
+
var Fo = (a2) => a2.whiteboards;
|
22079
|
+
var _m = createSelector(Fo, (a2) => Object.values(a2)[0]);
|
22080
|
+
var ca = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22078
22081
|
var Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22079
|
-
var
|
22080
|
-
var
|
22081
|
-
var
|
22082
|
-
var
|
22083
|
-
var
|
22084
|
-
var
|
22082
|
+
var da = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22083
|
+
var la = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22084
|
+
var ua = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22085
|
+
var pa = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22086
|
+
var ha = (a2 = "audio") => createSelector(ca(a2), (e) => Object.values(e));
|
22087
|
+
var ma = (a2 = "audio") => createSelector(ca(a2), Wr(a2), (e, t) => {
|
22085
22088
|
if (t.id)
|
22086
22089
|
return e[t.id];
|
22087
22090
|
});
|
22088
|
-
var
|
22089
|
-
var
|
22091
|
+
var Sa = { selection: Wr("audio"), progress: da("audio"), currentTime: la("audio"), playbackRate: ua("audio"), volume: pa("audio"), list: ha("audio"), selectedItem: ma("audio") };
|
22092
|
+
var ga = { selection: Wr("video"), progress: da("video"), currentTime: la("video"), playbackRate: ua("video"), volume: pa("video"), list: ha("video"), selectedItem: ma("video") };
|
22090
22093
|
function A(a2) {
|
22091
22094
|
return (e) => (t) => a2(t, e);
|
22092
22095
|
}
|
@@ -22159,130 +22162,130 @@ var b = class {
|
|
22159
22162
|
b.level = 0;
|
22160
22163
|
var $r = (a2, e) => e;
|
22161
22164
|
var Ct = (a2, e) => e;
|
22162
|
-
var
|
22163
|
-
var
|
22164
|
-
var
|
22165
|
+
var Ta = (a2, e) => e;
|
22166
|
+
var Go = (a2, e) => e;
|
22167
|
+
var Wo = (a2, e) => e;
|
22165
22168
|
var q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
|
22166
22169
|
var Kr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
|
22167
|
-
var
|
22170
|
+
var $o = createSelector([O, Ct], (a2, e) => {
|
22168
22171
|
if (!e)
|
22169
22172
|
return null;
|
22170
22173
|
let t = a2[e];
|
22171
22174
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22172
22175
|
});
|
22173
|
-
var
|
22176
|
+
var Ko = createSelector([O, Ct], (a2, e) => {
|
22174
22177
|
if (!e)
|
22175
22178
|
return null;
|
22176
22179
|
let t = a2[e];
|
22177
22180
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22178
22181
|
});
|
22179
|
-
var
|
22182
|
+
var qo = createSelector([O, Ct], (a2, e) => {
|
22180
22183
|
if (!e)
|
22181
22184
|
return null;
|
22182
22185
|
let t = a2[e];
|
22183
22186
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22184
22187
|
});
|
22185
|
-
var
|
22188
|
+
var jo = createSelector([O, Ct], (a2, e) => {
|
22186
22189
|
if (!e)
|
22187
22190
|
return null;
|
22188
22191
|
let t = a2[e];
|
22189
22192
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22190
22193
|
});
|
22191
|
-
var
|
22194
|
+
var Jo = createSelector([oa, Wo], (a2, e) => e ? a2[e] : null);
|
22192
22195
|
var Y = A(q);
|
22193
|
-
var
|
22196
|
+
var Km = A(createSelector([Vr, Go], (a2, e) => {
|
22194
22197
|
if (a2)
|
22195
22198
|
return e ? a2[e] : a2;
|
22196
22199
|
}));
|
22197
|
-
function
|
22200
|
+
function qm(a2) {
|
22198
22201
|
return (e) => {
|
22199
22202
|
if (e.sessionStore)
|
22200
22203
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22201
22204
|
};
|
22202
22205
|
}
|
22203
|
-
var
|
22204
|
-
var
|
22206
|
+
var Jm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
|
22207
|
+
var Qm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
|
22205
22208
|
var vi = A(Kr);
|
22206
|
-
var
|
22207
|
-
var
|
22208
|
-
var
|
22209
|
-
var
|
22210
|
-
var
|
22209
|
+
var fa = A($o);
|
22210
|
+
var zm = A(Ko);
|
22211
|
+
var Ym = A(qo);
|
22212
|
+
var Xm = A(jo);
|
22213
|
+
var Qo = A((a2, e) => {
|
22211
22214
|
let t = q(a2, e);
|
22212
22215
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22213
22216
|
return a2.tracks[t.videoTrack];
|
22214
22217
|
});
|
22215
|
-
var
|
22218
|
+
var zo = A((a2, e) => {
|
22216
22219
|
let t = q(a2, e);
|
22217
22220
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22218
22221
|
return a2.tracks[t.audioTrack];
|
22219
22222
|
});
|
22220
|
-
var
|
22223
|
+
var eS = A((a2, e) => {
|
22221
22224
|
let t = q(a2, e);
|
22222
22225
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22223
22226
|
});
|
22224
|
-
var
|
22225
|
-
var
|
22226
|
-
var
|
22227
|
-
let t =
|
22228
|
-
return
|
22229
|
-
};
|
22230
|
-
var
|
22231
|
-
var
|
22227
|
+
var va = (a2, e) => e ? a2.speakers[e] : null;
|
22228
|
+
var tS = A(createSelector(va, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22229
|
+
var Yo = (a2, e) => {
|
22230
|
+
let t = zo(e)(a2);
|
22231
|
+
return va(a2, t == null ? void 0 : t.id);
|
22232
|
+
};
|
22233
|
+
var iS = A(createSelector(Yo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22234
|
+
var rS = A((a2, e) => {
|
22232
22235
|
if (e)
|
22233
22236
|
return a2.connectionQualities[e];
|
22234
22237
|
});
|
22235
|
-
var
|
22238
|
+
var sS = A((a2, e) => {
|
22236
22239
|
let t = q(a2, e);
|
22237
22240
|
if (t) {
|
22238
|
-
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) =>
|
22241
|
+
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => pt(a2.tracks[r]));
|
22239
22242
|
return i ? a2.tracks[i] : void 0;
|
22240
22243
|
}
|
22241
22244
|
});
|
22242
|
-
var
|
22245
|
+
var aS = A(createSelector(O, q, (a2, e) => {
|
22243
22246
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22244
22247
|
let r = a2[i];
|
22245
|
-
return
|
22248
|
+
return mt(r) && ht(r);
|
22246
22249
|
});
|
22247
22250
|
return t ? a2[t] : void 0;
|
22248
22251
|
}));
|
22249
|
-
var
|
22252
|
+
var oS = A(createSelector(O, q, (a2, e) => {
|
22250
22253
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22251
22254
|
let r = a2[i];
|
22252
|
-
return
|
22255
|
+
return mt(r) && pt(r);
|
22253
22256
|
});
|
22254
22257
|
return t ? a2[t] : void 0;
|
22255
22258
|
}));
|
22256
|
-
var
|
22259
|
+
var nS = A(createSelector(O, q, (a2, e) => {
|
22257
22260
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22258
22261
|
let r = a2[i];
|
22259
|
-
return ri(r) &&
|
22262
|
+
return ri(r) && pt(r);
|
22260
22263
|
});
|
22261
22264
|
return t ? a2[t] : void 0;
|
22262
22265
|
}));
|
22263
|
-
var
|
22264
|
-
var
|
22265
|
-
var
|
22266
|
+
var Ma = A(createSelector(O, q, (a2, e) => Ue(a2, e)));
|
22267
|
+
var ya = (a2) => createSelector(Ma(a2), (e) => e.audio);
|
22268
|
+
var dS = A((a2, e) => {
|
22266
22269
|
let t = q(a2, e);
|
22267
|
-
return
|
22270
|
+
return je(a2, t == null ? void 0 : t.audioTrack);
|
22268
22271
|
});
|
22269
|
-
var
|
22272
|
+
var lS = A((a2, e) => {
|
22270
22273
|
let t = q(a2, e);
|
22271
|
-
return
|
22274
|
+
return je(a2, t == null ? void 0 : t.videoTrack);
|
22272
22275
|
});
|
22273
|
-
var
|
22276
|
+
var ka = A((a2, e) => {
|
22274
22277
|
if (e && a2.tracks[e])
|
22275
22278
|
return a2.tracks[e].volume === 0;
|
22276
22279
|
});
|
22277
|
-
var
|
22280
|
+
var uS = A((a2, e) => {
|
22278
22281
|
let t = q(a2, e);
|
22279
|
-
return
|
22282
|
+
return ka(t == null ? void 0 : t.audioTrack)(a2);
|
22280
22283
|
});
|
22281
|
-
var
|
22282
|
-
let t =
|
22283
|
-
return
|
22284
|
+
var pS = A((a2, e) => {
|
22285
|
+
let t = ya(e)(a2);
|
22286
|
+
return ka(t == null ? void 0 : t.id)(a2);
|
22284
22287
|
});
|
22285
|
-
var
|
22288
|
+
var Ea = A((a2, e) => {
|
22286
22289
|
let t = Kr(a2, e);
|
22287
22290
|
if (t) {
|
22288
22291
|
if (t.type !== "audio") {
|
@@ -22292,15 +22295,15 @@ var Ma = A((a2, e) => {
|
|
22292
22295
|
return t.volume;
|
22293
22296
|
}
|
22294
22297
|
});
|
22295
|
-
var
|
22298
|
+
var hS = A((a2, e) => {
|
22296
22299
|
let t = q(a2, e);
|
22297
|
-
return
|
22300
|
+
return Ea(t == null ? void 0 : t.audioTrack)(a2);
|
22298
22301
|
});
|
22299
|
-
var
|
22300
|
-
let t =
|
22301
|
-
return
|
22302
|
+
var mS = A((a2, e) => {
|
22303
|
+
let t = ya(e)(a2);
|
22304
|
+
return Ea(t == null ? void 0 : t.id)(a2);
|
22302
22305
|
});
|
22303
|
-
var
|
22306
|
+
var SS = A((a2, e) => {
|
22304
22307
|
let t = Kr(a2, e);
|
22305
22308
|
if (t) {
|
22306
22309
|
if (t.type !== "video") {
|
@@ -22310,53 +22313,53 @@ var lS = A((a2, e) => {
|
|
22310
22313
|
return t.layer;
|
22311
22314
|
}
|
22312
22315
|
});
|
22313
|
-
var
|
22316
|
+
var Pa = createSelector([At, Ee, $r], (a2, e, t) => {
|
22314
22317
|
if (t)
|
22315
22318
|
return a2.filter((i) => {
|
22316
22319
|
var r;
|
22317
22320
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22318
22321
|
});
|
22319
22322
|
});
|
22320
|
-
var
|
22323
|
+
var ba = createSelector([At, Ta], (a2, e) => {
|
22321
22324
|
if (e)
|
22322
22325
|
return a2.filter((t) => {
|
22323
22326
|
var i, r;
|
22324
22327
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22325
22328
|
});
|
22326
22329
|
});
|
22327
|
-
var
|
22330
|
+
var Xo = createSelector(At, (a2) => a2.filter((e) => {
|
22328
22331
|
var t;
|
22329
22332
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22330
22333
|
}));
|
22331
|
-
var
|
22332
|
-
var
|
22333
|
-
var
|
22334
|
-
var
|
22335
|
-
var
|
22336
|
-
var
|
22337
|
-
var
|
22338
|
-
var
|
22339
|
-
var
|
22334
|
+
var Zo = createSelector([ba, Ta], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22335
|
+
var en = createSelector([Pa, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22336
|
+
var gS = createSelector(Xo, (a2) => a2.filter((e) => !e.read).length);
|
22337
|
+
var TS = A(Pa);
|
22338
|
+
var fS = A(ba);
|
22339
|
+
var vS = A(Zo);
|
22340
|
+
var MS = A(en);
|
22341
|
+
var Ia = A(Jo);
|
22342
|
+
var wS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
|
22340
22343
|
var r;
|
22341
22344
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22342
22345
|
}));
|
22343
|
-
var
|
22344
|
-
var
|
22345
|
-
var
|
22346
|
-
var
|
22347
|
-
var
|
22346
|
+
var tn = (a2) => a2.roleChangeRequests[0] || null;
|
22347
|
+
var DS = createSelector([tn, K, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22348
|
+
var _S = createSelector([at], (a2) => St(a2));
|
22349
|
+
var NS = createSelector([sa], (a2) => St(a2));
|
22350
|
+
var sn = createSelector([z, O], (a2, e) => {
|
22348
22351
|
let t = null;
|
22349
22352
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22350
22353
|
});
|
22351
|
-
var
|
22354
|
+
var an = createSelector([oe, O], (a2, e) => {
|
22352
22355
|
let t = null;
|
22353
22356
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22354
22357
|
});
|
22355
|
-
var
|
22358
|
+
var cn = ((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))(cn || {});
|
22356
22359
|
var zr = class {
|
22357
22360
|
constructor() {
|
22358
22361
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22359
|
-
this.failedEvents = new
|
22362
|
+
this.failedEvents = new me("client-events");
|
22360
22363
|
this.isConnected = true;
|
22361
22364
|
this.env = null;
|
22362
22365
|
this.websocketURL = "";
|
@@ -22372,7 +22375,7 @@ var zr = class {
|
|
22372
22375
|
this.addEventToStorage(e);
|
22373
22376
|
return;
|
22374
22377
|
}
|
22375
|
-
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" ?
|
22378
|
+
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" ? Ws : $s;
|
22376
22379
|
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) => {
|
22377
22380
|
if (r.status === 401) {
|
22378
22381
|
this.removeFromStorage(e);
|
@@ -22398,66 +22401,66 @@ var zr = class {
|
|
22398
22401
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22399
22402
|
}
|
22400
22403
|
};
|
22401
|
-
var
|
22404
|
+
var be = new zr();
|
22402
22405
|
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 || {});
|
22403
22406
|
var ir = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ir || {});
|
22404
|
-
var
|
22405
|
-
var
|
22406
|
-
var
|
22407
|
-
var
|
22408
|
-
var
|
22409
|
-
var
|
22410
|
-
var
|
22411
|
-
var
|
22407
|
+
var lt = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lt || {});
|
22408
|
+
var Rn = (a2) => a2.localPeer.id;
|
22409
|
+
var An = (a2) => a2.localPeer.audioTrack;
|
22410
|
+
var Hn = (a2) => a2.localPeer.videoTrack;
|
22411
|
+
var Cn = (a2, e) => e;
|
22412
|
+
var Qa = (a2, e) => e;
|
22413
|
+
var Ln = (a2) => a2.remoteTrackStats;
|
22414
|
+
var za = (a2) => a2.peerStats;
|
22412
22415
|
var ts = (a2) => a2.localTrackStats;
|
22413
|
-
var
|
22414
|
-
var
|
22416
|
+
var Re = createSelector([za, Rn], (a2, e) => a2[e]);
|
22417
|
+
var wn = createSelector(Re, (a2) => {
|
22415
22418
|
var e;
|
22416
22419
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22417
22420
|
});
|
22418
|
-
var
|
22421
|
+
var Dn = createSelector(Re, (a2) => {
|
22419
22422
|
var e;
|
22420
22423
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22421
22424
|
});
|
22422
|
-
var
|
22425
|
+
var _n = createSelector(Re, (a2) => {
|
22423
22426
|
var e;
|
22424
22427
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22425
22428
|
});
|
22426
|
-
var
|
22429
|
+
var Nn = createSelector(Re, (a2) => {
|
22427
22430
|
var e;
|
22428
22431
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22429
22432
|
});
|
22430
|
-
var
|
22433
|
+
var On = createSelector(Re, (a2) => {
|
22431
22434
|
var e;
|
22432
22435
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22433
22436
|
});
|
22434
|
-
var
|
22437
|
+
var xn = createSelector(Re, (a2) => {
|
22435
22438
|
var e;
|
22436
22439
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22437
22440
|
});
|
22438
|
-
var
|
22441
|
+
var Un = createSelector(Re, (a2) => {
|
22439
22442
|
var e;
|
22440
22443
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22441
22444
|
});
|
22442
|
-
var
|
22445
|
+
var Bn = createSelector(Re, (a2) => {
|
22443
22446
|
var e;
|
22444
22447
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22445
22448
|
});
|
22446
|
-
var
|
22447
|
-
var
|
22448
|
-
var is = createSelector([ts,
|
22449
|
-
var
|
22450
|
-
var
|
22451
|
-
var
|
22449
|
+
var Vn = createSelector([za, Cn], (a2, e) => e ? a2[e] : void 0);
|
22450
|
+
var Fn = createSelector([Ln, Qa], (a2, e) => e ? a2[e] : void 0);
|
22451
|
+
var is = createSelector([ts, Qa], (a2, e) => e ? a2[e] : void 0);
|
22452
|
+
var Gn = A(Vn);
|
22453
|
+
var Wn = A(Fn);
|
22454
|
+
var $n = createSelector([ts, An], (a2, e) => {
|
22452
22455
|
var t;
|
22453
22456
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22454
22457
|
});
|
22455
|
-
var
|
22456
|
-
var
|
22458
|
+
var Kn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
|
22459
|
+
var qn = createSelector([ts, Hn], (a2, e) => {
|
22457
22460
|
var t;
|
22458
22461
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22459
22462
|
});
|
22460
|
-
var
|
22463
|
+
var jn = A(createSelector(is, (a2) => a2));
|
22461
22464
|
|
22462
22465
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22463
22466
|
import {
|
@@ -22576,7 +22579,7 @@ var RecordingStatus = () => {
|
|
22576
22579
|
};
|
22577
22580
|
var RecordingPauseStatus = () => {
|
22578
22581
|
const recording = useHMSStore29(selectRecordingState2);
|
22579
|
-
if (recording.hls && recording.hls.state ===
|
22582
|
+
if (recording.hls && recording.hls.state === Cs.PAUSED) {
|
22580
22583
|
return /* @__PURE__ */ React64.createElement(
|
22581
22584
|
Tooltip,
|
22582
22585
|
{
|
@@ -24069,7 +24072,7 @@ var RoleOptions = ({ roleName, peerList }) => {
|
|
24069
24072
|
|
24070
24073
|
// src/Prebuilt/components/hooks/useGroupOnStageActions.tsx
|
24071
24074
|
init_define_process_env();
|
24072
|
-
import { match as match8, P as
|
24075
|
+
import { match as match8, P as P5 } from "ts-pattern";
|
24073
24076
|
import { selectPermissions as selectPermissions12, useHMSActions as useHMSActions31, useHMSStore as useHMSStore40 } from "@100mslive/react-sdk";
|
24074
24077
|
var useGroupOnStageActions = ({ peers }) => {
|
24075
24078
|
var _a7;
|
@@ -24086,9 +24089,9 @@ var useGroupOnStageActions = ({ peers }) => {
|
|
24086
24089
|
const offStageRolePeers = peers.filter(
|
24087
24090
|
(peer) => match8({ on_stage_role, bring_to_stage_label, roleName: peer.roleName }).with(
|
24088
24091
|
{
|
24089
|
-
on_stage_role:
|
24090
|
-
bring_to_stage_label:
|
24091
|
-
roleName:
|
24092
|
+
on_stage_role: P5.when((role) => !!role),
|
24093
|
+
bring_to_stage_label: P5.when((label) => !!label),
|
24094
|
+
roleName: P5.when((role) => !!role && off_stage_roles.includes(role))
|
24092
24095
|
},
|
24093
24096
|
() => true
|
24094
24097
|
).otherwise(() => false)
|
@@ -27391,7 +27394,7 @@ var Chat = () => {
|
|
27391
27394
|
const listRef = useRef25(null);
|
27392
27395
|
const hmsActions = useHMSActions42();
|
27393
27396
|
const vanillaStore = useHMSVanillaStore11();
|
27394
|
-
const { enabled: isChatEnabled = true } = useHMSStore61(
|
27397
|
+
const { enabled: isChatEnabled = true } = useHMSStore61(qm("chatState" /* CHAT_STATE */)) || {};
|
27395
27398
|
const isMobile = useMedia20(config.media.md);
|
27396
27399
|
const isMobileHLSStream = useMobileHLSStream();
|
27397
27400
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27481,7 +27484,7 @@ var NewMessageIndicator = ({
|
|
27481
27484
|
scrollToBottom,
|
27482
27485
|
listRef
|
27483
27486
|
}) => {
|
27484
|
-
const unreadCount = useHMSStore61(
|
27487
|
+
const unreadCount = useHMSStore61(mm);
|
27485
27488
|
if (!unreadCount || !listRef.current) {
|
27486
27489
|
return null;
|
27487
27490
|
}
|
@@ -28500,7 +28503,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28500
28503
|
const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
|
28501
28504
|
const hmsActions = useHMSActions45();
|
28502
28505
|
const localPeer = useHMSStore69(selectLocalPeer8);
|
28503
|
-
const role = useHMSStore69(
|
28506
|
+
const role = useHMSStore69(at);
|
28504
28507
|
const isVideoOn = useHMSStore69(selectIsLocalVideoEnabled6);
|
28505
28508
|
const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
|
28506
28509
|
const trackSelector = selectVideoTrackByID4(localPeer == null ? void 0 : localPeer.videoTrack);
|
@@ -28509,12 +28512,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28509
28512
|
const roomState = useHMSStore69(selectRoomState5);
|
28510
28513
|
const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
|
28511
28514
|
const [isBlurSupported, setIsBlurSupported] = useState56(false);
|
28512
|
-
const isEffectsEnabled = useHMSStore69(
|
28513
|
-
const effectsKey = useHMSStore69(
|
28515
|
+
const isEffectsEnabled = useHMSStore69(Rm);
|
28516
|
+
const effectsKey = useHMSStore69(Hm);
|
28514
28517
|
const isMobile = useMedia24(config.media.md);
|
28515
28518
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28516
28519
|
const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
28517
|
-
const background = useHMSStore69(
|
28520
|
+
const background = useHMSStore69(Km(APP_DATA.background));
|
28518
28521
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28519
28522
|
const inPreview = roomState === HMSRoomState5.Preview;
|
28520
28523
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -30890,7 +30893,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
30890
30893
|
};
|
30891
30894
|
|
30892
30895
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
30893
|
-
var HLSView = React157.lazy(() => import("./HLSView-
|
30896
|
+
var HLSView = React157.lazy(() => import("./HLSView-BRZ2FW7O.js"));
|
30894
30897
|
var VideoStreamingSection = ({
|
30895
30898
|
screenType,
|
30896
30899
|
elements,
|
@@ -31704,7 +31707,7 @@ var LeaveScreen = () => {
|
|
31704
31707
|
init_define_process_env();
|
31705
31708
|
import React165, { useEffect as useEffect63, useState as useState69 } from "react";
|
31706
31709
|
import { useMedia as useMedia41 } from "react-use";
|
31707
|
-
import { match as match14, P as
|
31710
|
+
import { match as match14, P as P6 } from "ts-pattern";
|
31708
31711
|
import { RefreshIcon } from "@100mslive/react-icons";
|
31709
31712
|
var MwebLandscapePrompt = () => {
|
31710
31713
|
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState69(false);
|
@@ -31724,7 +31727,7 @@ var MwebLandscapePrompt = () => {
|
|
31724
31727
|
const angle = window.screen.orientation.angle;
|
31725
31728
|
const type = window.screen.orientation.type || "";
|
31726
31729
|
setShowMwebLandscapePrompt(
|
31727
|
-
match14({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream: true }, () => false).with({ angle:
|
31730
|
+
match14({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream: true }, () => false).with({ angle: P6.when((angle2) => angle2 && angle2 >= 90) }, ({ type: type2 }) => type2.includes("landscape")).otherwise(() => isLandscape)
|
31728
31731
|
);
|
31729
31732
|
};
|
31730
31733
|
handleRotation();
|
@@ -32505,7 +32508,7 @@ function Notifications() {
|
|
32505
32508
|
}, []);
|
32506
32509
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
32507
32510
|
useEffect74(() => {
|
32508
|
-
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l,
|
32511
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
|
32509
32512
|
if (!notification || isNotificationDisabled) {
|
32510
32513
|
return;
|
32511
32514
|
}
|
@@ -32546,7 +32549,7 @@ function Notifications() {
|
|
32546
32549
|
});
|
32547
32550
|
break;
|
32548
32551
|
case HMSNotificationTypes11.ROLE_UPDATED: {
|
32549
|
-
if (((
|
32552
|
+
if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
32550
32553
|
ToastManager.addToast({
|
32551
32554
|
title: `You are now a ${notification.data.roleName}`
|
32552
32555
|
});
|
@@ -34116,4 +34119,4 @@ object-assign/index.js:
|
|
34116
34119
|
@license MIT
|
34117
34120
|
*)
|
34118
34121
|
*/
|
34119
|
-
//# sourceMappingURL=chunk-
|
34122
|
+
//# sourceMappingURL=chunk-KR2DZJO5.js.map
|