@100mslive/roomkit-react 0.3.9-alpha.0 → 0.3.9-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-SZL2TSWE.js → HLSView-VU7EAULT.js} +2 -2
- package/dist/{chunk-BKAJ6YG4.js → chunk-G5EI4B2P.js} +91 -83
- package/dist/{chunk-BKAJ6YG4.js.map → chunk-G5EI4B2P.js.map} +3 -3
- package/dist/index.cjs.js +82 -76
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +20 -15
- package/dist/meta.esbuild.json +27 -22
- package/package.json +6 -6
- package/src/Prebuilt/plugins/FlyingEmoji.jsx +30 -18
- /package/dist/{HLSView-SZL2TSWE.js.map → HLSView-VU7EAULT.js.map} +0 -0
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", 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.22 npm/? node/v18.20.2 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.10.9-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.9-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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "600", 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.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240414.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:16204", 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.3.9-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", STATS_D: "false", GITHUB_RUN_ID: "8795813995", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0e749918d6dddfed6208acd8e4dbfed267cc751e", 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: "c73f7ad0d8d76d694d83c573acd5cbeb5644d9153d2bffed5630e8b5a3da6760", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1713853590495-0.9320070312950524:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713853590298-0.6572167270280693:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713853568287-0.2407608006522226:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713853568112-0.40798663439255645:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_de27e526-2315-43bf-9e3a-967b5769c1eb", INVOCATION_ID: "ae9ae8e32e914b8886baff95608745f2", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "521", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 445", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_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.10.9-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.9-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: "0e749918d6dddfed6208acd8e4dbfed267cc751e", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", 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.172+1/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_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e916a87a-f341-4601-84c8-08f2f0b2a192", 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.22 npm/? node/v18.20.2 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.10.9-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e916a87a-f341-4601-84c8-08f2f0b2a192", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.9-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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "590", 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.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240414.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20555", 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.3.9-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", STATS_D: "false", GITHUB_RUN_ID: "8811942074", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "1b8cdadaee116534032f5c9523f3128a2df52368", 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: "e388f22c66d993066515e2eaac22cac5cb0146534ea69c0f0d93a324194c9c7c", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1713939544998-0.18702950735588342:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713939544785-0.12214411827087157:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713939523156-0.9236665094794765:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713939522977-0.6762987824103797:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ac7f435a-89d6-4921-877e-11053af17e7b", INVOCATION_ID: "cba8c5b9eeb64f8f83405d4295627898", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "522", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 143", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_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.10.9-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.9-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_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: "1b8cdadaee116534032f5c9523f3128a2df52368", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e916a87a-f341-4601-84c8-08f2f0b2a192", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e916a87a-f341-4601-84c8-08f2f0b2a192", 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.172+1/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_e916a87a-f341-4601-84c8-08f2f0b2a192" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -802,7 +802,7 @@ var require_lodash = __commonJS({
|
|
802
802
|
return string.match(reUnicodeWord) || [];
|
803
803
|
}
|
804
804
|
var runInContext = function runInContext2(context) {
|
805
|
-
context = context == null ? root :
|
805
|
+
context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
|
806
806
|
var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
|
807
807
|
var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
|
808
808
|
var coreJsData = context["__core-js_shared__"];
|
@@ -5576,17 +5576,17 @@ var require_lodash = __commonJS({
|
|
5576
5576
|
}
|
5577
5577
|
return lodash;
|
5578
5578
|
};
|
5579
|
-
var
|
5579
|
+
var _ = runInContext();
|
5580
5580
|
if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
|
5581
|
-
root._ =
|
5581
|
+
root._ = _;
|
5582
5582
|
define(function() {
|
5583
|
-
return
|
5583
|
+
return _;
|
5584
5584
|
});
|
5585
5585
|
} else if (freeModule) {
|
5586
|
-
(freeModule.exports =
|
5587
|
-
freeExports._ =
|
5586
|
+
(freeModule.exports = _)._ = _;
|
5587
|
+
freeExports._ = _;
|
5588
5588
|
} else {
|
5589
|
-
root._ =
|
5589
|
+
root._ = _;
|
5590
5590
|
}
|
5591
5591
|
}).call(exports);
|
5592
5592
|
}
|
@@ -11056,7 +11056,7 @@ import { selectTrackAudioByID, useHMSVanillaStore } from "@100mslive/react-sdk";
|
|
11056
11056
|
var audio_level_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABABAMAAAAHc7SNAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAtUExURQAAAP///////////////////////////////////////////////////////6FIq5sAAAAOdFJOUwA/QJqbnJ2euLnc3d7+2IFKrQAAAa9JREFUaN7dmcFRxDAMRXNgW4AbV24ZSkgrlAAFUAqlpITtgT0QnB22BnY3iWXHSlYz5H/NoJNO8bP8JTlyVW1k923/MveYdnc623PuUe3jsux37tEDcN24eFR7HJb9TD2qvQ/LfqUexR7a41Xx7bDsMfWo2j+NlnpU7TsBiOKdAOqoeCcAUTwFYFK8pn0GgFLttWVxAEq1pwJo1Z4KoFV7KoBW7YEAT0uK729pfxuAZcX/3Fr2TwAx05cVDwWIu11RPBQg7lZ0XlR7JIDsdkXxCIDp5GXf2v0GBxBP3pTfAIB48qb83h7AWtlhANbKDgOwVnYYgLWywwCsn/u/AO5HMIqwcwOovdNwLESNG8BQioNfKa52YwBsakC04/MF9C1Rw4HdjhU1SCyKqOCvZCGLhXgMgKgGiUWRI9hr+aSG+bU8sP4LyliIxwW4xOI1j8pKZlB/Tjt794ANpKzdAzOgaOzdAzKiCVpmkACWM4MEIFVCyQzfQWXnPao9eA+rG+dxfXB8L1jNB4pN+bCfd4re59Gqoz9alflQ+zzb7ZROwTWlUziEIO8UZCs7hc1+AbiVW6XSE8knAAAAAElFTkSuQmCC";
|
11057
11057
|
|
11058
11058
|
// src/AudioLevel/AudioLevel.tsx
|
11059
|
-
var positionValues = new Array(101).fill(0).reduce((acc,
|
11059
|
+
var positionValues = new Array(101).fill(0).reduce((acc, _, index) => {
|
11060
11060
|
acc[index] = Math.round(index / 100 * 4) / 4;
|
11061
11061
|
return acc;
|
11062
11062
|
}, {});
|
@@ -11959,7 +11959,7 @@ import {
|
|
11959
11959
|
HMSReactiveStore,
|
11960
11960
|
HMSRoomProvider,
|
11961
11961
|
selectIsConnectedToRoom as selectIsConnectedToRoom13,
|
11962
|
-
useHMSActions as
|
11962
|
+
useHMSActions as useHMSActions56,
|
11963
11963
|
useHMSStore as useHMSStore99
|
11964
11964
|
} from "@100mslive/react-sdk";
|
11965
11965
|
|
@@ -18567,7 +18567,7 @@ import { v4 as eo } from "uuid";
|
|
18567
18567
|
import { v4 as so } from "uuid";
|
18568
18568
|
import { v4 as co } from "uuid";
|
18569
18569
|
import { EventEmitter2 as lo } from "eventemitter2";
|
18570
|
-
var
|
18570
|
+
var Dt = __toESM(require_lib());
|
18571
18571
|
import { EventEmitter2 as xo } from "eventemitter2";
|
18572
18572
|
import { v4 as Vo } from "uuid";
|
18573
18573
|
import { EventEmitter2 as Fo } from "eventemitter2";
|
@@ -18601,12 +18601,12 @@ var Zi = (a2, e) => {
|
|
18601
18601
|
};
|
18602
18602
|
var _a7 = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18603
18603
|
var nr = _a7((yc, Wa) => {
|
18604
|
-
Wa.exports = { version: "0.12.9-alpha.
|
18604
|
+
Wa.exports = { version: "0.12.9-alpha.1", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
18605
18605
|
});
|
18606
18606
|
var er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(er || {});
|
18607
18607
|
var Na = ((e) => (e.CHAT = "chat", e))(Na || {});
|
18608
18608
|
var jr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(jr || {});
|
18609
|
-
var tr = ((
|
18609
|
+
var tr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w))(tr || {});
|
18610
18610
|
var Jr = ((t) => (t.audio = "audio", t.video = "video", t))(Jr || {});
|
18611
18611
|
function He(a2, e) {
|
18612
18612
|
let t, i;
|
@@ -18712,7 +18712,7 @@ var d = class {
|
|
18712
18712
|
};
|
18713
18713
|
d.level = xa ? 7 : 0;
|
18714
18714
|
var pe = new import_ua_parser_js.UAParser();
|
18715
|
-
var
|
18715
|
+
var N = typeof window != "undefined";
|
18716
18716
|
var Xr;
|
18717
18717
|
var Ce = typeof window == "undefined" && !((Xr = pe.getBrowser().name) != null && Xr.toLowerCase().includes("electron"));
|
18718
18718
|
var Ba = () => !Ce;
|
@@ -18722,7 +18722,7 @@ var es;
|
|
18722
18722
|
var is = ((es = (Zr = pe.getBrowser()) == null ? void 0 : Zr.name) == null ? void 0 : es.toLowerCase()) === "firefox";
|
18723
18723
|
var rs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(rs || {});
|
18724
18724
|
function Va() {
|
18725
|
-
if (
|
18725
|
+
if (N && window) {
|
18726
18726
|
let a2 = window.location.hostname;
|
18727
18727
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
18728
18728
|
}
|
@@ -18894,7 +18894,7 @@ var sr = class {
|
|
18894
18894
|
};
|
18895
18895
|
var ss = () => {
|
18896
18896
|
try {
|
18897
|
-
|
18897
|
+
N && !localStorage && (window.localStorage = new sr());
|
18898
18898
|
} catch (a2) {
|
18899
18899
|
d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
|
18900
18900
|
}
|
@@ -18906,7 +18906,7 @@ var ne = class {
|
|
18906
18906
|
}
|
18907
18907
|
getStorage() {
|
18908
18908
|
try {
|
18909
|
-
return
|
18909
|
+
return N && !this.storage && (ss(), this.storage = window.localStorage), this.storage;
|
18910
18910
|
} catch (e) {
|
18911
18911
|
return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
|
18912
18912
|
}
|
@@ -19122,7 +19122,7 @@ var hr = class {
|
|
19122
19122
|
this.createObserver();
|
19123
19123
|
}
|
19124
19124
|
isSupported() {
|
19125
|
-
let e =
|
19125
|
+
let e = N && typeof window.IntersectionObserver != "undefined";
|
19126
19126
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
19127
19127
|
}
|
19128
19128
|
};
|
@@ -19150,7 +19150,7 @@ var mr = class {
|
|
19150
19150
|
this.createObserver();
|
19151
19151
|
}
|
19152
19152
|
isSupported() {
|
19153
|
-
let e =
|
19153
|
+
let e = N && typeof window.ResizeObserver != "undefined";
|
19154
19154
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
19155
19155
|
}
|
19156
19156
|
};
|
@@ -19170,16 +19170,16 @@ var Eh = createSelector(B, (a2) => a2.id);
|
|
19170
19170
|
var G = (a2) => a2.peers;
|
19171
19171
|
var ai = (a2) => a2.messages.byID;
|
19172
19172
|
var xs = (a2) => a2.messages.allIDs;
|
19173
|
-
var
|
19173
|
+
var D = (a2) => a2.tracks;
|
19174
19174
|
var br = (a2) => a2.appData;
|
19175
19175
|
var po = (a2) => a2.speakers;
|
19176
19176
|
var Re = createSelector([B], (a2) => a2 && a2.isConnected);
|
19177
19177
|
var bh = createSelector([Re, B], (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));
|
19178
19178
|
var ho = (a2) => a2.hideLocalPeer;
|
19179
19179
|
var le = createSelector([B, G, ho], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
19180
|
-
var mo = createSelector(
|
19180
|
+
var mo = createSelector(D, (a2) => Object.values(a2));
|
19181
19181
|
var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
|
19182
|
-
var
|
19182
|
+
var Te = createSelector(B, (a2) => a2.localPeer);
|
19183
19183
|
var Ih = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
|
19184
19184
|
var Rh = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
|
19185
19185
|
var te = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
@@ -19203,11 +19203,11 @@ var Ch = createSelector(G, po, (a2, e) => {
|
|
19203
19203
|
}
|
19204
19204
|
return null;
|
19205
19205
|
});
|
19206
|
-
var Rr = createSelector(z,
|
19206
|
+
var Rr = createSelector(z, D, (a2, e) => {
|
19207
19207
|
let { video: t, audio: i } = He(e, a2);
|
19208
19208
|
return !!(t || i);
|
19209
19209
|
});
|
19210
|
-
var go = createSelector(G,
|
19210
|
+
var go = createSelector(G, D, (a2, e) => {
|
19211
19211
|
let t;
|
19212
19212
|
for (let i in a2) {
|
19213
19213
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -19217,15 +19217,15 @@ var go = createSelector(G, w, (a2, e) => {
|
|
19217
19217
|
}
|
19218
19218
|
return t;
|
19219
19219
|
});
|
19220
|
-
var
|
19221
|
-
var
|
19220
|
+
var wh = createSelector(go, (a2) => !!a2);
|
19221
|
+
var Dh = createSelector(G, D, (a2, e) => {
|
19222
19222
|
for (let t in a2) {
|
19223
19223
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
19224
19224
|
if (!s && r)
|
19225
19225
|
return i;
|
19226
19226
|
}
|
19227
19227
|
});
|
19228
|
-
var _h = createSelector(G,
|
19228
|
+
var _h = createSelector(G, D, (a2, e) => {
|
19229
19229
|
let t = [], i = [];
|
19230
19230
|
for (let r in a2) {
|
19231
19231
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -19233,14 +19233,14 @@ var _h = createSelector(G, w, (a2, e) => {
|
|
19233
19233
|
}
|
19234
19234
|
return t.concat(i);
|
19235
19235
|
});
|
19236
|
-
var Nh = createSelector(G,
|
19236
|
+
var Nh = createSelector(G, D, (a2, e) => {
|
19237
19237
|
for (let t in e) {
|
19238
19238
|
let i = e[t];
|
19239
19239
|
if (rt(i) && it(i) && i.peerId)
|
19240
19240
|
return a2[i.peerId];
|
19241
19241
|
}
|
19242
19242
|
});
|
19243
|
-
var Oh = createSelector(G,
|
19243
|
+
var Oh = createSelector(G, D, (a2, e) => {
|
19244
19244
|
for (let t in e) {
|
19245
19245
|
let i = e[t];
|
19246
19246
|
if ($t(i) && i.peerId)
|
@@ -19379,26 +19379,26 @@ var ta = (a2, e) => e;
|
|
19379
19379
|
var Mo = (a2, e) => e;
|
19380
19380
|
var yo = (a2, e) => e;
|
19381
19381
|
var W = createSelector([G, Cr], (a2, e) => e ? a2[e] : null);
|
19382
|
-
var Lr = createSelector([
|
19383
|
-
var ko = createSelector([
|
19382
|
+
var Lr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
|
19383
|
+
var ko = createSelector([D, Tt], (a2, e) => {
|
19384
19384
|
if (!e)
|
19385
19385
|
return null;
|
19386
19386
|
let t = a2[e];
|
19387
19387
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
19388
19388
|
});
|
19389
|
-
var Eo = createSelector([
|
19389
|
+
var Eo = createSelector([D, Tt], (a2, e) => {
|
19390
19390
|
if (!e)
|
19391
19391
|
return null;
|
19392
19392
|
let t = a2[e];
|
19393
19393
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
19394
19394
|
});
|
19395
|
-
var Po = createSelector([
|
19395
|
+
var Po = createSelector([D, Tt], (a2, e) => {
|
19396
19396
|
if (!e)
|
19397
19397
|
return null;
|
19398
19398
|
let t = a2[e];
|
19399
19399
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19400
19400
|
});
|
19401
|
-
var Ao = createSelector([
|
19401
|
+
var Ao = createSelector([D, Tt], (a2, e) => {
|
19402
19402
|
if (!e)
|
19403
19403
|
return null;
|
19404
19404
|
let t = a2[e];
|
@@ -19455,34 +19455,34 @@ var Im = b((a2, e) => {
|
|
19455
19455
|
return i ? a2.tracks[i] : void 0;
|
19456
19456
|
}
|
19457
19457
|
});
|
19458
|
-
var Rm = b(createSelector(
|
19458
|
+
var Rm = b(createSelector(D, W, (a2, e) => {
|
19459
19459
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19460
19460
|
let r = a2[i];
|
19461
19461
|
return rt(r) && it(r);
|
19462
19462
|
});
|
19463
19463
|
return t ? a2[t] : void 0;
|
19464
19464
|
}));
|
19465
|
-
var Hm = b(createSelector(
|
19465
|
+
var Hm = b(createSelector(D, W, (a2, e) => {
|
19466
19466
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19467
19467
|
let r = a2[i];
|
19468
19468
|
return rt(r) && tt(r);
|
19469
19469
|
});
|
19470
19470
|
return t ? a2[t] : void 0;
|
19471
19471
|
}));
|
19472
|
-
var Cm = b(createSelector(
|
19472
|
+
var Cm = b(createSelector(D, W, (a2, e) => {
|
19473
19473
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19474
19474
|
let r = a2[i];
|
19475
19475
|
return $t(r) && tt(r);
|
19476
19476
|
});
|
19477
19477
|
return t ? a2[t] : void 0;
|
19478
19478
|
}));
|
19479
|
-
var sa = b(createSelector(
|
19479
|
+
var sa = b(createSelector(D, W, (a2, e) => He(a2, e)));
|
19480
19480
|
var aa = (a2) => createSelector(sa(a2), (e) => e.audio);
|
19481
|
-
var
|
19481
|
+
var wm = b((a2, e) => {
|
19482
19482
|
let t = W(a2, e);
|
19483
19483
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
19484
19484
|
});
|
19485
|
-
var
|
19485
|
+
var Dm = b((a2, e) => {
|
19486
19486
|
let t = W(a2, e);
|
19487
19487
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
19488
19488
|
});
|
@@ -19526,7 +19526,7 @@ var Um = b((a2, e) => {
|
|
19526
19526
|
return t.layer;
|
19527
19527
|
}
|
19528
19528
|
});
|
19529
|
-
var ca = createSelector([St,
|
19529
|
+
var ca = createSelector([St, Te, Cr], (a2, e, t) => {
|
19530
19530
|
if (t)
|
19531
19531
|
return a2.filter((i) => {
|
19532
19532
|
var r;
|
@@ -19545,26 +19545,26 @@ var Co = createSelector(St, (a2) => a2.filter((e) => {
|
|
19545
19545
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19546
19546
|
}));
|
19547
19547
|
var Lo = createSelector([da, ta], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19548
|
-
var
|
19548
|
+
var wo = createSelector([ca, Cr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19549
19549
|
var Bm = createSelector(Co, (a2) => a2.filter((e) => !e.read).length);
|
19550
19550
|
var Vm = b(ca);
|
19551
19551
|
var Fm = b(da);
|
19552
19552
|
var Gm = b(Lo);
|
19553
|
-
var Wm = b(
|
19553
|
+
var Wm = b(wo);
|
19554
19554
|
var la = b(bo);
|
19555
|
-
var eS = createSelector([G,
|
19555
|
+
var eS = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
|
19556
19556
|
var r;
|
19557
19557
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
19558
19558
|
}));
|
19559
|
-
var
|
19560
|
-
var tS = createSelector([
|
19559
|
+
var Do = (a2) => a2.roleChangeRequests[0] || null;
|
19560
|
+
var tS = createSelector([Do, G, ue], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
19561
19561
|
var iS = createSelector([oi], (a2) => st(a2));
|
19562
19562
|
var rS = createSelector([Gs], (a2) => st(a2));
|
19563
|
-
var No = createSelector([J,
|
19563
|
+
var No = createSelector([J, D], (a2, e) => {
|
19564
19564
|
let t = null;
|
19565
19565
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19566
19566
|
});
|
19567
|
-
var Oo = createSelector([te,
|
19567
|
+
var Oo = createSelector([te, D], (a2, e) => {
|
19568
19568
|
let t = null;
|
19569
19569
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19570
19570
|
});
|
@@ -19613,7 +19613,7 @@ var Or = class {
|
|
19613
19613
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
19614
19614
|
}
|
19615
19615
|
};
|
19616
|
-
var
|
19616
|
+
var ve = new Or();
|
19617
19617
|
var $ = ((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))($ || {});
|
19618
19618
|
var Vi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Vi || {});
|
19619
19619
|
var Qi = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Qi || {});
|
@@ -19625,36 +19625,36 @@ var Ia = (a2, e) => e;
|
|
19625
19625
|
var nn = (a2) => a2.remoteTrackStats;
|
19626
19626
|
var Ra = (a2) => a2.peerStats;
|
19627
19627
|
var Fr = (a2) => a2.localTrackStats;
|
19628
|
-
var
|
19629
|
-
var cn = createSelector(
|
19628
|
+
var ye = createSelector([Ra, rn], (a2, e) => a2[e]);
|
19629
|
+
var cn = createSelector(ye, (a2) => {
|
19630
19630
|
var e;
|
19631
19631
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
19632
19632
|
});
|
19633
|
-
var dn = createSelector(
|
19633
|
+
var dn = createSelector(ye, (a2) => {
|
19634
19634
|
var e;
|
19635
19635
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
19636
19636
|
});
|
19637
|
-
var ln = createSelector(
|
19637
|
+
var ln = createSelector(ye, (a2) => {
|
19638
19638
|
var e;
|
19639
19639
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
19640
19640
|
});
|
19641
|
-
var un = createSelector(
|
19641
|
+
var un = createSelector(ye, (a2) => {
|
19642
19642
|
var e;
|
19643
19643
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
19644
19644
|
});
|
19645
|
-
var pn = createSelector(
|
19645
|
+
var pn = createSelector(ye, (a2) => {
|
19646
19646
|
var e;
|
19647
19647
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
19648
19648
|
});
|
19649
|
-
var hn = createSelector(
|
19649
|
+
var hn = createSelector(ye, (a2) => {
|
19650
19650
|
var e;
|
19651
19651
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
19652
19652
|
});
|
19653
|
-
var mn = createSelector(
|
19653
|
+
var mn = createSelector(ye, (a2) => {
|
19654
19654
|
var e;
|
19655
19655
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
19656
19656
|
});
|
19657
|
-
var Sn = createSelector(
|
19657
|
+
var Sn = createSelector(ye, (a2) => {
|
19658
19658
|
var e;
|
19659
19659
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
19660
19660
|
});
|
@@ -20279,7 +20279,7 @@ init_define_process_env();
|
|
20279
20279
|
import { useEffect as useEffect17, useState as useState27 } from "react";
|
20280
20280
|
import { HMSNotificationTypes, useHMSNotifications, useHMSStore as useHMSStore29 } from "@100mslive/react-sdk";
|
20281
20281
|
var useUnreadPollQuizPresent = () => {
|
20282
|
-
const localPeerID = useHMSStore29(
|
20282
|
+
const localPeerID = useHMSStore29(Te);
|
20283
20283
|
const notification = useHMSNotifications(HMSNotificationTypes.POLL_STARTED);
|
20284
20284
|
const [unreadPollQuiz, setUnreadPollQuiz] = useState27(false);
|
20285
20285
|
useEffect17(() => {
|
@@ -23969,7 +23969,7 @@ var usePinnedMessages = () => {
|
|
23969
23969
|
if (pinnedMessages[indexToRemove]) {
|
23970
23970
|
yield hmsActions.sessionStore.set(
|
23971
23971
|
"pinnedMessages" /* PINNED_MESSAGES */,
|
23972
|
-
pinnedMessages.filter((
|
23972
|
+
pinnedMessages.filter((_, index) => index !== indexToRemove)
|
23973
23973
|
).catch((err) => ToastManager.addToast({ title: err.description }));
|
23974
23974
|
}
|
23975
23975
|
}),
|
@@ -25333,7 +25333,7 @@ var StickIndicator = ({ total, index }) => {
|
|
25333
25333
|
if (total < 2) {
|
25334
25334
|
return null;
|
25335
25335
|
}
|
25336
|
-
return /* @__PURE__ */ React115.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((
|
25336
|
+
return /* @__PURE__ */ React115.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_, i) => /* @__PURE__ */ React115.createElement(
|
25337
25337
|
Box,
|
25338
25338
|
{
|
25339
25339
|
css: {
|
@@ -27134,7 +27134,7 @@ var PreviewJoin = ({
|
|
27134
27134
|
speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
|
27135
27135
|
},
|
27136
27136
|
captureNetworkQualityInPreview: true,
|
27137
|
-
handleError: (
|
27137
|
+
handleError: (_, method) => {
|
27138
27138
|
if (method === "preview") {
|
27139
27139
|
setPreviewError(true);
|
27140
27140
|
}
|
@@ -27548,7 +27548,7 @@ var Pagination = ({
|
|
27548
27548
|
if (numPages <= 1) {
|
27549
27549
|
return null;
|
27550
27550
|
}
|
27551
|
-
return /* @__PURE__ */ React137.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ React137.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ React137.createElement(ChevronLeftIcon7, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ React137.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((
|
27551
|
+
return /* @__PURE__ */ React137.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ React137.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ React137.createElement(ChevronLeftIcon7, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ React137.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_, i) => /* @__PURE__ */ React137.createElement(
|
27552
27552
|
StyledPagination.Dot,
|
27553
27553
|
{
|
27554
27554
|
key: i,
|
@@ -27655,7 +27655,7 @@ var useTileLayout = ({
|
|
27655
27655
|
}
|
27656
27656
|
const maxRows = Math.ceil(noOfTilesInPage / maxCols);
|
27657
27657
|
let index = 0;
|
27658
|
-
const matrix = new Array(maxRows).fill(null).map((
|
27658
|
+
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
27659
27659
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
27660
27660
|
const rowElements = [];
|
27661
27661
|
for (let j = 0; j < numCols; j++) {
|
@@ -27687,10 +27687,10 @@ var useTileLayout = ({
|
|
27687
27687
|
tileHeight = maxRowHeight;
|
27688
27688
|
const calcWidths = aspectRatios.map((aR) => tileHeight * aR);
|
27689
27689
|
tileWidth = 0;
|
27690
|
-
for (const
|
27691
|
-
if (
|
27692
|
-
if (tileWidth <
|
27693
|
-
tileWidth =
|
27690
|
+
for (const w of calcWidths) {
|
27691
|
+
if (w < width) {
|
27692
|
+
if (tileWidth < w) {
|
27693
|
+
tileWidth = w;
|
27694
27694
|
}
|
27695
27695
|
}
|
27696
27696
|
}
|
@@ -28389,7 +28389,7 @@ var PeersSorter = class {
|
|
28389
28389
|
this.speaker = void 0;
|
28390
28390
|
this.tilesPerPage = tilesPerPage;
|
28391
28391
|
const peerIds = new Set(peers.map((peer) => peer.id));
|
28392
|
-
this.peers.forEach((
|
28392
|
+
this.peers.forEach((_, key) => {
|
28393
28393
|
if (!peerIds.has(key)) {
|
28394
28394
|
this.peers.delete(key);
|
28395
28395
|
}
|
@@ -28992,7 +28992,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28992
28992
|
};
|
28993
28993
|
|
28994
28994
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28995
|
-
var HLSView = React153.lazy(() => import("./HLSView-
|
28995
|
+
var HLSView = React153.lazy(() => import("./HLSView-VU7EAULT.js"));
|
28996
28996
|
var VideoStreamingSection = ({
|
28997
28997
|
screenType,
|
28998
28998
|
elements,
|
@@ -29999,7 +29999,7 @@ import {
|
|
29999
29999
|
PeopleRemoveIcon as PeopleRemoveIcon4,
|
30000
30000
|
PoorConnectivityIcon as PoorConnectivityIcon2
|
30001
30001
|
} from "@100mslive/react-icons";
|
30002
|
-
var ChatAction = React165.forwardRef((
|
30002
|
+
var ChatAction = React165.forwardRef((_, ref) => {
|
30003
30003
|
const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
|
30004
30004
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
30005
30005
|
if (isChatOpen) {
|
@@ -30814,9 +30814,11 @@ init_define_process_env();
|
|
30814
30814
|
import React177, { useCallback as useCallback37, useEffect as useEffect68, useMemo as useMemo21, useState as useState74 } from "react";
|
30815
30815
|
import { useMedia as useMedia39 } from "react-use";
|
30816
30816
|
import {
|
30817
|
+
selectIsLargeRoom as selectIsLargeRoom4,
|
30817
30818
|
selectLocalPeerID as selectLocalPeerID17,
|
30818
30819
|
selectPeerNameByID as selectPeerNameByID7,
|
30819
30820
|
useCustomEvent as useCustomEvent5,
|
30821
|
+
useHMSActions as useHMSActions53,
|
30820
30822
|
useHMSStore as useHMSStore97,
|
30821
30823
|
useHMSVanillaStore as useHMSVanillaStore17
|
30822
30824
|
} from "@100mslive/react-sdk";
|
@@ -30846,15 +30848,21 @@ var getStartingPoints = (isMobile) => {
|
|
30846
30848
|
function FlyingEmoji() {
|
30847
30849
|
const localPeerId = useHMSStore97(selectLocalPeerID17);
|
30848
30850
|
const vanillaStore = useHMSVanillaStore17();
|
30851
|
+
const hmsActions = useHMSActions53();
|
30849
30852
|
const [emojis, setEmojis] = useState74([]);
|
30850
30853
|
const isMobile = useMedia39(config.media.md);
|
30854
|
+
const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
|
30851
30855
|
const startingPoints = useMemo21(() => getStartingPoints(isMobile), [isMobile]);
|
30852
30856
|
const showFlyingEmoji = useCallback37(
|
30853
|
-
({ emojiId, senderId })
|
30857
|
+
(_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
|
30854
30858
|
if (!emojiId || !senderId || document.hidden) {
|
30855
30859
|
return;
|
30856
30860
|
}
|
30857
|
-
|
30861
|
+
let senderPeerName = vanillaStore.getState(selectPeerNameByID7(senderId));
|
30862
|
+
if (!senderPeerName && isLargeRoom) {
|
30863
|
+
const sender = yield hmsActions.getPeer(senderId);
|
30864
|
+
senderPeerName = sender == null ? void 0 : sender.name;
|
30865
|
+
}
|
30858
30866
|
const nameToShow = localPeerId === senderId ? "You" : senderPeerName;
|
30859
30867
|
const startingPoint = startingPoints[emojiCount % startingPoints.length];
|
30860
30868
|
const id = emojiCount++;
|
@@ -30870,8 +30878,8 @@ function FlyingEmoji() {
|
|
30870
30878
|
}
|
30871
30879
|
];
|
30872
30880
|
});
|
30873
|
-
},
|
30874
|
-
[localPeerId,
|
30881
|
+
}),
|
30882
|
+
[vanillaStore, isLargeRoom, localPeerId, startingPoints, hmsActions]
|
30875
30883
|
);
|
30876
30884
|
useCustomEvent5({
|
30877
30885
|
type: EMOJI_REACTION_TYPE,
|
@@ -30913,7 +30921,7 @@ function FlyingEmoji() {
|
|
30913
30921
|
}
|
30914
30922
|
},
|
30915
30923
|
/* @__PURE__ */ React177.createElement(Box, null, /* @__PURE__ */ React177.createElement("em-emoji", { id: emoji.emojiId, size: "48px", set: "apple" })),
|
30916
|
-
/* @__PURE__ */ React177.createElement(
|
30924
|
+
emoji.senderName ? /* @__PURE__ */ React177.createElement(
|
30917
30925
|
Box,
|
30918
30926
|
{
|
30919
30927
|
css: {
|
@@ -30934,7 +30942,7 @@ function FlyingEmoji() {
|
|
30934
30942
|
},
|
30935
30943
|
emoji.senderName
|
30936
30944
|
)
|
30937
|
-
)
|
30945
|
+
) : ""
|
30938
30946
|
);
|
30939
30947
|
})
|
30940
30948
|
);
|
@@ -30943,9 +30951,9 @@ function FlyingEmoji() {
|
|
30943
30951
|
// src/Prebuilt/plugins/RemoteStopScreenshare.jsx
|
30944
30952
|
init_define_process_env();
|
30945
30953
|
import React178, { useCallback as useCallback38 } from "react";
|
30946
|
-
import { useCustomEvent as useCustomEvent6, useHMSActions as
|
30954
|
+
import { useCustomEvent as useCustomEvent6, useHMSActions as useHMSActions54 } from "@100mslive/react-sdk";
|
30947
30955
|
function RemoteStopScreenshare() {
|
30948
|
-
const actions =
|
30956
|
+
const actions = useHMSActions54();
|
30949
30957
|
const onRemoteStopScreenshare = useCallback38(() => __async(this, null, function* () {
|
30950
30958
|
yield actions.setScreenShareEnabled(false);
|
30951
30959
|
}), [actions]);
|
@@ -30962,7 +30970,7 @@ import { useCallback as useCallback39, useEffect as useEffect69, useRef as useRe
|
|
30962
30970
|
import {
|
30963
30971
|
selectIsConnectedToRoom as selectIsConnectedToRoom12,
|
30964
30972
|
selectPermissions as selectPermissions20,
|
30965
|
-
useHMSActions as
|
30973
|
+
useHMSActions as useHMSActions55,
|
30966
30974
|
useHMSStore as useHMSStore98,
|
30967
30975
|
useRecordingStreaming as useRecordingStreaming12
|
30968
30976
|
} from "@100mslive/react-sdk";
|
@@ -30970,7 +30978,7 @@ var useAutoStartStreaming = () => {
|
|
30970
30978
|
const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
|
30971
30979
|
const permissions = useHMSStore98(selectPermissions20);
|
30972
30980
|
const showStreamingUI = useShowStreamingUI();
|
30973
|
-
const hmsActions =
|
30981
|
+
const hmsActions = useHMSActions55();
|
30974
30982
|
const isConnected = useHMSStore98(selectIsConnectedToRoom12);
|
30975
30983
|
const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
|
30976
30984
|
const streamStartedRef = useRef28(false);
|
@@ -31161,7 +31169,7 @@ var AppStates = ({ activeState }) => {
|
|
31161
31169
|
};
|
31162
31170
|
var BackSwipe = () => {
|
31163
31171
|
const isConnectedToRoom = useHMSStore99(selectIsConnectedToRoom13);
|
31164
|
-
const hmsActions =
|
31172
|
+
const hmsActions = useHMSActions56();
|
31165
31173
|
useEffect70(() => {
|
31166
31174
|
const onRouteLeave = () => __async(void 0, null, function* () {
|
31167
31175
|
if (isConnectedToRoom) {
|
@@ -31337,4 +31345,4 @@ lodash/lodash.js:
|
|
31337
31345
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
31338
31346
|
*)
|
31339
31347
|
*/
|
31340
|
-
//# sourceMappingURL=chunk-
|
31348
|
+
//# sourceMappingURL=chunk-G5EI4B2P.js.map
|