@100mslive/roomkit-react 0.3.20-alpha.2 → 0.3.20-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-6UIKXBYL.css → HLSView-KKVZM355.css} +3 -3
- package/dist/{HLSView-6UIKXBYL.css.map → HLSView-KKVZM355.css.map} +1 -1
- package/dist/{HLSView-3MZRLTM4.js → HLSView-YFTHW2VY.js} +2 -2
- package/dist/{chunk-ZVQJMV44.js → chunk-Y3UYAB6J.js} +318 -318
- package/dist/{chunk-ZVQJMV44.js.map → chunk-Y3UYAB6J.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +315 -315
- 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 +23 -23
- package/dist/meta.esbuild.json +33 -33
- package/package.json +7 -7
- /package/dist/{HLSView-3MZRLTM4.js.map → HLSView-YFTHW2VY.js.map} +0 -0
@@ -34,8 +34,8 @@ var __objRest = (source, exclude) => {
|
|
34
34
|
}
|
35
35
|
return target;
|
36
36
|
};
|
37
|
-
var __esm = (
|
38
|
-
return
|
37
|
+
var __esm = (fn, res) => function __init() {
|
38
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
39
39
|
};
|
40
40
|
var __commonJS = (cb, mod) => function __require() {
|
41
41
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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.10-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.20-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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.20-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.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.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.1.12297006", 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: "602", 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: "20240908.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.7/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:20512", 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.20-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: "10849904308", 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: "af10282af58c6f480c9727a88a434aabfcb7f3c6", 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: "732f3e2f747eefed9d759401c9eedd334724e0749fe923f16fc6404a44c7f348", 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--1726233716409-0.6084418377623888:/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--1726233716219-0.030380637235246866:/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--1726233690771-0.8239940001672474:/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--1726233690567-0.8244189350058768:/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_7357e856-45e2-40aa-ae38-b03828373576", INVOCATION_ID: "0345ae1e36454a4da1c9f5dabbc38131", 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: "671", 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 477", 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.1.12297006", 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.20-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.20-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: "af10282af58c6f480c9727a88a434aabfcb7f3c6", 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_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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.1.12297006", 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.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_34501c7f-df66-4eff-a559-9c1ceb3565f4" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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.10-alpha.3", 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.20-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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.20-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.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.1.12297006", 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: "20240908.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.7/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:18990", 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.20-alpha.3", 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: "10916945557", 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: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", 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: "9fab33a4baf3b773cc76975b6479e7ba586b4e20690fc892078f51876bb2b8d8", 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--1726641890325-0.27237376005150304:/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--1726641890123-0.4112577750257449:/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--1726641864483-0.6107801977411564:/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--1726641864302-0.6057361361633993:/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_8754bda5-14c7-4824-a02e-12e1ca0902dc", INVOCATION_ID: "ba1abf96d96d49439c675220f67e7172", 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: "672", 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 40", 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.1.12297006", 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.20-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.3", 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: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", 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_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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.1.12297006", 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.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e0bdbab7-b112-42b5-98c4-6b7daa069b10" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -2286,8 +2286,8 @@ var require_lodash = __commonJS({
|
|
2286
2286
|
function createBind(func, bitmask, thisArg) {
|
2287
2287
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2288
2288
|
function wrapper() {
|
2289
|
-
var
|
2290
|
-
return
|
2289
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2290
|
+
return fn.apply(isBind ? thisArg : this, arguments);
|
2291
2291
|
}
|
2292
2292
|
return wrapper;
|
2293
2293
|
}
|
@@ -2353,8 +2353,8 @@ var require_lodash = __commonJS({
|
|
2353
2353
|
arity - length
|
2354
2354
|
);
|
2355
2355
|
}
|
2356
|
-
var
|
2357
|
-
return apply(
|
2356
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2357
|
+
return apply(fn, this, args);
|
2358
2358
|
}
|
2359
2359
|
return wrapper;
|
2360
2360
|
}
|
@@ -2442,7 +2442,7 @@ var require_lodash = __commonJS({
|
|
2442
2442
|
arity - length
|
2443
2443
|
);
|
2444
2444
|
}
|
2445
|
-
var thisBinding = isBind ? thisArg : this,
|
2445
|
+
var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
|
2446
2446
|
length = args.length;
|
2447
2447
|
if (argPos) {
|
2448
2448
|
args = reorder(args, argPos);
|
@@ -2453,9 +2453,9 @@ var require_lodash = __commonJS({
|
|
2453
2453
|
args.length = ary2;
|
2454
2454
|
}
|
2455
2455
|
if (this && this !== root && this instanceof wrapper) {
|
2456
|
-
|
2456
|
+
fn = Ctor || createCtor(fn);
|
2457
2457
|
}
|
2458
|
-
return
|
2458
|
+
return fn.apply(thisBinding, args);
|
2459
2459
|
}
|
2460
2460
|
return wrapper;
|
2461
2461
|
}
|
@@ -2512,14 +2512,14 @@ var require_lodash = __commonJS({
|
|
2512
2512
|
function createPartial(func, bitmask, thisArg, partials) {
|
2513
2513
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2514
2514
|
function wrapper() {
|
2515
|
-
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength),
|
2515
|
+
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2516
2516
|
while (++leftIndex < leftLength) {
|
2517
2517
|
args[leftIndex] = partials[leftIndex];
|
2518
2518
|
}
|
2519
2519
|
while (argsLength--) {
|
2520
2520
|
args[leftIndex++] = arguments[++argsIndex];
|
2521
2521
|
}
|
2522
|
-
return apply(
|
2522
|
+
return apply(fn, isBind ? thisArg : this, args);
|
2523
2523
|
}
|
2524
2524
|
return wrapper;
|
2525
2525
|
}
|
@@ -5629,7 +5629,7 @@ var require_ua_parser = __commonJS({
|
|
5629
5629
|
}
|
5630
5630
|
};
|
5631
5631
|
var rgxMapper = function(ua2, arrays) {
|
5632
|
-
var i = 0, j2, k, p,
|
5632
|
+
var i = 0, j2, k, p, q, matches, match17;
|
5633
5633
|
while (i < arrays.length && !matches) {
|
5634
5634
|
var regex = arrays[i], props = arrays[i + 1];
|
5635
5635
|
j2 = k = 0;
|
@@ -5641,25 +5641,25 @@ var require_ua_parser = __commonJS({
|
|
5641
5641
|
if (!!matches) {
|
5642
5642
|
for (p = 0; p < props.length; p++) {
|
5643
5643
|
match17 = matches[++k];
|
5644
|
-
|
5645
|
-
if (typeof
|
5646
|
-
if (
|
5647
|
-
if (typeof
|
5648
|
-
this[
|
5644
|
+
q = props[p];
|
5645
|
+
if (typeof q === OBJ_TYPE && q.length > 0) {
|
5646
|
+
if (q.length === 2) {
|
5647
|
+
if (typeof q[1] == FUNC_TYPE) {
|
5648
|
+
this[q[0]] = q[1].call(this, match17);
|
5649
5649
|
} else {
|
5650
|
-
this[
|
5650
|
+
this[q[0]] = q[1];
|
5651
5651
|
}
|
5652
|
-
} else if (
|
5653
|
-
if (typeof
|
5654
|
-
this[
|
5652
|
+
} else if (q.length === 3) {
|
5653
|
+
if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {
|
5654
|
+
this[q[0]] = match17 ? q[1].call(this, match17, q[2]) : undefined2;
|
5655
5655
|
} else {
|
5656
|
-
this[
|
5656
|
+
this[q[0]] = match17 ? match17.replace(q[1], q[2]) : undefined2;
|
5657
5657
|
}
|
5658
|
-
} else if (
|
5659
|
-
this[
|
5658
|
+
} else if (q.length === 4) {
|
5659
|
+
this[q[0]] = match17 ? q[3].call(this, match17.replace(q[1], q[2])) : undefined2;
|
5660
5660
|
}
|
5661
5661
|
} else {
|
5662
|
-
this[
|
5662
|
+
this[q] = match17 ? match17 : undefined2;
|
5663
5663
|
}
|
5664
5664
|
}
|
5665
5665
|
}
|
@@ -8634,8 +8634,8 @@ var require_grammar = __commonJS({
|
|
8634
8634
|
var require_parser = __commonJS({
|
8635
8635
|
"../../node_modules/sdp-transform/lib/parser.js"(exports) {
|
8636
8636
|
init_define_process_env();
|
8637
|
-
var toIntIfInt = function(
|
8638
|
-
return String(Number(
|
8637
|
+
var toIntIfInt = function(v) {
|
8638
|
+
return String(Number(v)) === v ? Number(v) : v;
|
8639
8639
|
};
|
8640
8640
|
var attachProperties = function(match17, location, names, rawName) {
|
8641
8641
|
if (rawName && !names) {
|
@@ -8871,7 +8871,7 @@ var require_react_is_production_min = __commonJS({
|
|
8871
8871
|
var c2 = b2 ? Symbol.for("react.element") : 60103;
|
8872
8872
|
var d = b2 ? Symbol.for("react.portal") : 60106;
|
8873
8873
|
var e = b2 ? Symbol.for("react.fragment") : 60107;
|
8874
|
-
var
|
8874
|
+
var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
|
8875
8875
|
var g = b2 ? Symbol.for("react.profiler") : 60114;
|
8876
8876
|
var h = b2 ? Symbol.for("react.provider") : 60109;
|
8877
8877
|
var k = b2 ? Symbol.for("react.context") : 60110;
|
@@ -8879,14 +8879,14 @@ var require_react_is_production_min = __commonJS({
|
|
8879
8879
|
var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
|
8880
8880
|
var n = b2 ? Symbol.for("react.forward_ref") : 60112;
|
8881
8881
|
var p = b2 ? Symbol.for("react.suspense") : 60113;
|
8882
|
-
var
|
8882
|
+
var q = b2 ? Symbol.for("react.suspense_list") : 60120;
|
8883
8883
|
var r = b2 ? Symbol.for("react.memo") : 60115;
|
8884
8884
|
var t = b2 ? Symbol.for("react.lazy") : 60116;
|
8885
|
-
var
|
8885
|
+
var v = b2 ? Symbol.for("react.block") : 60121;
|
8886
8886
|
var w = b2 ? Symbol.for("react.fundamental") : 60117;
|
8887
8887
|
var x = b2 ? Symbol.for("react.responder") : 60118;
|
8888
8888
|
var y2 = b2 ? Symbol.for("react.scope") : 60119;
|
8889
|
-
function
|
8889
|
+
function z(a2) {
|
8890
8890
|
if ("object" === typeof a2 && null !== a2) {
|
8891
8891
|
var u = a2.$$typeof;
|
8892
8892
|
switch (u) {
|
@@ -8896,7 +8896,7 @@ var require_react_is_production_min = __commonJS({
|
|
8896
8896
|
case m2:
|
8897
8897
|
case e:
|
8898
8898
|
case g:
|
8899
|
-
case
|
8899
|
+
case f2:
|
8900
8900
|
case p:
|
8901
8901
|
return a2;
|
8902
8902
|
default:
|
@@ -8916,8 +8916,8 @@ var require_react_is_production_min = __commonJS({
|
|
8916
8916
|
}
|
8917
8917
|
}
|
8918
8918
|
}
|
8919
|
-
function
|
8920
|
-
return
|
8919
|
+
function A(a2) {
|
8920
|
+
return z(a2) === m2;
|
8921
8921
|
}
|
8922
8922
|
exports.AsyncMode = l2;
|
8923
8923
|
exports.ConcurrentMode = m2;
|
@@ -8930,49 +8930,49 @@ var require_react_is_production_min = __commonJS({
|
|
8930
8930
|
exports.Memo = r;
|
8931
8931
|
exports.Portal = d;
|
8932
8932
|
exports.Profiler = g;
|
8933
|
-
exports.StrictMode =
|
8933
|
+
exports.StrictMode = f2;
|
8934
8934
|
exports.Suspense = p;
|
8935
8935
|
exports.isAsyncMode = function(a2) {
|
8936
|
-
return
|
8936
|
+
return A(a2) || z(a2) === l2;
|
8937
8937
|
};
|
8938
|
-
exports.isConcurrentMode =
|
8938
|
+
exports.isConcurrentMode = A;
|
8939
8939
|
exports.isContextConsumer = function(a2) {
|
8940
|
-
return
|
8940
|
+
return z(a2) === k;
|
8941
8941
|
};
|
8942
8942
|
exports.isContextProvider = function(a2) {
|
8943
|
-
return
|
8943
|
+
return z(a2) === h;
|
8944
8944
|
};
|
8945
8945
|
exports.isElement = function(a2) {
|
8946
8946
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
|
8947
8947
|
};
|
8948
8948
|
exports.isForwardRef = function(a2) {
|
8949
|
-
return
|
8949
|
+
return z(a2) === n;
|
8950
8950
|
};
|
8951
8951
|
exports.isFragment = function(a2) {
|
8952
|
-
return
|
8952
|
+
return z(a2) === e;
|
8953
8953
|
};
|
8954
8954
|
exports.isLazy = function(a2) {
|
8955
|
-
return
|
8955
|
+
return z(a2) === t;
|
8956
8956
|
};
|
8957
8957
|
exports.isMemo = function(a2) {
|
8958
|
-
return
|
8958
|
+
return z(a2) === r;
|
8959
8959
|
};
|
8960
8960
|
exports.isPortal = function(a2) {
|
8961
|
-
return
|
8961
|
+
return z(a2) === d;
|
8962
8962
|
};
|
8963
8963
|
exports.isProfiler = function(a2) {
|
8964
|
-
return
|
8964
|
+
return z(a2) === g;
|
8965
8965
|
};
|
8966
8966
|
exports.isStrictMode = function(a2) {
|
8967
|
-
return
|
8967
|
+
return z(a2) === f2;
|
8968
8968
|
};
|
8969
8969
|
exports.isSuspense = function(a2) {
|
8970
|
-
return
|
8970
|
+
return z(a2) === p;
|
8971
8971
|
};
|
8972
8972
|
exports.isValidElementType = function(a2) {
|
8973
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 ===
|
8973
|
+
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
|
8974
8974
|
};
|
8975
|
-
exports.typeOf =
|
8975
|
+
exports.typeOf = z;
|
8976
8976
|
}
|
8977
8977
|
});
|
8978
8978
|
|
@@ -9359,7 +9359,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9359
9359
|
shape: createShapeTypeChecker,
|
9360
9360
|
exact: createStrictShapeTypeChecker
|
9361
9361
|
};
|
9362
|
-
function
|
9362
|
+
function is2(x, y2) {
|
9363
9363
|
if (x === y2) {
|
9364
9364
|
return x !== 0 || 1 / x === 1 / y2;
|
9365
9365
|
} else {
|
@@ -9502,7 +9502,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9502
9502
|
function validate(props, propName, componentName, location, propFullName) {
|
9503
9503
|
var propValue = props[propName];
|
9504
9504
|
for (var i = 0; i < expectedValues.length; i++) {
|
9505
|
-
if (
|
9505
|
+
if (is2(propValue, expectedValues[i])) {
|
9506
9506
|
return null;
|
9507
9507
|
}
|
9508
9508
|
}
|
@@ -12010,8 +12010,8 @@ function useBorderAudioLevel(audioTrackId) {
|
|
12010
12010
|
});
|
12011
12011
|
return ref;
|
12012
12012
|
}
|
12013
|
-
var sigmoid = (
|
12014
|
-
return 1 / (1 + Math.exp(-
|
12013
|
+
var sigmoid = (z) => {
|
12014
|
+
return 1 / (1 + Math.exp(-z));
|
12015
12015
|
};
|
12016
12016
|
|
12017
12017
|
// src/AudioLevel/AudioLevel.tsx
|
@@ -19516,7 +19516,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19516
19516
|
if (typeof c2 !== "object" || c2.mandatory || c2.optional) {
|
19517
19517
|
return c2;
|
19518
19518
|
}
|
19519
|
-
const
|
19519
|
+
const cc2 = {};
|
19520
19520
|
Object.keys(c2).forEach((key) => {
|
19521
19521
|
if (key === "require" || key === "advanced" || key === "mediaSource") {
|
19522
19522
|
return;
|
@@ -19532,35 +19532,35 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19532
19532
|
return name === "deviceId" ? "sourceId" : name;
|
19533
19533
|
};
|
19534
19534
|
if (r.ideal !== void 0) {
|
19535
|
-
|
19535
|
+
cc2.optional = cc2.optional || [];
|
19536
19536
|
let oc = {};
|
19537
19537
|
if (typeof r.ideal === "number") {
|
19538
19538
|
oc[oldname_("min", key)] = r.ideal;
|
19539
|
-
|
19539
|
+
cc2.optional.push(oc);
|
19540
19540
|
oc = {};
|
19541
19541
|
oc[oldname_("max", key)] = r.ideal;
|
19542
|
-
|
19542
|
+
cc2.optional.push(oc);
|
19543
19543
|
} else {
|
19544
19544
|
oc[oldname_("", key)] = r.ideal;
|
19545
|
-
|
19545
|
+
cc2.optional.push(oc);
|
19546
19546
|
}
|
19547
19547
|
}
|
19548
19548
|
if (r.exact !== void 0 && typeof r.exact !== "number") {
|
19549
|
-
|
19550
|
-
|
19549
|
+
cc2.mandatory = cc2.mandatory || {};
|
19550
|
+
cc2.mandatory[oldname_("", key)] = r.exact;
|
19551
19551
|
} else {
|
19552
19552
|
["min", "max"].forEach((mix) => {
|
19553
19553
|
if (r[mix] !== void 0) {
|
19554
|
-
|
19555
|
-
|
19554
|
+
cc2.mandatory = cc2.mandatory || {};
|
19555
|
+
cc2.mandatory[oldname_(mix, key)] = r[mix];
|
19556
19556
|
}
|
19557
19557
|
});
|
19558
19558
|
}
|
19559
19559
|
});
|
19560
19560
|
if (c2.advanced) {
|
19561
|
-
|
19561
|
+
cc2.optional = (cc2.optional || []).concat(c2.advanced);
|
19562
19562
|
}
|
19563
|
-
return
|
19563
|
+
return cc2;
|
19564
19564
|
};
|
19565
19565
|
const shimConstraints_ = function(constraints, func) {
|
19566
19566
|
if (browserDetails.version >= 61) {
|
@@ -19709,11 +19709,11 @@ function shimOnTrack(window2) {
|
|
19709
19709
|
get() {
|
19710
19710
|
return this._ontrack;
|
19711
19711
|
},
|
19712
|
-
set(
|
19712
|
+
set(f2) {
|
19713
19713
|
if (this._ontrack) {
|
19714
19714
|
this.removeEventListener("track", this._ontrack);
|
19715
19715
|
}
|
19716
|
-
this.addEventListener("track", this._ontrack =
|
19716
|
+
this.addEventListener("track", this._ontrack = f2);
|
19717
19717
|
},
|
19718
19718
|
enumerable: true,
|
19719
19719
|
configurable: true
|
@@ -20696,12 +20696,12 @@ function shimRemoteStreamsAPI(window2) {
|
|
20696
20696
|
get() {
|
20697
20697
|
return this._onaddstream;
|
20698
20698
|
},
|
20699
|
-
set(
|
20699
|
+
set(f2) {
|
20700
20700
|
if (this._onaddstream) {
|
20701
20701
|
this.removeEventListener("addstream", this._onaddstream);
|
20702
20702
|
this.removeEventListener("track", this._onaddstreampoly);
|
20703
20703
|
}
|
20704
|
-
this.addEventListener("addstream", this._onaddstream =
|
20704
|
+
this.addEventListener("addstream", this._onaddstream = f2);
|
20705
20705
|
this.addEventListener("track", this._onaddstreampoly = (e) => {
|
20706
20706
|
e.streams.forEach((stream) => {
|
20707
20707
|
if (!this._remoteStreams) {
|
@@ -21376,39 +21376,39 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
21376
21376
|
// ../hms-video-store/dist/index.js
|
21377
21377
|
var import_lodash4 = __toESM(require_lodash2());
|
21378
21378
|
import { v4 as Po } from "uuid";
|
21379
|
-
import { v4 as
|
21379
|
+
import { v4 as Ro } from "uuid";
|
21380
21380
|
import { v4 as wo } from "uuid";
|
21381
21381
|
import { EventEmitter2 as Do } from "eventemitter2";
|
21382
21382
|
var jt = __toESM(require_lib());
|
21383
21383
|
import { EventEmitter2 as nn } from "eventemitter2";
|
21384
21384
|
import { v4 as pn } from "uuid";
|
21385
21385
|
import { EventEmitter2 as hn } from "eventemitter2";
|
21386
|
-
import
|
21387
|
-
import { v4 as
|
21388
|
-
import { v4 as
|
21386
|
+
import Sn from "eventemitter2";
|
21387
|
+
import { v4 as gn } from "uuid";
|
21388
|
+
import { v4 as vn } from "uuid";
|
21389
21389
|
var Xa = Object.defineProperty;
|
21390
21390
|
var Za = Object.defineProperties;
|
21391
21391
|
var eo = Object.getOwnPropertyDescriptors;
|
21392
21392
|
var ti = Object.getOwnPropertySymbols;
|
21393
|
-
var
|
21394
|
-
var
|
21395
|
-
var
|
21393
|
+
var os = Object.prototype.hasOwnProperty;
|
21394
|
+
var ns = Object.prototype.propertyIsEnumerable;
|
21395
|
+
var as = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21396
21396
|
var m = (a2, e) => {
|
21397
21397
|
for (var t in e || (e = {}))
|
21398
|
-
|
21398
|
+
os.call(e, t) && as(a2, t, e[t]);
|
21399
21399
|
if (ti)
|
21400
21400
|
for (var t of ti(e))
|
21401
|
-
|
21401
|
+
ns.call(e, t) && as(a2, t, e[t]);
|
21402
21402
|
return a2;
|
21403
21403
|
};
|
21404
|
-
var
|
21404
|
+
var y = (a2, e) => Za(a2, eo(e));
|
21405
21405
|
var gr = (a2, e) => {
|
21406
21406
|
var t = {};
|
21407
21407
|
for (var i in a2)
|
21408
|
-
|
21408
|
+
os.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21409
21409
|
if (a2 != null && ti)
|
21410
21410
|
for (var i of ti(a2))
|
21411
|
-
e.indexOf(i) < 0 &&
|
21411
|
+
e.indexOf(i) < 0 && ns.call(a2, i) && (t[i] = a2[i]);
|
21412
21412
|
return t;
|
21413
21413
|
};
|
21414
21414
|
var ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
@@ -21428,14 +21428,14 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21428
21428
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21429
21429
|
n((t = t.apply(a2, e)).next());
|
21430
21430
|
});
|
21431
|
-
var yr = ro((
|
21432
|
-
ho.exports = { version: "0.12.20-alpha.
|
21431
|
+
var yr = ro((_c, ho) => {
|
21432
|
+
ho.exports = { version: "0.12.20-alpha.3", 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"] };
|
21433
21433
|
});
|
21434
21434
|
var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
|
21435
21435
|
var so = ((e) => (e.CHAT = "chat", e))(so || {});
|
21436
|
-
var
|
21436
|
+
var cs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(cs || {});
|
21437
21437
|
var fr = ((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))(fr || {});
|
21438
|
-
var
|
21438
|
+
var ds = ((t) => (t.audio = "audio", t.video = "video", t))(ds || {});
|
21439
21439
|
function Ue(a2, e) {
|
21440
21440
|
let t, i;
|
21441
21441
|
if (e)
|
@@ -21460,7 +21460,7 @@ function si(a2) {
|
|
21460
21460
|
function mt(a2) {
|
21461
21461
|
return a2 && a2.source === "videoplaylist";
|
21462
21462
|
}
|
21463
|
-
function
|
21463
|
+
function ls(a2) {
|
21464
21464
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21465
21465
|
}
|
21466
21466
|
function je(a2, e) {
|
@@ -21471,7 +21471,7 @@ function St(a2) {
|
|
21471
21471
|
let e = false, t = false, i = false;
|
21472
21472
|
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 };
|
21473
21473
|
}
|
21474
|
-
var
|
21474
|
+
var ps = ((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))(ps || {});
|
21475
21475
|
var oo = typeof window != "undefined" && typeof window.expect != "undefined";
|
21476
21476
|
var l = class {
|
21477
21477
|
static v(e, ...t) {
|
@@ -21541,17 +21541,17 @@ var l = class {
|
|
21541
21541
|
l.level = oo ? 7 : 0;
|
21542
21542
|
var he = new import_ua_parser_js.UAParser();
|
21543
21543
|
var B = typeof window != "undefined";
|
21544
|
-
var
|
21545
|
-
var Be = typeof window == "undefined" && !((
|
21544
|
+
var hs;
|
21545
|
+
var Be = typeof window == "undefined" && !((hs = he.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
|
21546
21546
|
var co = () => !Be;
|
21547
|
-
var
|
21547
|
+
var cc = co();
|
21548
|
+
var ms;
|
21548
21549
|
var Ss;
|
21550
|
+
var Ms = (Ss = (ms = he.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase().includes("safari");
|
21549
21551
|
var gs;
|
21550
|
-
var ys = (gs = (Ss = he.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase().includes("safari");
|
21551
21552
|
var Ts;
|
21552
|
-
var
|
21553
|
-
var ks = ((
|
21554
|
-
var Es = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Es || {});
|
21553
|
+
var ys = ((Ts = (gs = he.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
|
21554
|
+
var ks = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ks || {});
|
21555
21555
|
function lo() {
|
21556
21556
|
if (B && window) {
|
21557
21557
|
let a2 = window.location.hostname;
|
@@ -21561,7 +21561,7 @@ function lo() {
|
|
21561
21561
|
}
|
21562
21562
|
var Qe = lo();
|
21563
21563
|
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 } };
|
21564
|
-
var
|
21564
|
+
var f = class a extends Error {
|
21565
21565
|
constructor(t, i, r, s, o, n = false) {
|
21566
21566
|
super(s);
|
21567
21567
|
this.code = t;
|
@@ -21592,111 +21592,111 @@ var v = class a extends Error {
|
|
21592
21592
|
};
|
21593
21593
|
var uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21594
21594
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21595
|
-
return new
|
21595
|
+
return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21596
21596
|
}, WebSocketConnectionLost(a2, e = "") {
|
21597
|
-
return new
|
21597
|
+
return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
21598
21598
|
}, AbnormalClose(a2, e = "") {
|
21599
|
-
return new
|
21599
|
+
return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
21600
21600
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
21601
|
-
return new
|
21601
|
+
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
21602
21602
|
}, EndpointUnreachable(a2, e = "") {
|
21603
|
-
return new
|
21603
|
+
return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
21604
21604
|
}, InvalidTokenFormat(a2, e = "") {
|
21605
|
-
return new
|
21605
|
+
return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
21606
21606
|
}, InitConfigNotAvailable(a2, e = "") {
|
21607
|
-
return new
|
21607
|
+
return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
21608
21608
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
21609
|
-
return new
|
21609
|
+
return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
21610
21610
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
21611
|
-
return new
|
21611
|
+
return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
21612
21612
|
}, DeviceNotAvailable(a2, e, t = "") {
|
21613
|
-
return new
|
21613
|
+
return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
21614
21614
|
}, DeviceInUse(a2, e, t = "") {
|
21615
|
-
return new
|
21615
|
+
return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
21616
21616
|
}, DeviceLostMidway(a2, e, t = "") {
|
21617
|
-
return new
|
21617
|
+
return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
21618
21618
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
21619
|
-
return new
|
21619
|
+
return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
21620
21620
|
}, InvalidVideoSettings(a2, e = "") {
|
21621
|
-
return new
|
21621
|
+
return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
21622
21622
|
}, AutoplayBlocked(a2, e = "") {
|
21623
|
-
return new
|
21623
|
+
return new f(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
21624
21624
|
}, CodecChangeNotPermitted(a2, e = "") {
|
21625
|
-
return new
|
21625
|
+
return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
21626
21626
|
}, OverConstrained(a2, e, t = "") {
|
21627
|
-
return new
|
21627
|
+
return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
21628
21628
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
21629
|
-
return new
|
21629
|
+
return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
21630
21630
|
}, SystemDeniedPermission(a2, e, t = "") {
|
21631
|
-
return new
|
21631
|
+
return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
21632
21632
|
}, CurrentTabNotShared() {
|
21633
|
-
return new
|
21633
|
+
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");
|
21634
21634
|
}, AudioPlaybackError(a2) {
|
21635
|
-
return new
|
21635
|
+
return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
21636
21636
|
}, SelectedDeviceMissing(a2) {
|
21637
|
-
return new
|
21637
|
+
return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
21638
21638
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
21639
|
-
return new
|
21639
|
+
return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
21640
21640
|
}, CreateAnswerFailed(a2, e = "") {
|
21641
|
-
return new
|
21641
|
+
return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
21642
21642
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
21643
|
-
return new
|
21643
|
+
return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
21644
21644
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
21645
|
-
return new
|
21645
|
+
return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
21646
21646
|
}, ICEFailure(a2, e = "", t = false) {
|
21647
|
-
return new
|
21647
|
+
return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
21648
21648
|
}, ICEDisconnected(a2, e = "") {
|
21649
|
-
return new
|
21649
|
+
return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
21650
21650
|
}, StatsFailed(a2, e = "") {
|
21651
|
-
return new
|
21651
|
+
return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21652
21652
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21653
|
-
return new
|
21653
|
+
return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
|
21654
21654
|
}, AlreadyJoined(a2, e = "") {
|
21655
|
-
return new
|
21655
|
+
return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21656
21656
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
21657
|
-
return new
|
21657
|
+
return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
21658
21658
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
21659
|
-
return new
|
21659
|
+
return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
21660
21660
|
}, Signalling(a2, e) {
|
21661
|
-
return new
|
21661
|
+
return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
21662
21662
|
}, Unknown(a2, e) {
|
21663
|
-
return new
|
21663
|
+
return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
21664
21664
|
}, NotReady(a2, e = "") {
|
21665
|
-
return new
|
21665
|
+
return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
21666
21666
|
}, JsonParsingFailed(a2, e, t = "") {
|
21667
|
-
return new
|
21667
|
+
return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
21668
21668
|
}, TrackMetadataMissing(a2, e = "") {
|
21669
|
-
return new
|
21669
|
+
return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
21670
21670
|
}, RTCTrackMissing(a2, e = "") {
|
21671
|
-
return new
|
21671
|
+
return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
21672
21672
|
}, PeerMetadataMissing(a2, e = "") {
|
21673
|
-
return new
|
21673
|
+
return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
21674
21674
|
}, ValidationFailed(a2, e) {
|
21675
|
-
return new
|
21675
|
+
return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
21676
21676
|
}, InvalidRole(a2, e) {
|
21677
|
-
return new
|
21677
|
+
return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
21678
21678
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
21679
|
-
return new
|
21679
|
+
return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
21680
21680
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
21681
|
-
return new
|
21681
|
+
return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
21682
21682
|
}, MissingMediaDevices() {
|
21683
|
-
return new
|
21683
|
+
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);
|
21684
21684
|
}, MissingRTCPeerConnection() {
|
21685
|
-
return new
|
21685
|
+
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);
|
21686
21686
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
21687
|
-
return new
|
21687
|
+
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
21688
21688
|
}, InitFailed(a2, e = "") {
|
21689
|
-
return new
|
21689
|
+
return new f(7002, "InitFailed", a2, "Plugin init failed", e);
|
21690
21690
|
}, ProcessingFailed(a2, e = "") {
|
21691
|
-
return new
|
21691
|
+
return new f(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
|
21692
21692
|
}, AddAlreadyInProgress(a2, e = "") {
|
21693
|
-
return new
|
21693
|
+
return new f(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
|
21694
21694
|
}, DeviceNotSupported(a2, e = "") {
|
21695
|
-
return new
|
21695
|
+
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
21696
21696
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
21697
|
-
return new
|
21697
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
21698
21698
|
}, NoEntryPlaying(a2, e) {
|
21699
|
-
return new
|
21699
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21700
21700
|
} } };
|
21701
21701
|
var Mr = class {
|
21702
21702
|
constructor() {
|
@@ -21723,7 +21723,7 @@ var Mr = class {
|
|
21723
21723
|
return this.valuesMap.size;
|
21724
21724
|
}
|
21725
21725
|
};
|
21726
|
-
var
|
21726
|
+
var Es = () => {
|
21727
21727
|
try {
|
21728
21728
|
B && !localStorage && (window.localStorage = new Mr());
|
21729
21729
|
} catch (a2) {
|
@@ -21737,7 +21737,7 @@ var me = class {
|
|
21737
21737
|
}
|
21738
21738
|
getStorage() {
|
21739
21739
|
try {
|
21740
|
-
return B && !this.storage && (
|
21740
|
+
return B && !this.storage && (Es(), this.storage = window.localStorage), this.storage;
|
21741
21741
|
} catch (e) {
|
21742
21742
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21743
21743
|
}
|
@@ -21761,117 +21761,117 @@ var ai = () => {
|
|
21761
21761
|
let a2, e = new me("hms-analytics-deviceId"), t = e.get();
|
21762
21762
|
return t ? a2 = t : (a2 = po(), e.set(a2)), a2;
|
21763
21763
|
};
|
21764
|
-
function
|
21764
|
+
function ce(a2) {
|
21765
21765
|
return a2 != null;
|
21766
21766
|
}
|
21767
21767
|
var Is = yr().version;
|
21768
21768
|
function vt(a2 = "prod", e) {
|
21769
21769
|
let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21770
21770
|
if (Be)
|
21771
|
-
return
|
21771
|
+
return As({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Is, 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 });
|
21772
21772
|
let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = kr(`web_${r.name}`), d = r.version || "", u = kr(`${o.name}_${o.version}`), p = u;
|
21773
|
-
return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`),
|
21773
|
+
return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), As({ os: n, os_version: d, sdk: t, sdk_version: Is, 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 });
|
21774
21774
|
}
|
21775
21775
|
function kr(a2) {
|
21776
21776
|
return a2.replace(/ /g, "_");
|
21777
21777
|
}
|
21778
|
-
var
|
21779
|
-
var
|
21778
|
+
var As = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21779
|
+
var C = class {
|
21780
21780
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21781
21781
|
this.metadata = { peer: {}, userAgent: vt() };
|
21782
21782
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = mo(), this.device_id = ai();
|
21783
21783
|
}
|
21784
21784
|
toSignalParams() {
|
21785
|
-
return { name: this.name, info:
|
21785
|
+
return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
21786
21786
|
}
|
21787
21787
|
};
|
21788
|
-
var
|
21788
|
+
var E = class {
|
21789
21789
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
21790
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(
|
21791
|
-
return new
|
21790
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(y(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
21791
|
+
return new C({ name: o, level: n, properties: d });
|
21792
21792
|
}
|
21793
21793
|
static disconnect(e, t) {
|
21794
21794
|
let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
|
21795
|
-
return new
|
21795
|
+
return new C({ name: i, level: r, properties: s });
|
21796
21796
|
}
|
21797
21797
|
static preview(i) {
|
21798
21798
|
var r = i, { error: e } = r, t = gr(r, ["error"]);
|
21799
21799
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21800
|
-
return new
|
21800
|
+
return new C({ name: s, level: o, properties: n });
|
21801
21801
|
}
|
21802
21802
|
static join(i) {
|
21803
21803
|
var r = i, { error: e } = r, t = gr(r, ["error"]);
|
21804
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(
|
21805
|
-
return new
|
21804
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
21805
|
+
return new C({ name: s, level: o, properties: n });
|
21806
21806
|
}
|
21807
21807
|
static publish({ devices: e, settings: t, error: i }) {
|
21808
21808
|
let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
|
21809
|
-
return new
|
21809
|
+
return new C({ name: r, level: s, properties: o });
|
21810
21810
|
}
|
21811
21811
|
static hlsPlayerError(e) {
|
21812
|
-
return new
|
21812
|
+
return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
|
21813
21813
|
}
|
21814
21814
|
static subscribeFail(e) {
|
21815
21815
|
let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
|
21816
|
-
return new
|
21816
|
+
return new C({ name: t, level: i, properties: r });
|
21817
21817
|
}
|
21818
21818
|
static leave() {
|
21819
|
-
return new
|
21819
|
+
return new C({ name: "leave", level: 1 });
|
21820
21820
|
}
|
21821
21821
|
static autoplayError() {
|
21822
|
-
return new
|
21822
|
+
return new C({ name: "autoplayError", level: 2 });
|
21823
21823
|
}
|
21824
21824
|
static audioPlaybackError(e) {
|
21825
|
-
return new
|
21825
|
+
return new C({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
|
21826
21826
|
}
|
21827
21827
|
static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
|
21828
21828
|
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
|
21829
|
-
return new
|
21829
|
+
return new C({ name: o, level: n, properties: d });
|
21830
21830
|
}
|
21831
21831
|
static performance(e) {
|
21832
21832
|
let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
|
21833
|
-
return new
|
21833
|
+
return new C({ name: t, level: i, properties: r });
|
21834
21834
|
}
|
21835
21835
|
static rtcStats(e) {
|
21836
21836
|
let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
|
21837
|
-
return new
|
21837
|
+
return new C({ name: t, level: i, properties: r });
|
21838
21838
|
}
|
21839
21839
|
static rtcStatsFailed(e) {
|
21840
21840
|
let t = "rtc.stats.failed", i = 2;
|
21841
|
-
return new
|
21841
|
+
return new C({ name: t, level: i, properties: this.getErrorProperties(e) });
|
21842
21842
|
}
|
21843
21843
|
static degradationStats(e, t) {
|
21844
21844
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
21845
21845
|
if (!t && e.degradedAt instanceof Date) {
|
21846
21846
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
21847
|
-
s =
|
21847
|
+
s = y(m({}, s), { duration: n, restoredAt: o });
|
21848
21848
|
}
|
21849
|
-
return new
|
21849
|
+
return new C({ name: i, level: r, properties: s });
|
21850
21850
|
}
|
21851
21851
|
static audioDetectionFail(e, t) {
|
21852
21852
|
let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
|
21853
|
-
return new
|
21853
|
+
return new C({ name: s, level: r, properties: i });
|
21854
21854
|
}
|
21855
21855
|
static previewNetworkQuality(e) {
|
21856
|
-
return new
|
21856
|
+
return new C({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
|
21857
21857
|
}
|
21858
21858
|
static publishStats(e) {
|
21859
|
-
return new
|
21859
|
+
return new C({ name: "publisher.stats", level: 1, properties: e });
|
21860
21860
|
}
|
21861
21861
|
static subscribeStats(e) {
|
21862
|
-
return new
|
21862
|
+
return new C({ name: "subscriber.stats", level: 1, properties: e });
|
21863
21863
|
}
|
21864
21864
|
static getKrispUsage(e) {
|
21865
|
-
return new
|
21865
|
+
return new C({ name: "krisp.usage", level: 1, properties: { duration: e } });
|
21866
21866
|
}
|
21867
21867
|
static krispStart() {
|
21868
|
-
return new
|
21868
|
+
return new C({ name: "krisp.start", level: 1 });
|
21869
21869
|
}
|
21870
21870
|
static krispStop() {
|
21871
|
-
return new
|
21871
|
+
return new C({ name: "krisp.stop", level: 1 });
|
21872
21872
|
}
|
21873
21873
|
static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
|
21874
|
-
return new
|
21874
|
+
return new C({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
|
21875
21875
|
}
|
21876
21876
|
static eventNameFor(e, t) {
|
21877
21877
|
return `${e}.${t ? "success" : "failed"}`;
|
@@ -21881,10 +21881,10 @@ var y = class {
|
|
21881
21881
|
return e = m(m({}, i), e), e;
|
21882
21882
|
}
|
21883
21883
|
static getErrorProperties(e) {
|
21884
|
-
return e ? e instanceof
|
21884
|
+
return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
21885
21885
|
}
|
21886
21886
|
};
|
21887
|
-
|
21887
|
+
E.KEY_REQUESTED_AT = "requested_at", E.KEY_RESPONDED_AT = "responded_at";
|
21888
21888
|
var Er = class {
|
21889
21889
|
constructor() {
|
21890
21890
|
this.storage = new me("hms-device-selection");
|
@@ -21919,7 +21919,7 @@ var Er = class {
|
|
21919
21919
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
21920
21920
|
}
|
21921
21921
|
};
|
21922
|
-
var
|
21922
|
+
var Y = new Er();
|
21923
21923
|
var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
|
21924
21924
|
var br = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(br || {});
|
21925
21925
|
function ci(a2, e = 300) {
|
@@ -21932,7 +21932,7 @@ function ci(a2, e = 300) {
|
|
21932
21932
|
}, e);
|
21933
21933
|
};
|
21934
21934
|
}
|
21935
|
-
var
|
21935
|
+
var Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
|
21936
21936
|
var Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
|
21937
21937
|
var ws = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(ws || {});
|
21938
21938
|
var Ds = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ds || {});
|
@@ -22006,32 +22006,32 @@ var rt = class {
|
|
22006
22006
|
rt.makePeerId = () => wo();
|
22007
22007
|
var V = (a2) => a2.room;
|
22008
22008
|
var _o = (a2) => a2.errors;
|
22009
|
-
var
|
22010
|
-
var
|
22011
|
-
var
|
22009
|
+
var Zh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
|
22010
|
+
var em = createSelector(V, (a2) => a2.id);
|
22011
|
+
var j = (a2) => a2.peers;
|
22012
22012
|
var Mi = (a2) => a2.messages.byID;
|
22013
22013
|
var ea = (a2) => a2.messages.allIDs;
|
22014
22014
|
var O = (a2) => a2.tracks;
|
22015
22015
|
var Gr = (a2) => a2.appData;
|
22016
22016
|
var No = (a2) => a2.speakers;
|
22017
22017
|
var Oe = createSelector([V], (a2) => a2 && a2.isConnected);
|
22018
|
-
var
|
22018
|
+
var rm = 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));
|
22019
22019
|
var Oo = (a2) => a2.hideLocalPeer;
|
22020
|
-
var fe = createSelector([V,
|
22020
|
+
var fe = createSelector([V, j, Oo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
22021
22021
|
var xo = createSelector(O, (a2) => Object.values(a2));
|
22022
|
-
var ie = createSelector(V,
|
22022
|
+
var ie = createSelector(V, j, (a2, e) => e[a2.localPeer]);
|
22023
22023
|
var Ee = createSelector(V, (a2) => a2.localPeer);
|
22024
|
-
var
|
22025
|
-
var
|
22026
|
-
var
|
22027
|
-
var
|
22024
|
+
var sm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
|
22025
|
+
var am = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
|
22026
|
+
var ne = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
22027
|
+
var X = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
22028
22028
|
var Uo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
22029
|
-
var ia = createSelector([
|
22029
|
+
var ia = createSelector([ne, X, Uo], (a2, e, t) => {
|
22030
22030
|
let i = t ? [...t] : [];
|
22031
22031
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22032
22032
|
});
|
22033
|
-
var
|
22034
|
-
var
|
22033
|
+
var om = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
|
22034
|
+
var nm = createSelector(j, No, (a2, e) => {
|
22035
22035
|
let t = Object.entries(e).sort((i, r) => {
|
22036
22036
|
var n, d;
|
22037
22037
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22048,7 +22048,7 @@ var $r = createSelector(ie, O, (a2, e) => {
|
|
22048
22048
|
let { video: t, audio: i } = Ue(e, a2);
|
22049
22049
|
return !!(t || i);
|
22050
22050
|
});
|
22051
|
-
var Bo = createSelector(
|
22051
|
+
var Bo = createSelector(j, O, (a2, e) => {
|
22052
22052
|
let t;
|
22053
22053
|
for (let i in a2) {
|
22054
22054
|
let r = a2[i], { video: s, audio: o } = Ue(e, r);
|
@@ -22058,15 +22058,15 @@ var Bo = createSelector(K, O, (a2, e) => {
|
|
22058
22058
|
}
|
22059
22059
|
return t;
|
22060
22060
|
});
|
22061
|
-
var
|
22062
|
-
var
|
22061
|
+
var dm = createSelector(Bo, (a2) => !!a2);
|
22062
|
+
var lm = createSelector(j, O, (a2, e) => {
|
22063
22063
|
for (let t in a2) {
|
22064
22064
|
let i = a2[t], { audio: r, video: s } = Ue(e, i);
|
22065
22065
|
if (!s && r)
|
22066
22066
|
return i;
|
22067
22067
|
}
|
22068
22068
|
});
|
22069
|
-
var
|
22069
|
+
var um = createSelector(j, O, (a2, e) => {
|
22070
22070
|
let t = [], i = [];
|
22071
22071
|
for (let r in a2) {
|
22072
22072
|
let s = a2[r], { video: o, audio: n } = Ue(e, s);
|
@@ -22074,65 +22074,65 @@ var lm = createSelector(K, O, (a2, e) => {
|
|
22074
22074
|
}
|
22075
22075
|
return t.concat(i);
|
22076
22076
|
});
|
22077
|
-
var
|
22077
|
+
var pm = createSelector(j, O, (a2, e) => {
|
22078
22078
|
for (let t in e) {
|
22079
22079
|
let i = e[t];
|
22080
22080
|
if (mt(i) && ht(i) && i.peerId)
|
22081
22081
|
return a2[i.peerId];
|
22082
22082
|
}
|
22083
22083
|
});
|
22084
|
-
var
|
22084
|
+
var hm = createSelector(j, O, (a2, e) => {
|
22085
22085
|
for (let t in e) {
|
22086
22086
|
let i = e[t];
|
22087
22087
|
if (si(i) && i.peerId)
|
22088
22088
|
return a2[i.peerId];
|
22089
22089
|
}
|
22090
22090
|
});
|
22091
|
-
var
|
22092
|
-
var
|
22093
|
-
var
|
22094
|
-
var
|
22091
|
+
var mm = createSelector(xo, (a2) => a2.filter(ls));
|
22092
|
+
var Sm = createSelector(ea, (a2) => a2.length);
|
22093
|
+
var gm = createSelector(Mi, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22094
|
+
var Rt = createSelector(ea, Mi, (a2, e) => {
|
22095
22095
|
let t = [];
|
22096
22096
|
return a2.forEach((i) => {
|
22097
22097
|
t.push(e[i]);
|
22098
22098
|
}), t;
|
22099
22099
|
});
|
22100
|
-
var Vo = createSelector(
|
22100
|
+
var Vo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22101
22101
|
var t;
|
22102
22102
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22103
22103
|
}));
|
22104
|
-
var
|
22104
|
+
var Tm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
|
22105
22105
|
var re = createSelector([V], (a2) => a2 && a2.roomState);
|
22106
22106
|
var sa = createSelector(re, (a2) => a2 === "Preview");
|
22107
|
-
var
|
22108
|
-
var
|
22107
|
+
var fm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
|
22108
|
+
var vm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22109
22109
|
var ve = (a2) => a2.roles;
|
22110
|
-
var
|
22110
|
+
var Mm = createSelector([ve], (a2) => Object.keys(a2));
|
22111
22111
|
var at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22112
22112
|
var Fo = (a2) => {
|
22113
22113
|
var e;
|
22114
22114
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22115
22115
|
};
|
22116
22116
|
var aa = createSelector([Fo, ve], (a2, e) => a2 ? e[a2] : null);
|
22117
|
-
var
|
22117
|
+
var ym = createSelector([at], (a2) => {
|
22118
22118
|
var e;
|
22119
22119
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22120
22120
|
});
|
22121
22121
|
var oa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
|
22122
|
-
var
|
22123
|
-
var
|
22124
|
-
var
|
22125
|
-
var
|
22126
|
-
var
|
22127
|
-
var
|
22122
|
+
var km = createSelector(V, (a2) => a2.recording);
|
22123
|
+
var Em = createSelector(V, (a2) => a2.rtmp);
|
22124
|
+
var Pm = createSelector(V, (a2) => a2.hls);
|
22125
|
+
var bm = createSelector(V, (a2) => a2.transcriptions);
|
22126
|
+
var Im = createSelector(V, (a2) => a2.sessionId);
|
22127
|
+
var Am = createSelector(V, (a2) => a2.startedAt);
|
22128
22128
|
var Rm = createSelector(V, (a2) => !!a2.isLargeRoom);
|
22129
|
-
var
|
22130
|
-
var
|
22131
|
-
var
|
22129
|
+
var Hm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
|
22130
|
+
var Cm = createSelector(V, (a2) => !!a2.isVBEnabled);
|
22131
|
+
var Lm = createSelector(V, (a2) => a2.effectsKey);
|
22132
22132
|
var na = (a2) => a2.polls;
|
22133
|
-
var
|
22133
|
+
var Nm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
|
22134
22134
|
var Go = (a2) => a2.whiteboards;
|
22135
|
-
var
|
22135
|
+
var Om = createSelector(Go, (a2) => Object.values(a2)[0]);
|
22136
22136
|
var da = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22137
22137
|
var Kr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22138
22138
|
var la = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -22146,7 +22146,7 @@ var Sa = (a2 = "audio") => createSelector(da(a2), Kr(a2), (e, t) => {
|
|
22146
22146
|
});
|
22147
22147
|
var ga = { selection: Kr("audio"), progress: la("audio"), currentTime: ua("audio"), playbackRate: pa("audio"), volume: ha("audio"), list: ma("audio"), selectedItem: Sa("audio") };
|
22148
22148
|
var Ta = { selection: Kr("video"), progress: la("video"), currentTime: ua("video"), playbackRate: pa("video"), volume: ha("video"), list: ma("video"), selectedItem: Sa("video") };
|
22149
|
-
function
|
22149
|
+
function R(a2) {
|
22150
22150
|
return (e) => (t) => a2(t, e);
|
22151
22151
|
}
|
22152
22152
|
var Ht = "HMS-Store:";
|
@@ -22221,7 +22221,7 @@ var Ct = (a2, e) => e;
|
|
22221
22221
|
var fa = (a2, e) => e;
|
22222
22222
|
var Wo = (a2, e) => e;
|
22223
22223
|
var $o = (a2, e) => e;
|
22224
|
-
var
|
22224
|
+
var J = createSelector([j, qr], (a2, e) => e ? a2[e] : null);
|
22225
22225
|
var jr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
|
22226
22226
|
var Ko = createSelector([O, Ct], (a2, e) => {
|
22227
22227
|
if (!e)
|
@@ -22248,100 +22248,100 @@ var Jo = createSelector([O, Ct], (a2, e) => {
|
|
22248
22248
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22249
22249
|
});
|
22250
22250
|
var Qo = createSelector([na, $o], (a2, e) => e ? a2[e] : null);
|
22251
|
-
var
|
22252
|
-
var
|
22251
|
+
var Z = R(J);
|
22252
|
+
var jm = R(createSelector([Gr, Wo], (a2, e) => {
|
22253
22253
|
if (a2)
|
22254
22254
|
return e ? a2[e] : a2;
|
22255
22255
|
}));
|
22256
|
-
function
|
22256
|
+
function Jm(a2) {
|
22257
22257
|
return (e) => {
|
22258
22258
|
if (e.sessionStore)
|
22259
22259
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22260
22260
|
};
|
22261
22261
|
}
|
22262
|
-
var
|
22263
|
-
var
|
22264
|
-
var yi =
|
22265
|
-
var va =
|
22266
|
-
var
|
22267
|
-
var
|
22268
|
-
var
|
22269
|
-
var zo =
|
22270
|
-
let t =
|
22262
|
+
var zm = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
|
22263
|
+
var Ym = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.type));
|
22264
|
+
var yi = R(jr);
|
22265
|
+
var va = R(Ko);
|
22266
|
+
var Xm = R(qo);
|
22267
|
+
var Zm = R(jo);
|
22268
|
+
var eS = R(Jo);
|
22269
|
+
var zo = R((a2, e) => {
|
22270
|
+
let t = J(a2, e);
|
22271
22271
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22272
22272
|
return a2.tracks[t.videoTrack];
|
22273
22273
|
});
|
22274
|
-
var Yo =
|
22275
|
-
let t =
|
22274
|
+
var Yo = R((a2, e) => {
|
22275
|
+
let t = J(a2, e);
|
22276
22276
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22277
22277
|
return a2.tracks[t.audioTrack];
|
22278
22278
|
});
|
22279
|
-
var
|
22280
|
-
let t =
|
22279
|
+
var iS = R((a2, e) => {
|
22280
|
+
let t = J(a2, e);
|
22281
22281
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22282
22282
|
});
|
22283
22283
|
var Ma = (a2, e) => e ? a2.speakers[e] : null;
|
22284
|
-
var
|
22284
|
+
var rS = R(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22285
22285
|
var Xo = (a2, e) => {
|
22286
22286
|
let t = Yo(e)(a2);
|
22287
22287
|
return Ma(a2, t == null ? void 0 : t.id);
|
22288
22288
|
};
|
22289
|
-
var
|
22290
|
-
var
|
22289
|
+
var sS = R(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22290
|
+
var aS = R((a2, e) => {
|
22291
22291
|
if (e)
|
22292
22292
|
return a2.connectionQualities[e];
|
22293
22293
|
});
|
22294
|
-
var
|
22295
|
-
let t =
|
22294
|
+
var oS = R((a2, e) => {
|
22295
|
+
let t = J(a2, e);
|
22296
22296
|
if (t) {
|
22297
22297
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => pt(a2.tracks[r]));
|
22298
22298
|
return i ? a2.tracks[i] : void 0;
|
22299
22299
|
}
|
22300
22300
|
});
|
22301
|
-
var
|
22301
|
+
var nS = R(createSelector(O, J, (a2, e) => {
|
22302
22302
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22303
22303
|
let r = a2[i];
|
22304
22304
|
return mt(r) && ht(r);
|
22305
22305
|
});
|
22306
22306
|
return t ? a2[t] : void 0;
|
22307
22307
|
}));
|
22308
|
-
var
|
22308
|
+
var cS = R(createSelector(O, J, (a2, e) => {
|
22309
22309
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22310
22310
|
let r = a2[i];
|
22311
22311
|
return mt(r) && pt(r);
|
22312
22312
|
});
|
22313
22313
|
return t ? a2[t] : void 0;
|
22314
22314
|
}));
|
22315
|
-
var
|
22315
|
+
var dS = R(createSelector(O, J, (a2, e) => {
|
22316
22316
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22317
22317
|
let r = a2[i];
|
22318
22318
|
return si(r) && pt(r);
|
22319
22319
|
});
|
22320
22320
|
return t ? a2[t] : void 0;
|
22321
22321
|
}));
|
22322
|
-
var ya =
|
22322
|
+
var ya = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
|
22323
22323
|
var ka = (a2) => createSelector(ya(a2), (e) => e.audio);
|
22324
|
-
var
|
22325
|
-
let t =
|
22324
|
+
var uS = R((a2, e) => {
|
22325
|
+
let t = J(a2, e);
|
22326
22326
|
return je(a2, t == null ? void 0 : t.audioTrack);
|
22327
22327
|
});
|
22328
|
-
var
|
22329
|
-
let t =
|
22328
|
+
var pS = R((a2, e) => {
|
22329
|
+
let t = J(a2, e);
|
22330
22330
|
return je(a2, t == null ? void 0 : t.videoTrack);
|
22331
22331
|
});
|
22332
|
-
var Ea =
|
22332
|
+
var Ea = R((a2, e) => {
|
22333
22333
|
if (e && a2.tracks[e])
|
22334
22334
|
return a2.tracks[e].volume === 0;
|
22335
22335
|
});
|
22336
|
-
var
|
22337
|
-
let t =
|
22336
|
+
var hS = R((a2, e) => {
|
22337
|
+
let t = J(a2, e);
|
22338
22338
|
return Ea(t == null ? void 0 : t.audioTrack)(a2);
|
22339
22339
|
});
|
22340
|
-
var
|
22340
|
+
var mS = R((a2, e) => {
|
22341
22341
|
let t = ka(e)(a2);
|
22342
22342
|
return Ea(t == null ? void 0 : t.id)(a2);
|
22343
22343
|
});
|
22344
|
-
var Pa =
|
22344
|
+
var Pa = R((a2, e) => {
|
22345
22345
|
let t = jr(a2, e);
|
22346
22346
|
if (t) {
|
22347
22347
|
if (t.type !== "audio") {
|
@@ -22351,15 +22351,15 @@ var Pa = A((a2, e) => {
|
|
22351
22351
|
return t.volume;
|
22352
22352
|
}
|
22353
22353
|
});
|
22354
|
-
var
|
22355
|
-
let t =
|
22354
|
+
var SS = R((a2, e) => {
|
22355
|
+
let t = J(a2, e);
|
22356
22356
|
return Pa(t == null ? void 0 : t.audioTrack)(a2);
|
22357
22357
|
});
|
22358
|
-
var
|
22358
|
+
var gS = R((a2, e) => {
|
22359
22359
|
let t = ka(e)(a2);
|
22360
22360
|
return Pa(t == null ? void 0 : t.id)(a2);
|
22361
22361
|
});
|
22362
|
-
var
|
22362
|
+
var TS = R((a2, e) => {
|
22363
22363
|
let t = jr(a2, e);
|
22364
22364
|
if (t) {
|
22365
22365
|
if (t.type !== "video") {
|
@@ -22369,45 +22369,45 @@ var gS = A((a2, e) => {
|
|
22369
22369
|
return t.layer;
|
22370
22370
|
}
|
22371
22371
|
});
|
22372
|
-
var ba = createSelector([
|
22372
|
+
var ba = createSelector([Rt, Ee, qr], (a2, e, t) => {
|
22373
22373
|
if (t)
|
22374
22374
|
return a2.filter((i) => {
|
22375
22375
|
var r;
|
22376
22376
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22377
22377
|
});
|
22378
22378
|
});
|
22379
|
-
var Ia = createSelector([
|
22379
|
+
var Ia = createSelector([Rt, fa], (a2, e) => {
|
22380
22380
|
if (e)
|
22381
22381
|
return a2.filter((t) => {
|
22382
22382
|
var i, r;
|
22383
22383
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22384
22384
|
});
|
22385
22385
|
});
|
22386
|
-
var Zo = createSelector(
|
22386
|
+
var Zo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22387
22387
|
var t;
|
22388
22388
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22389
22389
|
}));
|
22390
22390
|
var en = createSelector([Ia, fa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22391
22391
|
var tn = createSelector([ba, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22392
|
-
var
|
22393
|
-
var
|
22394
|
-
var
|
22395
|
-
var
|
22396
|
-
var
|
22397
|
-
var
|
22398
|
-
var
|
22392
|
+
var fS = createSelector(Zo, (a2) => a2.filter((e) => !e.read).length);
|
22393
|
+
var vS = R(ba);
|
22394
|
+
var MS = R(Ia);
|
22395
|
+
var yS = R(en);
|
22396
|
+
var kS = R(tn);
|
22397
|
+
var Aa = R(Qo);
|
22398
|
+
var _S = createSelector([j, O], (a2, e) => Object.values(a2).map((i) => {
|
22399
22399
|
var r;
|
22400
22400
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22401
22401
|
}));
|
22402
22402
|
var rn = (a2) => a2.roleChangeRequests[0] || null;
|
22403
|
-
var
|
22404
|
-
var
|
22405
|
-
var
|
22406
|
-
var an = createSelector([
|
22403
|
+
var NS = createSelector([rn, j, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22404
|
+
var OS = createSelector([at], (a2) => St(a2));
|
22405
|
+
var xS = createSelector([aa], (a2) => St(a2));
|
22406
|
+
var an = createSelector([X, O], (a2, e) => {
|
22407
22407
|
let t = null;
|
22408
22408
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22409
22409
|
});
|
22410
|
-
var on = createSelector([
|
22410
|
+
var on = createSelector([ne, O], (a2, e) => {
|
22411
22411
|
let t = null;
|
22412
22412
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22413
22413
|
});
|
@@ -22468,14 +22468,14 @@ var Vt = class {
|
|
22468
22468
|
static sendFeedback(s) {
|
22469
22469
|
return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
|
22470
22470
|
l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
|
22471
|
-
let o = new URL("v2/client/feedback", t), n =
|
22471
|
+
let o = new URL("v2/client/feedback", t), n = y(m({}, i), { payload: r });
|
22472
22472
|
try {
|
22473
22473
|
let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
|
22474
22474
|
try {
|
22475
22475
|
this.handleError(d);
|
22476
22476
|
return;
|
22477
22477
|
} catch (u) {
|
22478
|
-
throw l.e(this.TAG, "error", u.message, d.status), u instanceof
|
22478
|
+
throw l.e(this.TAG, "error", u.message, d.status), u instanceof f ? u : S.APIErrors.ServerErrors(d.status, "FEEDBACK", u.message);
|
22479
22479
|
}
|
22480
22480
|
} catch (d) {
|
22481
22481
|
let u = d;
|
@@ -22485,65 +22485,65 @@ var Vt = class {
|
|
22485
22485
|
}
|
22486
22486
|
};
|
22487
22487
|
Vt.TAG = "[FeedbackService]";
|
22488
|
-
var
|
22488
|
+
var Q = ((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))(Q || {});
|
22489
22489
|
var sr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(sr || {});
|
22490
22490
|
var lt = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lt || {});
|
22491
|
-
var
|
22492
|
-
var
|
22493
|
-
var
|
22494
|
-
var
|
22491
|
+
var Hn = (a2) => a2.localPeer.id;
|
22492
|
+
var Cn = (a2) => a2.localPeer.audioTrack;
|
22493
|
+
var Ln = (a2) => a2.localPeer.videoTrack;
|
22494
|
+
var wn = (a2, e) => e;
|
22495
22495
|
var za = (a2, e) => e;
|
22496
|
-
var
|
22496
|
+
var Dn = (a2) => a2.remoteTrackStats;
|
22497
22497
|
var Ya = (a2) => a2.peerStats;
|
22498
|
-
var
|
22499
|
-
var
|
22500
|
-
var
|
22498
|
+
var is = (a2) => a2.localTrackStats;
|
22499
|
+
var Ae = createSelector([Ya, Hn], (a2, e) => a2[e]);
|
22500
|
+
var _n = createSelector(Ae, (a2) => {
|
22501
22501
|
var e;
|
22502
22502
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22503
22503
|
});
|
22504
|
-
var
|
22504
|
+
var Nn = createSelector(Ae, (a2) => {
|
22505
22505
|
var e;
|
22506
22506
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22507
22507
|
});
|
22508
|
-
var
|
22508
|
+
var On = createSelector(Ae, (a2) => {
|
22509
22509
|
var e;
|
22510
22510
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22511
22511
|
});
|
22512
|
-
var
|
22512
|
+
var xn = createSelector(Ae, (a2) => {
|
22513
22513
|
var e;
|
22514
22514
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22515
22515
|
});
|
22516
|
-
var
|
22516
|
+
var Un = createSelector(Ae, (a2) => {
|
22517
22517
|
var e;
|
22518
22518
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22519
22519
|
});
|
22520
|
-
var
|
22520
|
+
var Bn = createSelector(Ae, (a2) => {
|
22521
22521
|
var e;
|
22522
22522
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22523
22523
|
});
|
22524
|
-
var
|
22524
|
+
var Vn = createSelector(Ae, (a2) => {
|
22525
22525
|
var e;
|
22526
22526
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22527
22527
|
});
|
22528
|
-
var
|
22528
|
+
var Fn = createSelector(Ae, (a2) => {
|
22529
22529
|
var e;
|
22530
22530
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22531
22531
|
});
|
22532
|
-
var
|
22533
|
-
var
|
22534
|
-
var
|
22535
|
-
var
|
22536
|
-
var
|
22537
|
-
var
|
22532
|
+
var Gn = createSelector([Ya, wn], (a2, e) => e ? a2[e] : void 0);
|
22533
|
+
var Wn = createSelector([Dn, za], (a2, e) => e ? a2[e] : void 0);
|
22534
|
+
var rs = createSelector([is, za], (a2, e) => e ? a2[e] : void 0);
|
22535
|
+
var $n = R(Gn);
|
22536
|
+
var Kn = R(Wn);
|
22537
|
+
var qn = createSelector([is, Cn], (a2, e) => {
|
22538
22538
|
var t;
|
22539
22539
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22540
22540
|
});
|
22541
|
-
var
|
22542
|
-
var
|
22541
|
+
var jn = R(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
|
22542
|
+
var Jn = createSelector([is, Ln], (a2, e) => {
|
22543
22543
|
var t;
|
22544
22544
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22545
22545
|
});
|
22546
|
-
var
|
22546
|
+
var Qn = R(createSelector(rs, (a2) => a2));
|
22547
22547
|
|
22548
22548
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22549
22549
|
import {
|
@@ -27487,7 +27487,7 @@ var Chat = () => {
|
|
27487
27487
|
const listRef = useRef26(null);
|
27488
27488
|
const hmsActions = useHMSActions42();
|
27489
27489
|
const vanillaStore = useHMSVanillaStore11();
|
27490
|
-
const { enabled: isChatEnabled = true } = useHMSStore61(
|
27490
|
+
const { enabled: isChatEnabled = true } = useHMSStore61(Jm("chatState" /* CHAT_STATE */)) || {};
|
27491
27491
|
const isMobile = useMedia20(config.media.md);
|
27492
27492
|
const isMobileHLSStream = useMobileHLSStream();
|
27493
27493
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27577,7 +27577,7 @@ var NewMessageIndicator = ({
|
|
27577
27577
|
scrollToBottom,
|
27578
27578
|
listRef
|
27579
27579
|
}) => {
|
27580
|
-
const unreadCount = useHMSStore61(
|
27580
|
+
const unreadCount = useHMSStore61(gm);
|
27581
27581
|
if (!unreadCount || !listRef.current) {
|
27582
27582
|
return null;
|
27583
27583
|
}
|
@@ -28597,12 +28597,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28597
28597
|
const roomState = useHMSStore69(selectRoomState5);
|
28598
28598
|
const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
|
28599
28599
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
28600
|
-
const isEffectsEnabled = useHMSStore69(
|
28601
|
-
const effectsKey = useHMSStore69(
|
28600
|
+
const isEffectsEnabled = useHMSStore69(Hm);
|
28601
|
+
const effectsKey = useHMSStore69(Lm);
|
28602
28602
|
const isMobile = useMedia24(config.media.md);
|
28603
28603
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28604
28604
|
const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
28605
|
-
const background = useHMSStore69(
|
28605
|
+
const background = useHMSStore69(jm(APP_DATA.background));
|
28606
28606
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28607
28607
|
const pluginLoadingRef = useRef27(false);
|
28608
28608
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -30987,7 +30987,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
30987
30987
|
};
|
30988
30988
|
|
30989
30989
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
30990
|
-
var HLSView = React157.lazy(() => import("./HLSView-
|
30990
|
+
var HLSView = React157.lazy(() => import("./HLSView-YFTHW2VY.js"));
|
30991
30991
|
var VideoStreamingSection = ({
|
30992
30992
|
screenType,
|
30993
30993
|
elements,
|
@@ -33070,7 +33070,7 @@ function Notifications() {
|
|
33070
33070
|
}, []);
|
33071
33071
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
33072
33072
|
useEffect76(() => {
|
33073
|
-
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l,
|
33073
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
|
33074
33074
|
if (!notification || isNotificationDisabled) {
|
33075
33075
|
return;
|
33076
33076
|
}
|
@@ -33111,7 +33111,7 @@ function Notifications() {
|
|
33111
33111
|
});
|
33112
33112
|
break;
|
33113
33113
|
case HMSNotificationTypes11.ROLE_UPDATED: {
|
33114
|
-
if (((
|
33114
|
+
if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
33115
33115
|
ToastManager.addToast({
|
33116
33116
|
title: `You are now a ${notification.data.roleName}`
|
33117
33117
|
});
|
@@ -34683,4 +34683,4 @@ object-assign/index.js:
|
|
34683
34683
|
@license MIT
|
34684
34684
|
*)
|
34685
34685
|
*/
|
34686
|
-
//# sourceMappingURL=chunk-
|
34686
|
+
//# sourceMappingURL=chunk-Y3UYAB6J.js.map
|