@100mslive/roomkit-react 0.2.1-alpha.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-QPKBRL74.js → HLSView-U7FQ2YLK.js} +2 -2
- package/dist/{chunk-LRZEFY46.js → chunk-GNQAOG73.js} +103 -91
- package/dist/chunk-GNQAOG73.js.map +7 -0
- package/dist/index.cjs.js +100 -88
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +18 -18
- package/dist/meta.esbuild.json +25 -25
- package/package.json +11 -6
- package/src/Prebuilt/components/Notifications/Notifications.tsx +14 -1
- package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.jsx +3 -4
- package/src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx +6 -5
- package/src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx +4 -1
- package/src/Toast/Toast.tsx +1 -0
- package/dist/chunk-LRZEFY46.js.map +0 -7
- /package/dist/{HLSView-QPKBRL74.js.map → HLSView-U7FQ2YLK.js.map} +0 -0
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_228610ec-ca0f-4a50-ae71-c5237cde2d9d", 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.1-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_228610ec-ca0f-4a50-ae71-c5237cde2d9d", 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.1-alpha.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.5", 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", 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: "576", 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.12/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.5/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240116.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:17691", 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.1-alpha.1", 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: "7551280157", 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: "8e59b80ba249933faedfafd0c9fef523a07dc74c", 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: "76ec50c97762fbb0763135d5940ee2a1ed87bf6be19adccfe5f2cd95d388ee3f", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", 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--1705467958103-0.10883706837497997:/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--1705467957818-0.6844147917774273:/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--1705467915541-0.34240564272992513:/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--1705467915265-0.1522992275885935:/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_e0540d66-5861-4107-8691-1fe3b5c8a942", INVOCATION_ID: "12e4d6727da14232907401e8c96d9ba6", 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", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "412", 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 2", 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.1-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_NM: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.1-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", 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: "8e59b80ba249933faedfafd0c9fef523a07dc74c", 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: "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_228610ec-ca0f-4a50-ae71-c5237cde2d9d", 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.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_228610ec-ca0f-4a50-ae71-c5237cde2d9d", 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_228610ec-ca0f-4a50-ae71-c5237cde2d9d" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5bb1b49a-a892-4389-be0a-e6c1ac4d9278", 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.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5bb1b49a-a892-4389-be0a-e6c1ac4d9278", 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.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.5", 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: "587", 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.12/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.5/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240116.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:18220", 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.1", 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: "7581386761", 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: "d059b6f9ea6851f26271332df4cf83c9a4f3d567", 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: "563fa88ae30f556184862c3ef699a9d8b58e6a1cf7ef09a45333c2a07bd3dc27", 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--1705653583868-0.30605188987079:/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--1705653583674-0.13111361219514506:/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--1705653561343-0.18765335287556817:/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--1705653561165-0.44274391677102254:/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_b56e162d-8a5e-4ec3-b372-3cd8b0948b9b", INVOCATION_ID: "d9e6c2c528bc459ea085ea3128591820", 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: "413", 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 2", 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.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.1", 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: "d059b6f9ea6851f26271332df4cf83c9a4f3d567", 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: "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_5bb1b49a-a892-4389-be0a-e6c1ac4d9278", 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.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5bb1b49a-a892-4389-be0a-e6c1ac4d9278", 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_5bb1b49a-a892-4389-be0a-e6c1ac4d9278" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -10461,11 +10461,11 @@ var formatBytes = (bytes, unit = "B", decimals = 2) => {
|
|
10461
10461
|
return "-";
|
10462
10462
|
}
|
10463
10463
|
const k2 = 1024;
|
10464
|
-
const
|
10464
|
+
const dm2 = decimals < 0 ? 0 : decimals;
|
10465
10465
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
10466
10466
|
let i = Math.floor(Math.log(bytes) / Math.log(k2));
|
10467
10467
|
i === 0 && i++;
|
10468
|
-
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
10468
|
+
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2))} ${sizes[i]}`;
|
10469
10469
|
};
|
10470
10470
|
|
10471
10471
|
// src/Stats/StyledStats.tsx
|
@@ -10790,7 +10790,8 @@ var ToastDescription = styled(ToastPrimitives.Description, {
|
|
10790
10790
|
var ToastClose = styled(ToastPrimitives.Close, {});
|
10791
10791
|
var ToastAction = styled(ToastPrimitives.Action, {
|
10792
10792
|
cursor: "pointer",
|
10793
|
-
background: "none"
|
10793
|
+
background: "none",
|
10794
|
+
border: "none"
|
10794
10795
|
});
|
10795
10796
|
var ToastViewport = styled(ToastPrimitives.Viewport, {
|
10796
10797
|
position: "fixed",
|
@@ -14593,10 +14594,10 @@ var formatBytes2 = (bytes, unit = "B", decimals = 2) => {
|
|
14593
14594
|
if (bytes === 0)
|
14594
14595
|
return "0 " + unit;
|
14595
14596
|
const k2 = 1024;
|
14596
|
-
const
|
14597
|
+
const dm2 = decimals < 0 ? 0 : decimals;
|
14597
14598
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
14598
14599
|
const i = Math.floor(Math.log(bytes) / Math.log(k2));
|
14599
|
-
return parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
14600
|
+
return parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2)) + " " + sizes[i];
|
14600
14601
|
};
|
14601
14602
|
|
14602
14603
|
// src/Prebuilt/components/MoreSettings/BulkRoleChangeModal.jsx
|
@@ -17241,12 +17242,12 @@ import { v4 as eo } from "uuid";
|
|
17241
17242
|
import { v4 as ro } from "uuid";
|
17242
17243
|
import { EventEmitter2 as so } from "eventemitter2";
|
17243
17244
|
var Ht = __toESM(require_lib());
|
17244
|
-
import { EventEmitter2 as
|
17245
|
+
import { EventEmitter2 as Po } from "eventemitter2";
|
17245
17246
|
import { v4 as bo } from "uuid";
|
17246
17247
|
import { EventEmitter2 as Ro } from "eventemitter2";
|
17247
17248
|
import Ho from "eventemitter2";
|
17248
17249
|
import { v4 as Io } from "uuid";
|
17249
|
-
import { v4 as
|
17250
|
+
import { v4 as wo } from "uuid";
|
17250
17251
|
var ga = Object.defineProperty;
|
17251
17252
|
var Ta = Object.defineProperties;
|
17252
17253
|
var fa = Object.getOwnPropertyDescriptors;
|
@@ -17254,7 +17255,7 @@ var Ot = Object.getOwnPropertySymbols;
|
|
17254
17255
|
var Fr = Object.prototype.hasOwnProperty;
|
17255
17256
|
var Gr = Object.prototype.propertyIsEnumerable;
|
17256
17257
|
var Br = (a2, e, t) => e in a2 ? ga(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
17257
|
-
var
|
17258
|
+
var m = (a2, e) => {
|
17258
17259
|
for (var t in e || (e = {}))
|
17259
17260
|
Fr.call(e, t) && Br(a2, t, e[t]);
|
17260
17261
|
if (Ot)
|
@@ -17274,7 +17275,7 @@ var Qi = (a2, e) => {
|
|
17274
17275
|
};
|
17275
17276
|
var ya = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
17276
17277
|
var nr = ya((jc, Va) => {
|
17277
|
-
Va.exports = { version: "0.11.1
|
17278
|
+
Va.exports = { version: "0.11.1", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", 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/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"] };
|
17278
17279
|
});
|
17279
17280
|
var 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 || {});
|
17280
17281
|
var ka = ((e) => (e.CHAT = "chat", e))(ka || {});
|
@@ -17286,7 +17287,7 @@ function He(a2, e) {
|
|
17286
17287
|
if (e)
|
17287
17288
|
for (let r of e.auxiliaryTracks) {
|
17288
17289
|
let s = a2[r];
|
17289
|
-
|
17290
|
+
Pa(s) && (i = Ze(s) ? s : i, t = et(s) ? s : t);
|
17290
17291
|
}
|
17291
17292
|
return { video: t, audio: i };
|
17292
17293
|
}
|
@@ -17296,7 +17297,7 @@ function Ze(a2) {
|
|
17296
17297
|
function et(a2) {
|
17297
17298
|
return a2 && a2.type === "video";
|
17298
17299
|
}
|
17299
|
-
function
|
17300
|
+
function Pa(a2) {
|
17300
17301
|
return a2 && a2.source === "screen";
|
17301
17302
|
}
|
17302
17303
|
function Vt(a2) {
|
@@ -17317,20 +17318,20 @@ function it(a2) {
|
|
17317
17318
|
return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
|
17318
17319
|
}
|
17319
17320
|
var U = (a2) => a2.room;
|
17320
|
-
var
|
17321
|
-
var yn = createSelector(
|
17321
|
+
var Ea = (a2) => a2.errors;
|
17322
|
+
var yn = createSelector(Ea, (a2) => a2.length === 0 ? null : a2.at(-1));
|
17322
17323
|
var kn = createSelector(U, (a2) => a2.id);
|
17323
17324
|
var G = (a2) => a2.peers;
|
17324
17325
|
var Bt = (a2) => a2.messages.byID;
|
17325
17326
|
var jr = (a2) => a2.messages.allIDs;
|
17326
|
-
var
|
17327
|
+
var w = (a2) => a2.tracks;
|
17327
17328
|
var Xi = (a2) => a2.appData;
|
17328
17329
|
var Aa = (a2) => a2.speakers;
|
17329
17330
|
var ye = createSelector([U], (a2) => a2 && a2.isConnected);
|
17330
17331
|
var An = 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));
|
17331
17332
|
var ba = (a2) => a2.hideLocalPeer;
|
17332
17333
|
var 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]));
|
17333
|
-
var Ra = createSelector(
|
17334
|
+
var Ra = createSelector(w, (a2) => Object.values(a2));
|
17334
17335
|
var Q = createSelector(U, G, (a2, e) => e[a2.localPeer]);
|
17335
17336
|
var ue = createSelector(U, (a2) => a2.localPeer);
|
17336
17337
|
var bn = createSelector(Q, (a2) => a2 == null ? void 0 : a2.name);
|
@@ -17356,11 +17357,11 @@ var In = createSelector(G, Aa, (a2, e) => {
|
|
17356
17357
|
}
|
17357
17358
|
return null;
|
17358
17359
|
});
|
17359
|
-
var er = createSelector(Q,
|
17360
|
+
var er = createSelector(Q, w, (a2, e) => {
|
17360
17361
|
let { video: t, audio: i } = He(e, a2);
|
17361
17362
|
return !!(t || i);
|
17362
17363
|
});
|
17363
|
-
var Ia = createSelector(G,
|
17364
|
+
var Ia = createSelector(G, w, (a2, e) => {
|
17364
17365
|
let t;
|
17365
17366
|
for (let i in a2) {
|
17366
17367
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -17371,14 +17372,14 @@ var Ia = createSelector(G, D, (a2, e) => {
|
|
17371
17372
|
return t;
|
17372
17373
|
});
|
17373
17374
|
var Ln = createSelector(Ia, (a2) => !!a2);
|
17374
|
-
var
|
17375
|
+
var wn = createSelector(G, w, (a2, e) => {
|
17375
17376
|
for (let t in a2) {
|
17376
17377
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
17377
17378
|
if (!s && r)
|
17378
17379
|
return i;
|
17379
17380
|
}
|
17380
17381
|
});
|
17381
|
-
var
|
17382
|
+
var Dn = createSelector(G, w, (a2, e) => {
|
17382
17383
|
let t = [], i = [];
|
17383
17384
|
for (let r in a2) {
|
17384
17385
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -17386,14 +17387,14 @@ var wn = createSelector(G, D, (a2, e) => {
|
|
17386
17387
|
}
|
17387
17388
|
return t.concat(i);
|
17388
17389
|
});
|
17389
|
-
var _n = createSelector(G,
|
17390
|
+
var _n = createSelector(G, w, (a2, e) => {
|
17390
17391
|
for (let t in e) {
|
17391
17392
|
let i = e[t];
|
17392
17393
|
if (tt(i) && et(i) && i.peerId)
|
17393
17394
|
return a2[i.peerId];
|
17394
17395
|
}
|
17395
17396
|
});
|
17396
|
-
var Nn = createSelector(G,
|
17397
|
+
var Nn = createSelector(G, w, (a2, e) => {
|
17397
17398
|
for (let t in e) {
|
17398
17399
|
let i = e[t];
|
17399
17400
|
if (Vt(i) && i.peerId)
|
@@ -17440,8 +17441,8 @@ var Qn = createSelector(U, (a2) => !!a2.isEffectsEnabled);
|
|
17440
17441
|
var zn = createSelector(U, (a2) => a2.effectsKey);
|
17441
17442
|
var es = (a2) => a2.polls;
|
17442
17443
|
var ec = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
|
17443
|
-
var
|
17444
|
-
var tc = createSelector(
|
17444
|
+
var wa = (a2) => a2.whiteboards;
|
17445
|
+
var tc = createSelector(wa, (a2) => Object.values(a2)[0]);
|
17445
17446
|
var is = (a2 = "audio") => (e) => e.playlist[a2].list;
|
17446
17447
|
var tr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
17447
17448
|
var rs = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -17459,7 +17460,7 @@ function A(a2) {
|
|
17459
17460
|
return (e) => (t) => a2(t, e);
|
17460
17461
|
}
|
17461
17462
|
var us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
|
17462
|
-
var
|
17463
|
+
var Da = typeof window != "undefined" && typeof window.expect != "undefined";
|
17463
17464
|
var d = class {
|
17464
17465
|
static v(e, ...t) {
|
17465
17466
|
this.log(0, e, ...t);
|
@@ -17525,7 +17526,7 @@ var d = class {
|
|
17525
17526
|
}
|
17526
17527
|
}
|
17527
17528
|
};
|
17528
|
-
d.level =
|
17529
|
+
d.level = Da ? 7 : 0;
|
17529
17530
|
var pe = new import_ua_parser_js.UAParser();
|
17530
17531
|
var N = typeof window != "undefined";
|
17531
17532
|
var ps;
|
@@ -17533,8 +17534,8 @@ var Ie = typeof window == "undefined" && !((ps = pe.getBrowser().name) != null &
|
|
17533
17534
|
var Na = () => !Ie;
|
17534
17535
|
var dc = Na();
|
17535
17536
|
var hs;
|
17536
|
-
var
|
17537
|
-
var gs = ((
|
17537
|
+
var ms;
|
17538
|
+
var gs = ((ms = (hs = pe.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
|
17538
17539
|
function Oa() {
|
17539
17540
|
if (N && window) {
|
17540
17541
|
let a2 = window.location.hostname;
|
@@ -17765,12 +17766,12 @@ var H = class {
|
|
17765
17766
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Ba(), this.device_id = fs();
|
17766
17767
|
}
|
17767
17768
|
toSignalParams() {
|
17768
|
-
return { name: this.name, info: y(
|
17769
|
+
return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: Ue }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
17769
17770
|
}
|
17770
17771
|
};
|
17771
17772
|
var M = class {
|
17772
17773
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
17773
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(y(
|
17774
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(y(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
17774
17775
|
return new H({ name: o, level: n, properties: l });
|
17775
17776
|
}
|
17776
17777
|
static disconnect(e, t) {
|
@@ -17784,7 +17785,7 @@ var M = class {
|
|
17784
17785
|
}
|
17785
17786
|
static join(i) {
|
17786
17787
|
var r = i, { error: e } = r, t = Qi(r, ["error"]);
|
17787
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(
|
17788
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
17788
17789
|
return new H({ name: s, level: o, properties: n });
|
17789
17790
|
}
|
17790
17791
|
static publish({ devices: e, settings: t, error: i }) {
|
@@ -17827,7 +17828,7 @@ var M = class {
|
|
17827
17828
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
17828
17829
|
if (!t && e.degradedAt instanceof Date) {
|
17829
17830
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
17830
|
-
s = y(
|
17831
|
+
s = y(m({}, s), { duration: n, restoredAt: o });
|
17831
17832
|
}
|
17832
17833
|
return new H({ name: i, level: r, properties: s });
|
17833
17834
|
}
|
@@ -17849,7 +17850,7 @@ var M = class {
|
|
17849
17850
|
}
|
17850
17851
|
static getPropertiesWithError(e, t) {
|
17851
17852
|
let i = this.getErrorProperties(t);
|
17852
|
-
return e =
|
17853
|
+
return e = m(m({}, i), e), e;
|
17853
17854
|
}
|
17854
17855
|
static getErrorProperties(e) {
|
17855
17856
|
return e ? e instanceof T ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
@@ -17961,8 +17962,8 @@ var hr = class {
|
|
17961
17962
|
}
|
17962
17963
|
};
|
17963
17964
|
var Ls = new hr();
|
17964
|
-
var
|
17965
|
-
var
|
17965
|
+
var mr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(mr || {});
|
17966
|
+
var Sr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Sr || {});
|
17966
17967
|
var _s = "https://event.100ms.live/v2/client/report";
|
17967
17968
|
var Ns = "https://event-nonprod.100ms.live/v2/client/report";
|
17968
17969
|
var qe = class {
|
@@ -18036,31 +18037,31 @@ var k = class {
|
|
18036
18037
|
};
|
18037
18038
|
k.level = 0;
|
18038
18039
|
var Ar = (a2, e) => e;
|
18039
|
-
var
|
18040
|
+
var mt = (a2, e) => e;
|
18040
18041
|
var Gs = (a2, e) => e;
|
18041
18042
|
var ao = (a2, e) => e;
|
18042
18043
|
var oo = (a2, e) => e;
|
18043
18044
|
var j = createSelector([G, Ar], (a2, e) => e ? a2[e] : null);
|
18044
|
-
var br = createSelector([
|
18045
|
-
var no = createSelector([
|
18045
|
+
var br = createSelector([w, mt], (a2, e) => e ? a2[e] : null);
|
18046
|
+
var no = createSelector([w, mt], (a2, e) => {
|
18046
18047
|
if (!e)
|
18047
18048
|
return null;
|
18048
18049
|
let t = a2[e];
|
18049
18050
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
18050
18051
|
});
|
18051
|
-
var co = createSelector([
|
18052
|
+
var co = createSelector([w, mt], (a2, e) => {
|
18052
18053
|
if (!e)
|
18053
18054
|
return null;
|
18054
18055
|
let t = a2[e];
|
18055
18056
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
18056
18057
|
});
|
18057
|
-
var lo = createSelector([
|
18058
|
+
var lo = createSelector([w, mt], (a2, e) => {
|
18058
18059
|
if (!e)
|
18059
18060
|
return null;
|
18060
18061
|
let t = a2[e];
|
18061
18062
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
18062
18063
|
});
|
18063
|
-
var uo = createSelector([
|
18064
|
+
var uo = createSelector([w, mt], (a2, e) => {
|
18064
18065
|
if (!e)
|
18065
18066
|
return null;
|
18066
18067
|
let t = a2[e];
|
@@ -18089,7 +18090,7 @@ var ho = A((a2, e) => {
|
|
18089
18090
|
if (t && t.videoTrack && t.videoTrack !== "")
|
18090
18091
|
return a2.tracks[t.videoTrack];
|
18091
18092
|
});
|
18092
|
-
var
|
18093
|
+
var mo = A((a2, e) => {
|
18093
18094
|
let t = j(a2, e);
|
18094
18095
|
if (t && t.audioTrack && t.audioTrack !== "")
|
18095
18096
|
return a2.tracks[t.audioTrack];
|
@@ -18099,51 +18100,51 @@ var Zh = A((a2, e) => {
|
|
18099
18100
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
18100
18101
|
});
|
18101
18102
|
var Ws = (a2, e) => e ? a2.speakers[e] : null;
|
18102
|
-
var
|
18103
|
-
var
|
18104
|
-
let t =
|
18103
|
+
var em = A(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
18104
|
+
var So = (a2, e) => {
|
18105
|
+
let t = mo(e)(a2);
|
18105
18106
|
return Ws(a2, t == null ? void 0 : t.id);
|
18106
18107
|
};
|
18107
|
-
var
|
18108
|
-
var
|
18108
|
+
var tm = A(createSelector(So, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
18109
|
+
var im = A((a2, e) => {
|
18109
18110
|
if (e)
|
18110
18111
|
return a2.connectionQualities[e];
|
18111
18112
|
});
|
18112
|
-
var
|
18113
|
+
var rm = A((a2, e) => {
|
18113
18114
|
let t = j(a2, e);
|
18114
18115
|
if (t) {
|
18115
18116
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => Ze(a2.tracks[r]));
|
18116
18117
|
return i ? a2.tracks[i] : void 0;
|
18117
18118
|
}
|
18118
18119
|
});
|
18119
|
-
var
|
18120
|
+
var sm = A(createSelector(w, j, (a2, e) => {
|
18120
18121
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18121
18122
|
let r = a2[i];
|
18122
18123
|
return tt(r) && et(r);
|
18123
18124
|
});
|
18124
18125
|
return t ? a2[t] : void 0;
|
18125
18126
|
}));
|
18126
|
-
var
|
18127
|
+
var am = A(createSelector(w, j, (a2, e) => {
|
18127
18128
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18128
18129
|
let r = a2[i];
|
18129
18130
|
return tt(r) && Ze(r);
|
18130
18131
|
});
|
18131
18132
|
return t ? a2[t] : void 0;
|
18132
18133
|
}));
|
18133
|
-
var
|
18134
|
+
var om = A(createSelector(w, j, (a2, e) => {
|
18134
18135
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18135
18136
|
let r = a2[i];
|
18136
18137
|
return Vt(r) && Ze(r);
|
18137
18138
|
});
|
18138
18139
|
return t ? a2[t] : void 0;
|
18139
18140
|
}));
|
18140
|
-
var Ks = A(createSelector(
|
18141
|
+
var Ks = A(createSelector(w, j, (a2, e) => He(a2, e)));
|
18141
18142
|
var qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
|
18142
|
-
var
|
18143
|
+
var cm = A((a2, e) => {
|
18143
18144
|
let t = j(a2, e);
|
18144
18145
|
return Oe(a2, t == null ? void 0 : t.audioTrack);
|
18145
18146
|
});
|
18146
|
-
var
|
18147
|
+
var dm = A((a2, e) => {
|
18147
18148
|
let t = j(a2, e);
|
18148
18149
|
return Oe(a2, t == null ? void 0 : t.videoTrack);
|
18149
18150
|
});
|
@@ -18151,11 +18152,11 @@ var js = A((a2, e) => {
|
|
18151
18152
|
if (e && a2.tracks[e])
|
18152
18153
|
return a2.tracks[e].volume === 0;
|
18153
18154
|
});
|
18154
|
-
var
|
18155
|
+
var lm = A((a2, e) => {
|
18155
18156
|
let t = j(a2, e);
|
18156
18157
|
return js(t == null ? void 0 : t.audioTrack)(a2);
|
18157
18158
|
});
|
18158
|
-
var
|
18159
|
+
var um = A((a2, e) => {
|
18159
18160
|
let t = qs(e)(a2);
|
18160
18161
|
return js(t == null ? void 0 : t.id)(a2);
|
18161
18162
|
});
|
@@ -18169,15 +18170,15 @@ var Js = A((a2, e) => {
|
|
18169
18170
|
return t.volume;
|
18170
18171
|
}
|
18171
18172
|
});
|
18172
|
-
var
|
18173
|
+
var pm = A((a2, e) => {
|
18173
18174
|
let t = j(a2, e);
|
18174
18175
|
return Js(t == null ? void 0 : t.audioTrack)(a2);
|
18175
18176
|
});
|
18176
|
-
var
|
18177
|
+
var hm = A((a2, e) => {
|
18177
18178
|
let t = qs(e)(a2);
|
18178
18179
|
return Js(t == null ? void 0 : t.id)(a2);
|
18179
18180
|
});
|
18180
|
-
var
|
18181
|
+
var mm = A((a2, e) => {
|
18181
18182
|
let t = br(a2, e);
|
18182
18183
|
if (t) {
|
18183
18184
|
if (t.type !== "video") {
|
@@ -18207,25 +18208,25 @@ var go = createSelector(rt, (a2) => a2.filter((e) => {
|
|
18207
18208
|
}));
|
18208
18209
|
var To = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
18209
18210
|
var fo = createSelector([Qs, Ar], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
18210
|
-
var
|
18211
|
-
var
|
18212
|
-
var
|
18213
|
-
var
|
18214
|
-
var
|
18211
|
+
var Sm = createSelector(go, (a2) => a2.filter((e) => !e.read).length);
|
18212
|
+
var gm = A(Qs);
|
18213
|
+
var Tm = A(zs);
|
18214
|
+
var fm = A(To);
|
18215
|
+
var vm = A(fo);
|
18215
18216
|
var Ys = A(po);
|
18216
|
-
var
|
18217
|
+
var Cm = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
18217
18218
|
var r;
|
18218
18219
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
18219
18220
|
}));
|
18220
18221
|
var vo = (a2) => a2.roleChangeRequests[0] || null;
|
18221
|
-
var
|
18222
|
-
var
|
18223
|
-
var
|
18224
|
-
var yo = createSelector([K,
|
18222
|
+
var Lm = createSelector([vo, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
18223
|
+
var wm = createSelector([Ft], (a2) => it(a2));
|
18224
|
+
var Dm = createSelector([Xr], (a2) => it(a2));
|
18225
|
+
var yo = createSelector([K, w], (a2, e) => {
|
18225
18226
|
let t = null;
|
18226
18227
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
18227
18228
|
});
|
18228
|
-
var ko = createSelector([Z,
|
18229
|
+
var ko = createSelector([Z, w], (a2, e) => {
|
18229
18230
|
let t = null;
|
18230
18231
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
18231
18232
|
});
|
@@ -18282,11 +18283,11 @@ var Go = (a2) => a2.localPeer.id;
|
|
18282
18283
|
var $o = (a2) => a2.localPeer.audioTrack;
|
18283
18284
|
var Wo = (a2) => a2.localPeer.videoTrack;
|
18284
18285
|
var Ko = (a2, e) => e;
|
18285
|
-
var
|
18286
|
+
var ma = (a2, e) => e;
|
18286
18287
|
var qo = (a2) => a2.remoteTrackStats;
|
18287
|
-
var
|
18288
|
+
var Sa = (a2) => a2.peerStats;
|
18288
18289
|
var xr = (a2) => a2.localTrackStats;
|
18289
|
-
var Me = createSelector([
|
18290
|
+
var Me = createSelector([Sa, Go], (a2, e) => a2[e]);
|
18290
18291
|
var jo = createSelector(Me, (a2) => {
|
18291
18292
|
var e;
|
18292
18293
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
@@ -18319,9 +18320,9 @@ var en = createSelector(Me, (a2) => {
|
|
18319
18320
|
var e;
|
18320
18321
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
18321
18322
|
});
|
18322
|
-
var tn = createSelector([
|
18323
|
-
var rn = createSelector([qo,
|
18324
|
-
var Ur = createSelector([xr,
|
18323
|
+
var tn = createSelector([Sa, Ko], (a2, e) => e ? a2[e] : void 0);
|
18324
|
+
var rn = createSelector([qo, ma], (a2, e) => e ? a2[e] : void 0);
|
18325
|
+
var Ur = createSelector([xr, ma], (a2, e) => e ? a2[e] : void 0);
|
18325
18326
|
var sn = A(tn);
|
18326
18327
|
var an = A(rn);
|
18327
18328
|
var on = createSelector([xr, $o], (a2, e) => {
|
@@ -20894,7 +20895,6 @@ var AddMenu = () => {
|
|
20894
20895
|
const actions = useHMSActions25();
|
20895
20896
|
const [title, setTitle] = useState32("");
|
20896
20897
|
const localPeerRoleName = useHMSStore36(selectLocalPeerRoleName);
|
20897
|
-
const [anonymous, setAnonymous] = useState32(false);
|
20898
20898
|
const [hideVoteCount, setHideVoteCount] = useState32(false);
|
20899
20899
|
const [error, setError] = useState32();
|
20900
20900
|
const [titleError, setTitleError] = useState32("");
|
@@ -20952,7 +20952,7 @@ var AddMenu = () => {
|
|
20952
20952
|
border: "1px solid $border_default"
|
20953
20953
|
}
|
20954
20954
|
}
|
20955
|
-
), /* @__PURE__ */ React81.createElement(Flex, { align: "center", css: { mt: "$10" } }, /* @__PURE__ */ React81.createElement(Switch, { onCheckedChange: (value) => setHideVoteCount(value), css: { mr: "$6" } }), /* @__PURE__ */ React81.createElement(Text, { variant: "body2", css: { c: "$on_surface_medium" } }, "Hide Vote Count")), /* @__PURE__ */ React81.createElement(
|
20955
|
+
), /* @__PURE__ */ React81.createElement(Flex, { align: "center", css: { mt: "$10" } }, /* @__PURE__ */ React81.createElement(Switch, { onCheckedChange: (value) => setHideVoteCount(value), css: { mr: "$6" } }), /* @__PURE__ */ React81.createElement(Text, { variant: "body2", css: { c: "$on_surface_medium" } }, "Hide Vote Count")), /* @__PURE__ */ React81.createElement(
|
20956
20956
|
Button,
|
20957
20957
|
{
|
20958
20958
|
variant: "primary",
|
@@ -20963,7 +20963,7 @@ var AddMenu = () => {
|
|
20963
20963
|
yield actions.interactivityCenter.createPoll({
|
20964
20964
|
id,
|
20965
20965
|
title,
|
20966
|
-
anonymous,
|
20966
|
+
anonymous: false,
|
20967
20967
|
rolesThatCanViewResponses: hideVoteCount && localPeerRoleName ? [localPeerRoleName] : void 0,
|
20968
20968
|
type: interactionType.toLowerCase()
|
20969
20969
|
// duration: showTimerDropDown ? timer : undefined,
|
@@ -21317,7 +21317,6 @@ var QuestionForm = ({
|
|
21317
21317
|
{ text: "", isCorrectAnswer: false }
|
21318
21318
|
]
|
21319
21319
|
);
|
21320
|
-
const [skippable, setSkippable] = useState33(false);
|
21321
21320
|
const isValid = isValidQuestion({
|
21322
21321
|
text,
|
21323
21322
|
type,
|
@@ -21459,7 +21458,7 @@ var QuestionForm = ({
|
|
21459
21458
|
maxWidth: "$20"
|
21460
21459
|
}
|
21461
21460
|
}
|
21462
|
-
))
|
21461
|
+
))) : null) : null, /* @__PURE__ */ React89.createElement(Flex, { justify: "end", align: "center", css: { mt: "$12", gap: "$8" } }, /* @__PURE__ */ React89.createElement(IconButton, { css: { border: "1px solid $border_bright" } }, /* @__PURE__ */ React89.createElement(TrashIcon3, { onClick: () => setOpenDelete(!open) })), /* @__PURE__ */ React89.createElement(
|
21463
21462
|
Tooltip,
|
21464
21463
|
{
|
21465
21464
|
disabled: isValid,
|
@@ -21477,7 +21476,7 @@ var QuestionForm = ({
|
|
21477
21476
|
text,
|
21478
21477
|
type,
|
21479
21478
|
options,
|
21480
|
-
skippable,
|
21479
|
+
skippable: false,
|
21481
21480
|
draftID: question.draftID,
|
21482
21481
|
weight
|
21483
21482
|
});
|
@@ -21773,7 +21772,10 @@ var PeerParticipationSummary = ({ quiz }) => {
|
|
21773
21772
|
value: `${summary.totalUsers ? (100 * summary.correctUsers / summary.totalUsers).toFixed(0) : 0}% (${summary.correctUsers}/${summary.totalUsers})`
|
21774
21773
|
},
|
21775
21774
|
{ title: "Avg. Time Taken", value: summary.avgTime },
|
21776
|
-
{
|
21775
|
+
{
|
21776
|
+
title: "Avg. Score",
|
21777
|
+
value: Number.isInteger(summary.avgScore) ? summary.avgScore : summary.avgScore.toFixed(2)
|
21778
|
+
}
|
21777
21779
|
] : [
|
21778
21780
|
{ title: "Your rank", value: (peerEntry == null ? void 0 : peerEntry.position) ? `${peerEntry.position}/${summary.totalUsers}` : "-" },
|
21779
21781
|
{ title: "Points", value: peerEntry == null ? void 0 : peerEntry.score },
|
@@ -25877,10 +25879,10 @@ var useTileLayout = ({
|
|
25877
25879
|
tileHeight = maxRowHeight;
|
25878
25880
|
const calcWidths = aspectRatios.map((aR) => tileHeight * aR);
|
25879
25881
|
tileWidth = 0;
|
25880
|
-
for (const
|
25881
|
-
if (
|
25882
|
-
if (tileWidth <
|
25883
|
-
tileWidth =
|
25882
|
+
for (const w2 of calcWidths) {
|
25883
|
+
if (w2 < width) {
|
25884
|
+
if (tileWidth < w2) {
|
25885
|
+
tileWidth = w2;
|
25884
25886
|
}
|
25885
25887
|
}
|
25886
25888
|
}
|
@@ -26723,7 +26725,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
26723
26725
|
};
|
26724
26726
|
|
26725
26727
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
26726
|
-
var HLSView = React147.lazy(() => import("./HLSView-
|
26728
|
+
var HLSView = React147.lazy(() => import("./HLSView-U7FQ2YLK.js"));
|
26727
26729
|
var VideoStreamingSection = ({
|
26728
26730
|
screenType,
|
26729
26731
|
elements,
|
@@ -28183,6 +28185,7 @@ var TrackUnmuteModal = () => {
|
|
28183
28185
|
};
|
28184
28186
|
|
28185
28187
|
// src/Prebuilt/components/Notifications/Notifications.tsx
|
28188
|
+
var pollToastKey = {};
|
28186
28189
|
function Notifications() {
|
28187
28190
|
const localPeerID = useHMSStore81(selectLocalPeerID16);
|
28188
28191
|
const notification = useHMSNotifications10();
|
@@ -28286,7 +28289,7 @@ function Notifications() {
|
|
28286
28289
|
case HMSNotificationTypes10.POLL_STARTED:
|
28287
28290
|
if (notification.data.startedBy !== localPeerID && screenProps.screenType !== "hls_live_streaming") {
|
28288
28291
|
const pollStartedBy = vanillaStore.getState(selectPeerNameByID5(notification.data.startedBy)) || "Participant";
|
28289
|
-
ToastManager.addToast({
|
28292
|
+
const pollToastID = ToastManager.addToast({
|
28290
28293
|
title: `${pollStartedBy} started a ${notification.data.type}: ${notification.data.title}`,
|
28291
28294
|
action: /* @__PURE__ */ React164.createElement(
|
28292
28295
|
Button,
|
@@ -28301,8 +28304,17 @@ function Notifications() {
|
|
28301
28304
|
}
|
28302
28305
|
},
|
28303
28306
|
notification.data.type === "quiz" ? "Answer" : "Vote"
|
28304
|
-
)
|
28307
|
+
),
|
28308
|
+
duration: Infinity
|
28305
28309
|
});
|
28310
|
+
pollToastKey[notification.data.id] = pollToastID;
|
28311
|
+
}
|
28312
|
+
break;
|
28313
|
+
case HMSNotificationTypes10.POLL_STOPPED:
|
28314
|
+
const pollID = notification == null ? void 0 : notification.data.id;
|
28315
|
+
if (pollID && (pollToastKey == null ? void 0 : pollToastKey[pollID])) {
|
28316
|
+
ToastManager.removeToast(pollToastKey == null ? void 0 : pollToastKey[notification.data.id]);
|
28317
|
+
delete pollToastKey[notification == null ? void 0 : notification.data.id];
|
28306
28318
|
}
|
28307
28319
|
break;
|
28308
28320
|
default:
|
@@ -28907,4 +28919,4 @@ lodash/lodash.js:
|
|
28907
28919
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
28908
28920
|
*)
|
28909
28921
|
*/
|
28910
|
-
//# sourceMappingURL=chunk-
|
28922
|
+
//# sourceMappingURL=chunk-GNQAOG73.js.map
|