@100mslive/roomkit-react 0.3.17-alpha.3 → 0.3.17-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HLSView-OZJSG4V6.js → HLSView-3TZCJ2RD.js} +2 -2
- package/dist/{HLSView-6SX3GTZB.css → HLSView-EZ2C52TT.css} +3 -3
- package/dist/{HLSView-6SX3GTZB.css.map → HLSView-EZ2C52TT.css.map} +1 -1
- package/dist/{chunk-SKEVNNJ2.js → chunk-BSNLB7LM.js} +249 -249
- package/dist/chunk-BSNLB7LM.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +242 -242
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +28 -28
- package/dist/meta.esbuild.json +39 -39
- package/package.json +7 -7
- package/src/Prebuilt/components/AppData/AppData.tsx +1 -1
- package/dist/chunk-SKEVNNJ2.js.map +0 -7
- /package/dist/{HLSView-OZJSG4V6.js.map → HLSView-3TZCJ2RD.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
109
109
|
var define_process_env_default;
|
|
110
110
|
var init_define_process_env = __esm({
|
|
111
111
|
"<define:process.env>"() {
|
|
112
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0e37254f-bc19-4440-b761-919f293f6b6f", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0e37254f-bc19-4440-b761-919f293f6b6f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/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: "591", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.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.5/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:18997", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10176675555", 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: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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: "455f367230d30eee00ec06833ecc19b508a1ae06122395c10d17b459ddf90139", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722414197549-0.9842475188723876:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414197351-0.9464417725897856:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414171124-0.1772205229990096:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414170942-0.6331922006341999:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c58a2169-06f8-439b-9740-2d84d1a25203", INVOCATION_ID: "3bf0a46eb6654fe1bab650b4899ff8cb", 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: "620", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 26", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/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.17-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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_0e37254f-bc19-4440-b761-919f293f6b6f", 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_0e37254f-bc19-4440-b761-919f293f6b6f", 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.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0e37254f-bc19-4440-b761-919f293f6b6f" };
|
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_44ec2323-f968-4461-ab24-834c57c01fd1", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.4", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_44ec2323-f968-4461-ab24-834c57c01fd1", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/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_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.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.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.5/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:20500", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10180749533", 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: "6cb88fbfba742fca285241866c60d6f2bc256a03", 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: "ada74856433e8d79fe54dbcb7a85f9392888fc046b01d19734ae66e7fa44c116", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722431057605-0.6242477955794548:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431057403-0.6015645421246856:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431031644-0.46007401146532745:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431031462-0.8074288001712242:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_dd6774ec-d5d9-4e0a-addb-61db748334f7", INVOCATION_ID: "988bc724adb345e5973a321210ef8382", 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: "621", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 21", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/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.17-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.4", 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", GITHUB_SHA: "6cb88fbfba742fca285241866c60d6f2bc256a03", 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_44ec2323-f968-4461-ab24-834c57c01fd1", 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_44ec2323-f968-4461-ab24-834c57c01fd1", 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.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_44ec2323-f968-4461-ab24-834c57c01fd1" };
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -2635,8 +2635,8 @@ var init_useBorderAudioLevel = __esm({
|
|
|
2635
2635
|
import_react19 = require("react");
|
|
2636
2636
|
import_react_sdk3 = require("@100mslive/react-sdk");
|
|
2637
2637
|
init_Theme();
|
|
2638
|
-
sigmoid = (
|
|
2639
|
-
return 1 / (1 + Math.exp(-
|
|
2638
|
+
sigmoid = (z2) => {
|
|
2639
|
+
return 1 / (1 + Math.exp(-z2));
|
|
2640
2640
|
};
|
|
2641
2641
|
}
|
|
2642
2642
|
});
|
|
@@ -2790,12 +2790,12 @@ var init_formatBytes = __esm({
|
|
|
2790
2790
|
if (!bytes) {
|
|
2791
2791
|
return "-";
|
|
2792
2792
|
}
|
|
2793
|
-
const
|
|
2793
|
+
const k = 1024;
|
|
2794
2794
|
const dm2 = decimals < 0 ? 0 : decimals;
|
|
2795
2795
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
|
2796
|
-
let i = Math.floor(Math.log(bytes) / Math.log(
|
|
2796
|
+
let i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
2797
2797
|
i === 0 && i++;
|
|
2798
|
-
return `${parseFloat((bytes / Math.pow(
|
|
2798
|
+
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm2))} ${sizes[i]}`;
|
|
2799
2799
|
};
|
|
2800
2800
|
}
|
|
2801
2801
|
});
|
|
@@ -10156,7 +10156,7 @@ var init_AppData = __esm({
|
|
|
10156
10156
|
const updatedSettings = __spreadProps(__spreadValues({}, uiSettings), {
|
|
10157
10157
|
[UI_SETTINGS.isAudioOnly]: void 0,
|
|
10158
10158
|
[UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
|
|
10159
|
-
[UI_SETTINGS.maxTileCount]: ((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
|
|
10159
|
+
[UI_SETTINGS.maxTileCount]: Number((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
|
|
10160
10160
|
});
|
|
10161
10161
|
hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
|
|
10162
10162
|
}, [preferences, hmsActions, elements == null ? void 0 : elements.video_tile_layout]);
|
|
@@ -13999,7 +13999,7 @@ var init_PIPChat = __esm({
|
|
|
13999
13999
|
init_useChatBlacklist();
|
|
14000
14000
|
init_utils3();
|
|
14001
14001
|
PIPChat = () => {
|
|
14002
|
-
var _a7, _b7, _c, _d,
|
|
14002
|
+
var _a7, _b7, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
14003
14003
|
const messages = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectHMSMessages);
|
|
14004
14004
|
const localPeerID = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectLocalPeerID);
|
|
14005
14005
|
const count = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectUnreadHMSMessagesCount);
|
|
@@ -14137,7 +14137,7 @@ var init_PIPChat = __esm({
|
|
|
14137
14137
|
borderRadius: "4px",
|
|
14138
14138
|
padding: "0 2px"
|
|
14139
14139
|
},
|
|
14140
|
-
defaultValue: ((
|
|
14140
|
+
defaultValue: ((_e = elements.chat) == null ? void 0 : _e.public_chat_enabled) ? "Everyone" : (_g = (_f = elements.chat) == null ? void 0 : _f.roles_whitelist) == null ? void 0 : _g[0]
|
|
14141
14141
|
},
|
|
14142
14142
|
(_i = (_h = elements.chat) == null ? void 0 : _h.roles_whitelist) == null ? void 0 : _i.map((role) => /* @__PURE__ */ import_react67.default.createElement("option", { key: role, value: role }, role)),
|
|
14143
14143
|
((_j = elements.chat) == null ? void 0 : _j.public_chat_enabled) ? /* @__PURE__ */ import_react67.default.createElement("option", { value: "Everyone" }, "Everyone") : ""
|
|
@@ -14849,7 +14849,7 @@ var init_StatsForNerds = __esm({
|
|
|
14849
14849
|
return tracksWithLabels;
|
|
14850
14850
|
};
|
|
14851
14851
|
LocalPeerStats = () => {
|
|
14852
|
-
var _a7, _b7, _c, _d,
|
|
14852
|
+
var _a7, _b7, _c, _d, _e, _f, _g, _h, _i;
|
|
14853
14853
|
const stats = (0, import_react_sdk31.useHMSStatsStore)(import_react_sdk31.selectHMSStats.localPeerStats);
|
|
14854
14854
|
if (!stats) {
|
|
14855
14855
|
return null;
|
|
@@ -14858,7 +14858,7 @@ var init_StatsForNerds = __esm({
|
|
|
14858
14858
|
StatsRow2,
|
|
14859
14859
|
{
|
|
14860
14860
|
label: "Available Outgoing Bitrate",
|
|
14861
|
-
value: formatBytes((
|
|
14861
|
+
value: formatBytes((_e = stats.publish) == null ? void 0 : _e.availableOutgoingBitrate, "b/s")
|
|
14862
14862
|
}
|
|
14863
14863
|
), /* @__PURE__ */ import_react73.default.createElement(StatsRow2, { label: "Total Bytes Sent", value: formatBytes((_f = stats.publish) == null ? void 0 : _f.bytesSent) }), /* @__PURE__ */ import_react73.default.createElement(StatsRow2, { label: "Total Bytes Received", value: formatBytes((_g = stats.subscribe) == null ? void 0 : _g.bytesReceived) }), /* @__PURE__ */ import_react73.default.createElement(
|
|
14864
14864
|
StatsRow2,
|
|
@@ -15874,10 +15874,10 @@ var require_ua_parser = __commonJS({
|
|
|
15874
15874
|
}
|
|
15875
15875
|
};
|
|
15876
15876
|
var rgxMapper = function(ua2, arrays) {
|
|
15877
|
-
var i = 0, j2,
|
|
15877
|
+
var i = 0, j2, k, p, q2, matches, match18;
|
|
15878
15878
|
while (i < arrays.length && !matches) {
|
|
15879
15879
|
var regex = arrays[i], props = arrays[i + 1];
|
|
15880
|
-
j2 =
|
|
15880
|
+
j2 = k = 0;
|
|
15881
15881
|
while (j2 < regex.length && !matches) {
|
|
15882
15882
|
if (!regex[j2]) {
|
|
15883
15883
|
break;
|
|
@@ -15885,7 +15885,7 @@ var require_ua_parser = __commonJS({
|
|
|
15885
15885
|
matches = regex[j2++].exec(ua2);
|
|
15886
15886
|
if (!!matches) {
|
|
15887
15887
|
for (p = 0; p < props.length; p++) {
|
|
15888
|
-
match18 = matches[++
|
|
15888
|
+
match18 = matches[++k];
|
|
15889
15889
|
q2 = props[p];
|
|
15890
15890
|
if (typeof q2 === OBJ_TYPE && q2.length > 0) {
|
|
15891
15891
|
if (q2.length === 2) {
|
|
@@ -18087,8 +18087,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
|
18087
18087
|
}
|
|
18088
18088
|
if (matches) {
|
|
18089
18089
|
return navigator2.mediaDevices.enumerateDevices().then((devices) => {
|
|
18090
|
-
devices = devices.filter((
|
|
18091
|
-
let dev = devices.find((
|
|
18090
|
+
devices = devices.filter((d) => d.kind === "videoinput");
|
|
18091
|
+
let dev = devices.find((d) => matches.some((match18) => d.label.toLowerCase().includes(match18)));
|
|
18092
18092
|
if (!dev && devices.length && matches.includes("back")) {
|
|
18093
18093
|
dev = devices[devices.length - 1];
|
|
18094
18094
|
}
|
|
@@ -20428,7 +20428,7 @@ function shimParameterlessSetLocalDescription(window2, browserDetails) {
|
|
|
20428
20428
|
return nativeSetLocalDescription.apply(this, [desc]);
|
|
20429
20429
|
}
|
|
20430
20430
|
const func = desc.type === "offer" ? this.createOffer : this.createAnswer;
|
|
20431
|
-
return func.apply(this).then((
|
|
20431
|
+
return func.apply(this).then((d) => nativeSetLocalDescription.apply(this, [d]));
|
|
20432
20432
|
};
|
|
20433
20433
|
}
|
|
20434
20434
|
var import_sdp;
|
|
@@ -21073,9 +21073,9 @@ var require_parser = __commonJS({
|
|
|
21073
21073
|
var validLine = RegExp.prototype.test.bind(/^([a-z])=(.*)/);
|
|
21074
21074
|
exports.parse = function(sdp2) {
|
|
21075
21075
|
var session = {}, media = [], location = session;
|
|
21076
|
-
sdp2.split(/(\r\n|\r|\n)/).filter(validLine).forEach(function(
|
|
21077
|
-
var type =
|
|
21078
|
-
var content =
|
|
21076
|
+
sdp2.split(/(\r\n|\r|\n)/).filter(validLine).forEach(function(l2) {
|
|
21077
|
+
var type = l2[0];
|
|
21078
|
+
var content = l2.slice(2);
|
|
21079
21079
|
if (type === "m") {
|
|
21080
21080
|
media.push({ rtp: [], fmtp: [] });
|
|
21081
21081
|
location = media[media.length - 1];
|
|
@@ -21268,7 +21268,7 @@ var require_lib = __commonJS({
|
|
|
21268
21268
|
});
|
|
21269
21269
|
|
|
21270
21270
|
// ../hms-video-store/dist/index.js
|
|
21271
|
-
function
|
|
21271
|
+
function Ue(a2, e) {
|
|
21272
21272
|
let t, i;
|
|
21273
21273
|
if (e)
|
|
21274
21274
|
for (let r of e.auxiliaryTracks) {
|
|
@@ -21295,7 +21295,7 @@ function ht(a2) {
|
|
|
21295
21295
|
function cs(a2) {
|
|
21296
21296
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
|
21297
21297
|
}
|
|
21298
|
-
function
|
|
21298
|
+
function Je(a2, e) {
|
|
21299
21299
|
return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
|
|
21300
21300
|
}
|
|
21301
21301
|
function mt(a2) {
|
|
@@ -21310,15 +21310,15 @@ function so() {
|
|
|
21310
21310
|
}
|
|
21311
21311
|
return "CUSTOM";
|
|
21312
21312
|
}
|
|
21313
|
-
function
|
|
21313
|
+
function ne(a2) {
|
|
21314
21314
|
return a2 != null;
|
|
21315
21315
|
}
|
|
21316
21316
|
function Tt(a2 = "prod", e) {
|
|
21317
|
-
let t = "web", i =
|
|
21318
|
-
if (
|
|
21319
|
-
return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain:
|
|
21320
|
-
let r =
|
|
21321
|
-
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version:
|
|
21317
|
+
let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
|
21318
|
+
if (Be)
|
|
21319
|
+
return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
|
21320
|
+
let r = fe.getOS(), s = fe.getDevice(), o = fe.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
|
|
21321
|
+
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: d, sdk: t, sdk_version: ys, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
|
21322
21322
|
}
|
|
21323
21323
|
function Mr(a2) {
|
|
21324
21324
|
return a2.replace(/ /g, "_");
|
|
@@ -21333,7 +21333,7 @@ function ai(a2, e = 300) {
|
|
|
21333
21333
|
}, e);
|
|
21334
21334
|
};
|
|
21335
21335
|
}
|
|
21336
|
-
function
|
|
21336
|
+
function A(a2) {
|
|
21337
21337
|
return (e) => (t) => a2(t, e);
|
|
21338
21338
|
}
|
|
21339
21339
|
function Bm(a2) {
|
|
@@ -21342,7 +21342,7 @@ function Bm(a2) {
|
|
|
21342
21342
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
|
21343
21343
|
};
|
|
21344
21344
|
}
|
|
21345
|
-
var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23,
|
|
21345
|
+
var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, ss, as, rs, m, M, mr, Xa, vr, Sr, Za, os, gr, ns, ls, to, l, fe, U, us, Be, ro, ic, ps, hs, gs, Ts, ze, P3, f, ao, S, fr, fs, pe, vs, ys, ks, H, y, yr, J, kr, Pr, Ir, Is, Rs, As, Hs, Cs, Rr, Ls, Ar, Ns, Hr, Os, Cr, Lr, Bs, Vs, Pt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Vr, Co, Ne, Qh, Lo, ge, Do, te, ke, zh, Yh, oe, z, wo, Ys, Xh, Zh, Gr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, ie, Zs, lm, um, Te, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Im, xo, Rm, sa, Wr, aa, oa, na, ca, da, la, ua, pa, At, b, $r, Ht, ha, Uo, Bo, q, Kr, Vo, Fo, Go, Wo, $o, Y, Um, Fm, Gm, fi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, IS, RS, AS, Zo, en, sn, zr, Ee, j, tr, lr, Pn, En, bn, In, Ka, Rn, qa, ts, Ie, An, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, is, Un, Bn, Vn, Fn, Gn, Wn;
|
|
21346
21346
|
var init_dist = __esm({
|
|
21347
21347
|
"../hms-video-store/dist/index.js"() {
|
|
21348
21348
|
"use strict";
|
|
@@ -21365,7 +21365,7 @@ var init_dist = __esm({
|
|
|
21365
21365
|
import_eventemitter22 = require("eventemitter2");
|
|
21366
21366
|
import_uuid8 = require("uuid");
|
|
21367
21367
|
import_eventemitter23 = require("eventemitter2");
|
|
21368
|
-
|
|
21368
|
+
Kt = __toESM(require_lib());
|
|
21369
21369
|
import_eventemitter24 = __toESM(require("eventemitter2"));
|
|
21370
21370
|
import_uuid9 = require("uuid");
|
|
21371
21371
|
import_uuid10 = require("uuid");
|
|
@@ -21396,17 +21396,17 @@ var init_dist = __esm({
|
|
|
21396
21396
|
return t;
|
|
21397
21397
|
};
|
|
21398
21398
|
Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
|
21399
|
-
vr = Xa((
|
|
21400
|
-
no.exports = { version: "0.12.17-alpha.
|
|
21399
|
+
vr = Xa((Ac, no) => {
|
|
21400
|
+
no.exports = { version: "0.12.17-alpha.4", 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"] };
|
|
21401
21401
|
});
|
|
21402
21402
|
Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
|
|
21403
21403
|
Za = ((e) => (e.CHAT = "chat", e))(Za || {});
|
|
21404
21404
|
os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
|
|
21405
|
-
gr = ((
|
|
21405
|
+
gr = ((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.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(gr || {});
|
|
21406
21406
|
ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
|
|
21407
|
-
ls = ((
|
|
21407
|
+
ls = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ls || {});
|
|
21408
21408
|
to = typeof window != "undefined" && typeof window.expect != "undefined";
|
|
21409
|
-
|
|
21409
|
+
l = class {
|
|
21410
21410
|
static v(e, ...t) {
|
|
21411
21411
|
this.log(0, e, ...t);
|
|
21412
21412
|
}
|
|
@@ -21471,16 +21471,16 @@ var init_dist = __esm({
|
|
|
21471
21471
|
}
|
|
21472
21472
|
}
|
|
21473
21473
|
};
|
|
21474
|
-
|
|
21475
|
-
|
|
21474
|
+
l.level = to ? 7 : 0;
|
|
21475
|
+
fe = new import_ua_parser_js.UAParser();
|
|
21476
21476
|
U = typeof window != "undefined";
|
|
21477
|
-
|
|
21478
|
-
ro = () => !
|
|
21477
|
+
Be = typeof window == "undefined" && !((us = fe.getBrowser().name) != null && us.toLowerCase().includes("electron"));
|
|
21478
|
+
ro = () => !Be;
|
|
21479
21479
|
ic = ro();
|
|
21480
|
-
gs = ((hs = (ps =
|
|
21480
|
+
gs = ((hs = (ps = fe.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
|
|
21481
21481
|
Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
|
|
21482
|
-
|
|
21483
|
-
|
|
21482
|
+
ze = so();
|
|
21483
|
+
P3 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
|
21484
21484
|
f = class a extends Error {
|
|
21485
21485
|
constructor(t, i, r, s, o, n = false) {
|
|
21486
21486
|
super(s);
|
|
@@ -21512,97 +21512,97 @@ var init_dist = __esm({
|
|
|
21512
21512
|
};
|
|
21513
21513
|
ao = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
|
21514
21514
|
S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21515
|
-
return new f(
|
|
21515
|
+
return new f(P3.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
|
21516
21516
|
}, WebSocketConnectionLost(a2, e = "") {
|
|
21517
|
-
return new f(
|
|
21517
|
+
return new f(P3.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
|
21518
21518
|
}, AbnormalClose(a2, e = "") {
|
|
21519
|
-
return new f(
|
|
21519
|
+
return new f(P3.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
|
21520
21520
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
|
21521
21521
|
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
|
21522
21522
|
}, EndpointUnreachable(a2, e = "") {
|
|
21523
|
-
return new f(
|
|
21523
|
+
return new f(P3.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
|
21524
21524
|
}, InvalidTokenFormat(a2, e = "") {
|
|
21525
|
-
return new f(
|
|
21525
|
+
return new f(P3.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
|
21526
21526
|
}, InitConfigNotAvailable(a2, e = "") {
|
|
21527
|
-
return new f(
|
|
21527
|
+
return new f(P3.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
|
21528
21528
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
|
21529
|
-
return new f(
|
|
21529
|
+
return new f(P3.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
|
21530
21530
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
|
21531
|
-
return new f(
|
|
21531
|
+
return new f(P3.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
|
21532
21532
|
}, DeviceNotAvailable(a2, e, t = "") {
|
|
21533
|
-
return new f(
|
|
21533
|
+
return new f(P3.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
|
21534
21534
|
}, DeviceInUse(a2, e, t = "") {
|
|
21535
|
-
return new f(
|
|
21535
|
+
return new f(P3.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
|
21536
21536
|
}, DeviceLostMidway(a2, e, t = "") {
|
|
21537
|
-
return new f(
|
|
21537
|
+
return new f(P3.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
|
21538
21538
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
|
21539
|
-
return new f(
|
|
21539
|
+
return new f(P3.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
|
21540
21540
|
}, InvalidVideoSettings(a2, e = "") {
|
|
21541
|
-
return new f(
|
|
21541
|
+
return new f(P3.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
|
21542
21542
|
}, AutoplayBlocked(a2, e = "") {
|
|
21543
|
-
return new f(
|
|
21543
|
+
return new f(P3.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
|
21544
21544
|
}, CodecChangeNotPermitted(a2, e = "") {
|
|
21545
|
-
return new f(
|
|
21545
|
+
return new f(P3.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
|
21546
21546
|
}, OverConstrained(a2, e, t = "") {
|
|
21547
|
-
return new f(
|
|
21547
|
+
return new f(P3.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
|
21548
21548
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
|
21549
|
-
return new f(
|
|
21549
|
+
return new f(P3.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
|
21550
21550
|
}, SystemDeniedPermission(a2, e, t = "") {
|
|
21551
|
-
return new f(
|
|
21551
|
+
return new f(P3.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
|
21552
21552
|
}, CurrentTabNotShared() {
|
|
21553
|
-
return new f(
|
|
21553
|
+
return new f(P3.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
|
|
21554
21554
|
}, AudioPlaybackError(a2) {
|
|
21555
|
-
return new f(
|
|
21555
|
+
return new f(P3.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
|
21556
21556
|
}, SelectedDeviceMissing(a2) {
|
|
21557
|
-
return new f(
|
|
21557
|
+
return new f(P3.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
|
21558
21558
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
|
21559
|
-
return new f(
|
|
21559
|
+
return new f(P3.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
|
21560
21560
|
}, CreateAnswerFailed(a2, e = "") {
|
|
21561
|
-
return new f(
|
|
21561
|
+
return new f(P3.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
|
21562
21562
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
|
21563
|
-
return new f(
|
|
21563
|
+
return new f(P3.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
|
21564
21564
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
|
21565
|
-
return new f(
|
|
21565
|
+
return new f(P3.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
|
21566
21566
|
}, ICEFailure(a2, e = "", t = false) {
|
|
21567
|
-
return new f(
|
|
21567
|
+
return new f(P3.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
|
21568
21568
|
}, ICEDisconnected(a2, e = "") {
|
|
21569
|
-
return new f(
|
|
21569
|
+
return new f(P3.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
|
21570
21570
|
}, StatsFailed(a2, e = "") {
|
|
21571
|
-
return new f(
|
|
21571
|
+
return new f(P3.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
|
21572
21572
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
|
21573
21573
|
return new f(a2, "ServerErrors", e, t, t, ao.includes(e));
|
|
21574
21574
|
}, AlreadyJoined(a2, e = "") {
|
|
21575
|
-
return new f(
|
|
21575
|
+
return new f(P3.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
|
21576
21576
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
|
21577
|
-
return new f(
|
|
21577
|
+
return new f(P3.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
|
21578
21578
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
|
21579
|
-
return new f(
|
|
21579
|
+
return new f(P3.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
|
21580
21580
|
}, Signalling(a2, e) {
|
|
21581
|
-
return new f(
|
|
21581
|
+
return new f(P3.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
|
21582
21582
|
}, Unknown(a2, e) {
|
|
21583
|
-
return new f(
|
|
21583
|
+
return new f(P3.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
|
21584
21584
|
}, NotReady(a2, e = "") {
|
|
21585
|
-
return new f(
|
|
21585
|
+
return new f(P3.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
|
21586
21586
|
}, JsonParsingFailed(a2, e, t = "") {
|
|
21587
|
-
return new f(
|
|
21587
|
+
return new f(P3.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
|
21588
21588
|
}, TrackMetadataMissing(a2, e = "") {
|
|
21589
|
-
return new f(
|
|
21589
|
+
return new f(P3.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
|
21590
21590
|
}, RTCTrackMissing(a2, e = "") {
|
|
21591
|
-
return new f(
|
|
21591
|
+
return new f(P3.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
|
21592
21592
|
}, PeerMetadataMissing(a2, e = "") {
|
|
21593
|
-
return new f(
|
|
21593
|
+
return new f(P3.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
|
21594
21594
|
}, ValidationFailed(a2, e) {
|
|
21595
|
-
return new f(
|
|
21595
|
+
return new f(P3.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
|
21596
21596
|
}, InvalidRole(a2, e) {
|
|
21597
|
-
return new f(
|
|
21597
|
+
return new f(P3.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
|
21598
21598
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
|
21599
|
-
return new f(
|
|
21599
|
+
return new f(P3.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
|
21600
21600
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
|
21601
|
-
return new f(
|
|
21601
|
+
return new f(P3.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
|
21602
21602
|
}, MissingMediaDevices() {
|
|
21603
|
-
return new f(
|
|
21603
|
+
return new f(P3.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
|
|
21604
21604
|
}, MissingRTCPeerConnection() {
|
|
21605
|
-
return new f(
|
|
21605
|
+
return new f(P3.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
|
|
21606
21606
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
|
21607
21607
|
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
|
21608
21608
|
}, InitFailed(a2, e = "") {
|
|
@@ -21614,9 +21614,9 @@ var init_dist = __esm({
|
|
|
21614
21614
|
}, DeviceNotSupported(a2, e = "") {
|
|
21615
21615
|
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
|
21616
21616
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
|
21617
|
-
return new f(
|
|
21617
|
+
return new f(P3.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
|
21618
21618
|
}, NoEntryPlaying(a2, e) {
|
|
21619
|
-
return new f(
|
|
21619
|
+
return new f(P3.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
|
21620
21620
|
} } };
|
|
21621
21621
|
fr = class {
|
|
21622
21622
|
constructor() {
|
|
@@ -21647,10 +21647,10 @@ var init_dist = __esm({
|
|
|
21647
21647
|
try {
|
|
21648
21648
|
U && !localStorage && (window.localStorage = new fr());
|
|
21649
21649
|
} catch (a2) {
|
|
21650
|
-
|
|
21650
|
+
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
|
21651
21651
|
}
|
|
21652
21652
|
};
|
|
21653
|
-
|
|
21653
|
+
pe = class {
|
|
21654
21654
|
constructor(e) {
|
|
21655
21655
|
this.key = e;
|
|
21656
21656
|
this.storage = null;
|
|
@@ -21659,7 +21659,7 @@ var init_dist = __esm({
|
|
|
21659
21659
|
try {
|
|
21660
21660
|
return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
|
|
21661
21661
|
} catch (e) {
|
|
21662
|
-
return
|
|
21662
|
+
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
|
21663
21663
|
}
|
|
21664
21664
|
}
|
|
21665
21665
|
get() {
|
|
@@ -21678,24 +21678,24 @@ var init_dist = __esm({
|
|
|
21678
21678
|
}
|
|
21679
21679
|
};
|
|
21680
21680
|
vs = () => {
|
|
21681
|
-
let a2, e = new
|
|
21681
|
+
let a2, e = new pe("hms-analytics-deviceId"), t = e.get();
|
|
21682
21682
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
|
21683
21683
|
};
|
|
21684
21684
|
ys = vr().version;
|
|
21685
|
-
ks = (a2, e = ",") => Object.keys(a2).filter((t) =>
|
|
21685
|
+
ks = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
|
21686
21686
|
H = class {
|
|
21687
21687
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
|
21688
21688
|
this.metadata = { peer: {}, userAgent: Tt() };
|
|
21689
21689
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = vs();
|
|
21690
21690
|
}
|
|
21691
21691
|
toSignalParams() {
|
|
21692
|
-
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain:
|
|
21692
|
+
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
|
21693
21693
|
}
|
|
21694
21694
|
};
|
|
21695
21695
|
y = class {
|
|
21696
21696
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
|
21697
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1,
|
|
21698
|
-
return new H({ name: o, level: n, properties:
|
|
21697
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(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);
|
|
21698
|
+
return new H({ name: o, level: n, properties: d });
|
|
21699
21699
|
}
|
|
21700
21700
|
static disconnect(e, t) {
|
|
21701
21701
|
let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
|
|
@@ -21732,8 +21732,8 @@ var init_dist = __esm({
|
|
|
21732
21732
|
return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
|
|
21733
21733
|
}
|
|
21734
21734
|
static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
|
|
21735
|
-
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1,
|
|
21736
|
-
return new H({ name: o, level: n, properties:
|
|
21735
|
+
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
|
|
21736
|
+
return new H({ name: o, level: n, properties: d });
|
|
21737
21737
|
}
|
|
21738
21738
|
static performance(e) {
|
|
21739
21739
|
let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
|
|
@@ -21794,7 +21794,7 @@ var init_dist = __esm({
|
|
|
21794
21794
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
|
21795
21795
|
yr = class {
|
|
21796
21796
|
constructor() {
|
|
21797
|
-
this.storage = new
|
|
21797
|
+
this.storage = new pe("hms-device-selection");
|
|
21798
21798
|
this.remember = false;
|
|
21799
21799
|
this.TAG = "[HMSDeviceStorage]";
|
|
21800
21800
|
}
|
|
@@ -21809,7 +21809,7 @@ var init_dist = __esm({
|
|
|
21809
21809
|
return;
|
|
21810
21810
|
let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
|
|
21811
21811
|
if (!r) {
|
|
21812
|
-
|
|
21812
|
+
l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
|
|
21813
21813
|
return;
|
|
21814
21814
|
}
|
|
21815
21815
|
let s = this.storage.get() || {};
|
|
@@ -21826,18 +21826,18 @@ var init_dist = __esm({
|
|
|
21826
21826
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
|
21827
21827
|
}
|
|
21828
21828
|
};
|
|
21829
|
-
|
|
21829
|
+
J = new yr();
|
|
21830
21830
|
kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
|
|
21831
21831
|
Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
|
|
21832
|
-
|
|
21833
|
-
|
|
21834
|
-
|
|
21835
|
-
|
|
21832
|
+
Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
|
|
21833
|
+
Is = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Is || {});
|
|
21834
|
+
Rs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Rs || {});
|
|
21835
|
+
As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
|
|
21836
21836
|
Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
|
|
21837
21837
|
Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
|
|
21838
|
-
|
|
21838
|
+
Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
|
|
21839
21839
|
Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
|
|
21840
|
-
|
|
21840
|
+
Ar = class {
|
|
21841
21841
|
constructor() {
|
|
21842
21842
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
|
21843
21843
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
|
@@ -21861,10 +21861,10 @@ var init_dist = __esm({
|
|
|
21861
21861
|
}
|
|
21862
21862
|
isSupported() {
|
|
21863
21863
|
let e = U && typeof window.IntersectionObserver != "undefined";
|
|
21864
|
-
return e ||
|
|
21864
|
+
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
|
21865
21865
|
}
|
|
21866
21866
|
};
|
|
21867
|
-
Ns = new
|
|
21867
|
+
Ns = new Ar();
|
|
21868
21868
|
Hr = class {
|
|
21869
21869
|
constructor() {
|
|
21870
21870
|
this.TAG = "[HMSResizeObserverWrapper]";
|
|
@@ -21889,7 +21889,7 @@ var init_dist = __esm({
|
|
|
21889
21889
|
}
|
|
21890
21890
|
isSupported() {
|
|
21891
21891
|
let e = U && typeof window.ResizeObserver != "undefined";
|
|
21892
|
-
return e ||
|
|
21892
|
+
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
|
21893
21893
|
}
|
|
21894
21894
|
};
|
|
21895
21895
|
Os = new Hr();
|
|
@@ -21897,7 +21897,7 @@ var init_dist = __esm({
|
|
|
21897
21897
|
Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
|
|
21898
21898
|
Bs = "https://event.100ms.live/v2/client/report";
|
|
21899
21899
|
Vs = "https://event-nonprod.100ms.live/v2/client/report";
|
|
21900
|
-
|
|
21900
|
+
Pt = Math.pow(2, 31) - 1;
|
|
21901
21901
|
rt = class {
|
|
21902
21902
|
};
|
|
21903
21903
|
rt.makePeerId = () => (0, import_uuid7.v4)();
|
|
@@ -21911,28 +21911,28 @@ var init_dist = __esm({
|
|
|
21911
21911
|
N = (a2) => a2.tracks;
|
|
21912
21912
|
Vr = (a2) => a2.appData;
|
|
21913
21913
|
Co = (a2) => a2.speakers;
|
|
21914
|
-
|
|
21915
|
-
Qh = createSelector([
|
|
21914
|
+
Ne = createSelector([B], (a2) => a2 && a2.isConnected);
|
|
21915
|
+
Qh = createSelector([Ne, 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));
|
|
21916
21916
|
Lo = (a2) => a2.hideLocalPeer;
|
|
21917
|
-
|
|
21917
|
+
ge = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
|
21918
21918
|
Do = createSelector(N, (a2) => Object.values(a2));
|
|
21919
21919
|
te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
|
|
21920
|
-
|
|
21920
|
+
ke = createSelector(B, (a2) => a2.localPeer);
|
|
21921
21921
|
zh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
|
|
21922
21922
|
Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
|
|
21923
|
-
|
|
21924
|
-
|
|
21923
|
+
oe = createSelector(te, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
|
21924
|
+
z = createSelector(te, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
|
21925
21925
|
wo = createSelector(te, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
|
21926
|
-
Ys = createSelector([
|
|
21926
|
+
Ys = createSelector([oe, z, wo], (a2, e, t) => {
|
|
21927
21927
|
let i = t ? [...t] : [];
|
|
21928
21928
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
|
21929
21929
|
});
|
|
21930
|
-
Xh = createSelector(
|
|
21930
|
+
Xh = createSelector(ge, (a2) => a2.filter((e) => !e.isLocal));
|
|
21931
21931
|
Zh = createSelector(K, Co, (a2, e) => {
|
|
21932
21932
|
let t = Object.entries(e).sort((i, r) => {
|
|
21933
|
-
var n,
|
|
21933
|
+
var n, d;
|
|
21934
21934
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
|
21935
|
-
return (((
|
|
21935
|
+
return (((d = r[1]) == null ? void 0 : d.audioLevel) || 0) > s ? 1 : -1;
|
|
21936
21936
|
});
|
|
21937
21937
|
if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
|
|
21938
21938
|
let i = t[0][1].peerID;
|
|
@@ -21942,13 +21942,13 @@ var init_dist = __esm({
|
|
|
21942
21942
|
return null;
|
|
21943
21943
|
});
|
|
21944
21944
|
Gr = createSelector(te, N, (a2, e) => {
|
|
21945
|
-
let { video: t, audio: i } =
|
|
21945
|
+
let { video: t, audio: i } = Ue(e, a2);
|
|
21946
21946
|
return !!(t || i);
|
|
21947
21947
|
});
|
|
21948
21948
|
_o = createSelector(K, N, (a2, e) => {
|
|
21949
21949
|
let t;
|
|
21950
21950
|
for (let i in a2) {
|
|
21951
|
-
let r = a2[i], { video: s, audio: o } =
|
|
21951
|
+
let r = a2[i], { video: s, audio: o } = Ue(e, r);
|
|
21952
21952
|
if (s)
|
|
21953
21953
|
return r;
|
|
21954
21954
|
o && !t && (t = r);
|
|
@@ -21958,7 +21958,7 @@ var init_dist = __esm({
|
|
|
21958
21958
|
tm = createSelector(_o, (a2) => !!a2);
|
|
21959
21959
|
im = createSelector(K, N, (a2, e) => {
|
|
21960
21960
|
for (let t in a2) {
|
|
21961
|
-
let i = a2[t], { audio: r, video: s } =
|
|
21961
|
+
let i = a2[t], { audio: r, video: s } = Ue(e, i);
|
|
21962
21962
|
if (!s && r)
|
|
21963
21963
|
return i;
|
|
21964
21964
|
}
|
|
@@ -21966,7 +21966,7 @@ var init_dist = __esm({
|
|
|
21966
21966
|
rm = createSelector(K, N, (a2, e) => {
|
|
21967
21967
|
let t = [], i = [];
|
|
21968
21968
|
for (let r in a2) {
|
|
21969
|
-
let s = a2[r], { video: o, audio: n } =
|
|
21969
|
+
let s = a2[r], { video: o, audio: n } = Ue(e, s);
|
|
21970
21970
|
o ? t.push(s) : n && i.push(s);
|
|
21971
21971
|
}
|
|
21972
21972
|
return t.concat(i);
|
|
@@ -22003,14 +22003,14 @@ var init_dist = __esm({
|
|
|
22003
22003
|
Zs = createSelector(ie, (a2) => a2 === "Preview");
|
|
22004
22004
|
lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
|
22005
22005
|
um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
|
22006
|
-
|
|
22007
|
-
pm = createSelector([
|
|
22008
|
-
at = createSelector([te,
|
|
22006
|
+
Te = (a2) => a2.roles;
|
|
22007
|
+
pm = createSelector([Te], (a2) => Object.keys(a2));
|
|
22008
|
+
at = createSelector([te, Te], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
|
22009
22009
|
Oo = (a2) => {
|
|
22010
22010
|
var e;
|
|
22011
22011
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
|
22012
22012
|
};
|
|
22013
|
-
ea = createSelector([Oo,
|
|
22013
|
+
ea = createSelector([Oo, Te], (a2, e) => a2 ? e[a2] : null);
|
|
22014
22014
|
hm = createSelector([at], (a2) => {
|
|
22015
22015
|
var e;
|
|
22016
22016
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
|
@@ -22026,9 +22026,9 @@ var init_dist = __esm({
|
|
|
22026
22026
|
ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
|
22027
22027
|
km = createSelector(B, (a2) => a2.effectsKey);
|
|
22028
22028
|
ia = (a2) => a2.polls;
|
|
22029
|
-
|
|
22029
|
+
Im = createSelector(ge, (a2) => a2.filter((e) => e.isHandRaised));
|
|
22030
22030
|
xo = (a2) => a2.whiteboards;
|
|
22031
|
-
|
|
22031
|
+
Rm = createSelector(xo, (a2) => Object.values(a2)[0]);
|
|
22032
22032
|
sa = (a2 = "audio") => (e) => e.playlist[a2].list;
|
|
22033
22033
|
Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
|
22034
22034
|
aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
|
@@ -22110,125 +22110,125 @@ var init_dist = __esm({
|
|
|
22110
22110
|
};
|
|
22111
22111
|
b.level = 0;
|
|
22112
22112
|
$r = (a2, e) => e;
|
|
22113
|
-
|
|
22113
|
+
Ht = (a2, e) => e;
|
|
22114
22114
|
ha = (a2, e) => e;
|
|
22115
22115
|
Uo = (a2, e) => e;
|
|
22116
22116
|
Bo = (a2, e) => e;
|
|
22117
22117
|
q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
|
|
22118
|
-
Kr = createSelector([N,
|
|
22119
|
-
Vo = createSelector([N,
|
|
22118
|
+
Kr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
|
|
22119
|
+
Vo = createSelector([N, Ht], (a2, e) => {
|
|
22120
22120
|
if (!e)
|
|
22121
22121
|
return null;
|
|
22122
22122
|
let t = a2[e];
|
|
22123
22123
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
|
22124
22124
|
});
|
|
22125
|
-
Fo = createSelector([N,
|
|
22125
|
+
Fo = createSelector([N, Ht], (a2, e) => {
|
|
22126
22126
|
if (!e)
|
|
22127
22127
|
return null;
|
|
22128
22128
|
let t = a2[e];
|
|
22129
22129
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
|
22130
22130
|
});
|
|
22131
|
-
Go = createSelector([N,
|
|
22131
|
+
Go = createSelector([N, Ht], (a2, e) => {
|
|
22132
22132
|
if (!e)
|
|
22133
22133
|
return null;
|
|
22134
22134
|
let t = a2[e];
|
|
22135
22135
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
|
22136
22136
|
});
|
|
22137
|
-
Wo = createSelector([N,
|
|
22137
|
+
Wo = createSelector([N, Ht], (a2, e) => {
|
|
22138
22138
|
if (!e)
|
|
22139
22139
|
return null;
|
|
22140
22140
|
let t = a2[e];
|
|
22141
22141
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
|
22142
22142
|
});
|
|
22143
22143
|
$o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
|
|
22144
|
-
|
|
22145
|
-
Um =
|
|
22144
|
+
Y = A(q);
|
|
22145
|
+
Um = A(createSelector([Vr, Uo], (a2, e) => {
|
|
22146
22146
|
if (a2)
|
|
22147
22147
|
return e ? a2[e] : a2;
|
|
22148
22148
|
}));
|
|
22149
|
-
Fm =
|
|
22150
|
-
Gm =
|
|
22151
|
-
fi =
|
|
22152
|
-
ma =
|
|
22153
|
-
Wm =
|
|
22154
|
-
$m =
|
|
22155
|
-
Km =
|
|
22156
|
-
Ko =
|
|
22149
|
+
Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
|
|
22150
|
+
Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
|
|
22151
|
+
fi = A(Kr);
|
|
22152
|
+
ma = A(Vo);
|
|
22153
|
+
Wm = A(Fo);
|
|
22154
|
+
$m = A(Go);
|
|
22155
|
+
Km = A(Wo);
|
|
22156
|
+
Ko = A((a2, e) => {
|
|
22157
22157
|
let t = q(a2, e);
|
|
22158
22158
|
if (t && t.videoTrack && t.videoTrack !== "")
|
|
22159
22159
|
return a2.tracks[t.videoTrack];
|
|
22160
22160
|
});
|
|
22161
|
-
qo =
|
|
22161
|
+
qo = A((a2, e) => {
|
|
22162
22162
|
let t = q(a2, e);
|
|
22163
22163
|
if (t && t.audioTrack && t.audioTrack !== "")
|
|
22164
22164
|
return a2.tracks[t.audioTrack];
|
|
22165
22165
|
});
|
|
22166
|
-
jm =
|
|
22166
|
+
jm = A((a2, e) => {
|
|
22167
22167
|
let t = q(a2, e);
|
|
22168
22168
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
|
22169
22169
|
});
|
|
22170
22170
|
Sa = (a2, e) => e ? a2.speakers[e] : null;
|
|
22171
|
-
Jm =
|
|
22171
|
+
Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
|
22172
22172
|
jo = (a2, e) => {
|
|
22173
22173
|
let t = qo(e)(a2);
|
|
22174
22174
|
return Sa(a2, t == null ? void 0 : t.id);
|
|
22175
22175
|
};
|
|
22176
|
-
Qm =
|
|
22177
|
-
zm =
|
|
22176
|
+
Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
|
22177
|
+
zm = A((a2, e) => {
|
|
22178
22178
|
if (e)
|
|
22179
22179
|
return a2.connectionQualities[e];
|
|
22180
22180
|
});
|
|
22181
|
-
Ym =
|
|
22181
|
+
Ym = A((a2, e) => {
|
|
22182
22182
|
let t = q(a2, e);
|
|
22183
22183
|
if (t) {
|
|
22184
22184
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
|
|
22185
22185
|
return i ? a2.tracks[i] : void 0;
|
|
22186
22186
|
}
|
|
22187
22187
|
});
|
|
22188
|
-
Xm =
|
|
22188
|
+
Xm = A(createSelector(N, q, (a2, e) => {
|
|
22189
22189
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
|
22190
22190
|
let r = a2[i];
|
|
22191
22191
|
return ht(r) && pt(r);
|
|
22192
22192
|
});
|
|
22193
22193
|
return t ? a2[t] : void 0;
|
|
22194
22194
|
}));
|
|
22195
|
-
Zm =
|
|
22195
|
+
Zm = A(createSelector(N, q, (a2, e) => {
|
|
22196
22196
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
|
22197
22197
|
let r = a2[i];
|
|
22198
22198
|
return ht(r) && ut(r);
|
|
22199
22199
|
});
|
|
22200
22200
|
return t ? a2[t] : void 0;
|
|
22201
22201
|
}));
|
|
22202
|
-
eS =
|
|
22202
|
+
eS = A(createSelector(N, q, (a2, e) => {
|
|
22203
22203
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
|
22204
22204
|
let r = a2[i];
|
|
22205
22205
|
return ii(r) && ut(r);
|
|
22206
22206
|
});
|
|
22207
22207
|
return t ? a2[t] : void 0;
|
|
22208
22208
|
}));
|
|
22209
|
-
ga =
|
|
22209
|
+
ga = A(createSelector(N, q, (a2, e) => Ue(a2, e)));
|
|
22210
22210
|
Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
|
|
22211
|
-
iS =
|
|
22211
|
+
iS = A((a2, e) => {
|
|
22212
22212
|
let t = q(a2, e);
|
|
22213
|
-
return
|
|
22213
|
+
return Je(a2, t == null ? void 0 : t.audioTrack);
|
|
22214
22214
|
});
|
|
22215
|
-
rS =
|
|
22215
|
+
rS = A((a2, e) => {
|
|
22216
22216
|
let t = q(a2, e);
|
|
22217
|
-
return
|
|
22217
|
+
return Je(a2, t == null ? void 0 : t.videoTrack);
|
|
22218
22218
|
});
|
|
22219
|
-
fa =
|
|
22219
|
+
fa = A((a2, e) => {
|
|
22220
22220
|
if (e && a2.tracks[e])
|
|
22221
22221
|
return a2.tracks[e].volume === 0;
|
|
22222
22222
|
});
|
|
22223
|
-
sS =
|
|
22223
|
+
sS = A((a2, e) => {
|
|
22224
22224
|
let t = q(a2, e);
|
|
22225
22225
|
return fa(t == null ? void 0 : t.audioTrack)(a2);
|
|
22226
22226
|
});
|
|
22227
|
-
aS =
|
|
22227
|
+
aS = A((a2, e) => {
|
|
22228
22228
|
let t = Ta(e)(a2);
|
|
22229
22229
|
return fa(t == null ? void 0 : t.id)(a2);
|
|
22230
22230
|
});
|
|
22231
|
-
va =
|
|
22231
|
+
va = A((a2, e) => {
|
|
22232
22232
|
let t = Kr(a2, e);
|
|
22233
22233
|
if (t) {
|
|
22234
22234
|
if (t.type !== "audio") {
|
|
@@ -22238,15 +22238,15 @@ var init_dist = __esm({
|
|
|
22238
22238
|
return t.volume;
|
|
22239
22239
|
}
|
|
22240
22240
|
});
|
|
22241
|
-
oS =
|
|
22241
|
+
oS = A((a2, e) => {
|
|
22242
22242
|
let t = q(a2, e);
|
|
22243
22243
|
return va(t == null ? void 0 : t.audioTrack)(a2);
|
|
22244
22244
|
});
|
|
22245
|
-
nS =
|
|
22245
|
+
nS = A((a2, e) => {
|
|
22246
22246
|
let t = Ta(e)(a2);
|
|
22247
22247
|
return va(t == null ? void 0 : t.id)(a2);
|
|
22248
22248
|
});
|
|
22249
|
-
cS =
|
|
22249
|
+
cS = A((a2, e) => {
|
|
22250
22250
|
let t = Kr(a2, e);
|
|
22251
22251
|
if (t) {
|
|
22252
22252
|
if (t.type !== "video") {
|
|
@@ -22256,7 +22256,7 @@ var init_dist = __esm({
|
|
|
22256
22256
|
return t.layer;
|
|
22257
22257
|
}
|
|
22258
22258
|
});
|
|
22259
|
-
Ma = createSelector([Rt,
|
|
22259
|
+
Ma = createSelector([Rt, ke, $r], (a2, e, t) => {
|
|
22260
22260
|
if (t)
|
|
22261
22261
|
return a2.filter((i) => {
|
|
22262
22262
|
var r;
|
|
@@ -22277,24 +22277,24 @@ var init_dist = __esm({
|
|
|
22277
22277
|
Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
|
22278
22278
|
zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
|
22279
22279
|
dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
|
22280
|
-
lS =
|
|
22281
|
-
uS =
|
|
22282
|
-
pS =
|
|
22283
|
-
hS =
|
|
22284
|
-
ka =
|
|
22280
|
+
lS = A(Ma);
|
|
22281
|
+
uS = A(ya);
|
|
22282
|
+
pS = A(Qo);
|
|
22283
|
+
hS = A(zo);
|
|
22284
|
+
ka = A($o);
|
|
22285
22285
|
bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
|
|
22286
22286
|
var r;
|
|
22287
22287
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
|
22288
22288
|
}));
|
|
22289
22289
|
Yo = (a2) => a2.roleChangeRequests[0] || null;
|
|
22290
|
-
|
|
22291
|
-
|
|
22292
|
-
|
|
22293
|
-
Zo = createSelector([
|
|
22290
|
+
IS = createSelector([Yo, K, Te], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
|
22291
|
+
RS = createSelector([at], (a2) => mt(a2));
|
|
22292
|
+
AS = createSelector([ea], (a2) => mt(a2));
|
|
22293
|
+
Zo = createSelector([z, N], (a2, e) => {
|
|
22294
22294
|
let t = null;
|
|
22295
22295
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
|
22296
22296
|
});
|
|
22297
|
-
en = createSelector([
|
|
22297
|
+
en = createSelector([oe, N], (a2, e) => {
|
|
22298
22298
|
let t = null;
|
|
22299
22299
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
|
22300
22300
|
});
|
|
@@ -22302,7 +22302,7 @@ var init_dist = __esm({
|
|
|
22302
22302
|
zr = class {
|
|
22303
22303
|
constructor() {
|
|
22304
22304
|
this.TAG = "[HTTPAnalyticsTransport]";
|
|
22305
|
-
this.failedEvents = new
|
|
22305
|
+
this.failedEvents = new pe("client-events");
|
|
22306
22306
|
this.isConnected = true;
|
|
22307
22307
|
this.env = null;
|
|
22308
22308
|
this.websocketURL = "";
|
|
@@ -22328,7 +22328,7 @@ var init_dist = __esm({
|
|
|
22328
22328
|
throw Error(r.statusText);
|
|
22329
22329
|
this.removeFromStorage(e);
|
|
22330
22330
|
}).catch((r) => {
|
|
22331
|
-
|
|
22331
|
+
l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
|
|
22332
22332
|
});
|
|
22333
22333
|
}
|
|
22334
22334
|
flushFailedEvents() {
|
|
@@ -22344,66 +22344,66 @@ var init_dist = __esm({
|
|
|
22344
22344
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
|
22345
22345
|
}
|
|
22346
22346
|
};
|
|
22347
|
-
|
|
22347
|
+
Ee = new zr();
|
|
22348
22348
|
j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
|
|
22349
22349
|
tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
|
|
22350
22350
|
lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
|
|
22351
22351
|
Pn = (a2) => a2.localPeer.id;
|
|
22352
22352
|
En = (a2) => a2.localPeer.audioTrack;
|
|
22353
22353
|
bn = (a2) => a2.localPeer.videoTrack;
|
|
22354
|
-
|
|
22354
|
+
In = (a2, e) => e;
|
|
22355
22355
|
Ka = (a2, e) => e;
|
|
22356
|
-
|
|
22356
|
+
Rn = (a2) => a2.remoteTrackStats;
|
|
22357
22357
|
qa = (a2) => a2.peerStats;
|
|
22358
22358
|
ts = (a2) => a2.localTrackStats;
|
|
22359
|
-
|
|
22360
|
-
|
|
22359
|
+
Ie = createSelector([qa, Pn], (a2, e) => a2[e]);
|
|
22360
|
+
An = createSelector(Ie, (a2) => {
|
|
22361
22361
|
var e;
|
|
22362
22362
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
|
22363
22363
|
});
|
|
22364
|
-
Hn = createSelector(
|
|
22364
|
+
Hn = createSelector(Ie, (a2) => {
|
|
22365
22365
|
var e;
|
|
22366
22366
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
|
22367
22367
|
});
|
|
22368
|
-
Cn = createSelector(
|
|
22368
|
+
Cn = createSelector(Ie, (a2) => {
|
|
22369
22369
|
var e;
|
|
22370
22370
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
|
22371
22371
|
});
|
|
22372
|
-
Ln = createSelector(
|
|
22372
|
+
Ln = createSelector(Ie, (a2) => {
|
|
22373
22373
|
var e;
|
|
22374
22374
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
|
22375
22375
|
});
|
|
22376
|
-
Dn = createSelector(
|
|
22376
|
+
Dn = createSelector(Ie, (a2) => {
|
|
22377
22377
|
var e;
|
|
22378
22378
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
|
22379
22379
|
});
|
|
22380
|
-
wn = createSelector(
|
|
22380
|
+
wn = createSelector(Ie, (a2) => {
|
|
22381
22381
|
var e;
|
|
22382
22382
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
|
22383
22383
|
});
|
|
22384
|
-
_n = createSelector(
|
|
22384
|
+
_n = createSelector(Ie, (a2) => {
|
|
22385
22385
|
var e;
|
|
22386
22386
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
|
22387
22387
|
});
|
|
22388
|
-
Nn = createSelector(
|
|
22388
|
+
Nn = createSelector(Ie, (a2) => {
|
|
22389
22389
|
var e;
|
|
22390
22390
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
|
22391
22391
|
});
|
|
22392
|
-
On = createSelector([qa,
|
|
22393
|
-
xn = createSelector([
|
|
22392
|
+
On = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
|
|
22393
|
+
xn = createSelector([Rn, Ka], (a2, e) => e ? a2[e] : void 0);
|
|
22394
22394
|
is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
|
|
22395
|
-
Un =
|
|
22396
|
-
Bn =
|
|
22395
|
+
Un = A(On);
|
|
22396
|
+
Bn = A(xn);
|
|
22397
22397
|
Vn = createSelector([ts, En], (a2, e) => {
|
|
22398
22398
|
var t;
|
|
22399
22399
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
|
22400
22400
|
});
|
|
22401
|
-
Fn =
|
|
22401
|
+
Fn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
|
|
22402
22402
|
Gn = createSelector([ts, bn], (a2, e) => {
|
|
22403
22403
|
var t;
|
|
22404
22404
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
|
22405
22405
|
});
|
|
22406
|
-
Wn =
|
|
22406
|
+
Wn = A(createSelector(is, (a2) => a2));
|
|
22407
22407
|
}
|
|
22408
22408
|
});
|
|
22409
22409
|
|
|
@@ -22616,7 +22616,7 @@ var init_StreamActions = __esm({
|
|
|
22616
22616
|
};
|
|
22617
22617
|
RecordingPauseStatus = () => {
|
|
22618
22618
|
const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
|
|
22619
|
-
if (recording.hls && recording.hls.state ===
|
|
22619
|
+
if (recording.hls && recording.hls.state === Is.PAUSED) {
|
|
22620
22620
|
return /* @__PURE__ */ import_react88.default.createElement(
|
|
22621
22621
|
Tooltip,
|
|
22622
22622
|
{
|
|
@@ -22928,7 +22928,7 @@ var init_useUnreadPollQuizPresent = __esm({
|
|
|
22928
22928
|
init_dist();
|
|
22929
22929
|
import_react_sdk44 = require("@100mslive/react-sdk");
|
|
22930
22930
|
useUnreadPollQuizPresent = () => {
|
|
22931
|
-
const localPeerID = (0, import_react_sdk44.useHMSStore)(
|
|
22931
|
+
const localPeerID = (0, import_react_sdk44.useHMSStore)(ke);
|
|
22932
22932
|
const notification = (0, import_react_sdk44.useHMSNotifications)(import_react_sdk44.HMSNotificationTypes.POLL_STARTED);
|
|
22933
22933
|
const [unreadPollQuiz, setUnreadPollQuiz] = (0, import_react92.useState)(false);
|
|
22934
22934
|
(0, import_react92.useEffect)(() => {
|
|
@@ -27493,7 +27493,7 @@ var init_ChatFooter = __esm({
|
|
|
27493
27493
|
}
|
|
27494
27494
|
});
|
|
27495
27495
|
ChatFooter = ({ onSend, children }) => {
|
|
27496
|
-
var _a7, _b7, _c, _d,
|
|
27496
|
+
var _a7, _b7, _c, _d, _e;
|
|
27497
27497
|
const hmsActions = (0, import_react_sdk71.useHMSActions)();
|
|
27498
27498
|
const inputRef = (0, import_react147.useRef)(null);
|
|
27499
27499
|
const [draftMessage, setDraftMessage] = useChatDraftMessage();
|
|
@@ -27607,7 +27607,7 @@ var init_ChatFooter = __esm({
|
|
|
27607
27607
|
},
|
|
27608
27608
|
/* @__PURE__ */ import_react147.default.createElement(import_react_icons69.PauseCircleIcon, null),
|
|
27609
27609
|
/* @__PURE__ */ import_react147.default.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold" } }, "Pause Chat")
|
|
27610
|
-
)))) : null), selection && /* @__PURE__ */ import_react147.default.createElement(Flex, { align: ((
|
|
27610
|
+
)))) : null), selection && /* @__PURE__ */ import_react147.default.createElement(Flex, { align: ((_e = inputRef.current) == null ? void 0 : _e.scrollHeight) === 32 ? "center" : "end", css: { gap: "$4", w: "100%" } }, /* @__PURE__ */ import_react147.default.createElement(
|
|
27611
27611
|
Flex,
|
|
27612
27612
|
{
|
|
27613
27613
|
align: "end",
|
|
@@ -29557,7 +29557,7 @@ var init_SidePane = __esm({
|
|
|
29557
29557
|
tileProps,
|
|
29558
29558
|
hideControls = false
|
|
29559
29559
|
}) => {
|
|
29560
|
-
var _a7, _b7, _c, _d,
|
|
29560
|
+
var _a7, _b7, _c, _d, _e, _f, _g;
|
|
29561
29561
|
const isMobile = (0, import_react_use31.useMedia)(config.media.md);
|
|
29562
29562
|
const sidepane = (0, import_react_sdk83.useHMSStore)((0, import_react_sdk83.selectAppData)(APP_DATA.sidePane));
|
|
29563
29563
|
const activeScreensharePeerId = (0, import_react_sdk83.useHMSStore)((0, import_react_sdk83.selectAppData)(APP_DATA.activeScreensharePeerId));
|
|
@@ -29567,7 +29567,7 @@ var init_SidePane = __esm({
|
|
|
29567
29567
|
const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
|
|
29568
29568
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
|
29569
29569
|
const isMobileHLSStream = useMobileHLSStream();
|
|
29570
|
-
const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((
|
|
29570
|
+
const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e.background_media) || [];
|
|
29571
29571
|
const tileLayout = {
|
|
29572
29572
|
hideParticipantNameOnTile: tileProps == null ? void 0 : tileProps.hide_participant_name_on_tile,
|
|
29573
29573
|
roundedVideoTile: tileProps == null ? void 0 : tileProps.rounded_video_tile,
|
|
@@ -31209,9 +31209,9 @@ var init_ScreenshareLayout = __esm({
|
|
|
31209
31209
|
}
|
|
31210
31210
|
});
|
|
31211
31211
|
|
|
31212
|
-
// ../../../../../../../tmp/tmp-
|
|
31213
|
-
var
|
|
31214
|
-
"../../../../../../../tmp/tmp-
|
|
31212
|
+
// ../../../../../../../tmp/tmp-2856-n61qsj1R7QcB/19108e4308d0/index.css
|
|
31213
|
+
var init_e4308d0 = __esm({
|
|
31214
|
+
"../../../../../../../tmp/tmp-2856-n61qsj1R7QcB/19108e4308d0/index.css"() {
|
|
31215
31215
|
}
|
|
31216
31216
|
});
|
|
31217
31217
|
|
|
@@ -31233,7 +31233,7 @@ var init_WhiteboardLayout = __esm({
|
|
|
31233
31233
|
init_ProminenceLayout();
|
|
31234
31234
|
init_useUISettings();
|
|
31235
31235
|
init_constants();
|
|
31236
|
-
|
|
31236
|
+
init_e4308d0();
|
|
31237
31237
|
WhiteboardEmbed = () => {
|
|
31238
31238
|
const isMobile = (0, import_react_use42.useMedia)(config.media.md);
|
|
31239
31239
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
|
|
@@ -33104,7 +33104,7 @@ var init_HLSView = __esm({
|
|
|
33104
33104
|
return null;
|
|
33105
33105
|
};
|
|
33106
33106
|
HLSView = () => {
|
|
33107
|
-
var _a7, _b7, _c, _d,
|
|
33107
|
+
var _a7, _b7, _c, _d, _e, _f, _g;
|
|
33108
33108
|
const videoRef = (0, import_react206.useRef)(null);
|
|
33109
33109
|
const hlsViewRef = (0, import_react206.useRef)();
|
|
33110
33110
|
const { elements } = useRoomLayoutConferencingScreen();
|
|
@@ -33631,7 +33631,7 @@ var init_HLSView = __esm({
|
|
|
33631
33631
|
transition: "visibility 0s 0.5s, opacity 0.5s linear"
|
|
33632
33632
|
}
|
|
33633
33633
|
},
|
|
33634
|
-
((
|
|
33634
|
+
((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
|
|
33635
33635
|
/* @__PURE__ */ import_react206.default.createElement(
|
|
33636
33636
|
HMSVideoPlayer.Controls.Root,
|
|
33637
33637
|
{
|
|
@@ -34132,7 +34132,7 @@ var init_ConferenceScreen = __esm({
|
|
|
34132
34132
|
init_hooks();
|
|
34133
34133
|
init_constants();
|
|
34134
34134
|
ConferenceScreen = () => {
|
|
34135
|
-
var _a7, _b7, _c, _d,
|
|
34135
|
+
var _a7, _b7, _c, _d, _e, _f;
|
|
34136
34136
|
const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
|
|
34137
34137
|
const screenProps = useRoomLayoutConferencingScreen();
|
|
34138
34138
|
const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
|
|
@@ -34231,7 +34231,7 @@ var init_ConferenceScreen = __esm({
|
|
|
34231
34231
|
flex: "1 1 0",
|
|
34232
34232
|
minHeight: 0,
|
|
34233
34233
|
// @ts-ignore
|
|
34234
|
-
px: ((
|
|
34234
|
+
px: ((_e = (_d = (_c = screenProps == null ? void 0 : screenProps.elements) == null ? void 0 : _c.video_tile_layout) == null ? void 0 : _d.grid) == null ? void 0 : _e.edge_to_edge) ? 0 : "$10",
|
|
34235
34235
|
// TODO: padding to be controlled by section/element
|
|
34236
34236
|
paddingBottom: "env(safe-area-inset-bottom)",
|
|
34237
34237
|
"@lg": {
|
|
@@ -35621,7 +35621,7 @@ function Notifications() {
|
|
|
35621
35621
|
}, []);
|
|
35622
35622
|
(0, import_react_sdk122.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
|
35623
35623
|
(0, import_react233.useEffect)(() => {
|
|
35624
|
-
var _a8, _b8, _c, _d,
|
|
35624
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
|
|
35625
35625
|
if (!notification || isNotificationDisabled) {
|
|
35626
35626
|
return;
|
|
35627
35627
|
}
|
|
@@ -35635,7 +35635,7 @@ function Notifications() {
|
|
|
35635
35635
|
ToastManager.addToast({
|
|
35636
35636
|
title: `Error: ${(_d = notification.data) == null ? void 0 : _d.message}`
|
|
35637
35637
|
});
|
|
35638
|
-
} else if (((
|
|
35638
|
+
} else if (((_e = notification.data) == null ? void 0 : _e.message) === "role limit reached") {
|
|
35639
35639
|
ToastManager.addToast({
|
|
35640
35640
|
title: "The room is currently full, try joining later",
|
|
35641
35641
|
close: true,
|
|
@@ -36545,13 +36545,13 @@ var require_react_is_production_min = __commonJS({
|
|
|
36545
36545
|
init_define_process_env();
|
|
36546
36546
|
var b2 = "function" === typeof Symbol && Symbol.for;
|
|
36547
36547
|
var c = b2 ? Symbol.for("react.element") : 60103;
|
|
36548
|
-
var
|
|
36548
|
+
var d = b2 ? Symbol.for("react.portal") : 60106;
|
|
36549
36549
|
var e = b2 ? Symbol.for("react.fragment") : 60107;
|
|
36550
36550
|
var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
|
|
36551
36551
|
var g = b2 ? Symbol.for("react.profiler") : 60114;
|
|
36552
36552
|
var h = b2 ? Symbol.for("react.provider") : 60109;
|
|
36553
|
-
var
|
|
36554
|
-
var
|
|
36553
|
+
var k = b2 ? Symbol.for("react.context") : 60110;
|
|
36554
|
+
var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
|
|
36555
36555
|
var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
|
|
36556
36556
|
var n = b2 ? Symbol.for("react.forward_ref") : 60112;
|
|
36557
36557
|
var p = b2 ? Symbol.for("react.suspense") : 60113;
|
|
@@ -36562,13 +36562,13 @@ var require_react_is_production_min = __commonJS({
|
|
|
36562
36562
|
var w = b2 ? Symbol.for("react.fundamental") : 60117;
|
|
36563
36563
|
var x = b2 ? Symbol.for("react.responder") : 60118;
|
|
36564
36564
|
var y2 = b2 ? Symbol.for("react.scope") : 60119;
|
|
36565
|
-
function
|
|
36565
|
+
function z2(a2) {
|
|
36566
36566
|
if ("object" === typeof a2 && null !== a2) {
|
|
36567
36567
|
var u = a2.$$typeof;
|
|
36568
36568
|
switch (u) {
|
|
36569
36569
|
case c:
|
|
36570
36570
|
switch (a2 = a2.type, a2) {
|
|
36571
|
-
case
|
|
36571
|
+
case l2:
|
|
36572
36572
|
case m2:
|
|
36573
36573
|
case e:
|
|
36574
36574
|
case g:
|
|
@@ -36577,7 +36577,7 @@ var require_react_is_production_min = __commonJS({
|
|
|
36577
36577
|
return a2;
|
|
36578
36578
|
default:
|
|
36579
36579
|
switch (a2 = a2 && a2.$$typeof, a2) {
|
|
36580
|
-
case
|
|
36580
|
+
case k:
|
|
36581
36581
|
case n:
|
|
36582
36582
|
case t:
|
|
36583
36583
|
case r:
|
|
@@ -36587,68 +36587,68 @@ var require_react_is_production_min = __commonJS({
|
|
|
36587
36587
|
return u;
|
|
36588
36588
|
}
|
|
36589
36589
|
}
|
|
36590
|
-
case
|
|
36590
|
+
case d:
|
|
36591
36591
|
return u;
|
|
36592
36592
|
}
|
|
36593
36593
|
}
|
|
36594
36594
|
}
|
|
36595
|
-
function
|
|
36596
|
-
return
|
|
36595
|
+
function A2(a2) {
|
|
36596
|
+
return z2(a2) === m2;
|
|
36597
36597
|
}
|
|
36598
|
-
exports.AsyncMode =
|
|
36598
|
+
exports.AsyncMode = l2;
|
|
36599
36599
|
exports.ConcurrentMode = m2;
|
|
36600
|
-
exports.ContextConsumer =
|
|
36600
|
+
exports.ContextConsumer = k;
|
|
36601
36601
|
exports.ContextProvider = h;
|
|
36602
36602
|
exports.Element = c;
|
|
36603
36603
|
exports.ForwardRef = n;
|
|
36604
36604
|
exports.Fragment = e;
|
|
36605
36605
|
exports.Lazy = t;
|
|
36606
36606
|
exports.Memo = r;
|
|
36607
|
-
exports.Portal =
|
|
36607
|
+
exports.Portal = d;
|
|
36608
36608
|
exports.Profiler = g;
|
|
36609
36609
|
exports.StrictMode = f2;
|
|
36610
36610
|
exports.Suspense = p;
|
|
36611
36611
|
exports.isAsyncMode = function(a2) {
|
|
36612
|
-
return
|
|
36612
|
+
return A2(a2) || z2(a2) === l2;
|
|
36613
36613
|
};
|
|
36614
|
-
exports.isConcurrentMode =
|
|
36614
|
+
exports.isConcurrentMode = A2;
|
|
36615
36615
|
exports.isContextConsumer = function(a2) {
|
|
36616
|
-
return
|
|
36616
|
+
return z2(a2) === k;
|
|
36617
36617
|
};
|
|
36618
36618
|
exports.isContextProvider = function(a2) {
|
|
36619
|
-
return
|
|
36619
|
+
return z2(a2) === h;
|
|
36620
36620
|
};
|
|
36621
36621
|
exports.isElement = function(a2) {
|
|
36622
36622
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c;
|
|
36623
36623
|
};
|
|
36624
36624
|
exports.isForwardRef = function(a2) {
|
|
36625
|
-
return
|
|
36625
|
+
return z2(a2) === n;
|
|
36626
36626
|
};
|
|
36627
36627
|
exports.isFragment = function(a2) {
|
|
36628
|
-
return
|
|
36628
|
+
return z2(a2) === e;
|
|
36629
36629
|
};
|
|
36630
36630
|
exports.isLazy = function(a2) {
|
|
36631
|
-
return
|
|
36631
|
+
return z2(a2) === t;
|
|
36632
36632
|
};
|
|
36633
36633
|
exports.isMemo = function(a2) {
|
|
36634
|
-
return
|
|
36634
|
+
return z2(a2) === r;
|
|
36635
36635
|
};
|
|
36636
36636
|
exports.isPortal = function(a2) {
|
|
36637
|
-
return
|
|
36637
|
+
return z2(a2) === d;
|
|
36638
36638
|
};
|
|
36639
36639
|
exports.isProfiler = function(a2) {
|
|
36640
|
-
return
|
|
36640
|
+
return z2(a2) === g;
|
|
36641
36641
|
};
|
|
36642
36642
|
exports.isStrictMode = function(a2) {
|
|
36643
|
-
return
|
|
36643
|
+
return z2(a2) === f2;
|
|
36644
36644
|
};
|
|
36645
36645
|
exports.isSuspense = function(a2) {
|
|
36646
|
-
return
|
|
36646
|
+
return z2(a2) === p;
|
|
36647
36647
|
};
|
|
36648
36648
|
exports.isValidElementType = function(a2) {
|
|
36649
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof ===
|
|
36649
|
+
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
|
|
36650
36650
|
};
|
|
36651
|
-
exports.typeOf =
|
|
36651
|
+
exports.typeOf = z2;
|
|
36652
36652
|
}
|
|
36653
36653
|
});
|
|
36654
36654
|
|