@100mslive/roomkit-react 0.2.3-alpha.0 → 0.2.3-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +53 -0
- package/dist/{HLSView-CVRPVOXD.js → HLSView-7HBO24NV.js} +2 -2
- package/dist/{chunk-5W4IGFZA.js → chunk-U5FEFLCO.js} +856 -152
- package/dist/chunk-U5FEFLCO.js.map +7 -0
- package/dist/index.cjs.js +843 -139
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +33 -9
- package/dist/meta.esbuild.json +40 -16
- package/package.json +6 -6
- package/dist/chunk-5W4IGFZA.js.map +0 -7
- /package/dist/{HLSView-CVRPVOXD.js.map → HLSView-7HBO24NV.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -44,13 +44,13 @@ var __export = (target, all) => {
|
|
44
44
|
for (var name in all)
|
45
45
|
__defProp(target, name, { get: all[name], enumerable: true });
|
46
46
|
};
|
47
|
-
var __copyProps = (
|
47
|
+
var __copyProps = (to2, from, except, desc) => {
|
48
48
|
if (from && typeof from === "object" || typeof from === "function") {
|
49
49
|
for (let key of __getOwnPropNames(from))
|
50
|
-
if (!__hasOwnProp.call(
|
51
|
-
__defProp(
|
50
|
+
if (!__hasOwnProp.call(to2, key) && key !== except)
|
51
|
+
__defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
52
52
|
}
|
53
|
-
return
|
53
|
+
return to2;
|
54
54
|
};
|
55
55
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
56
56
|
// If the importer is in node compatibility mode or this is not an ESM
|
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
|
|
108
108
|
var define_process_env_default;
|
109
109
|
var init_define_process_env = __esm({
|
110
110
|
"<define:process.env>"() {
|
111
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_319f06f9-b39e-4116-a20b-1490d00fe3d8", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.3-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_319f06f9-b39e-4116-a20b-1490d00fe3d8", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.3-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.6", 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.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.13/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.6/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240122.3.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", 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_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:20621", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.3-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7709679716", 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_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: "d3d81cbff3a76e9db81ceb754ba3d0aa0a8ae3c0", 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: "3c64f4f663af1c013c2646ee8a063bfad0e90199ec438fa8332fb7f9647aad88", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", 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--1706610348614-0.8130608074510421:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706610348415-0.7781503871909203:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706610326277-0.3779794154043836:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706610326099-0.9238653629022453:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8cda47be-2115-467c-a396-ff0af511e489", INVOCATION_ID: "7d4a5249b3e548b7be1491aaf5aec454", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "417", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 484", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.3-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.3-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "d3d81cbff3a76e9db81ceb754ba3d0aa0a8ae3c0", 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/main", GITHUB_ACTOR: "KaustubhKumar05", 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_319f06f9-b39e-4116-a20b-1490d00fe3d8", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", 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.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_319f06f9-b39e-4116-a20b-1490d00fe3d8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_319f06f9-b39e-4116-a20b-1490d00fe3d8" };
|
111
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_27c0e60a-50c9-42d7-af0c-279538701f26", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.3-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_27c0e60a-50c9-42d7-af0c-279538701f26", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.3-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.6", 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.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "595", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.13/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.6/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240126.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", 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_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:19587", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.3-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7739901470", 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_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: "4f1741f9e77533d1e1af8b7e8fc18d0832fc9c4c", 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: "54c9f74dbb2fa3a40566533528e222811843a9d97116119b8660cc13f7a6e1da", 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--1706783857118-0.2948517689567245:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706783856923-0.32903463309540704:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706783834785-0.29970586778202324:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706783834609-0.5327789712955502:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e1779918-4cb4-42e3-8018-ac9fe9e391c9", INVOCATION_ID: "2e7a9f5bbbed42c2ac6b0476f252b27c", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "419", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 302", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.3-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.3-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_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "4f1741f9e77533d1e1af8b7e8fc18d0832fc9c4c", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_27c0e60a-50c9-42d7-af0c-279538701f26", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_27c0e60a-50c9-42d7-af0c-279538701f26", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_27c0e60a-50c9-42d7-af0c-279538701f26" };
|
112
112
|
}
|
113
113
|
});
|
114
114
|
|
@@ -2775,11 +2775,11 @@ var init_formatBytes = __esm({
|
|
2775
2775
|
return "-";
|
2776
2776
|
}
|
2777
2777
|
const k2 = 1024;
|
2778
|
-
const
|
2778
|
+
const dm2 = decimals < 0 ? 0 : decimals;
|
2779
2779
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
2780
2780
|
let i = Math.floor(Math.log(bytes) / Math.log(k2));
|
2781
2781
|
i === 0 && i++;
|
2782
|
-
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
2782
|
+
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2))} ${sizes[i]}`;
|
2783
2783
|
};
|
2784
2784
|
}
|
2785
2785
|
});
|
@@ -12903,10 +12903,10 @@ var init_StatsForNerds = __esm({
|
|
12903
12903
|
if (bytes === 0)
|
12904
12904
|
return "0 " + unit;
|
12905
12905
|
const k2 = 1024;
|
12906
|
-
const
|
12906
|
+
const dm2 = decimals < 0 ? 0 : decimals;
|
12907
12907
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
12908
12908
|
const i = Math.floor(Math.log(bytes) / Math.log(k2));
|
12909
|
-
return parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
12909
|
+
return parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2)) + " " + sizes[i];
|
12910
12910
|
};
|
12911
12911
|
}
|
12912
12912
|
});
|
@@ -14741,6 +14741,708 @@ var require_ua_parser = __commonJS({
|
|
14741
14741
|
}
|
14742
14742
|
});
|
14743
14743
|
|
14744
|
+
// ../../node_modules/lodash.isequal/index.js
|
14745
|
+
var require_lodash2 = __commonJS({
|
14746
|
+
"../../node_modules/lodash.isequal/index.js"(exports, module2) {
|
14747
|
+
init_define_process_env();
|
14748
|
+
var LARGE_ARRAY_SIZE = 200;
|
14749
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
14750
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
14751
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
14752
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
14753
|
+
var argsTag = "[object Arguments]";
|
14754
|
+
var arrayTag = "[object Array]";
|
14755
|
+
var asyncTag = "[object AsyncFunction]";
|
14756
|
+
var boolTag = "[object Boolean]";
|
14757
|
+
var dateTag = "[object Date]";
|
14758
|
+
var errorTag = "[object Error]";
|
14759
|
+
var funcTag = "[object Function]";
|
14760
|
+
var genTag = "[object GeneratorFunction]";
|
14761
|
+
var mapTag = "[object Map]";
|
14762
|
+
var numberTag = "[object Number]";
|
14763
|
+
var nullTag = "[object Null]";
|
14764
|
+
var objectTag = "[object Object]";
|
14765
|
+
var promiseTag = "[object Promise]";
|
14766
|
+
var proxyTag = "[object Proxy]";
|
14767
|
+
var regexpTag = "[object RegExp]";
|
14768
|
+
var setTag = "[object Set]";
|
14769
|
+
var stringTag = "[object String]";
|
14770
|
+
var symbolTag = "[object Symbol]";
|
14771
|
+
var undefinedTag = "[object Undefined]";
|
14772
|
+
var weakMapTag = "[object WeakMap]";
|
14773
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
14774
|
+
var dataViewTag = "[object DataView]";
|
14775
|
+
var float32Tag = "[object Float32Array]";
|
14776
|
+
var float64Tag = "[object Float64Array]";
|
14777
|
+
var int8Tag = "[object Int8Array]";
|
14778
|
+
var int16Tag = "[object Int16Array]";
|
14779
|
+
var int32Tag = "[object Int32Array]";
|
14780
|
+
var uint8Tag = "[object Uint8Array]";
|
14781
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
14782
|
+
var uint16Tag = "[object Uint16Array]";
|
14783
|
+
var uint32Tag = "[object Uint32Array]";
|
14784
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
14785
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
14786
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
14787
|
+
var typedArrayTags = {};
|
14788
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
14789
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
14790
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
14791
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
14792
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
14793
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
14794
|
+
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
14795
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
14796
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
14797
|
+
var nodeUtil = function() {
|
14798
|
+
try {
|
14799
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
14800
|
+
} catch (e) {
|
14801
|
+
}
|
14802
|
+
}();
|
14803
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
14804
|
+
function arrayFilter(array, predicate) {
|
14805
|
+
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
14806
|
+
while (++index < length) {
|
14807
|
+
var value = array[index];
|
14808
|
+
if (predicate(value, index, array)) {
|
14809
|
+
result[resIndex++] = value;
|
14810
|
+
}
|
14811
|
+
}
|
14812
|
+
return result;
|
14813
|
+
}
|
14814
|
+
function arrayPush(array, values) {
|
14815
|
+
var index = -1, length = values.length, offset = array.length;
|
14816
|
+
while (++index < length) {
|
14817
|
+
array[offset + index] = values[index];
|
14818
|
+
}
|
14819
|
+
return array;
|
14820
|
+
}
|
14821
|
+
function arraySome(array, predicate) {
|
14822
|
+
var index = -1, length = array == null ? 0 : array.length;
|
14823
|
+
while (++index < length) {
|
14824
|
+
if (predicate(array[index], index, array)) {
|
14825
|
+
return true;
|
14826
|
+
}
|
14827
|
+
}
|
14828
|
+
return false;
|
14829
|
+
}
|
14830
|
+
function baseTimes(n, iteratee) {
|
14831
|
+
var index = -1, result = Array(n);
|
14832
|
+
while (++index < n) {
|
14833
|
+
result[index] = iteratee(index);
|
14834
|
+
}
|
14835
|
+
return result;
|
14836
|
+
}
|
14837
|
+
function baseUnary(func) {
|
14838
|
+
return function(value) {
|
14839
|
+
return func(value);
|
14840
|
+
};
|
14841
|
+
}
|
14842
|
+
function cacheHas(cache, key) {
|
14843
|
+
return cache.has(key);
|
14844
|
+
}
|
14845
|
+
function getValue(object, key) {
|
14846
|
+
return object == null ? void 0 : object[key];
|
14847
|
+
}
|
14848
|
+
function mapToArray(map) {
|
14849
|
+
var index = -1, result = Array(map.size);
|
14850
|
+
map.forEach(function(value, key) {
|
14851
|
+
result[++index] = [key, value];
|
14852
|
+
});
|
14853
|
+
return result;
|
14854
|
+
}
|
14855
|
+
function overArg(func, transform) {
|
14856
|
+
return function(arg) {
|
14857
|
+
return func(transform(arg));
|
14858
|
+
};
|
14859
|
+
}
|
14860
|
+
function setToArray(set) {
|
14861
|
+
var index = -1, result = Array(set.size);
|
14862
|
+
set.forEach(function(value) {
|
14863
|
+
result[++index] = value;
|
14864
|
+
});
|
14865
|
+
return result;
|
14866
|
+
}
|
14867
|
+
var arrayProto = Array.prototype;
|
14868
|
+
var funcProto = Function.prototype;
|
14869
|
+
var objectProto = Object.prototype;
|
14870
|
+
var coreJsData = root["__core-js_shared__"];
|
14871
|
+
var funcToString = funcProto.toString;
|
14872
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
14873
|
+
var maskSrcKey = function() {
|
14874
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
14875
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
14876
|
+
}();
|
14877
|
+
var nativeObjectToString = objectProto.toString;
|
14878
|
+
var reIsNative = RegExp(
|
14879
|
+
"^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
14880
|
+
);
|
14881
|
+
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
14882
|
+
var Symbol2 = root.Symbol;
|
14883
|
+
var Uint8Array2 = root.Uint8Array;
|
14884
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
14885
|
+
var splice = arrayProto.splice;
|
14886
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
14887
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
14888
|
+
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
14889
|
+
var nativeKeys = overArg(Object.keys, Object);
|
14890
|
+
var DataView = getNative(root, "DataView");
|
14891
|
+
var Map2 = getNative(root, "Map");
|
14892
|
+
var Promise2 = getNative(root, "Promise");
|
14893
|
+
var Set2 = getNative(root, "Set");
|
14894
|
+
var WeakMap2 = getNative(root, "WeakMap");
|
14895
|
+
var nativeCreate = getNative(Object, "create");
|
14896
|
+
var dataViewCtorString = toSource(DataView);
|
14897
|
+
var mapCtorString = toSource(Map2);
|
14898
|
+
var promiseCtorString = toSource(Promise2);
|
14899
|
+
var setCtorString = toSource(Set2);
|
14900
|
+
var weakMapCtorString = toSource(WeakMap2);
|
14901
|
+
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
14902
|
+
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
14903
|
+
function Hash(entries) {
|
14904
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
14905
|
+
this.clear();
|
14906
|
+
while (++index < length) {
|
14907
|
+
var entry = entries[index];
|
14908
|
+
this.set(entry[0], entry[1]);
|
14909
|
+
}
|
14910
|
+
}
|
14911
|
+
function hashClear() {
|
14912
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
14913
|
+
this.size = 0;
|
14914
|
+
}
|
14915
|
+
function hashDelete(key) {
|
14916
|
+
var result = this.has(key) && delete this.__data__[key];
|
14917
|
+
this.size -= result ? 1 : 0;
|
14918
|
+
return result;
|
14919
|
+
}
|
14920
|
+
function hashGet(key) {
|
14921
|
+
var data3 = this.__data__;
|
14922
|
+
if (nativeCreate) {
|
14923
|
+
var result = data3[key];
|
14924
|
+
return result === HASH_UNDEFINED ? void 0 : result;
|
14925
|
+
}
|
14926
|
+
return hasOwnProperty.call(data3, key) ? data3[key] : void 0;
|
14927
|
+
}
|
14928
|
+
function hashHas(key) {
|
14929
|
+
var data3 = this.__data__;
|
14930
|
+
return nativeCreate ? data3[key] !== void 0 : hasOwnProperty.call(data3, key);
|
14931
|
+
}
|
14932
|
+
function hashSet(key, value) {
|
14933
|
+
var data3 = this.__data__;
|
14934
|
+
this.size += this.has(key) ? 0 : 1;
|
14935
|
+
data3[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
14936
|
+
return this;
|
14937
|
+
}
|
14938
|
+
Hash.prototype.clear = hashClear;
|
14939
|
+
Hash.prototype["delete"] = hashDelete;
|
14940
|
+
Hash.prototype.get = hashGet;
|
14941
|
+
Hash.prototype.has = hashHas;
|
14942
|
+
Hash.prototype.set = hashSet;
|
14943
|
+
function ListCache(entries) {
|
14944
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
14945
|
+
this.clear();
|
14946
|
+
while (++index < length) {
|
14947
|
+
var entry = entries[index];
|
14948
|
+
this.set(entry[0], entry[1]);
|
14949
|
+
}
|
14950
|
+
}
|
14951
|
+
function listCacheClear() {
|
14952
|
+
this.__data__ = [];
|
14953
|
+
this.size = 0;
|
14954
|
+
}
|
14955
|
+
function listCacheDelete(key) {
|
14956
|
+
var data3 = this.__data__, index = assocIndexOf(data3, key);
|
14957
|
+
if (index < 0) {
|
14958
|
+
return false;
|
14959
|
+
}
|
14960
|
+
var lastIndex = data3.length - 1;
|
14961
|
+
if (index == lastIndex) {
|
14962
|
+
data3.pop();
|
14963
|
+
} else {
|
14964
|
+
splice.call(data3, index, 1);
|
14965
|
+
}
|
14966
|
+
--this.size;
|
14967
|
+
return true;
|
14968
|
+
}
|
14969
|
+
function listCacheGet(key) {
|
14970
|
+
var data3 = this.__data__, index = assocIndexOf(data3, key);
|
14971
|
+
return index < 0 ? void 0 : data3[index][1];
|
14972
|
+
}
|
14973
|
+
function listCacheHas(key) {
|
14974
|
+
return assocIndexOf(this.__data__, key) > -1;
|
14975
|
+
}
|
14976
|
+
function listCacheSet(key, value) {
|
14977
|
+
var data3 = this.__data__, index = assocIndexOf(data3, key);
|
14978
|
+
if (index < 0) {
|
14979
|
+
++this.size;
|
14980
|
+
data3.push([key, value]);
|
14981
|
+
} else {
|
14982
|
+
data3[index][1] = value;
|
14983
|
+
}
|
14984
|
+
return this;
|
14985
|
+
}
|
14986
|
+
ListCache.prototype.clear = listCacheClear;
|
14987
|
+
ListCache.prototype["delete"] = listCacheDelete;
|
14988
|
+
ListCache.prototype.get = listCacheGet;
|
14989
|
+
ListCache.prototype.has = listCacheHas;
|
14990
|
+
ListCache.prototype.set = listCacheSet;
|
14991
|
+
function MapCache(entries) {
|
14992
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
14993
|
+
this.clear();
|
14994
|
+
while (++index < length) {
|
14995
|
+
var entry = entries[index];
|
14996
|
+
this.set(entry[0], entry[1]);
|
14997
|
+
}
|
14998
|
+
}
|
14999
|
+
function mapCacheClear() {
|
15000
|
+
this.size = 0;
|
15001
|
+
this.__data__ = {
|
15002
|
+
"hash": new Hash(),
|
15003
|
+
"map": new (Map2 || ListCache)(),
|
15004
|
+
"string": new Hash()
|
15005
|
+
};
|
15006
|
+
}
|
15007
|
+
function mapCacheDelete(key) {
|
15008
|
+
var result = getMapData(this, key)["delete"](key);
|
15009
|
+
this.size -= result ? 1 : 0;
|
15010
|
+
return result;
|
15011
|
+
}
|
15012
|
+
function mapCacheGet(key) {
|
15013
|
+
return getMapData(this, key).get(key);
|
15014
|
+
}
|
15015
|
+
function mapCacheHas(key) {
|
15016
|
+
return getMapData(this, key).has(key);
|
15017
|
+
}
|
15018
|
+
function mapCacheSet(key, value) {
|
15019
|
+
var data3 = getMapData(this, key), size = data3.size;
|
15020
|
+
data3.set(key, value);
|
15021
|
+
this.size += data3.size == size ? 0 : 1;
|
15022
|
+
return this;
|
15023
|
+
}
|
15024
|
+
MapCache.prototype.clear = mapCacheClear;
|
15025
|
+
MapCache.prototype["delete"] = mapCacheDelete;
|
15026
|
+
MapCache.prototype.get = mapCacheGet;
|
15027
|
+
MapCache.prototype.has = mapCacheHas;
|
15028
|
+
MapCache.prototype.set = mapCacheSet;
|
15029
|
+
function SetCache(values) {
|
15030
|
+
var index = -1, length = values == null ? 0 : values.length;
|
15031
|
+
this.__data__ = new MapCache();
|
15032
|
+
while (++index < length) {
|
15033
|
+
this.add(values[index]);
|
15034
|
+
}
|
15035
|
+
}
|
15036
|
+
function setCacheAdd(value) {
|
15037
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
15038
|
+
return this;
|
15039
|
+
}
|
15040
|
+
function setCacheHas(value) {
|
15041
|
+
return this.__data__.has(value);
|
15042
|
+
}
|
15043
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
15044
|
+
SetCache.prototype.has = setCacheHas;
|
15045
|
+
function Stack(entries) {
|
15046
|
+
var data3 = this.__data__ = new ListCache(entries);
|
15047
|
+
this.size = data3.size;
|
15048
|
+
}
|
15049
|
+
function stackClear() {
|
15050
|
+
this.__data__ = new ListCache();
|
15051
|
+
this.size = 0;
|
15052
|
+
}
|
15053
|
+
function stackDelete(key) {
|
15054
|
+
var data3 = this.__data__, result = data3["delete"](key);
|
15055
|
+
this.size = data3.size;
|
15056
|
+
return result;
|
15057
|
+
}
|
15058
|
+
function stackGet(key) {
|
15059
|
+
return this.__data__.get(key);
|
15060
|
+
}
|
15061
|
+
function stackHas(key) {
|
15062
|
+
return this.__data__.has(key);
|
15063
|
+
}
|
15064
|
+
function stackSet(key, value) {
|
15065
|
+
var data3 = this.__data__;
|
15066
|
+
if (data3 instanceof ListCache) {
|
15067
|
+
var pairs = data3.__data__;
|
15068
|
+
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
15069
|
+
pairs.push([key, value]);
|
15070
|
+
this.size = ++data3.size;
|
15071
|
+
return this;
|
15072
|
+
}
|
15073
|
+
data3 = this.__data__ = new MapCache(pairs);
|
15074
|
+
}
|
15075
|
+
data3.set(key, value);
|
15076
|
+
this.size = data3.size;
|
15077
|
+
return this;
|
15078
|
+
}
|
15079
|
+
Stack.prototype.clear = stackClear;
|
15080
|
+
Stack.prototype["delete"] = stackDelete;
|
15081
|
+
Stack.prototype.get = stackGet;
|
15082
|
+
Stack.prototype.has = stackHas;
|
15083
|
+
Stack.prototype.set = stackSet;
|
15084
|
+
function arrayLikeKeys(value, inherited) {
|
15085
|
+
var isArr = isArray2(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
15086
|
+
for (var key in value) {
|
15087
|
+
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
15088
|
+
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
15089
|
+
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
15090
|
+
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
15091
|
+
isIndex(key, length)))) {
|
15092
|
+
result.push(key);
|
15093
|
+
}
|
15094
|
+
}
|
15095
|
+
return result;
|
15096
|
+
}
|
15097
|
+
function assocIndexOf(array, key) {
|
15098
|
+
var length = array.length;
|
15099
|
+
while (length--) {
|
15100
|
+
if (eq(array[length][0], key)) {
|
15101
|
+
return length;
|
15102
|
+
}
|
15103
|
+
}
|
15104
|
+
return -1;
|
15105
|
+
}
|
15106
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
15107
|
+
var result = keysFunc(object);
|
15108
|
+
return isArray2(object) ? result : arrayPush(result, symbolsFunc(object));
|
15109
|
+
}
|
15110
|
+
function baseGetTag(value) {
|
15111
|
+
if (value == null) {
|
15112
|
+
return value === void 0 ? undefinedTag : nullTag;
|
15113
|
+
}
|
15114
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
15115
|
+
}
|
15116
|
+
function baseIsArguments(value) {
|
15117
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
15118
|
+
}
|
15119
|
+
function baseIsEqual(value, other, bitmask, customizer2, stack) {
|
15120
|
+
if (value === other) {
|
15121
|
+
return true;
|
15122
|
+
}
|
15123
|
+
if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
|
15124
|
+
return value !== value && other !== other;
|
15125
|
+
}
|
15126
|
+
return baseIsEqualDeep(value, other, bitmask, customizer2, baseIsEqual, stack);
|
15127
|
+
}
|
15128
|
+
function baseIsEqualDeep(object, other, bitmask, customizer2, equalFunc, stack) {
|
15129
|
+
var objIsArr = isArray2(object), othIsArr = isArray2(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
|
15130
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
15131
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
15132
|
+
var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
|
15133
|
+
if (isSameTag && isBuffer(object)) {
|
15134
|
+
if (!isBuffer(other)) {
|
15135
|
+
return false;
|
15136
|
+
}
|
15137
|
+
objIsArr = true;
|
15138
|
+
objIsObj = false;
|
15139
|
+
}
|
15140
|
+
if (isSameTag && !objIsObj) {
|
15141
|
+
stack || (stack = new Stack());
|
15142
|
+
return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer2, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer2, equalFunc, stack);
|
15143
|
+
}
|
15144
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
15145
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
|
15146
|
+
if (objIsWrapped || othIsWrapped) {
|
15147
|
+
var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
|
15148
|
+
stack || (stack = new Stack());
|
15149
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer2, stack);
|
15150
|
+
}
|
15151
|
+
}
|
15152
|
+
if (!isSameTag) {
|
15153
|
+
return false;
|
15154
|
+
}
|
15155
|
+
stack || (stack = new Stack());
|
15156
|
+
return equalObjects(object, other, bitmask, customizer2, equalFunc, stack);
|
15157
|
+
}
|
15158
|
+
function baseIsNative(value) {
|
15159
|
+
if (!isObject2(value) || isMasked(value)) {
|
15160
|
+
return false;
|
15161
|
+
}
|
15162
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
15163
|
+
return pattern.test(toSource(value));
|
15164
|
+
}
|
15165
|
+
function baseIsTypedArray(value) {
|
15166
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
15167
|
+
}
|
15168
|
+
function baseKeys(object) {
|
15169
|
+
if (!isPrototype(object)) {
|
15170
|
+
return nativeKeys(object);
|
15171
|
+
}
|
15172
|
+
var result = [];
|
15173
|
+
for (var key in Object(object)) {
|
15174
|
+
if (hasOwnProperty.call(object, key) && key != "constructor") {
|
15175
|
+
result.push(key);
|
15176
|
+
}
|
15177
|
+
}
|
15178
|
+
return result;
|
15179
|
+
}
|
15180
|
+
function equalArrays(array, other, bitmask, customizer2, equalFunc, stack) {
|
15181
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
|
15182
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
15183
|
+
return false;
|
15184
|
+
}
|
15185
|
+
var stacked = stack.get(array);
|
15186
|
+
if (stacked && stack.get(other)) {
|
15187
|
+
return stacked == other;
|
15188
|
+
}
|
15189
|
+
var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;
|
15190
|
+
stack.set(array, other);
|
15191
|
+
stack.set(other, array);
|
15192
|
+
while (++index < arrLength) {
|
15193
|
+
var arrValue = array[index], othValue = other[index];
|
15194
|
+
if (customizer2) {
|
15195
|
+
var compared = isPartial ? customizer2(othValue, arrValue, index, other, array, stack) : customizer2(arrValue, othValue, index, array, other, stack);
|
15196
|
+
}
|
15197
|
+
if (compared !== void 0) {
|
15198
|
+
if (compared) {
|
15199
|
+
continue;
|
15200
|
+
}
|
15201
|
+
result = false;
|
15202
|
+
break;
|
15203
|
+
}
|
15204
|
+
if (seen) {
|
15205
|
+
if (!arraySome(other, function(othValue2, othIndex) {
|
15206
|
+
if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer2, stack))) {
|
15207
|
+
return seen.push(othIndex);
|
15208
|
+
}
|
15209
|
+
})) {
|
15210
|
+
result = false;
|
15211
|
+
break;
|
15212
|
+
}
|
15213
|
+
} else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer2, stack))) {
|
15214
|
+
result = false;
|
15215
|
+
break;
|
15216
|
+
}
|
15217
|
+
}
|
15218
|
+
stack["delete"](array);
|
15219
|
+
stack["delete"](other);
|
15220
|
+
return result;
|
15221
|
+
}
|
15222
|
+
function equalByTag(object, other, tag, bitmask, customizer2, equalFunc, stack) {
|
15223
|
+
switch (tag) {
|
15224
|
+
case dataViewTag:
|
15225
|
+
if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
|
15226
|
+
return false;
|
15227
|
+
}
|
15228
|
+
object = object.buffer;
|
15229
|
+
other = other.buffer;
|
15230
|
+
case arrayBufferTag:
|
15231
|
+
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
|
15232
|
+
return false;
|
15233
|
+
}
|
15234
|
+
return true;
|
15235
|
+
case boolTag:
|
15236
|
+
case dateTag:
|
15237
|
+
case numberTag:
|
15238
|
+
return eq(+object, +other);
|
15239
|
+
case errorTag:
|
15240
|
+
return object.name == other.name && object.message == other.message;
|
15241
|
+
case regexpTag:
|
15242
|
+
case stringTag:
|
15243
|
+
return object == other + "";
|
15244
|
+
case mapTag:
|
15245
|
+
var convert = mapToArray;
|
15246
|
+
case setTag:
|
15247
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
15248
|
+
convert || (convert = setToArray);
|
15249
|
+
if (object.size != other.size && !isPartial) {
|
15250
|
+
return false;
|
15251
|
+
}
|
15252
|
+
var stacked = stack.get(object);
|
15253
|
+
if (stacked) {
|
15254
|
+
return stacked == other;
|
15255
|
+
}
|
15256
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
15257
|
+
stack.set(object, other);
|
15258
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer2, equalFunc, stack);
|
15259
|
+
stack["delete"](object);
|
15260
|
+
return result;
|
15261
|
+
case symbolTag:
|
15262
|
+
if (symbolValueOf) {
|
15263
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
15264
|
+
}
|
15265
|
+
}
|
15266
|
+
return false;
|
15267
|
+
}
|
15268
|
+
function equalObjects(object, other, bitmask, customizer2, equalFunc, stack) {
|
15269
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
|
15270
|
+
if (objLength != othLength && !isPartial) {
|
15271
|
+
return false;
|
15272
|
+
}
|
15273
|
+
var index = objLength;
|
15274
|
+
while (index--) {
|
15275
|
+
var key = objProps[index];
|
15276
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
15277
|
+
return false;
|
15278
|
+
}
|
15279
|
+
}
|
15280
|
+
var stacked = stack.get(object);
|
15281
|
+
if (stacked && stack.get(other)) {
|
15282
|
+
return stacked == other;
|
15283
|
+
}
|
15284
|
+
var result = true;
|
15285
|
+
stack.set(object, other);
|
15286
|
+
stack.set(other, object);
|
15287
|
+
var skipCtor = isPartial;
|
15288
|
+
while (++index < objLength) {
|
15289
|
+
key = objProps[index];
|
15290
|
+
var objValue = object[key], othValue = other[key];
|
15291
|
+
if (customizer2) {
|
15292
|
+
var compared = isPartial ? customizer2(othValue, objValue, key, other, object, stack) : customizer2(objValue, othValue, key, object, other, stack);
|
15293
|
+
}
|
15294
|
+
if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer2, stack) : compared)) {
|
15295
|
+
result = false;
|
15296
|
+
break;
|
15297
|
+
}
|
15298
|
+
skipCtor || (skipCtor = key == "constructor");
|
15299
|
+
}
|
15300
|
+
if (result && !skipCtor) {
|
15301
|
+
var objCtor = object.constructor, othCtor = other.constructor;
|
15302
|
+
if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
|
15303
|
+
result = false;
|
15304
|
+
}
|
15305
|
+
}
|
15306
|
+
stack["delete"](object);
|
15307
|
+
stack["delete"](other);
|
15308
|
+
return result;
|
15309
|
+
}
|
15310
|
+
function getAllKeys(object) {
|
15311
|
+
return baseGetAllKeys(object, keys, getSymbols);
|
15312
|
+
}
|
15313
|
+
function getMapData(map, key) {
|
15314
|
+
var data3 = map.__data__;
|
15315
|
+
return isKeyable(key) ? data3[typeof key == "string" ? "string" : "hash"] : data3.map;
|
15316
|
+
}
|
15317
|
+
function getNative(object, key) {
|
15318
|
+
var value = getValue(object, key);
|
15319
|
+
return baseIsNative(value) ? value : void 0;
|
15320
|
+
}
|
15321
|
+
function getRawTag(value) {
|
15322
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
15323
|
+
try {
|
15324
|
+
value[symToStringTag] = void 0;
|
15325
|
+
var unmasked = true;
|
15326
|
+
} catch (e) {
|
15327
|
+
}
|
15328
|
+
var result = nativeObjectToString.call(value);
|
15329
|
+
if (unmasked) {
|
15330
|
+
if (isOwn) {
|
15331
|
+
value[symToStringTag] = tag;
|
15332
|
+
} else {
|
15333
|
+
delete value[symToStringTag];
|
15334
|
+
}
|
15335
|
+
}
|
15336
|
+
return result;
|
15337
|
+
}
|
15338
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
15339
|
+
if (object == null) {
|
15340
|
+
return [];
|
15341
|
+
}
|
15342
|
+
object = Object(object);
|
15343
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
15344
|
+
return propertyIsEnumerable.call(object, symbol);
|
15345
|
+
});
|
15346
|
+
};
|
15347
|
+
var getTag = baseGetTag;
|
15348
|
+
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
|
15349
|
+
getTag = function(value) {
|
15350
|
+
var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
15351
|
+
if (ctorString) {
|
15352
|
+
switch (ctorString) {
|
15353
|
+
case dataViewCtorString:
|
15354
|
+
return dataViewTag;
|
15355
|
+
case mapCtorString:
|
15356
|
+
return mapTag;
|
15357
|
+
case promiseCtorString:
|
15358
|
+
return promiseTag;
|
15359
|
+
case setCtorString:
|
15360
|
+
return setTag;
|
15361
|
+
case weakMapCtorString:
|
15362
|
+
return weakMapTag;
|
15363
|
+
}
|
15364
|
+
}
|
15365
|
+
return result;
|
15366
|
+
};
|
15367
|
+
}
|
15368
|
+
function isIndex(value, length) {
|
15369
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
15370
|
+
return !!length && (typeof value == "number" || reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
15371
|
+
}
|
15372
|
+
function isKeyable(value) {
|
15373
|
+
var type = typeof value;
|
15374
|
+
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
15375
|
+
}
|
15376
|
+
function isMasked(func) {
|
15377
|
+
return !!maskSrcKey && maskSrcKey in func;
|
15378
|
+
}
|
15379
|
+
function isPrototype(value) {
|
15380
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
15381
|
+
return value === proto;
|
15382
|
+
}
|
15383
|
+
function objectToString(value) {
|
15384
|
+
return nativeObjectToString.call(value);
|
15385
|
+
}
|
15386
|
+
function toSource(func) {
|
15387
|
+
if (func != null) {
|
15388
|
+
try {
|
15389
|
+
return funcToString.call(func);
|
15390
|
+
} catch (e) {
|
15391
|
+
}
|
15392
|
+
try {
|
15393
|
+
return func + "";
|
15394
|
+
} catch (e) {
|
15395
|
+
}
|
15396
|
+
}
|
15397
|
+
return "";
|
15398
|
+
}
|
15399
|
+
function eq(value, other) {
|
15400
|
+
return value === other || value !== value && other !== other;
|
15401
|
+
}
|
15402
|
+
var isArguments = baseIsArguments(function() {
|
15403
|
+
return arguments;
|
15404
|
+
}()) ? baseIsArguments : function(value) {
|
15405
|
+
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
15406
|
+
};
|
15407
|
+
var isArray2 = Array.isArray;
|
15408
|
+
function isArrayLike(value) {
|
15409
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
15410
|
+
}
|
15411
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
15412
|
+
function isEqual(value, other) {
|
15413
|
+
return baseIsEqual(value, other);
|
15414
|
+
}
|
15415
|
+
function isFunction(value) {
|
15416
|
+
if (!isObject2(value)) {
|
15417
|
+
return false;
|
15418
|
+
}
|
15419
|
+
var tag = baseGetTag(value);
|
15420
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
15421
|
+
}
|
15422
|
+
function isLength(value) {
|
15423
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
15424
|
+
}
|
15425
|
+
function isObject2(value) {
|
15426
|
+
var type = typeof value;
|
15427
|
+
return value != null && (type == "object" || type == "function");
|
15428
|
+
}
|
15429
|
+
function isObjectLike(value) {
|
15430
|
+
return value != null && typeof value == "object";
|
15431
|
+
}
|
15432
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
15433
|
+
function keys(object) {
|
15434
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
15435
|
+
}
|
15436
|
+
function stubArray() {
|
15437
|
+
return [];
|
15438
|
+
}
|
15439
|
+
function stubFalse() {
|
15440
|
+
return false;
|
15441
|
+
}
|
15442
|
+
module2.exports = isEqual;
|
15443
|
+
}
|
15444
|
+
});
|
15445
|
+
|
14744
15446
|
// ../../node_modules/webrtc-adapter/src/js/utils.js
|
14745
15447
|
function extractVersion(uastring, expr, pos) {
|
14746
15448
|
const match = uastring.match(expr);
|
@@ -17216,15 +17918,15 @@ function shimSendThrowTypeError(window2) {
|
|
17216
17918
|
if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
|
17217
17919
|
return;
|
17218
17920
|
}
|
17219
|
-
function wrapDcSend(
|
17220
|
-
const origDataChannelSend =
|
17221
|
-
|
17921
|
+
function wrapDcSend(dc, pc) {
|
17922
|
+
const origDataChannelSend = dc.send;
|
17923
|
+
dc.send = function send() {
|
17222
17924
|
const data3 = arguments[0];
|
17223
17925
|
const length = data3.length || data3.size || data3.byteLength;
|
17224
|
-
if (
|
17926
|
+
if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
|
17225
17927
|
throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
|
17226
17928
|
}
|
17227
|
-
return origDataChannelSend.apply(
|
17929
|
+
return origDataChannelSend.apply(dc, arguments);
|
17228
17930
|
};
|
17229
17931
|
}
|
17230
17932
|
const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
|
@@ -18284,13 +18986,13 @@ function Kt(a2, e = 300) {
|
|
18284
18986
|
}, e);
|
18285
18987
|
};
|
18286
18988
|
}
|
18287
|
-
function
|
18989
|
+
function zh(a2) {
|
18288
18990
|
return (e) => {
|
18289
18991
|
if (e.sessionStore)
|
18290
18992
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
18291
18993
|
};
|
18292
18994
|
}
|
18293
|
-
var import_ua_parser_js, import_uuid3, import_uuid4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, It, import_eventemitter24, import_uuid9, import_uuid10, ga, Ta, fa, Ot, Fr, Gr, Br,
|
18995
|
+
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, It, import_eventemitter24, import_uuid9, import_uuid10, ga, Ta, fa, Ot, Fr, Gr, Br, m, k, Qi, ya, nr, zi, ka, $r, Yi, Wr, U, Ea, Pn, En, G, Bt, jr, w, Xi, Aa, ye, Rn, ba, ae, Ra, Q, ue, In, Hn, Z, K, Ia, Qr, Cn, Ln, er, Ha, Dn, _n, Nn, On, xn, Un, Vn, Bn, rt, Ca, Fn, z, Yr, Gn, oe, $n, Ft, La, Xr, Wn, Zr, Kn, qn, jn, Jn, Qn, zn, Yn, Xn, es, ic, wa, rc, is, tr, rs, ss, as, os, ns, cs, ds, ls, us, Da, d, pe, N, ps, He, Na, uc, hs, ms, gs, Ue, v, T, xa, h, sr, Ts, ne, fs, Ms, ys, I, M, dr, q, lr, ur, As, bs, pr, Cs, hr, Ls, mr, Sr, _s, Ns, qe, ht, y, Ar, mt, Gs, no, co, j, br, lo, uo, po, ho, mo, J, Qh, Xh, si, $s, Zh, em, tm, So, go, rm, Ws, sm, To, am, om, nm, cm, dm, lm, Ks, qs, pm, hm, js, mm, Sm, Js, gm, Tm, fm, Qs, zs, fo, vo, Mo, vm, Mm, ym, km, Pm, Ys, _m, yo, Nm, Om, xm, Po, Eo, Lr, fe, $, xi, Ki, Wo, Ko, qo, jo, ma, Jo, Sa, xr, Me, Qo, zo, Yo, Xo, Zo, en, tn, rn, sn, an, Ur, on, nn, cn, dn, ln, un;
|
18294
18996
|
var init_dist = __esm({
|
18295
18997
|
"../hms-video-store/dist/index.js"() {
|
18296
18998
|
"use strict";
|
@@ -18299,9 +19001,11 @@ var init_dist = __esm({
|
|
18299
19001
|
init_es();
|
18300
19002
|
init_es();
|
18301
19003
|
import_ua_parser_js = __toESM(require_ua_parser());
|
19004
|
+
import_lodash3 = __toESM(require_lodash2());
|
18302
19005
|
import_uuid3 = require("uuid");
|
18303
19006
|
import_uuid4 = require("uuid");
|
18304
19007
|
init_adapter_core();
|
19008
|
+
import_lodash4 = __toESM(require_lodash2());
|
18305
19009
|
import_uuid5 = require("uuid");
|
18306
19010
|
import_uuid6 = require("uuid");
|
18307
19011
|
import_uuid7 = require("uuid");
|
@@ -18323,7 +19027,7 @@ var init_dist = __esm({
|
|
18323
19027
|
Fr = Object.prototype.hasOwnProperty;
|
18324
19028
|
Gr = Object.prototype.propertyIsEnumerable;
|
18325
19029
|
Br = (a2, e, t) => e in a2 ? ga(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
18326
|
-
|
19030
|
+
m = (a2, e) => {
|
18327
19031
|
for (var t in e || (e = {}))
|
18328
19032
|
Fr.call(e, t) && Br(a2, t, e[t]);
|
18329
19033
|
if (Ot)
|
@@ -18342,8 +19046,8 @@ var init_dist = __esm({
|
|
18342
19046
|
return t;
|
18343
19047
|
};
|
18344
19048
|
ya = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18345
|
-
nr = ya((
|
18346
|
-
Va.exports = { version: "0.11.3-alpha.
|
19049
|
+
nr = ya((Qc, Va) => {
|
19050
|
+
Va.exports = { version: "0.11.3-alpha.2", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
18347
19051
|
});
|
18348
19052
|
zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
|
18349
19053
|
ka = ((e) => (e.CHAT = "chat", e))(ka || {});
|
@@ -18352,8 +19056,8 @@ var init_dist = __esm({
|
|
18352
19056
|
Wr = ((t) => (t.audio = "audio", t.video = "video", t))(Wr || {});
|
18353
19057
|
U = (a2) => a2.room;
|
18354
19058
|
Ea = (a2) => a2.errors;
|
18355
|
-
|
18356
|
-
|
19059
|
+
Pn = createSelector(Ea, (a2) => a2.length === 0 ? null : a2.at(-1));
|
19060
|
+
En = createSelector(U, (a2) => a2.id);
|
18357
19061
|
G = (a2) => a2.peers;
|
18358
19062
|
Bt = (a2) => a2.messages.byID;
|
18359
19063
|
jr = (a2) => a2.messages.allIDs;
|
@@ -18361,14 +19065,14 @@ var init_dist = __esm({
|
|
18361
19065
|
Xi = (a2) => a2.appData;
|
18362
19066
|
Aa = (a2) => a2.speakers;
|
18363
19067
|
ye = createSelector([U], (a2) => a2 && a2.isConnected);
|
18364
|
-
|
19068
|
+
Rn = createSelector([ye, U], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
18365
19069
|
ba = (a2) => a2.hideLocalPeer;
|
18366
19070
|
ae = createSelector([U, G, ba], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
18367
19071
|
Ra = createSelector(w, (a2) => Object.values(a2));
|
18368
19072
|
Q = createSelector(U, G, (a2, e) => e[a2.localPeer]);
|
18369
19073
|
ue = createSelector(U, (a2) => a2.localPeer);
|
18370
|
-
|
18371
|
-
|
19074
|
+
In = createSelector(Q, (a2) => a2 == null ? void 0 : a2.name);
|
19075
|
+
Hn = createSelector(Q, (a2) => a2 == null ? void 0 : a2.roleName);
|
18372
19076
|
Z = createSelector(Q, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
18373
19077
|
K = createSelector(Q, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
18374
19078
|
Ia = createSelector(Q, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
@@ -18376,8 +19080,8 @@ var init_dist = __esm({
|
|
18376
19080
|
let i = t ? [...t] : [];
|
18377
19081
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
18378
19082
|
});
|
18379
|
-
|
18380
|
-
|
19083
|
+
Cn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
|
19084
|
+
Ln = createSelector(G, Aa, (a2, e) => {
|
18381
19085
|
let t = Object.entries(e).sort((i, r) => {
|
18382
19086
|
var n, l;
|
18383
19087
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -18404,15 +19108,15 @@ var init_dist = __esm({
|
|
18404
19108
|
}
|
18405
19109
|
return t;
|
18406
19110
|
});
|
18407
|
-
|
18408
|
-
|
19111
|
+
Dn = createSelector(Ha, (a2) => !!a2);
|
19112
|
+
_n = createSelector(G, w, (a2, e) => {
|
18409
19113
|
for (let t in a2) {
|
18410
19114
|
let i = a2[t], { audio: r, video: s } = Ie(e, i);
|
18411
19115
|
if (!s && r)
|
18412
19116
|
return i;
|
18413
19117
|
}
|
18414
19118
|
});
|
18415
|
-
|
19119
|
+
Nn = createSelector(G, w, (a2, e) => {
|
18416
19120
|
let t = [], i = [];
|
18417
19121
|
for (let r in a2) {
|
18418
19122
|
let s = a2[r], { video: o, audio: n } = Ie(e, s);
|
@@ -18420,23 +19124,23 @@ var init_dist = __esm({
|
|
18420
19124
|
}
|
18421
19125
|
return t.concat(i);
|
18422
19126
|
});
|
18423
|
-
|
19127
|
+
On = createSelector(G, w, (a2, e) => {
|
18424
19128
|
for (let t in e) {
|
18425
19129
|
let i = e[t];
|
18426
19130
|
if (tt(i) && et(i) && i.peerId)
|
18427
19131
|
return a2[i.peerId];
|
18428
19132
|
}
|
18429
19133
|
});
|
18430
|
-
|
19134
|
+
xn = createSelector(G, w, (a2, e) => {
|
18431
19135
|
for (let t in e) {
|
18432
19136
|
let i = e[t];
|
18433
19137
|
if (Vt(i) && i.peerId)
|
18434
19138
|
return a2[i.peerId];
|
18435
19139
|
}
|
18436
19140
|
});
|
18437
|
-
|
18438
|
-
|
18439
|
-
|
19141
|
+
Un = createSelector(Ra, (a2) => a2.filter(Kr));
|
19142
|
+
Vn = createSelector(jr, (a2) => a2.length);
|
19143
|
+
Bn = createSelector(Bt, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
18440
19144
|
rt = createSelector(jr, Bt, (a2, e) => {
|
18441
19145
|
let t = [];
|
18442
19146
|
return a2.forEach((i) => {
|
@@ -18447,35 +19151,35 @@ var init_dist = __esm({
|
|
18447
19151
|
var t;
|
18448
19152
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
18449
19153
|
}));
|
18450
|
-
|
19154
|
+
Fn = createSelector(Ca, (a2) => a2.filter((e) => !e.read).length);
|
18451
19155
|
z = createSelector([U], (a2) => a2 && a2.roomState);
|
18452
19156
|
Yr = createSelector(z, (a2) => a2 === "Preview");
|
18453
|
-
|
19157
|
+
Gn = createSelector(U, (a2) => a2.roomState !== "Disconnected");
|
18454
19158
|
oe = (a2) => a2.roles;
|
18455
|
-
|
19159
|
+
$n = createSelector([oe], (a2) => Object.keys(a2));
|
18456
19160
|
Ft = createSelector([Q, oe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
18457
19161
|
La = (a2) => {
|
18458
19162
|
var e;
|
18459
19163
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
18460
19164
|
};
|
18461
19165
|
Xr = createSelector([La, oe], (a2, e) => a2 ? e[a2] : null);
|
18462
|
-
|
19166
|
+
Wn = createSelector([Ft], (a2) => {
|
18463
19167
|
var e;
|
18464
19168
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
18465
19169
|
});
|
18466
19170
|
Zr = createSelector(Ft, (a2) => a2 == null ? void 0 : a2.permissions);
|
18467
|
-
|
18468
|
-
|
18469
|
-
|
18470
|
-
|
18471
|
-
|
18472
|
-
|
18473
|
-
|
18474
|
-
|
19171
|
+
Kn = createSelector(U, (a2) => a2.recording);
|
19172
|
+
qn = createSelector(U, (a2) => a2.rtmp);
|
19173
|
+
jn = createSelector(U, (a2) => a2.hls);
|
19174
|
+
Jn = createSelector(U, (a2) => a2.sessionId);
|
19175
|
+
Qn = createSelector(U, (a2) => a2.startedAt);
|
19176
|
+
zn = createSelector(U, (a2) => !!a2.isLargeRoom);
|
19177
|
+
Yn = createSelector(U, (a2) => !!a2.isEffectsEnabled);
|
19178
|
+
Xn = createSelector(U, (a2) => a2.effectsKey);
|
18475
19179
|
es = (a2) => a2.polls;
|
18476
|
-
|
19180
|
+
ic = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
|
18477
19181
|
wa = (a2) => a2.whiteboards;
|
18478
|
-
|
19182
|
+
rc = createSelector(wa, (a2) => Object.values(a2)[0]);
|
18479
19183
|
is = (a2 = "audio") => (e) => e.playlist[a2].list;
|
18480
19184
|
tr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
18481
19185
|
rs = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -18561,8 +19265,8 @@ var init_dist = __esm({
|
|
18561
19265
|
N = typeof window != "undefined";
|
18562
19266
|
He = typeof window == "undefined" && !((ps = pe.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
|
18563
19267
|
Na = () => !He;
|
18564
|
-
|
18565
|
-
gs = ((
|
19268
|
+
uc = Na();
|
19269
|
+
gs = ((ms = (hs = pe.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
|
18566
19270
|
Ue = Oa();
|
18567
19271
|
v = { 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 } };
|
18568
19272
|
T = class a extends Error {
|
@@ -18773,12 +19477,12 @@ var init_dist = __esm({
|
|
18773
19477
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = fs();
|
18774
19478
|
}
|
18775
19479
|
toSignalParams() {
|
18776
|
-
return { name: this.name, info: k(
|
19480
|
+
return { name: this.name, info: k(m({}, this.properties), { timestamp: this.timestamp, domain: Ue }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
18777
19481
|
}
|
18778
19482
|
};
|
18779
19483
|
M = class {
|
18780
19484
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
18781
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(k(
|
19485
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(k(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);
|
18782
19486
|
return new I({ name: o, level: n, properties: l });
|
18783
19487
|
}
|
18784
19488
|
static disconnect(e, t) {
|
@@ -18792,7 +19496,7 @@ var init_dist = __esm({
|
|
18792
19496
|
}
|
18793
19497
|
static join(i) {
|
18794
19498
|
var r = i, { error: e } = r, t = Qi(r, ["error"]);
|
18795
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(k(
|
19499
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(k(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
18796
19500
|
return new I({ name: s, level: o, properties: n });
|
18797
19501
|
}
|
18798
19502
|
static publish({ devices: e, settings: t, error: i }) {
|
@@ -18835,7 +19539,7 @@ var init_dist = __esm({
|
|
18835
19539
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
18836
19540
|
if (!t && e.degradedAt instanceof Date) {
|
18837
19541
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
18838
|
-
s = k(
|
19542
|
+
s = k(m({}, s), { duration: n, restoredAt: o });
|
18839
19543
|
}
|
18840
19544
|
return new I({ name: i, level: r, properties: s });
|
18841
19545
|
}
|
@@ -18857,7 +19561,7 @@ var init_dist = __esm({
|
|
18857
19561
|
}
|
18858
19562
|
static getPropertiesWithError(e, t) {
|
18859
19563
|
let i = this.getErrorProperties(t);
|
18860
|
-
return e =
|
19564
|
+
return e = m(m({}, i), e), e;
|
18861
19565
|
}
|
18862
19566
|
static getErrorProperties(e) {
|
18863
19567
|
return e ? e instanceof T ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
@@ -18959,8 +19663,8 @@ var init_dist = __esm({
|
|
18959
19663
|
}
|
18960
19664
|
};
|
18961
19665
|
Ls = new hr();
|
18962
|
-
|
18963
|
-
|
19666
|
+
mr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(mr || {});
|
19667
|
+
Sr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Sr || {});
|
18964
19668
|
_s = "https://event.100ms.live/v2/client/report";
|
18965
19669
|
Ns = "https://event-nonprod.100ms.live/v2/client/report";
|
18966
19670
|
qe = class {
|
@@ -19034,95 +19738,95 @@ var init_dist = __esm({
|
|
19034
19738
|
};
|
19035
19739
|
y.level = 0;
|
19036
19740
|
Ar = (a2, e) => e;
|
19037
|
-
|
19741
|
+
mt = (a2, e) => e;
|
19038
19742
|
Gs = (a2, e) => e;
|
19039
|
-
|
19040
|
-
|
19743
|
+
no = (a2, e) => e;
|
19744
|
+
co = (a2, e) => e;
|
19041
19745
|
j = createSelector([G, Ar], (a2, e) => e ? a2[e] : null);
|
19042
|
-
br = createSelector([w,
|
19043
|
-
|
19746
|
+
br = createSelector([w, mt], (a2, e) => e ? a2[e] : null);
|
19747
|
+
lo = createSelector([w, mt], (a2, e) => {
|
19044
19748
|
if (!e)
|
19045
19749
|
return null;
|
19046
19750
|
let t = a2[e];
|
19047
19751
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
19048
19752
|
});
|
19049
|
-
|
19753
|
+
uo = createSelector([w, mt], (a2, e) => {
|
19050
19754
|
if (!e)
|
19051
19755
|
return null;
|
19052
19756
|
let t = a2[e];
|
19053
19757
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
19054
19758
|
});
|
19055
|
-
|
19759
|
+
po = createSelector([w, mt], (a2, e) => {
|
19056
19760
|
if (!e)
|
19057
19761
|
return null;
|
19058
19762
|
let t = a2[e];
|
19059
19763
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19060
19764
|
});
|
19061
|
-
|
19765
|
+
ho = createSelector([w, mt], (a2, e) => {
|
19062
19766
|
if (!e)
|
19063
19767
|
return null;
|
19064
19768
|
let t = a2[e];
|
19065
19769
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19066
19770
|
});
|
19067
|
-
|
19771
|
+
mo = createSelector([es, co], (a2, e) => e ? a2[e] : null);
|
19068
19772
|
J = A(j);
|
19069
|
-
|
19773
|
+
Qh = A(createSelector([Xi, no], (a2, e) => {
|
19070
19774
|
if (a2)
|
19071
19775
|
return e ? a2[e] : a2;
|
19072
19776
|
}));
|
19073
|
-
|
19777
|
+
Xh = A(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
|
19074
19778
|
si = A(br);
|
19075
|
-
$s = A(
|
19076
|
-
|
19077
|
-
|
19078
|
-
|
19079
|
-
|
19779
|
+
$s = A(lo);
|
19780
|
+
Zh = A(uo);
|
19781
|
+
em = A(po);
|
19782
|
+
tm = A(ho);
|
19783
|
+
So = A((a2, e) => {
|
19080
19784
|
let t = j(a2, e);
|
19081
19785
|
if (t && t.videoTrack && t.videoTrack !== "")
|
19082
19786
|
return a2.tracks[t.videoTrack];
|
19083
19787
|
});
|
19084
|
-
|
19788
|
+
go = A((a2, e) => {
|
19085
19789
|
let t = j(a2, e);
|
19086
19790
|
if (t && t.audioTrack && t.audioTrack !== "")
|
19087
19791
|
return a2.tracks[t.audioTrack];
|
19088
19792
|
});
|
19089
|
-
|
19793
|
+
rm = A((a2, e) => {
|
19090
19794
|
let t = j(a2, e);
|
19091
19795
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
19092
19796
|
});
|
19093
19797
|
Ws = (a2, e) => e ? a2.speakers[e] : null;
|
19094
|
-
|
19095
|
-
|
19096
|
-
let t =
|
19798
|
+
sm = A(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19799
|
+
To = (a2, e) => {
|
19800
|
+
let t = go(e)(a2);
|
19097
19801
|
return Ws(a2, t == null ? void 0 : t.id);
|
19098
19802
|
};
|
19099
|
-
|
19100
|
-
|
19803
|
+
am = A(createSelector(To, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19804
|
+
om = A((a2, e) => {
|
19101
19805
|
if (e)
|
19102
19806
|
return a2.connectionQualities[e];
|
19103
19807
|
});
|
19104
|
-
|
19808
|
+
nm = A((a2, e) => {
|
19105
19809
|
let t = j(a2, e);
|
19106
19810
|
if (t) {
|
19107
19811
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => Ze(a2.tracks[r]));
|
19108
19812
|
return i ? a2.tracks[i] : void 0;
|
19109
19813
|
}
|
19110
19814
|
});
|
19111
|
-
|
19815
|
+
cm = A(createSelector(w, j, (a2, e) => {
|
19112
19816
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19113
19817
|
let r = a2[i];
|
19114
19818
|
return tt(r) && et(r);
|
19115
19819
|
});
|
19116
19820
|
return t ? a2[t] : void 0;
|
19117
19821
|
}));
|
19118
|
-
|
19822
|
+
dm = A(createSelector(w, j, (a2, e) => {
|
19119
19823
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19120
19824
|
let r = a2[i];
|
19121
19825
|
return tt(r) && Ze(r);
|
19122
19826
|
});
|
19123
19827
|
return t ? a2[t] : void 0;
|
19124
19828
|
}));
|
19125
|
-
|
19829
|
+
lm = A(createSelector(w, j, (a2, e) => {
|
19126
19830
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19127
19831
|
let r = a2[i];
|
19128
19832
|
return Vt(r) && Ze(r);
|
@@ -19131,11 +19835,11 @@ var init_dist = __esm({
|
|
19131
19835
|
}));
|
19132
19836
|
Ks = A(createSelector(w, j, (a2, e) => Ie(a2, e)));
|
19133
19837
|
qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
|
19134
|
-
|
19838
|
+
pm = A((a2, e) => {
|
19135
19839
|
let t = j(a2, e);
|
19136
19840
|
return Oe(a2, t == null ? void 0 : t.audioTrack);
|
19137
19841
|
});
|
19138
|
-
|
19842
|
+
hm = A((a2, e) => {
|
19139
19843
|
let t = j(a2, e);
|
19140
19844
|
return Oe(a2, t == null ? void 0 : t.videoTrack);
|
19141
19845
|
});
|
@@ -19143,11 +19847,11 @@ var init_dist = __esm({
|
|
19143
19847
|
if (e && a2.tracks[e])
|
19144
19848
|
return a2.tracks[e].volume === 0;
|
19145
19849
|
});
|
19146
|
-
|
19850
|
+
mm = A((a2, e) => {
|
19147
19851
|
let t = j(a2, e);
|
19148
19852
|
return js(t == null ? void 0 : t.audioTrack)(a2);
|
19149
19853
|
});
|
19150
|
-
|
19854
|
+
Sm = A((a2, e) => {
|
19151
19855
|
let t = qs(e)(a2);
|
19152
19856
|
return js(t == null ? void 0 : t.id)(a2);
|
19153
19857
|
});
|
@@ -19161,15 +19865,15 @@ var init_dist = __esm({
|
|
19161
19865
|
return t.volume;
|
19162
19866
|
}
|
19163
19867
|
});
|
19164
|
-
|
19868
|
+
gm = A((a2, e) => {
|
19165
19869
|
let t = j(a2, e);
|
19166
19870
|
return Js(t == null ? void 0 : t.audioTrack)(a2);
|
19167
19871
|
});
|
19168
|
-
|
19872
|
+
Tm = A((a2, e) => {
|
19169
19873
|
let t = qs(e)(a2);
|
19170
19874
|
return Js(t == null ? void 0 : t.id)(a2);
|
19171
19875
|
});
|
19172
|
-
|
19876
|
+
fm = A((a2, e) => {
|
19173
19877
|
let t = br(a2, e);
|
19174
19878
|
if (t) {
|
19175
19879
|
if (t.type !== "video") {
|
@@ -19193,31 +19897,31 @@ var init_dist = __esm({
|
|
19193
19897
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
19194
19898
|
});
|
19195
19899
|
});
|
19196
|
-
|
19900
|
+
fo = createSelector(rt, (a2) => a2.filter((e) => {
|
19197
19901
|
var t;
|
19198
19902
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19199
19903
|
}));
|
19200
|
-
|
19201
|
-
|
19202
|
-
|
19203
|
-
|
19204
|
-
|
19205
|
-
|
19206
|
-
|
19207
|
-
Ys = A(
|
19208
|
-
|
19904
|
+
vo = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19905
|
+
Mo = createSelector([Qs, Ar], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19906
|
+
vm = createSelector(fo, (a2) => a2.filter((e) => !e.read).length);
|
19907
|
+
Mm = A(Qs);
|
19908
|
+
ym = A(zs);
|
19909
|
+
km = A(vo);
|
19910
|
+
Pm = A(Mo);
|
19911
|
+
Ys = A(mo);
|
19912
|
+
_m = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
19209
19913
|
var r;
|
19210
19914
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
19211
19915
|
}));
|
19212
|
-
|
19213
|
-
|
19214
|
-
|
19215
|
-
|
19216
|
-
|
19916
|
+
yo = (a2) => a2.roleChangeRequests[0] || null;
|
19917
|
+
Nm = createSelector([yo, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
19918
|
+
Om = createSelector([Ft], (a2) => it(a2));
|
19919
|
+
xm = createSelector([Xr], (a2) => it(a2));
|
19920
|
+
Po = createSelector([K, w], (a2, e) => {
|
19217
19921
|
let t = null;
|
19218
19922
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19219
19923
|
});
|
19220
|
-
|
19924
|
+
Eo = createSelector([Z, w], (a2, e) => {
|
19221
19925
|
let t = null;
|
19222
19926
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19223
19927
|
});
|
@@ -19270,62 +19974,62 @@ var init_dist = __esm({
|
|
19270
19974
|
$ = ((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))($ || {});
|
19271
19975
|
xi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(xi || {});
|
19272
19976
|
Ki = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ki || {});
|
19273
|
-
|
19274
|
-
|
19275
|
-
|
19276
|
-
|
19277
|
-
|
19278
|
-
|
19279
|
-
|
19977
|
+
Wo = (a2) => a2.localPeer.id;
|
19978
|
+
Ko = (a2) => a2.localPeer.audioTrack;
|
19979
|
+
qo = (a2) => a2.localPeer.videoTrack;
|
19980
|
+
jo = (a2, e) => e;
|
19981
|
+
ma = (a2, e) => e;
|
19982
|
+
Jo = (a2) => a2.remoteTrackStats;
|
19983
|
+
Sa = (a2) => a2.peerStats;
|
19280
19984
|
xr = (a2) => a2.localTrackStats;
|
19281
|
-
Me = createSelector([
|
19282
|
-
|
19985
|
+
Me = createSelector([Sa, Wo], (a2, e) => a2[e]);
|
19986
|
+
Qo = createSelector(Me, (a2) => {
|
19283
19987
|
var e;
|
19284
19988
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
19285
19989
|
});
|
19286
|
-
|
19990
|
+
zo = createSelector(Me, (a2) => {
|
19287
19991
|
var e;
|
19288
19992
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
19289
19993
|
});
|
19290
|
-
|
19994
|
+
Yo = createSelector(Me, (a2) => {
|
19291
19995
|
var e;
|
19292
19996
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
19293
19997
|
});
|
19294
|
-
|
19998
|
+
Xo = createSelector(Me, (a2) => {
|
19295
19999
|
var e;
|
19296
20000
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
19297
20001
|
});
|
19298
|
-
|
20002
|
+
Zo = createSelector(Me, (a2) => {
|
19299
20003
|
var e;
|
19300
20004
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
19301
20005
|
});
|
19302
|
-
|
20006
|
+
en = createSelector(Me, (a2) => {
|
19303
20007
|
var e;
|
19304
20008
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
19305
20009
|
});
|
19306
|
-
|
20010
|
+
tn = createSelector(Me, (a2) => {
|
19307
20011
|
var e;
|
19308
20012
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
19309
20013
|
});
|
19310
|
-
|
20014
|
+
rn = createSelector(Me, (a2) => {
|
19311
20015
|
var e;
|
19312
20016
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
19313
20017
|
});
|
19314
|
-
|
19315
|
-
|
19316
|
-
Ur = createSelector([xr,
|
19317
|
-
|
19318
|
-
|
19319
|
-
|
20018
|
+
sn = createSelector([Sa, jo], (a2, e) => e ? a2[e] : void 0);
|
20019
|
+
an = createSelector([Jo, ma], (a2, e) => e ? a2[e] : void 0);
|
20020
|
+
Ur = createSelector([xr, ma], (a2, e) => e ? a2[e] : void 0);
|
20021
|
+
on = A(sn);
|
20022
|
+
nn = A(an);
|
20023
|
+
cn = createSelector([xr, Ko], (a2, e) => {
|
19320
20024
|
var t;
|
19321
20025
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19322
20026
|
});
|
19323
|
-
|
19324
|
-
|
20027
|
+
dn = A(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
|
20028
|
+
ln = createSelector([xr, qo], (a2, e) => {
|
19325
20029
|
var t;
|
19326
20030
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19327
20031
|
});
|
19328
|
-
|
20032
|
+
un = A(createSelector(Ur, (a2) => a2));
|
19329
20033
|
}
|
19330
20034
|
});
|
19331
20035
|
|
@@ -25441,7 +26145,7 @@ var init_Chat = __esm({
|
|
25441
26145
|
const listRef = (0, import_react136.useRef)(null);
|
25442
26146
|
const hmsActions = (0, import_react_sdk65.useHMSActions)();
|
25443
26147
|
const vanillaStore = (0, import_react_sdk65.useHMSVanillaStore)();
|
25444
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk65.useHMSStore)(
|
26148
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk65.useHMSStore)(zh("chatState" /* CHAT_STATE */)) || {};
|
25445
26149
|
const isMobile = (0, import_react_use20.useMedia)(config.media.md);
|
25446
26150
|
const scrollToBottom = (0, import_react136.useCallback)(
|
25447
26151
|
(unreadCount = 0) => {
|
@@ -25479,7 +26183,7 @@ var init_Chat = __esm({
|
|
25479
26183
|
scrollToBottom,
|
25480
26184
|
listRef
|
25481
26185
|
}) => {
|
25482
|
-
const unreadCount = (0, import_react_sdk65.useHMSStore)(
|
26186
|
+
const unreadCount = (0, import_react_sdk65.useHMSStore)(Bn);
|
25483
26187
|
if (!unreadCount || !listRef.current) {
|
25484
26188
|
return null;
|
25485
26189
|
}
|
@@ -26663,8 +27367,8 @@ var init_VBPicker = __esm({
|
|
26663
27367
|
const [blurAmount, setBlurAmount] = (0, import_react146.useState)(VBHandler.getBlurAmount() || 0.5);
|
26664
27368
|
const roomState = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectRoomState);
|
26665
27369
|
const isLargeRoom = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectIsLargeRoom);
|
26666
|
-
const isEffectsEnabled = (0, import_react_sdk72.useHMSStore)(
|
26667
|
-
const effectsKey = (0, import_react_sdk72.useHMSStore)(
|
27370
|
+
const isEffectsEnabled = (0, import_react_sdk72.useHMSStore)(Yn);
|
27371
|
+
const effectsKey = (0, import_react_sdk72.useHMSStore)(Xn);
|
26668
27372
|
const isPluginAdded = (0, import_react_sdk72.useHMSStore)((0, import_react_sdk72.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
26669
27373
|
const [activeBackground, setActiveBackground] = (0, import_react146.useState)(
|
26670
27374
|
((_b7 = VBHandler) == null ? void 0 : _b7.getBackground()) || import_hms_virtual_background3.HMSVirtualBackgroundTypes.NONE
|
@@ -31493,7 +32197,7 @@ function Notifications() {
|
|
31493
32197
|
}, []);
|
31494
32198
|
(0, import_react_sdk111.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
31495
32199
|
(0, import_react209.useEffect)(() => {
|
31496
|
-
var _a8, _b7, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l,
|
32200
|
+
var _a8, _b7, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
|
31497
32201
|
if (!notification || isNotificationDisabled) {
|
31498
32202
|
return;
|
31499
32203
|
}
|
@@ -31542,11 +32246,11 @@ function Notifications() {
|
|
31542
32246
|
if (!subscribedNotifications.ERROR)
|
31543
32247
|
return;
|
31544
32248
|
ToastManager.addToast({
|
31545
|
-
title: `Error: ${(_l = notification.data) == null ? void 0 : _l.message} - ${(
|
32249
|
+
title: `Error: ${(_l = notification.data) == null ? void 0 : _l.message} - ${(_m2 = notification.data) == null ? void 0 : _m2.description}`
|
31546
32250
|
});
|
31547
32251
|
break;
|
31548
32252
|
case import_react_sdk111.HMSNotificationTypes.ROLE_UPDATED: {
|
31549
|
-
if (((_n2 = notification.data) == null ? void 0 : _n2.isLocal) && ((
|
32253
|
+
if (((_n2 = notification.data) == null ? void 0 : _n2.isLocal) && ((_o2 = notification.data) == null ? void 0 : _o2.roleName)) {
|
31550
32254
|
ToastManager.addToast({
|
31551
32255
|
title: `You are now a ${notification.data.roleName}`
|
31552
32256
|
});
|