@100mslive/roomkit-react 0.3.17-alpha.12 → 0.3.17-alpha.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-GCUCC7MH.css → HLSView-GVUNZ2D4.css} +3 -3
- package/dist/{HLSView-GCUCC7MH.css.map → HLSView-GVUNZ2D4.css.map} +1 -1
- package/dist/{HLSView-D37W6IYC.js → HLSView-SAG33GFW.js} +2 -2
- package/dist/{chunk-HVEJKF3Q.js → chunk-JXJG7EYW.js} +318 -318
- package/dist/{chunk-HVEJKF3Q.js.map → chunk-JXJG7EYW.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +297 -297
- 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 +14 -14
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- /package/dist/{HLSView-D37W6IYC.js.map → HLSView-SAG33GFW.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_5530744c-dc75-4384-9dca-9c0506ec0e09", 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.12", 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.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5530744c-dc75-4384-9dca-9c0506ec0e09", 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.12", 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/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240730.2.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:16299", 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.12", 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: "10261319405", 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: "076d5cf283a80eecd8ba2447912778ace884576d", 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: "a3f88cb9ddcb7c7ffc049c214180bca01d28e329e5f4713a564baad60185161e", 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--1722925248453-0.13509407785256422:/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--1722925248260-0.8252299207615144:/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--1722925222961-0.3857170281225182:/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--1722925222785-0.636730337746219:/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_7dd9e085-8ff2-4d80-a4f1-a123fca11306", INVOCATION_ID: "0da5c05c7ceb46889a22af577e0ffe4f", 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: "629", 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 479", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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.12", 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.12", 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: "076d5cf283a80eecd8ba2447912778ace884576d", 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_5530744c-dc75-4384-9dca-9c0506ec0e09", 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_5530744c-dc75-4384-9dca-9c0506ec0e09", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5530744c-dc75-4384-9dca-9c0506ec0e09" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7950ec70-5b6f-4d14-aa83-bc6d144797b2", 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.14", 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.14", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7950ec70-5b6f-4d14-aa83-bc6d144797b2", 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.14", 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/27.0.12077973", 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: "588", 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: "20240804.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:1846", 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.14", 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: "10314884356", 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: "2a1e38838cc26364c05e8a6b0f85819073bd944c", 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: "f11344fe23538a34faec5de84b41d6bf6b57cb322a76729061ab35fc75a06b34", 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--1723185851779-0.11653995230171077:/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--1723185851550-0.6214763991192565:/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--1723185826319-0.4855834973528801:/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--1723185826142-0.2303058490353449:/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_99cd3b2b-e612-4970-a689-88e28aeea503", INVOCATION_ID: "235ea6e8c83d40dd92f24cb1ee131ba5", 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: "631", 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 226", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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.14", 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.14", 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: "2a1e38838cc26364c05e8a6b0f85819073bd944c", 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_7950ec70-5b6f-4d14-aa83-bc6d144797b2", 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_7950ec70-5b6f-4d14-aa83-bc6d144797b2", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7950ec70-5b6f-4d14-aa83-bc6d144797b2" };
|
113
113
|
}
|
114
114
|
});
|
115
115
|
|
@@ -21286,7 +21286,7 @@ function Be(a2, e) {
|
|
21286
21286
|
if (e)
|
21287
21287
|
for (let r of e.auxiliaryTracks) {
|
21288
21288
|
let s = a2[r];
|
21289
|
-
|
21289
|
+
to(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
|
21290
21290
|
}
|
21291
21291
|
return { video: t, audio: i };
|
21292
21292
|
}
|
@@ -21296,7 +21296,7 @@ function ut(a2) {
|
|
21296
21296
|
function pt(a2) {
|
21297
21297
|
return a2 && a2.type === "video";
|
21298
21298
|
}
|
21299
|
-
function
|
21299
|
+
function to(a2) {
|
21300
21300
|
return a2 && a2.source === "screen";
|
21301
21301
|
}
|
21302
21302
|
function ii(a2) {
|
@@ -21305,7 +21305,7 @@ function ii(a2) {
|
|
21305
21305
|
function ht(a2) {
|
21306
21306
|
return a2 && a2.source === "videoplaylist";
|
21307
21307
|
}
|
21308
|
-
function
|
21308
|
+
function ds(a2) {
|
21309
21309
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21310
21310
|
}
|
21311
21311
|
function Je(a2, e) {
|
@@ -21316,8 +21316,8 @@ function mt(a2) {
|
|
21316
21316
|
let e = false, t = false, i = false;
|
21317
21317
|
return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
|
21318
21318
|
}
|
21319
|
-
function
|
21320
|
-
if (
|
21319
|
+
function ao() {
|
21320
|
+
if (B && window) {
|
21321
21321
|
let a2 = window.location.hostname;
|
21322
21322
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21323
21323
|
}
|
@@ -21329,9 +21329,9 @@ function ne(a2) {
|
|
21329
21329
|
function Tt(a2 = "prod", e) {
|
21330
21330
|
let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21331
21331
|
if (Ve)
|
21332
|
-
return
|
21333
|
-
let r =
|
21334
|
-
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`),
|
21332
|
+
return Ps({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ks, 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 });
|
21333
|
+
let r = ve.getOS(), s = ve.getDevice(), o = ve.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
|
21334
|
+
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), Ps({ os: n, os_version: d, sdk: t, sdk_version: ks, 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 });
|
21335
21335
|
}
|
21336
21336
|
function Mr(a2) {
|
21337
21337
|
return a2.replace(/ /g, "_");
|
@@ -21349,13 +21349,13 @@ function ai(a2, e = 300) {
|
|
21349
21349
|
function A(a2) {
|
21350
21350
|
return (e) => (t) => a2(t, e);
|
21351
21351
|
}
|
21352
|
-
function
|
21352
|
+
function Fm(a2) {
|
21353
21353
|
return (e) => {
|
21354
21354
|
if (e.sessionStore)
|
21355
21355
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
21356
21356
|
};
|
21357
21357
|
}
|
21358
|
-
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,
|
21358
|
+
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, Qa, za, Zt, as, os, ss, h, M, mr, Za, vr, Sr, eo, ns, gr, cs, us, io, l, ve, B, ps, Ve, so, rc, hs, ms, Ts, fs, ze, E, f, oo, S, fr, vs, he, Ms, ks, Ps, H, y, yr, J, kr, Pr, Ir, Rs, As, Hs, Cs, Ls, Rr, ws, Ar, Os, Hr, xs, Cr, Lr, Vs, Fs, Pt, rt, V, Co, qh, jh, K, Ti, zs, O, Vr, Lo, xe, zh, wo, Te, Do, ie, Ee, Yh, Xh, oe, z, _o, Xs, Zh, em, Gr, No, im, rm, sm, am, om, nm, cm, dm, Rt, Oo, lm, re, ea, um, pm, fe, hm, at, xo, ta, mm, ia, Sm, gm, Tm, fm, vm, Mm, ym, km, Pm, Em, ra, Am, Uo, Hm, aa, Wr, oa, na, ca, da, la, ua, pa, ha, At, b, $r, Ht, ma, Bo, Vo, q, Kr, Fo, Go, Wo, $o, Ko, Y, Vm, Wm, $m, fi, Sa, Km, qm, jm, qo, jo, Qm, ga, zm, Jo, Ym, Xm, Zm, eS, tS, iS, Ta, fa, sS, aS, va, oS, nS, Ma, cS, dS, lS, ya, ka, Qo, zo, Yo, uS, pS, hS, mS, SS, Pa, RS, Xo, AS, HS, CS, en, tn, an, zr, Ie, j, tr, lr, En, bn, In, Rn, qa, An, ja, ts, Ae, Hn, Cn, Ln, wn, Dn, _n, Nn, On, xn, Un, is, Bn, Vn, Fn, Gn, Wn, $n;
|
21359
21359
|
var init_dist = __esm({
|
21360
21360
|
"../hms-video-store/dist/index.js"() {
|
21361
21361
|
"use strict";
|
@@ -21383,42 +21383,42 @@ var init_dist = __esm({
|
|
21383
21383
|
import_uuid9 = require("uuid");
|
21384
21384
|
import_uuid10 = require("uuid");
|
21385
21385
|
init_es();
|
21386
|
-
|
21387
|
-
|
21388
|
-
|
21386
|
+
Ja = Object.defineProperty;
|
21387
|
+
Qa = Object.defineProperties;
|
21388
|
+
za = Object.getOwnPropertyDescriptors;
|
21389
21389
|
Zt = Object.getOwnPropertySymbols;
|
21390
|
-
|
21391
|
-
|
21392
|
-
|
21393
|
-
|
21390
|
+
as = Object.prototype.hasOwnProperty;
|
21391
|
+
os = Object.prototype.propertyIsEnumerable;
|
21392
|
+
ss = (a2, e, t) => e in a2 ? Ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21393
|
+
h = (a2, e) => {
|
21394
21394
|
for (var t in e || (e = {}))
|
21395
|
-
|
21395
|
+
as.call(e, t) && ss(a2, t, e[t]);
|
21396
21396
|
if (Zt)
|
21397
21397
|
for (var t of Zt(e))
|
21398
|
-
|
21398
|
+
os.call(e, t) && ss(a2, t, e[t]);
|
21399
21399
|
return a2;
|
21400
21400
|
};
|
21401
|
-
M = (a2, e) =>
|
21401
|
+
M = (a2, e) => Qa(a2, za(e));
|
21402
21402
|
mr = (a2, e) => {
|
21403
21403
|
var t = {};
|
21404
21404
|
for (var i in a2)
|
21405
|
-
|
21405
|
+
as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21406
21406
|
if (a2 != null && Zt)
|
21407
21407
|
for (var i of Zt(a2))
|
21408
|
-
e.indexOf(i) < 0 &&
|
21408
|
+
e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
|
21409
21409
|
return t;
|
21410
21410
|
};
|
21411
|
-
|
21412
|
-
vr =
|
21413
|
-
|
21411
|
+
Za = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21412
|
+
vr = Za((Hc, co) => {
|
21413
|
+
co.exports = { version: "0.12.17-alpha.14", 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"] };
|
21414
21414
|
});
|
21415
21415
|
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 || {});
|
21416
|
-
|
21417
|
-
|
21416
|
+
eo = ((e) => (e.CHAT = "chat", e))(eo || {});
|
21417
|
+
ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
|
21418
21418
|
gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
|
21419
|
-
|
21420
|
-
|
21421
|
-
|
21419
|
+
cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
|
21420
|
+
us = ((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))(us || {});
|
21421
|
+
io = typeof window != "undefined" && typeof window.expect != "undefined";
|
21422
21422
|
l = class {
|
21423
21423
|
static v(e, ...t) {
|
21424
21424
|
this.log(0, e, ...t);
|
@@ -21484,16 +21484,16 @@ var init_dist = __esm({
|
|
21484
21484
|
}
|
21485
21485
|
}
|
21486
21486
|
};
|
21487
|
-
l.level =
|
21488
|
-
|
21489
|
-
|
21490
|
-
Ve = typeof window == "undefined" && !((
|
21491
|
-
|
21492
|
-
|
21493
|
-
|
21494
|
-
|
21495
|
-
ze =
|
21496
|
-
|
21487
|
+
l.level = io ? 7 : 0;
|
21488
|
+
ve = new import_ua_parser_js.UAParser();
|
21489
|
+
B = typeof window != "undefined";
|
21490
|
+
Ve = typeof window == "undefined" && !((ps = ve.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
|
21491
|
+
so = () => !Ve;
|
21492
|
+
rc = so();
|
21493
|
+
Ts = ((ms = (hs = ve.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
|
21494
|
+
fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(fs || {});
|
21495
|
+
ze = ao();
|
21496
|
+
E = { 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 } };
|
21497
21497
|
f = class a extends Error {
|
21498
21498
|
constructor(t, i, r, s, o, n = false) {
|
21499
21499
|
super(s);
|
@@ -21523,99 +21523,99 @@ var init_dist = __esm({
|
|
21523
21523
|
}`;
|
21524
21524
|
}
|
21525
21525
|
};
|
21526
|
-
|
21526
|
+
oo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21527
21527
|
S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21528
|
-
return new f(
|
21528
|
+
return new f(E.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21529
21529
|
}, WebSocketConnectionLost(a2, e = "") {
|
21530
|
-
return new f(
|
21530
|
+
return new f(E.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
21531
21531
|
}, AbnormalClose(a2, e = "") {
|
21532
|
-
return new f(
|
21532
|
+
return new f(E.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
21533
21533
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
21534
21534
|
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
21535
21535
|
}, EndpointUnreachable(a2, e = "") {
|
21536
|
-
return new f(
|
21536
|
+
return new f(E.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
21537
21537
|
}, InvalidTokenFormat(a2, e = "") {
|
21538
|
-
return new f(
|
21538
|
+
return new f(E.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
21539
21539
|
}, InitConfigNotAvailable(a2, e = "") {
|
21540
|
-
return new f(
|
21540
|
+
return new f(E.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
21541
21541
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
21542
|
-
return new f(
|
21542
|
+
return new f(E.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
21543
21543
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
21544
|
-
return new f(
|
21544
|
+
return new f(E.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
21545
21545
|
}, DeviceNotAvailable(a2, e, t = "") {
|
21546
|
-
return new f(
|
21546
|
+
return new f(E.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
21547
21547
|
}, DeviceInUse(a2, e, t = "") {
|
21548
|
-
return new f(
|
21548
|
+
return new f(E.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
21549
21549
|
}, DeviceLostMidway(a2, e, t = "") {
|
21550
|
-
return new f(
|
21550
|
+
return new f(E.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
21551
21551
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
21552
|
-
return new f(
|
21552
|
+
return new f(E.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
21553
21553
|
}, InvalidVideoSettings(a2, e = "") {
|
21554
|
-
return new f(
|
21554
|
+
return new f(E.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
21555
21555
|
}, AutoplayBlocked(a2, e = "") {
|
21556
|
-
return new f(
|
21556
|
+
return new f(E.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
21557
21557
|
}, CodecChangeNotPermitted(a2, e = "") {
|
21558
|
-
return new f(
|
21558
|
+
return new f(E.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
21559
21559
|
}, OverConstrained(a2, e, t = "") {
|
21560
|
-
return new f(
|
21560
|
+
return new f(E.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
21561
21561
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
21562
|
-
return new f(
|
21562
|
+
return new f(E.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
21563
21563
|
}, SystemDeniedPermission(a2, e, t = "") {
|
21564
|
-
return new f(
|
21564
|
+
return new f(E.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
21565
21565
|
}, CurrentTabNotShared() {
|
21566
|
-
return new f(
|
21566
|
+
return new f(E.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");
|
21567
21567
|
}, AudioPlaybackError(a2) {
|
21568
|
-
return new f(
|
21568
|
+
return new f(E.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
21569
21569
|
}, SelectedDeviceMissing(a2) {
|
21570
|
-
return new f(
|
21570
|
+
return new f(E.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
21571
21571
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
21572
|
-
return new f(
|
21572
|
+
return new f(E.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
21573
21573
|
}, CreateAnswerFailed(a2, e = "") {
|
21574
|
-
return new f(
|
21574
|
+
return new f(E.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
21575
21575
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
21576
|
-
return new f(
|
21576
|
+
return new f(E.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
21577
21577
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
21578
|
-
return new f(
|
21578
|
+
return new f(E.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
21579
21579
|
}, ICEFailure(a2, e = "", t = false) {
|
21580
|
-
return new f(
|
21580
|
+
return new f(E.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
21581
21581
|
}, ICEDisconnected(a2, e = "") {
|
21582
|
-
return new f(
|
21582
|
+
return new f(E.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
21583
21583
|
}, StatsFailed(a2, e = "") {
|
21584
|
-
return new f(
|
21584
|
+
return new f(E.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21585
21585
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21586
|
-
return new f(a2, "ServerErrors", e, t, t,
|
21586
|
+
return new f(a2, "ServerErrors", e, t, t, oo.includes(e));
|
21587
21587
|
}, AlreadyJoined(a2, e = "") {
|
21588
|
-
return new f(
|
21588
|
+
return new f(E.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21589
21589
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
21590
|
-
return new f(
|
21590
|
+
return new f(E.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
21591
21591
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
21592
|
-
return new f(
|
21592
|
+
return new f(E.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
21593
21593
|
}, Signalling(a2, e) {
|
21594
|
-
return new f(
|
21594
|
+
return new f(E.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
21595
21595
|
}, Unknown(a2, e) {
|
21596
|
-
return new f(
|
21596
|
+
return new f(E.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
21597
21597
|
}, NotReady(a2, e = "") {
|
21598
|
-
return new f(
|
21598
|
+
return new f(E.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
21599
21599
|
}, JsonParsingFailed(a2, e, t = "") {
|
21600
|
-
return new f(
|
21600
|
+
return new f(E.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
21601
21601
|
}, TrackMetadataMissing(a2, e = "") {
|
21602
|
-
return new f(
|
21602
|
+
return new f(E.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
21603
21603
|
}, RTCTrackMissing(a2, e = "") {
|
21604
|
-
return new f(
|
21604
|
+
return new f(E.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
21605
21605
|
}, PeerMetadataMissing(a2, e = "") {
|
21606
|
-
return new f(
|
21606
|
+
return new f(E.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
21607
21607
|
}, ValidationFailed(a2, e) {
|
21608
|
-
return new f(
|
21608
|
+
return new f(E.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
21609
21609
|
}, InvalidRole(a2, e) {
|
21610
|
-
return new f(
|
21610
|
+
return new f(E.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
21611
21611
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
21612
|
-
return new f(
|
21612
|
+
return new f(E.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
21613
21613
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
21614
|
-
return new f(
|
21614
|
+
return new f(E.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
21615
21615
|
}, MissingMediaDevices() {
|
21616
|
-
return new f(
|
21616
|
+
return new f(E.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);
|
21617
21617
|
}, MissingRTCPeerConnection() {
|
21618
|
-
return new f(
|
21618
|
+
return new f(E.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);
|
21619
21619
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
21620
21620
|
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
21621
21621
|
}, InitFailed(a2, e = "") {
|
@@ -21627,9 +21627,9 @@ var init_dist = __esm({
|
|
21627
21627
|
}, DeviceNotSupported(a2, e = "") {
|
21628
21628
|
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
21629
21629
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
21630
|
-
return new f(
|
21630
|
+
return new f(E.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
21631
21631
|
}, NoEntryPlaying(a2, e) {
|
21632
|
-
return new f(
|
21632
|
+
return new f(E.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21633
21633
|
} } };
|
21634
21634
|
fr = class {
|
21635
21635
|
constructor() {
|
@@ -21656,21 +21656,21 @@ var init_dist = __esm({
|
|
21656
21656
|
return this.valuesMap.size;
|
21657
21657
|
}
|
21658
21658
|
};
|
21659
|
-
|
21659
|
+
vs = () => {
|
21660
21660
|
try {
|
21661
|
-
|
21661
|
+
B && !localStorage && (window.localStorage = new fr());
|
21662
21662
|
} catch (a2) {
|
21663
21663
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21664
21664
|
}
|
21665
21665
|
};
|
21666
|
-
|
21666
|
+
he = class {
|
21667
21667
|
constructor(e) {
|
21668
21668
|
this.key = e;
|
21669
21669
|
this.storage = null;
|
21670
21670
|
}
|
21671
21671
|
getStorage() {
|
21672
21672
|
try {
|
21673
|
-
return
|
21673
|
+
return B && !this.storage && (vs(), this.storage = window.localStorage), this.storage;
|
21674
21674
|
} catch (e) {
|
21675
21675
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21676
21676
|
}
|
@@ -21690,24 +21690,24 @@ var init_dist = __esm({
|
|
21690
21690
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21691
21691
|
}
|
21692
21692
|
};
|
21693
|
-
|
21694
|
-
let a2, e = new
|
21693
|
+
Ms = () => {
|
21694
|
+
let a2, e = new he("hms-analytics-deviceId"), t = e.get();
|
21695
21695
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
21696
21696
|
};
|
21697
|
-
|
21698
|
-
|
21697
|
+
ks = vr().version;
|
21698
|
+
Ps = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21699
21699
|
H = class {
|
21700
21700
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21701
21701
|
this.metadata = { peer: {}, userAgent: Tt() };
|
21702
|
-
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 =
|
21702
|
+
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 = Ms();
|
21703
21703
|
}
|
21704
21704
|
toSignalParams() {
|
21705
|
-
return { name: this.name, info: M(
|
21705
|
+
return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
21706
21706
|
}
|
21707
21707
|
};
|
21708
21708
|
y = class {
|
21709
21709
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
21710
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(
|
21710
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(h({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
21711
21711
|
return new H({ name: o, level: n, properties: d });
|
21712
21712
|
}
|
21713
21713
|
static disconnect(e, t) {
|
@@ -21721,7 +21721,7 @@ var init_dist = __esm({
|
|
21721
21721
|
}
|
21722
21722
|
static join(i) {
|
21723
21723
|
var r = i, { error: e } = r, t = mr(r, ["error"]);
|
21724
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(
|
21724
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
21725
21725
|
return new H({ name: s, level: o, properties: n });
|
21726
21726
|
}
|
21727
21727
|
static publish({ devices: e, settings: t, error: i }) {
|
@@ -21764,7 +21764,7 @@ var init_dist = __esm({
|
|
21764
21764
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
21765
21765
|
if (!t && e.degradedAt instanceof Date) {
|
21766
21766
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
21767
|
-
s = M(
|
21767
|
+
s = M(h({}, s), { duration: n, restoredAt: o });
|
21768
21768
|
}
|
21769
21769
|
return new H({ name: i, level: r, properties: s });
|
21770
21770
|
}
|
@@ -21791,14 +21791,14 @@ var init_dist = __esm({
|
|
21791
21791
|
return new H({ name: "krisp.stop", level: 1 });
|
21792
21792
|
}
|
21793
21793
|
static interruption(e, t, i) {
|
21794
|
-
return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties:
|
21794
|
+
return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ type: t }, i) });
|
21795
21795
|
}
|
21796
21796
|
static eventNameFor(e, t) {
|
21797
21797
|
return `${e}.${t ? "success" : "failed"}`;
|
21798
21798
|
}
|
21799
21799
|
static getPropertiesWithError(e, t) {
|
21800
21800
|
let i = this.getErrorProperties(t);
|
21801
|
-
return e =
|
21801
|
+
return e = h(h({}, i), e), e;
|
21802
21802
|
}
|
21803
21803
|
static getErrorProperties(e) {
|
21804
21804
|
return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
@@ -21807,7 +21807,7 @@ var init_dist = __esm({
|
|
21807
21807
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21808
21808
|
yr = class {
|
21809
21809
|
constructor() {
|
21810
|
-
this.storage = new
|
21810
|
+
this.storage = new he("hms-device-selection");
|
21811
21811
|
this.remember = false;
|
21812
21812
|
this.TAG = "[HMSDeviceStorage]";
|
21813
21813
|
}
|
@@ -21843,13 +21843,13 @@ var init_dist = __esm({
|
|
21843
21843
|
kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
|
21844
21844
|
Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
|
21845
21845
|
Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
|
21846
|
-
|
21847
|
-
|
21848
|
-
|
21849
|
-
|
21850
|
-
|
21846
|
+
Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
|
21847
|
+
As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
|
21848
|
+
Hs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Hs || {});
|
21849
|
+
Cs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Cs || {});
|
21850
|
+
Ls = ((e) => (e.CAPTION = "caption", e))(Ls || {});
|
21851
21851
|
Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
|
21852
|
-
|
21852
|
+
ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
|
21853
21853
|
Ar = class {
|
21854
21854
|
constructor() {
|
21855
21855
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -21873,11 +21873,11 @@ var init_dist = __esm({
|
|
21873
21873
|
this.createObserver();
|
21874
21874
|
}
|
21875
21875
|
isSupported() {
|
21876
|
-
let e =
|
21876
|
+
let e = B && typeof window.IntersectionObserver != "undefined";
|
21877
21877
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
21878
21878
|
}
|
21879
21879
|
};
|
21880
|
-
|
21880
|
+
Os = new Ar();
|
21881
21881
|
Hr = class {
|
21882
21882
|
constructor() {
|
21883
21883
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -21901,47 +21901,47 @@ var init_dist = __esm({
|
|
21901
21901
|
this.createObserver();
|
21902
21902
|
}
|
21903
21903
|
isSupported() {
|
21904
|
-
let e =
|
21904
|
+
let e = B && typeof window.ResizeObserver != "undefined";
|
21905
21905
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
21906
21906
|
}
|
21907
21907
|
};
|
21908
|
-
|
21908
|
+
xs = new Hr();
|
21909
21909
|
Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
|
21910
21910
|
Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
|
21911
|
-
|
21912
|
-
|
21911
|
+
Vs = "https://event.100ms.live/v2/client/report";
|
21912
|
+
Fs = "https://event-nonprod.100ms.live/v2/client/report";
|
21913
21913
|
Pt = Math.pow(2, 31) - 1;
|
21914
21914
|
rt = class {
|
21915
21915
|
};
|
21916
21916
|
rt.makePeerId = () => (0, import_uuid7.v4)();
|
21917
|
-
|
21918
|
-
|
21919
|
-
|
21920
|
-
|
21917
|
+
V = (a2) => a2.room;
|
21918
|
+
Co = (a2) => a2.errors;
|
21919
|
+
qh = createSelector(Co, (a2) => a2.length === 0 ? null : a2.at(-1));
|
21920
|
+
jh = createSelector(V, (a2) => a2.id);
|
21921
21921
|
K = (a2) => a2.peers;
|
21922
21922
|
Ti = (a2) => a2.messages.byID;
|
21923
|
-
|
21924
|
-
|
21923
|
+
zs = (a2) => a2.messages.allIDs;
|
21924
|
+
O = (a2) => a2.tracks;
|
21925
21925
|
Vr = (a2) => a2.appData;
|
21926
|
-
|
21927
|
-
|
21928
|
-
|
21929
|
-
|
21930
|
-
|
21931
|
-
|
21932
|
-
ie = createSelector(
|
21933
|
-
|
21934
|
-
|
21935
|
-
|
21926
|
+
Lo = (a2) => a2.speakers;
|
21927
|
+
xe = createSelector([V], (a2) => a2 && a2.isConnected);
|
21928
|
+
zh = createSelector([xe, V], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
21929
|
+
wo = (a2) => a2.hideLocalPeer;
|
21930
|
+
Te = createSelector([V, K, wo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
21931
|
+
Do = createSelector(O, (a2) => Object.values(a2));
|
21932
|
+
ie = createSelector(V, K, (a2, e) => e[a2.localPeer]);
|
21933
|
+
Ee = createSelector(V, (a2) => a2.localPeer);
|
21934
|
+
Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
|
21935
|
+
Xh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
|
21936
21936
|
oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
21937
21937
|
z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
21938
|
-
|
21939
|
-
|
21938
|
+
_o = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
21939
|
+
Xs = createSelector([oe, z, _o], (a2, e, t) => {
|
21940
21940
|
let i = t ? [...t] : [];
|
21941
21941
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
21942
21942
|
});
|
21943
|
-
|
21944
|
-
|
21943
|
+
Zh = createSelector(Te, (a2) => a2.filter((e) => !e.isLocal));
|
21944
|
+
em = createSelector(K, Lo, (a2, e) => {
|
21945
21945
|
let t = Object.entries(e).sort((i, r) => {
|
21946
21946
|
var n, d;
|
21947
21947
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -21954,11 +21954,11 @@ var init_dist = __esm({
|
|
21954
21954
|
}
|
21955
21955
|
return null;
|
21956
21956
|
});
|
21957
|
-
Gr = createSelector(ie,
|
21957
|
+
Gr = createSelector(ie, O, (a2, e) => {
|
21958
21958
|
let { video: t, audio: i } = Be(e, a2);
|
21959
21959
|
return !!(t || i);
|
21960
21960
|
});
|
21961
|
-
|
21961
|
+
No = createSelector(K, O, (a2, e) => {
|
21962
21962
|
let t;
|
21963
21963
|
for (let i in a2) {
|
21964
21964
|
let r = a2[i], { video: s, audio: o } = Be(e, r);
|
@@ -21968,15 +21968,15 @@ var init_dist = __esm({
|
|
21968
21968
|
}
|
21969
21969
|
return t;
|
21970
21970
|
});
|
21971
|
-
|
21972
|
-
|
21971
|
+
im = createSelector(No, (a2) => !!a2);
|
21972
|
+
rm = createSelector(K, O, (a2, e) => {
|
21973
21973
|
for (let t in a2) {
|
21974
21974
|
let i = a2[t], { audio: r, video: s } = Be(e, i);
|
21975
21975
|
if (!s && r)
|
21976
21976
|
return i;
|
21977
21977
|
}
|
21978
21978
|
});
|
21979
|
-
|
21979
|
+
sm = createSelector(K, O, (a2, e) => {
|
21980
21980
|
let t = [], i = [];
|
21981
21981
|
for (let r in a2) {
|
21982
21982
|
let s = a2[r], { video: o, audio: n } = Be(e, s);
|
@@ -21984,78 +21984,78 @@ var init_dist = __esm({
|
|
21984
21984
|
}
|
21985
21985
|
return t.concat(i);
|
21986
21986
|
});
|
21987
|
-
|
21987
|
+
am = createSelector(K, O, (a2, e) => {
|
21988
21988
|
for (let t in e) {
|
21989
21989
|
let i = e[t];
|
21990
21990
|
if (ht(i) && pt(i) && i.peerId)
|
21991
21991
|
return a2[i.peerId];
|
21992
21992
|
}
|
21993
21993
|
});
|
21994
|
-
|
21994
|
+
om = createSelector(K, O, (a2, e) => {
|
21995
21995
|
for (let t in e) {
|
21996
21996
|
let i = e[t];
|
21997
21997
|
if (ii(i) && i.peerId)
|
21998
21998
|
return a2[i.peerId];
|
21999
21999
|
}
|
22000
22000
|
});
|
22001
|
-
|
22002
|
-
|
22003
|
-
|
22004
|
-
Rt = createSelector(
|
22001
|
+
nm = createSelector(Do, (a2) => a2.filter(ds));
|
22002
|
+
cm = createSelector(zs, (a2) => a2.length);
|
22003
|
+
dm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22004
|
+
Rt = createSelector(zs, Ti, (a2, e) => {
|
22005
22005
|
let t = [];
|
22006
22006
|
return a2.forEach((i) => {
|
22007
22007
|
t.push(e[i]);
|
22008
22008
|
}), t;
|
22009
22009
|
});
|
22010
|
-
|
22010
|
+
Oo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22011
22011
|
var t;
|
22012
22012
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22013
22013
|
}));
|
22014
|
-
|
22015
|
-
re = createSelector([
|
22016
|
-
|
22017
|
-
|
22018
|
-
|
22019
|
-
|
22020
|
-
|
22021
|
-
at = createSelector([ie,
|
22022
|
-
|
22014
|
+
lm = createSelector(Oo, (a2) => a2.filter((e) => !e.read).length);
|
22015
|
+
re = createSelector([V], (a2) => a2 && a2.roomState);
|
22016
|
+
ea = createSelector(re, (a2) => a2 === "Preview");
|
22017
|
+
um = createSelector(V, (a2) => a2.roomState !== "Disconnected");
|
22018
|
+
pm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22019
|
+
fe = (a2) => a2.roles;
|
22020
|
+
hm = createSelector([fe], (a2) => Object.keys(a2));
|
22021
|
+
at = createSelector([ie, fe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22022
|
+
xo = (a2) => {
|
22023
22023
|
var e;
|
22024
22024
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22025
22025
|
};
|
22026
|
-
|
22027
|
-
|
22026
|
+
ta = createSelector([xo, fe], (a2, e) => a2 ? e[a2] : null);
|
22027
|
+
mm = createSelector([at], (a2) => {
|
22028
22028
|
var e;
|
22029
22029
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22030
22030
|
});
|
22031
|
-
|
22032
|
-
|
22033
|
-
|
22034
|
-
|
22035
|
-
|
22036
|
-
|
22037
|
-
|
22038
|
-
|
22039
|
-
|
22040
|
-
|
22041
|
-
|
22042
|
-
|
22043
|
-
|
22044
|
-
|
22045
|
-
|
22046
|
-
|
22031
|
+
ia = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
|
22032
|
+
Sm = createSelector(V, (a2) => a2.recording);
|
22033
|
+
gm = createSelector(V, (a2) => a2.rtmp);
|
22034
|
+
Tm = createSelector(V, (a2) => a2.hls);
|
22035
|
+
fm = createSelector(V, (a2) => a2.transcriptions);
|
22036
|
+
vm = createSelector(V, (a2) => a2.sessionId);
|
22037
|
+
Mm = createSelector(V, (a2) => a2.startedAt);
|
22038
|
+
ym = createSelector(V, (a2) => !!a2.isLargeRoom);
|
22039
|
+
km = createSelector(V, (a2) => !!a2.isEffectsEnabled);
|
22040
|
+
Pm = createSelector(V, (a2) => !!a2.isVBEnabled);
|
22041
|
+
Em = createSelector(V, (a2) => a2.effectsKey);
|
22042
|
+
ra = (a2) => a2.polls;
|
22043
|
+
Am = createSelector(Te, (a2) => a2.filter((e) => e.isHandRaised));
|
22044
|
+
Uo = (a2) => a2.whiteboards;
|
22045
|
+
Hm = createSelector(Uo, (a2) => Object.values(a2)[0]);
|
22046
|
+
aa = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22047
22047
|
Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22048
|
-
|
22049
|
-
|
22050
|
-
|
22051
|
-
|
22052
|
-
|
22053
|
-
|
22048
|
+
oa = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22049
|
+
na = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22050
|
+
ca = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22051
|
+
da = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22052
|
+
la = (a2 = "audio") => createSelector(aa(a2), (e) => Object.values(e));
|
22053
|
+
ua = (a2 = "audio") => createSelector(aa(a2), Wr(a2), (e, t) => {
|
22054
22054
|
if (t.id)
|
22055
22055
|
return e[t.id];
|
22056
22056
|
});
|
22057
|
-
|
22058
|
-
|
22057
|
+
pa = { selection: Wr("audio"), progress: oa("audio"), currentTime: na("audio"), playbackRate: ca("audio"), volume: da("audio"), list: la("audio"), selectedItem: ua("audio") };
|
22058
|
+
ha = { selection: Wr("video"), progress: oa("video"), currentTime: na("video"), playbackRate: ca("video"), volume: da("video"), list: la("video"), selectedItem: ua("video") };
|
22059
22059
|
At = "HMS-Store:";
|
22060
22060
|
b = class {
|
22061
22061
|
static v(e, ...t) {
|
@@ -22125,124 +22125,124 @@ var init_dist = __esm({
|
|
22125
22125
|
b.level = 0;
|
22126
22126
|
$r = (a2, e) => e;
|
22127
22127
|
Ht = (a2, e) => e;
|
22128
|
-
|
22129
|
-
Uo = (a2, e) => e;
|
22128
|
+
ma = (a2, e) => e;
|
22130
22129
|
Bo = (a2, e) => e;
|
22130
|
+
Vo = (a2, e) => e;
|
22131
22131
|
q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
|
22132
|
-
Kr = createSelector([
|
22133
|
-
|
22132
|
+
Kr = createSelector([O, Ht], (a2, e) => e ? a2[e] : null);
|
22133
|
+
Fo = createSelector([O, Ht], (a2, e) => {
|
22134
22134
|
if (!e)
|
22135
22135
|
return null;
|
22136
22136
|
let t = a2[e];
|
22137
22137
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22138
22138
|
});
|
22139
|
-
|
22139
|
+
Go = createSelector([O, Ht], (a2, e) => {
|
22140
22140
|
if (!e)
|
22141
22141
|
return null;
|
22142
22142
|
let t = a2[e];
|
22143
22143
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22144
22144
|
});
|
22145
|
-
|
22145
|
+
Wo = createSelector([O, Ht], (a2, e) => {
|
22146
22146
|
if (!e)
|
22147
22147
|
return null;
|
22148
22148
|
let t = a2[e];
|
22149
22149
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22150
22150
|
});
|
22151
|
-
|
22151
|
+
$o = createSelector([O, Ht], (a2, e) => {
|
22152
22152
|
if (!e)
|
22153
22153
|
return null;
|
22154
22154
|
let t = a2[e];
|
22155
22155
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22156
22156
|
});
|
22157
|
-
|
22157
|
+
Ko = createSelector([ra, Vo], (a2, e) => e ? a2[e] : null);
|
22158
22158
|
Y = A(q);
|
22159
|
-
|
22159
|
+
Vm = A(createSelector([Vr, Bo], (a2, e) => {
|
22160
22160
|
if (a2)
|
22161
22161
|
return e ? a2[e] : a2;
|
22162
22162
|
}));
|
22163
|
-
|
22164
|
-
|
22163
|
+
Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
|
22164
|
+
$m = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
|
22165
22165
|
fi = A(Kr);
|
22166
|
-
|
22167
|
-
$m = A(Fo);
|
22166
|
+
Sa = A(Fo);
|
22168
22167
|
Km = A(Go);
|
22169
22168
|
qm = A(Wo);
|
22170
|
-
|
22169
|
+
jm = A($o);
|
22170
|
+
qo = A((a2, e) => {
|
22171
22171
|
let t = q(a2, e);
|
22172
22172
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22173
22173
|
return a2.tracks[t.videoTrack];
|
22174
22174
|
});
|
22175
|
-
|
22175
|
+
jo = A((a2, e) => {
|
22176
22176
|
let t = q(a2, e);
|
22177
22177
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22178
22178
|
return a2.tracks[t.audioTrack];
|
22179
22179
|
});
|
22180
|
-
|
22180
|
+
Qm = A((a2, e) => {
|
22181
22181
|
let t = q(a2, e);
|
22182
22182
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22183
22183
|
});
|
22184
|
-
|
22185
|
-
|
22186
|
-
|
22187
|
-
let t =
|
22188
|
-
return
|
22189
|
-
};
|
22190
|
-
|
22191
|
-
|
22184
|
+
ga = (a2, e) => e ? a2.speakers[e] : null;
|
22185
|
+
zm = A(createSelector(ga, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22186
|
+
Jo = (a2, e) => {
|
22187
|
+
let t = jo(e)(a2);
|
22188
|
+
return ga(a2, t == null ? void 0 : t.id);
|
22189
|
+
};
|
22190
|
+
Ym = A(createSelector(Jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22191
|
+
Xm = A((a2, e) => {
|
22192
22192
|
if (e)
|
22193
22193
|
return a2.connectionQualities[e];
|
22194
22194
|
});
|
22195
|
-
|
22195
|
+
Zm = A((a2, e) => {
|
22196
22196
|
let t = q(a2, e);
|
22197
22197
|
if (t) {
|
22198
22198
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
|
22199
22199
|
return i ? a2.tracks[i] : void 0;
|
22200
22200
|
}
|
22201
22201
|
});
|
22202
|
-
|
22202
|
+
eS = A(createSelector(O, q, (a2, e) => {
|
22203
22203
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22204
22204
|
let r = a2[i];
|
22205
22205
|
return ht(r) && pt(r);
|
22206
22206
|
});
|
22207
22207
|
return t ? a2[t] : void 0;
|
22208
22208
|
}));
|
22209
|
-
|
22209
|
+
tS = A(createSelector(O, q, (a2, e) => {
|
22210
22210
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22211
22211
|
let r = a2[i];
|
22212
22212
|
return ht(r) && ut(r);
|
22213
22213
|
});
|
22214
22214
|
return t ? a2[t] : void 0;
|
22215
22215
|
}));
|
22216
|
-
|
22216
|
+
iS = A(createSelector(O, q, (a2, e) => {
|
22217
22217
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22218
22218
|
let r = a2[i];
|
22219
22219
|
return ii(r) && ut(r);
|
22220
22220
|
});
|
22221
22221
|
return t ? a2[t] : void 0;
|
22222
22222
|
}));
|
22223
|
-
|
22224
|
-
|
22225
|
-
|
22223
|
+
Ta = A(createSelector(O, q, (a2, e) => Be(a2, e)));
|
22224
|
+
fa = (a2) => createSelector(Ta(a2), (e) => e.audio);
|
22225
|
+
sS = A((a2, e) => {
|
22226
22226
|
let t = q(a2, e);
|
22227
22227
|
return Je(a2, t == null ? void 0 : t.audioTrack);
|
22228
22228
|
});
|
22229
|
-
|
22229
|
+
aS = A((a2, e) => {
|
22230
22230
|
let t = q(a2, e);
|
22231
22231
|
return Je(a2, t == null ? void 0 : t.videoTrack);
|
22232
22232
|
});
|
22233
|
-
|
22233
|
+
va = A((a2, e) => {
|
22234
22234
|
if (e && a2.tracks[e])
|
22235
22235
|
return a2.tracks[e].volume === 0;
|
22236
22236
|
});
|
22237
|
-
|
22237
|
+
oS = A((a2, e) => {
|
22238
22238
|
let t = q(a2, e);
|
22239
|
-
return
|
22239
|
+
return va(t == null ? void 0 : t.audioTrack)(a2);
|
22240
22240
|
});
|
22241
|
-
|
22242
|
-
let t =
|
22243
|
-
return
|
22241
|
+
nS = A((a2, e) => {
|
22242
|
+
let t = fa(e)(a2);
|
22243
|
+
return va(t == null ? void 0 : t.id)(a2);
|
22244
22244
|
});
|
22245
|
-
|
22245
|
+
Ma = A((a2, e) => {
|
22246
22246
|
let t = Kr(a2, e);
|
22247
22247
|
if (t) {
|
22248
22248
|
if (t.type !== "audio") {
|
@@ -22252,15 +22252,15 @@ var init_dist = __esm({
|
|
22252
22252
|
return t.volume;
|
22253
22253
|
}
|
22254
22254
|
});
|
22255
|
-
nS = A((a2, e) => {
|
22256
|
-
let t = q(a2, e);
|
22257
|
-
return va(t == null ? void 0 : t.audioTrack)(a2);
|
22258
|
-
});
|
22259
22255
|
cS = A((a2, e) => {
|
22260
|
-
let t =
|
22261
|
-
return
|
22256
|
+
let t = q(a2, e);
|
22257
|
+
return Ma(t == null ? void 0 : t.audioTrack)(a2);
|
22262
22258
|
});
|
22263
22259
|
dS = A((a2, e) => {
|
22260
|
+
let t = fa(e)(a2);
|
22261
|
+
return Ma(t == null ? void 0 : t.id)(a2);
|
22262
|
+
});
|
22263
|
+
lS = A((a2, e) => {
|
22264
22264
|
let t = Kr(a2, e);
|
22265
22265
|
if (t) {
|
22266
22266
|
if (t.type !== "video") {
|
@@ -22270,53 +22270,53 @@ var init_dist = __esm({
|
|
22270
22270
|
return t.layer;
|
22271
22271
|
}
|
22272
22272
|
});
|
22273
|
-
|
22273
|
+
ya = createSelector([Rt, Ee, $r], (a2, e, t) => {
|
22274
22274
|
if (t)
|
22275
22275
|
return a2.filter((i) => {
|
22276
22276
|
var r;
|
22277
22277
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22278
22278
|
});
|
22279
22279
|
});
|
22280
|
-
|
22280
|
+
ka = createSelector([Rt, ma], (a2, e) => {
|
22281
22281
|
if (e)
|
22282
22282
|
return a2.filter((t) => {
|
22283
22283
|
var i, r;
|
22284
22284
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22285
22285
|
});
|
22286
22286
|
});
|
22287
|
-
|
22287
|
+
Qo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22288
22288
|
var t;
|
22289
22289
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22290
22290
|
}));
|
22291
|
-
|
22292
|
-
|
22293
|
-
|
22294
|
-
uS = A(Ma);
|
22291
|
+
zo = createSelector([ka, ma], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22292
|
+
Yo = createSelector([ya, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22293
|
+
uS = createSelector(Qo, (a2) => a2.filter((e) => !e.read).length);
|
22295
22294
|
pS = A(ya);
|
22296
|
-
hS = A(
|
22295
|
+
hS = A(ka);
|
22297
22296
|
mS = A(zo);
|
22298
|
-
|
22299
|
-
|
22297
|
+
SS = A(Yo);
|
22298
|
+
Pa = A(Ko);
|
22299
|
+
RS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
|
22300
22300
|
var r;
|
22301
22301
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22302
22302
|
}));
|
22303
|
-
|
22304
|
-
|
22305
|
-
|
22306
|
-
|
22307
|
-
|
22303
|
+
Xo = (a2) => a2.roleChangeRequests[0] || null;
|
22304
|
+
AS = createSelector([Xo, K, fe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22305
|
+
HS = createSelector([at], (a2) => mt(a2));
|
22306
|
+
CS = createSelector([ta], (a2) => mt(a2));
|
22307
|
+
en = createSelector([z, O], (a2, e) => {
|
22308
22308
|
let t = null;
|
22309
22309
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22310
22310
|
});
|
22311
|
-
|
22311
|
+
tn = createSelector([oe, O], (a2, e) => {
|
22312
22312
|
let t = null;
|
22313
22313
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22314
22314
|
});
|
22315
|
-
|
22315
|
+
an = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(an || {});
|
22316
22316
|
zr = class {
|
22317
22317
|
constructor() {
|
22318
22318
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22319
|
-
this.failedEvents = new
|
22319
|
+
this.failedEvents = new he("client-events");
|
22320
22320
|
this.isConnected = true;
|
22321
22321
|
this.env = null;
|
22322
22322
|
this.websocketURL = "";
|
@@ -22332,7 +22332,7 @@ var init_dist = __esm({
|
|
22332
22332
|
this.addEventToStorage(e);
|
22333
22333
|
return;
|
22334
22334
|
}
|
22335
|
-
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ?
|
22335
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Vs : Fs;
|
22336
22336
|
fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
|
22337
22337
|
if (r.status === 401) {
|
22338
22338
|
this.removeFromStorage(e);
|
@@ -22358,66 +22358,66 @@ var init_dist = __esm({
|
|
22358
22358
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22359
22359
|
}
|
22360
22360
|
};
|
22361
|
-
|
22361
|
+
Ie = new zr();
|
22362
22362
|
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 || {});
|
22363
22363
|
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 || {});
|
22364
22364
|
lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
|
22365
|
-
|
22366
|
-
|
22367
|
-
|
22368
|
-
|
22369
|
-
|
22370
|
-
|
22371
|
-
|
22365
|
+
En = (a2) => a2.localPeer.id;
|
22366
|
+
bn = (a2) => a2.localPeer.audioTrack;
|
22367
|
+
In = (a2) => a2.localPeer.videoTrack;
|
22368
|
+
Rn = (a2, e) => e;
|
22369
|
+
qa = (a2, e) => e;
|
22370
|
+
An = (a2) => a2.remoteTrackStats;
|
22371
|
+
ja = (a2) => a2.peerStats;
|
22372
22372
|
ts = (a2) => a2.localTrackStats;
|
22373
|
-
|
22374
|
-
|
22373
|
+
Ae = createSelector([ja, En], (a2, e) => a2[e]);
|
22374
|
+
Hn = createSelector(Ae, (a2) => {
|
22375
22375
|
var e;
|
22376
22376
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22377
22377
|
});
|
22378
|
-
|
22378
|
+
Cn = createSelector(Ae, (a2) => {
|
22379
22379
|
var e;
|
22380
22380
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22381
22381
|
});
|
22382
|
-
|
22382
|
+
Ln = createSelector(Ae, (a2) => {
|
22383
22383
|
var e;
|
22384
22384
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22385
22385
|
});
|
22386
|
-
|
22386
|
+
wn = createSelector(Ae, (a2) => {
|
22387
22387
|
var e;
|
22388
22388
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22389
22389
|
});
|
22390
|
-
|
22390
|
+
Dn = createSelector(Ae, (a2) => {
|
22391
22391
|
var e;
|
22392
22392
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22393
22393
|
});
|
22394
|
-
|
22394
|
+
_n = createSelector(Ae, (a2) => {
|
22395
22395
|
var e;
|
22396
22396
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22397
22397
|
});
|
22398
|
-
|
22398
|
+
Nn = createSelector(Ae, (a2) => {
|
22399
22399
|
var e;
|
22400
22400
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22401
22401
|
});
|
22402
|
-
|
22402
|
+
On = createSelector(Ae, (a2) => {
|
22403
22403
|
var e;
|
22404
22404
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22405
22405
|
});
|
22406
|
-
|
22407
|
-
|
22408
|
-
is = createSelector([ts,
|
22409
|
-
Un = A(On);
|
22406
|
+
xn = createSelector([ja, Rn], (a2, e) => e ? a2[e] : void 0);
|
22407
|
+
Un = createSelector([An, qa], (a2, e) => e ? a2[e] : void 0);
|
22408
|
+
is = createSelector([ts, qa], (a2, e) => e ? a2[e] : void 0);
|
22410
22409
|
Bn = A(xn);
|
22411
|
-
Vn =
|
22410
|
+
Vn = A(Un);
|
22411
|
+
Fn = createSelector([ts, bn], (a2, e) => {
|
22412
22412
|
var t;
|
22413
22413
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22414
22414
|
});
|
22415
|
-
|
22416
|
-
|
22415
|
+
Gn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
|
22416
|
+
Wn = createSelector([ts, In], (a2, e) => {
|
22417
22417
|
var t;
|
22418
22418
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22419
22419
|
});
|
22420
|
-
|
22420
|
+
$n = A(createSelector(is, (a2) => a2));
|
22421
22421
|
}
|
22422
22422
|
});
|
22423
22423
|
|
@@ -22630,7 +22630,7 @@ var init_StreamActions = __esm({
|
|
22630
22630
|
};
|
22631
22631
|
RecordingPauseStatus = () => {
|
22632
22632
|
const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
|
22633
|
-
if (recording.hls && recording.hls.state ===
|
22633
|
+
if (recording.hls && recording.hls.state === Rs.PAUSED) {
|
22634
22634
|
return /* @__PURE__ */ import_react88.default.createElement(
|
22635
22635
|
Tooltip,
|
22636
22636
|
{
|
@@ -22942,7 +22942,7 @@ var init_useUnreadPollQuizPresent = __esm({
|
|
22942
22942
|
init_dist();
|
22943
22943
|
import_react_sdk44 = require("@100mslive/react-sdk");
|
22944
22944
|
useUnreadPollQuizPresent = () => {
|
22945
|
-
const localPeerID = (0, import_react_sdk44.useHMSStore)(
|
22945
|
+
const localPeerID = (0, import_react_sdk44.useHMSStore)(Ee);
|
22946
22946
|
const notification = (0, import_react_sdk44.useHMSNotifications)(import_react_sdk44.HMSNotificationTypes.POLL_STARTED);
|
22947
22947
|
const [unreadPollQuiz, setUnreadPollQuiz] = (0, import_react92.useState)(false);
|
22948
22948
|
(0, import_react92.useEffect)(() => {
|
@@ -28017,7 +28017,7 @@ var init_Chat = __esm({
|
|
28017
28017
|
const listRef = (0, import_react153.useRef)(null);
|
28018
28018
|
const hmsActions = (0, import_react_sdk74.useHMSActions)();
|
28019
28019
|
const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
|
28020
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(
|
28020
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(Fm("chatState" /* CHAT_STATE */)) || {};
|
28021
28021
|
const isMobile = (0, import_react_use25.useMedia)(config.media.md);
|
28022
28022
|
const isMobileHLSStream = useMobileHLSStream();
|
28023
28023
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -28107,7 +28107,7 @@ var init_Chat = __esm({
|
|
28107
28107
|
scrollToBottom,
|
28108
28108
|
listRef
|
28109
28109
|
}) => {
|
28110
|
-
const unreadCount = (0, import_react_sdk74.useHMSStore)(
|
28110
|
+
const unreadCount = (0, import_react_sdk74.useHMSStore)(dm);
|
28111
28111
|
if (!unreadCount || !listRef.current) {
|
28112
28112
|
return null;
|
28113
28113
|
}
|
@@ -29298,12 +29298,12 @@ var init_VBPicker = __esm({
|
|
29298
29298
|
const [blurAmount, setBlurAmount] = (0, import_react163.useState)(VBHandler.getBlurAmount() || 0.5);
|
29299
29299
|
const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
|
29300
29300
|
const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
|
29301
|
-
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(
|
29302
|
-
const effectsKey = (0, import_react_sdk82.useHMSStore)(
|
29301
|
+
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(km);
|
29302
|
+
const effectsKey = (0, import_react_sdk82.useHMSStore)(Em);
|
29303
29303
|
const isMobile = (0, import_react_use31.useMedia)(config.media.md);
|
29304
29304
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
29305
29305
|
const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
29306
|
-
const background = (0, import_react_sdk82.useHMSStore)(
|
29306
|
+
const background = (0, import_react_sdk82.useHMSStore)(Vm(APP_DATA.background));
|
29307
29307
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
29308
29308
|
const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
|
29309
29309
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -30497,10 +30497,10 @@ var init_useTileLayout = __esm({
|
|
30497
30497
|
tileHeight = maxRowHeight;
|
30498
30498
|
} else {
|
30499
30499
|
const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
|
30500
|
-
for (const
|
30501
|
-
if (
|
30502
|
-
if (tileHeight <
|
30503
|
-
tileHeight =
|
30500
|
+
for (const h2 of calcHeights) {
|
30501
|
+
if (h2 < maxRowHeight) {
|
30502
|
+
if (tileHeight < h2) {
|
30503
|
+
tileHeight = h2;
|
30504
30504
|
}
|
30505
30505
|
}
|
30506
30506
|
}
|
@@ -31226,9 +31226,9 @@ var init_ScreenshareLayout = __esm({
|
|
31226
31226
|
}
|
31227
31227
|
});
|
31228
31228
|
|
31229
|
-
// ../../../../../../../tmp/tmp-
|
31230
|
-
var
|
31231
|
-
"../../../../../../../tmp/tmp-
|
31229
|
+
// ../../../../../../../tmp/tmp-2882-enE6hFgCq0LS/19135e16f310/index.css
|
31230
|
+
var init_e16f310 = __esm({
|
31231
|
+
"../../../../../../../tmp/tmp-2882-enE6hFgCq0LS/19135e16f310/index.css"() {
|
31232
31232
|
}
|
31233
31233
|
});
|
31234
31234
|
|
@@ -31250,7 +31250,7 @@ var init_WhiteboardLayout = __esm({
|
|
31250
31250
|
init_ProminenceLayout();
|
31251
31251
|
init_useUISettings();
|
31252
31252
|
init_constants();
|
31253
|
-
|
31253
|
+
init_e16f310();
|
31254
31254
|
WhiteboardEmbed = () => {
|
31255
31255
|
const isMobile = (0, import_react_use43.useMedia)(config.media.md);
|
31256
31256
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
|
@@ -36549,10 +36549,10 @@ var require_react_is_production_min = __commonJS({
|
|
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
|
-
var
|
36552
|
+
var h2 = b2 ? Symbol.for("react.provider") : 60109;
|
36553
36553
|
var k = b2 ? Symbol.for("react.context") : 60110;
|
36554
36554
|
var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
|
36555
|
-
var
|
36555
|
+
var m = 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;
|
36558
36558
|
var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
|
@@ -36569,7 +36569,7 @@ var require_react_is_production_min = __commonJS({
|
|
36569
36569
|
case c:
|
36570
36570
|
switch (a2 = a2.type, a2) {
|
36571
36571
|
case l2:
|
36572
|
-
case
|
36572
|
+
case m:
|
36573
36573
|
case e:
|
36574
36574
|
case g:
|
36575
36575
|
case f2:
|
@@ -36581,7 +36581,7 @@ var require_react_is_production_min = __commonJS({
|
|
36581
36581
|
case n:
|
36582
36582
|
case t:
|
36583
36583
|
case r:
|
36584
|
-
case
|
36584
|
+
case h2:
|
36585
36585
|
return a2;
|
36586
36586
|
default:
|
36587
36587
|
return u;
|
@@ -36593,12 +36593,12 @@ var require_react_is_production_min = __commonJS({
|
|
36593
36593
|
}
|
36594
36594
|
}
|
36595
36595
|
function A2(a2) {
|
36596
|
-
return z2(a2) ===
|
36596
|
+
return z2(a2) === m;
|
36597
36597
|
}
|
36598
36598
|
exports.AsyncMode = l2;
|
36599
|
-
exports.ConcurrentMode =
|
36599
|
+
exports.ConcurrentMode = m;
|
36600
36600
|
exports.ContextConsumer = k;
|
36601
|
-
exports.ContextProvider =
|
36601
|
+
exports.ContextProvider = h2;
|
36602
36602
|
exports.Element = c;
|
36603
36603
|
exports.ForwardRef = n;
|
36604
36604
|
exports.Fragment = e;
|
@@ -36616,7 +36616,7 @@ var require_react_is_production_min = __commonJS({
|
|
36616
36616
|
return z2(a2) === k;
|
36617
36617
|
};
|
36618
36618
|
exports.isContextProvider = function(a2) {
|
36619
|
-
return z2(a2) ===
|
36619
|
+
return z2(a2) === h2;
|
36620
36620
|
};
|
36621
36621
|
exports.isElement = function(a2) {
|
36622
36622
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c;
|
@@ -36646,7 +36646,7 @@ var require_react_is_production_min = __commonJS({
|
|
36646
36646
|
return z2(a2) === p;
|
36647
36647
|
};
|
36648
36648
|
exports.isValidElementType = function(a2) {
|
36649
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 ===
|
36649
|
+
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
|
36650
36650
|
};
|
36651
36651
|
exports.typeOf = z2;
|
36652
36652
|
}
|