@100mslive/roomkit-react 0.3.3-alpha.3 → 0.3.3-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -44,13 +44,13 @@ var __export = (target, all) => {
44
44
  for (var name in all)
45
45
  __defProp(target, name, { get: all[name], enumerable: true });
46
46
  };
47
- var __copyProps = (to, from, except, desc) => {
47
+ var __copyProps = (to2, from, except, desc) => {
48
48
  if (from && typeof from === "object" || typeof from === "function") {
49
49
  for (let key of __getOwnPropNames(from))
50
- if (!__hasOwnProp.call(to, key) && key !== except)
51
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
50
+ if (!__hasOwnProp.call(to2, key) && key !== except)
51
+ __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
52
52
  }
53
- return to;
53
+ return to2;
54
54
  };
55
55
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
56
56
  // If the importer is in node compatibility mode or this is not an ESM
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
108
108
  var define_process_env_default;
109
109
  var init_define_process_env = __esm({
110
110
  "<define:process.env>"() {
111
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e1af34ff-a562-4ece-98b8-62d8c089106d", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.3-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e1af34ff-a562-4ece-98b8-62d8c089106d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.3-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "595", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.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:19832", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.3-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8343246532", 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: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", 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: "dc383a02648df0438838bc7519ddf0466d732140d594ac7884f40b9ad676af22", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1710852557001-0.002215858080938826:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852556808-0.8108733321995873:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534869-0.8214156190232955:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534692-0.4998782271041631:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9b743310-ce74-40c4-985b-43804b3d6bc4", INVOCATION_ID: "9c159d16d0984bb1b5de7dbc6ec5d7a9", 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: "484", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 410", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.3-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", 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_e1af34ff-a562-4ece-98b8-62d8c089106d", 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_e1af34ff-a562-4ece-98b8-62d8c089106d", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e1af34ff-a562-4ece-98b8-62d8c089106d" };
111
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d1851b75-ded9-411c-8b39-0cc99e52e88e", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.3-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_d1851b75-ded9-411c-8b39-0cc99e52e88e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.3-alpha.5", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.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:19840", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.3-alpha.5", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8359425530", 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: "3496c48ec04f96f057590bfec0bb8182011a0b02", 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: "0c4e67d72e7d88c99856fdea969aa038f48122782b4c0fc552af7a5194061e66", 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--1710940063175-0.49561585595909774:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940062978-0.7197615174263523:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040538-0.7382228335634688:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040357-0.7458450753432382:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d39a5906-941b-4c2d-9239-7d62fbd8b4c5", INVOCATION_ID: "67e126525aec44e1b45f7bf6bdeb6a00", 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: "486", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 100", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.3-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.5", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "3496c48ec04f96f057590bfec0bb8182011a0b02", 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: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_d1851b75-ded9-411c-8b39-0cc99e52e88e", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_d1851b75-ded9-411c-8b39-0cc99e52e88e", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_d1851b75-ded9-411c-8b39-0cc99e52e88e" };
112
112
  }
113
113
  });
114
114
 
@@ -18421,15 +18421,15 @@ function shimSendThrowTypeError(window2) {
18421
18421
  if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
18422
18422
  return;
18423
18423
  }
18424
- function wrapDcSend(dc, pc) {
18425
- const origDataChannelSend = dc.send;
18426
- dc.send = function send() {
18424
+ function wrapDcSend(dc2, pc) {
18425
+ const origDataChannelSend = dc2.send;
18426
+ dc2.send = function send() {
18427
18427
  const data3 = arguments[0];
18428
18428
  const length = data3.length || data3.size || data3.byteLength;
18429
- if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
18429
+ if (dc2.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
18430
18430
  throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
18431
18431
  }
18432
- return origDataChannelSend.apply(dc, arguments);
18432
+ return origDataChannelSend.apply(dc2, arguments);
18433
18433
  };
18434
18434
  }
18435
18435
  const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
@@ -19426,7 +19426,7 @@ function He(a2, e) {
19426
19426
  if (e)
19427
19427
  for (let r of e.auxiliaryTracks) {
19428
19428
  let s = a2[r];
19429
- Ha(s) && (i = it(s) ? s : i, t = rt(s) ? s : t);
19429
+ Ca(s) && (i = it(s) ? s : i, t = rt(s) ? s : t);
19430
19430
  }
19431
19431
  return { video: t, audio: i };
19432
19432
  }
@@ -19436,7 +19436,7 @@ function it(a2) {
19436
19436
  function rt(a2) {
19437
19437
  return a2 && a2.type === "video";
19438
19438
  }
19439
- function Ha(a2) {
19439
+ function Ca(a2) {
19440
19440
  return a2 && a2.source === "screen";
19441
19441
  }
19442
19442
  function $t(a2) {
@@ -19459,7 +19459,7 @@ function at(a2) {
19459
19459
  function A(a2) {
19460
19460
  return (e) => (t) => a2(t, e);
19461
19461
  }
19462
- function Ga() {
19462
+ function $a() {
19463
19463
  if (_ && window) {
19464
19464
  let a2 = window.location.hostname;
19465
19465
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
@@ -19472,9 +19472,9 @@ function ie(a2) {
19472
19472
  function nt(a2 = "prod", e) {
19473
19473
  let t = "web", i = Ve !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
19474
19474
  if (Ce)
19475
- return Es({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ps, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
19475
+ return bs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Es, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
19476
19476
  let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = ur(`web_${r.name}`), l = r.version || "", u = ur(`${o.name}_${o.version}`), p = u;
19477
- return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`), Es({ os: n, os_version: l, sdk: t, sdk_version: Ps, device_model: p, env: i, domain: Ve, 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 });
19477
+ return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`), bs({ os: n, os_version: l, sdk: t, sdk_version: Es, device_model: p, env: i, domain: Ve, 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 });
19478
19478
  }
19479
19479
  function ur(a2) {
19480
19480
  return a2.replace(/ /g, "_");
@@ -19489,13 +19489,13 @@ function Jt(a2, e = 300) {
19489
19489
  }, e);
19490
19490
  };
19491
19491
  }
19492
- function nm(a2) {
19492
+ function dm(a2) {
19493
19493
  return (e) => {
19494
19494
  if (e.sessionStore)
19495
19495
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19496
19496
  };
19497
19497
  }
19498
- var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, ka, Pa, Ea, Vt, Wr, Kr, $r, m, v, Xi, Ia, lr, Zi, Ra, qr, er, jr, B, Ca, Rn, Hn, G, Wt, zr, w, tr, La, ye, Dn, Da, oe, wa, z, ue, wn, _n, Z, K, _a7, Xr, Nn, On, rr, Na, Un, Bn, Vn, Fn, Gn, $n, Wn, Kn, ot, Oa, qn, Y, es, jn, ne, Jn, Kt, xa, ts, Qn, is, zn, Yn, Xn, Zn, ec, tc, ic, rc, rs, nc, Ua, cc, as, sr, os, ns, cs, ds, ls, us, ps, hs, ms, Ba, d, pe, _, Ss, Ce, Fa, gc, gs, Ts, vs, Ve, M, f, $a, h, nr, Ms, ce, ys, Ps, Es, R, pr, Fe, y, hr, q, mr, Sr, Cs, Ls, Ds, gr, Os, Tr, xs, fr, vr, Vs, Fs, ht, ze, Tt, k, Hr, ft, Js, ho, mo, J, Cr, So, go, To, fo, vo, Q, om, dm, oi, Qs, lm, um, pm, Mo, yo, mm, zs, Sm, ko, gm, Tm, fm, vm, Mm, ym, Ys, Xs, Pm, Em, Zs, bm, Am, ea, Im, Rm, Hm, ta, ia, Po, Eo, bo, Cm, Lm, Dm, wm, _m, ra, Km, Ao, qm, jm, Jm, Ro, Ho, Nr, Te, $, Bi, Ji, Qo, zo, Yo, Xo, Ma, Zo, ya, Vr, ve, en, tn, rn, sn, an, on, nn, cn, dn, ln, Fr, un, pn, hn, mn, Sn, gn;
19498
+ var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, Pa, Ea, ba, Vt, Wr, Kr, $r, m, v, Xi, Ra, lr, Zi, Ha, qr, er, jr, B, La, Hn, Cn, G, Wt, zr, w, tr, Da, ye, wn, wa, oe, _a7, z, ue, _n, Nn, Z, K, Na, Xr, On, xn, rr, Oa, Bn, Vn, Fn, Gn, $n, Wn, Kn, qn, ot, xa, jn, Y, es, Jn, ne, Qn, Kt, Ua, ts, zn, is, Yn, Xn, Zn, ec, tc, ic, rc, sc, rs, cc, Ba, dc, as, sr, os, ns, cs, ds, ls, us, ps, hs, ms, Va, d, pe, _, Ss, Ce, Ga, Tc, gs, Ts, vs, Ms, Ve, M, f, Wa, h, nr, ys, ce, ks, Es, bs, R, pr, Fe, y, hr, q, mr, Sr, Ls, Ds, ws, gr, xs, Tr, Us, fr, vr, Fs, Gs, ht, ze, Tt, k, Hr, ft, Qs, mo, So, J, Cr, go, To, fo, vo, Mo, Q, cm, um, oi, zs, pm, hm, mm, yo, ko, gm, Ys, Tm, Po, fm, vm, Mm, ym, km, Pm, Xs, Zs, bm, Am, ea, Im, Rm, ta, Hm, Cm, Lm, ia, ra, Eo, bo, Ao, Dm, wm, _m, Nm, Om, sa, jm, Io, Jm, Qm, zm, Ho, Co, Nr, Te, $, Bi, Ji, zo, Yo, Xo, Zo, ya, en, ka, Vr, ve, tn, rn, sn, an, on, nn, cn, dn, ln, un, Fr, pn, hn, mn, Sn, gn, Tn;
19499
19499
  var init_dist = __esm({
19500
19500
  "../hms-video-store/dist/index.js"() {
19501
19501
  "use strict";
@@ -19523,13 +19523,13 @@ var init_dist = __esm({
19523
19523
  import_uuid9 = require("uuid");
19524
19524
  import_uuid10 = require("uuid");
19525
19525
  init_es();
19526
- ka = Object.defineProperty;
19527
- Pa = Object.defineProperties;
19528
- Ea = Object.getOwnPropertyDescriptors;
19526
+ Pa = Object.defineProperty;
19527
+ Ea = Object.defineProperties;
19528
+ ba = Object.getOwnPropertyDescriptors;
19529
19529
  Vt = Object.getOwnPropertySymbols;
19530
19530
  Wr = Object.prototype.hasOwnProperty;
19531
19531
  Kr = Object.prototype.propertyIsEnumerable;
19532
- $r = (a2, e, t) => e in a2 ? ka(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19532
+ $r = (a2, e, t) => e in a2 ? Pa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19533
19533
  m = (a2, e) => {
19534
19534
  for (var t in e || (e = {}))
19535
19535
  Wr.call(e, t) && $r(a2, t, e[t]);
@@ -19538,7 +19538,7 @@ var init_dist = __esm({
19538
19538
  Kr.call(e, t) && $r(a2, t, e[t]);
19539
19539
  return a2;
19540
19540
  };
19541
- v = (a2, e) => Pa(a2, Ea(e));
19541
+ v = (a2, e) => Ea(a2, ba(e));
19542
19542
  Xi = (a2, e) => {
19543
19543
  var t = {};
19544
19544
  for (var i in a2)
@@ -19548,43 +19548,43 @@ var init_dist = __esm({
19548
19548
  e.indexOf(i) < 0 && Kr.call(a2, i) && (t[i] = a2[i]);
19549
19549
  return t;
19550
19550
  };
19551
- Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19552
- lr = Ia((ed, Ka) => {
19553
- Ka.exports = { version: "0.12.3-alpha.3", 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"] };
19551
+ Ra = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19552
+ lr = Ra((id, qa) => {
19553
+ qa.exports = { version: "0.12.3-alpha.5", 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"] };
19554
19554
  });
19555
19555
  Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
19556
- Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
19556
+ Ha = ((e) => (e.CHAT = "chat", e))(Ha || {});
19557
19557
  qr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(qr || {});
19558
19558
  er = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(er || {});
19559
19559
  jr = ((t) => (t.audio = "audio", t.video = "video", t))(jr || {});
19560
19560
  B = (a2) => a2.room;
19561
- Ca = (a2) => a2.errors;
19562
- Rn = createSelector(Ca, (a2) => a2.length === 0 ? null : a2.at(-1));
19563
- Hn = createSelector(B, (a2) => a2.id);
19561
+ La = (a2) => a2.errors;
19562
+ Hn = createSelector(La, (a2) => a2.length === 0 ? null : a2.at(-1));
19563
+ Cn = createSelector(B, (a2) => a2.id);
19564
19564
  G = (a2) => a2.peers;
19565
19565
  Wt = (a2) => a2.messages.byID;
19566
19566
  zr = (a2) => a2.messages.allIDs;
19567
19567
  w = (a2) => a2.tracks;
19568
19568
  tr = (a2) => a2.appData;
19569
- La = (a2) => a2.speakers;
19569
+ Da = (a2) => a2.speakers;
19570
19570
  ye = createSelector([B], (a2) => a2 && a2.isConnected);
19571
- Dn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
19572
- Da = (a2) => a2.hideLocalPeer;
19573
- oe = createSelector([B, G, Da], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
19574
- wa = createSelector(w, (a2) => Object.values(a2));
19571
+ wn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
19572
+ wa = (a2) => a2.hideLocalPeer;
19573
+ oe = createSelector([B, G, wa], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
19574
+ _a7 = createSelector(w, (a2) => Object.values(a2));
19575
19575
  z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
19576
19576
  ue = createSelector(B, (a2) => a2.localPeer);
19577
- wn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19578
- _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19577
+ _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19578
+ Nn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19579
19579
  Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
19580
19580
  K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
19581
- _a7 = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
19582
- Xr = createSelector([Z, K, _a7], (a2, e, t) => {
19581
+ Na = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
19582
+ Xr = createSelector([Z, K, Na], (a2, e, t) => {
19583
19583
  let i = t ? [...t] : [];
19584
19584
  return a2 && i.unshift(a2), e && i.unshift(e), i;
19585
19585
  });
19586
- Nn = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
19587
- On = createSelector(G, La, (a2, e) => {
19586
+ On = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
19587
+ xn = createSelector(G, Da, (a2, e) => {
19588
19588
  let t = Object.entries(e).sort((i, r) => {
19589
19589
  var n, l;
19590
19590
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -19601,7 +19601,7 @@ var init_dist = __esm({
19601
19601
  let { video: t, audio: i } = He(e, a2);
19602
19602
  return !!(t || i);
19603
19603
  });
19604
- Na = createSelector(G, w, (a2, e) => {
19604
+ Oa = createSelector(G, w, (a2, e) => {
19605
19605
  let t;
19606
19606
  for (let i in a2) {
19607
19607
  let r = a2[i], { video: s, audio: o } = He(e, r);
@@ -19611,15 +19611,15 @@ var init_dist = __esm({
19611
19611
  }
19612
19612
  return t;
19613
19613
  });
19614
- Un = createSelector(Na, (a2) => !!a2);
19615
- Bn = createSelector(G, w, (a2, e) => {
19614
+ Bn = createSelector(Oa, (a2) => !!a2);
19615
+ Vn = createSelector(G, w, (a2, e) => {
19616
19616
  for (let t in a2) {
19617
19617
  let i = a2[t], { audio: r, video: s } = He(e, i);
19618
19618
  if (!s && r)
19619
19619
  return i;
19620
19620
  }
19621
19621
  });
19622
- Vn = createSelector(G, w, (a2, e) => {
19622
+ Fn = createSelector(G, w, (a2, e) => {
19623
19623
  let t = [], i = [];
19624
19624
  for (let r in a2) {
19625
19625
  let s = a2[r], { video: o, audio: n } = He(e, s);
@@ -19627,62 +19627,62 @@ var init_dist = __esm({
19627
19627
  }
19628
19628
  return t.concat(i);
19629
19629
  });
19630
- Fn = createSelector(G, w, (a2, e) => {
19630
+ Gn = createSelector(G, w, (a2, e) => {
19631
19631
  for (let t in e) {
19632
19632
  let i = e[t];
19633
19633
  if (st(i) && rt(i) && i.peerId)
19634
19634
  return a2[i.peerId];
19635
19635
  }
19636
19636
  });
19637
- Gn = createSelector(G, w, (a2, e) => {
19637
+ $n = createSelector(G, w, (a2, e) => {
19638
19638
  for (let t in e) {
19639
19639
  let i = e[t];
19640
19640
  if ($t(i) && i.peerId)
19641
19641
  return a2[i.peerId];
19642
19642
  }
19643
19643
  });
19644
- $n = createSelector(wa, (a2) => a2.filter(Jr));
19645
- Wn = createSelector(zr, (a2) => a2.length);
19646
- Kn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
19644
+ Wn = createSelector(_a7, (a2) => a2.filter(Jr));
19645
+ Kn = createSelector(zr, (a2) => a2.length);
19646
+ qn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
19647
19647
  ot = createSelector(zr, Wt, (a2, e) => {
19648
19648
  let t = [];
19649
19649
  return a2.forEach((i) => {
19650
19650
  t.push(e[i]);
19651
19651
  }), t;
19652
19652
  });
19653
- Oa = createSelector(ot, (a2) => a2.filter((e) => {
19653
+ xa = createSelector(ot, (a2) => a2.filter((e) => {
19654
19654
  var t;
19655
19655
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
19656
19656
  }));
19657
- qn = createSelector(Oa, (a2) => a2.filter((e) => !e.read).length);
19657
+ jn = createSelector(xa, (a2) => a2.filter((e) => !e.read).length);
19658
19658
  Y = createSelector([B], (a2) => a2 && a2.roomState);
19659
19659
  es = createSelector(Y, (a2) => a2 === "Preview");
19660
- jn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
19660
+ Jn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
19661
19661
  ne = (a2) => a2.roles;
19662
- Jn = createSelector([ne], (a2) => Object.keys(a2));
19662
+ Qn = createSelector([ne], (a2) => Object.keys(a2));
19663
19663
  Kt = createSelector([z, ne], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
19664
- xa = (a2) => {
19664
+ Ua = (a2) => {
19665
19665
  var e;
19666
19666
  return (e = a2.preview) == null ? void 0 : e.asRole;
19667
19667
  };
19668
- ts = createSelector([xa, ne], (a2, e) => a2 ? e[a2] : null);
19669
- Qn = createSelector([Kt], (a2) => {
19668
+ ts = createSelector([Ua, ne], (a2, e) => a2 ? e[a2] : null);
19669
+ zn = createSelector([Kt], (a2) => {
19670
19670
  var e;
19671
19671
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
19672
19672
  });
19673
19673
  is = createSelector(Kt, (a2) => a2 == null ? void 0 : a2.permissions);
19674
- zn = createSelector(B, (a2) => a2.recording);
19675
- Yn = createSelector(B, (a2) => a2.rtmp);
19676
- Xn = createSelector(B, (a2) => a2.hls);
19677
- Zn = createSelector(B, (a2) => a2.sessionId);
19678
- ec = createSelector(B, (a2) => a2.startedAt);
19679
- tc = createSelector(B, (a2) => !!a2.isLargeRoom);
19680
- ic = createSelector(B, (a2) => !!a2.isEffectsEnabled);
19681
- rc = createSelector(B, (a2) => a2.effectsKey);
19674
+ Yn = createSelector(B, (a2) => a2.recording);
19675
+ Xn = createSelector(B, (a2) => a2.rtmp);
19676
+ Zn = createSelector(B, (a2) => a2.hls);
19677
+ ec = createSelector(B, (a2) => a2.sessionId);
19678
+ tc = createSelector(B, (a2) => a2.startedAt);
19679
+ ic = createSelector(B, (a2) => !!a2.isLargeRoom);
19680
+ rc = createSelector(B, (a2) => !!a2.isEffectsEnabled);
19681
+ sc = createSelector(B, (a2) => a2.effectsKey);
19682
19682
  rs = (a2) => a2.polls;
19683
- nc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
19684
- Ua = (a2) => a2.whiteboards;
19685
- cc = createSelector(Ua, (a2) => Object.values(a2)[0]);
19683
+ cc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
19684
+ Ba = (a2) => a2.whiteboards;
19685
+ dc = createSelector(Ba, (a2) => Object.values(a2)[0]);
19686
19686
  as = (a2 = "audio") => (e) => e.playlist[a2].list;
19687
19687
  sr = (a2 = "audio") => (e) => e.playlist[a2].selection;
19688
19688
  os = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -19697,7 +19697,7 @@ var init_dist = __esm({
19697
19697
  ps = { selection: sr("audio"), progress: os("audio"), currentTime: ns("audio"), playbackRate: cs("audio"), volume: ds("audio"), list: ls("audio"), selectedItem: us("audio") };
19698
19698
  hs = { selection: sr("video"), progress: os("video"), currentTime: ns("video"), playbackRate: cs("video"), volume: ds("video"), list: ls("video"), selectedItem: us("video") };
19699
19699
  ms = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ms || {});
19700
- Ba = typeof window != "undefined" && typeof window.expect != "undefined";
19700
+ Va = typeof window != "undefined" && typeof window.expect != "undefined";
19701
19701
  d = class {
19702
19702
  static v(e, ...t) {
19703
19703
  this.log(0, e, ...t);
@@ -19763,14 +19763,15 @@ var init_dist = __esm({
19763
19763
  }
19764
19764
  }
19765
19765
  };
19766
- d.level = Ba ? 7 : 0;
19766
+ d.level = Va ? 7 : 0;
19767
19767
  pe = new import_ua_parser_js.UAParser();
19768
19768
  _ = typeof window != "undefined";
19769
19769
  Ce = typeof window == "undefined" && !((Ss = pe.getBrowser().name) != null && Ss.toLowerCase().includes("electron"));
19770
- Fa = () => !Ce;
19771
- gc = Fa();
19770
+ Ga = () => !Ce;
19771
+ Tc = Ga();
19772
19772
  vs = ((Ts = (gs = pe.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
19773
- Ve = Ga();
19773
+ Ms = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ms || {});
19774
+ Ve = $a();
19774
19775
  M = { 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 } };
19775
19776
  f = class a extends Error {
19776
19777
  constructor(t, i, r, s, o, n = false) {
@@ -19801,7 +19802,7 @@ var init_dist = __esm({
19801
19802
  }`;
19802
19803
  }
19803
19804
  };
19804
- $a = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
19805
+ Wa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
19805
19806
  h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
19806
19807
  return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
19807
19808
  }, WebSocketConnectionLost(a2, e = "") {
@@ -19861,7 +19862,7 @@ var init_dist = __esm({
19861
19862
  }, StatsFailed(a2, e = "") {
19862
19863
  return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
19863
19864
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
19864
- return new f(a2, "ServerErrors", e, t, t, $a.includes(e));
19865
+ return new f(a2, "ServerErrors", e, t, t, Wa.includes(e));
19865
19866
  }, AlreadyJoined(a2, e = "") {
19866
19867
  return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
19867
19868
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -19934,7 +19935,7 @@ var init_dist = __esm({
19934
19935
  return this.valuesMap.size;
19935
19936
  }
19936
19937
  };
19937
- Ms = () => {
19938
+ ys = () => {
19938
19939
  try {
19939
19940
  _ && !localStorage && (window.localStorage = new nr());
19940
19941
  } catch (a2) {
@@ -19948,7 +19949,7 @@ var init_dist = __esm({
19948
19949
  }
19949
19950
  getStorage() {
19950
19951
  try {
19951
- return _ && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
19952
+ return _ && !this.storage && (ys(), this.storage = window.localStorage), this.storage;
19952
19953
  } catch (e) {
19953
19954
  return d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
19954
19955
  }
@@ -19968,16 +19969,16 @@ var init_dist = __esm({
19968
19969
  (e = this.getStorage()) == null || e.removeItem(this.key);
19969
19970
  }
19970
19971
  };
19971
- ys = () => {
19972
+ ks = () => {
19972
19973
  let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
19973
19974
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
19974
19975
  };
19975
- Ps = lr().version;
19976
- Es = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
19976
+ Es = lr().version;
19977
+ bs = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
19977
19978
  R = class {
19978
19979
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
19979
19980
  this.metadata = { peer: {}, userAgent: nt() };
19980
- 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 = ys();
19981
+ 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 = ks();
19981
19982
  }
19982
19983
  toSignalParams() {
19983
19984
  return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -20148,9 +20149,9 @@ var init_dist = __esm({
20148
20149
  q = new hr();
20149
20150
  mr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(mr || {});
20150
20151
  Sr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Sr || {});
20151
- Cs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Cs || {});
20152
- Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
20153
- Ds = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ds || {});
20152
+ Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
20153
+ Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
20154
+ ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
20154
20155
  gr = class {
20155
20156
  constructor() {
20156
20157
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -20178,7 +20179,7 @@ var init_dist = __esm({
20178
20179
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
20179
20180
  }
20180
20181
  };
20181
- Os = new gr();
20182
+ xs = new gr();
20182
20183
  Tr = class {
20183
20184
  constructor() {
20184
20185
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -20206,11 +20207,11 @@ var init_dist = __esm({
20206
20207
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
20207
20208
  }
20208
20209
  };
20209
- xs = new Tr();
20210
+ Us = new Tr();
20210
20211
  fr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(fr || {});
20211
20212
  vr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(vr || {});
20212
- Vs = "https://event.100ms.live/v2/client/report";
20213
- Fs = "https://event-nonprod.100ms.live/v2/client/report";
20213
+ Fs = "https://event.100ms.live/v2/client/report";
20214
+ Gs = "https://event-nonprod.100ms.live/v2/client/report";
20214
20215
  ht = Math.pow(2, 31) - 1;
20215
20216
  ze = class {
20216
20217
  };
@@ -20284,123 +20285,123 @@ var init_dist = __esm({
20284
20285
  k.level = 0;
20285
20286
  Hr = (a2, e) => e;
20286
20287
  ft = (a2, e) => e;
20287
- Js = (a2, e) => e;
20288
- ho = (a2, e) => e;
20288
+ Qs = (a2, e) => e;
20289
20289
  mo = (a2, e) => e;
20290
+ So = (a2, e) => e;
20290
20291
  J = createSelector([G, Hr], (a2, e) => e ? a2[e] : null);
20291
20292
  Cr = createSelector([w, ft], (a2, e) => e ? a2[e] : null);
20292
- So = createSelector([w, ft], (a2, e) => {
20293
+ go = createSelector([w, ft], (a2, e) => {
20293
20294
  if (!e)
20294
20295
  return null;
20295
20296
  let t = a2[e];
20296
20297
  return (t == null ? void 0 : t.type) === "video" ? t : null;
20297
20298
  });
20298
- go = createSelector([w, ft], (a2, e) => {
20299
+ To = createSelector([w, ft], (a2, e) => {
20299
20300
  if (!e)
20300
20301
  return null;
20301
20302
  let t = a2[e];
20302
20303
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
20303
20304
  });
20304
- To = createSelector([w, ft], (a2, e) => {
20305
+ fo = createSelector([w, ft], (a2, e) => {
20305
20306
  if (!e)
20306
20307
  return null;
20307
20308
  let t = a2[e];
20308
20309
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20309
20310
  });
20310
- fo = createSelector([w, ft], (a2, e) => {
20311
+ vo = createSelector([w, ft], (a2, e) => {
20311
20312
  if (!e)
20312
20313
  return null;
20313
20314
  let t = a2[e];
20314
20315
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20315
20316
  });
20316
- vo = createSelector([rs, mo], (a2, e) => e ? a2[e] : null);
20317
+ Mo = createSelector([rs, So], (a2, e) => e ? a2[e] : null);
20317
20318
  Q = A(J);
20318
- om = A(createSelector([tr, ho], (a2, e) => {
20319
+ cm = A(createSelector([tr, mo], (a2, e) => {
20319
20320
  if (a2)
20320
20321
  return e ? a2[e] : a2;
20321
20322
  }));
20322
- dm = A(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
20323
+ um = A(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
20323
20324
  oi = A(Cr);
20324
- Qs = A(So);
20325
- lm = A(go);
20326
- um = A(To);
20327
- pm = A(fo);
20328
- Mo = A((a2, e) => {
20325
+ zs = A(go);
20326
+ pm = A(To);
20327
+ hm = A(fo);
20328
+ mm = A(vo);
20329
+ yo = A((a2, e) => {
20329
20330
  let t = J(a2, e);
20330
20331
  if (t && t.videoTrack && t.videoTrack !== "")
20331
20332
  return a2.tracks[t.videoTrack];
20332
20333
  });
20333
- yo = A((a2, e) => {
20334
+ ko = A((a2, e) => {
20334
20335
  let t = J(a2, e);
20335
20336
  if (t && t.audioTrack && t.audioTrack !== "")
20336
20337
  return a2.tracks[t.audioTrack];
20337
20338
  });
20338
- mm = A((a2, e) => {
20339
+ gm = A((a2, e) => {
20339
20340
  let t = J(a2, e);
20340
20341
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
20341
20342
  });
20342
- zs = (a2, e) => e ? a2.speakers[e] : null;
20343
- Sm = A(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20344
- ko = (a2, e) => {
20345
- let t = yo(e)(a2);
20346
- return zs(a2, t == null ? void 0 : t.id);
20347
- };
20348
- gm = A(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20349
- Tm = A((a2, e) => {
20343
+ Ys = (a2, e) => e ? a2.speakers[e] : null;
20344
+ Tm = A(createSelector(Ys, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20345
+ Po = (a2, e) => {
20346
+ let t = ko(e)(a2);
20347
+ return Ys(a2, t == null ? void 0 : t.id);
20348
+ };
20349
+ fm = A(createSelector(Po, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20350
+ vm = A((a2, e) => {
20350
20351
  if (e)
20351
20352
  return a2.connectionQualities[e];
20352
20353
  });
20353
- fm = A((a2, e) => {
20354
+ Mm = A((a2, e) => {
20354
20355
  let t = J(a2, e);
20355
20356
  if (t) {
20356
20357
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => it(a2.tracks[r]));
20357
20358
  return i ? a2.tracks[i] : void 0;
20358
20359
  }
20359
20360
  });
20360
- vm = A(createSelector(w, J, (a2, e) => {
20361
+ ym = A(createSelector(w, J, (a2, e) => {
20361
20362
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20362
20363
  let r = a2[i];
20363
20364
  return st(r) && rt(r);
20364
20365
  });
20365
20366
  return t ? a2[t] : void 0;
20366
20367
  }));
20367
- Mm = A(createSelector(w, J, (a2, e) => {
20368
+ km = A(createSelector(w, J, (a2, e) => {
20368
20369
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20369
20370
  let r = a2[i];
20370
20371
  return st(r) && it(r);
20371
20372
  });
20372
20373
  return t ? a2[t] : void 0;
20373
20374
  }));
20374
- ym = A(createSelector(w, J, (a2, e) => {
20375
+ Pm = A(createSelector(w, J, (a2, e) => {
20375
20376
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20376
20377
  let r = a2[i];
20377
20378
  return $t(r) && it(r);
20378
20379
  });
20379
20380
  return t ? a2[t] : void 0;
20380
20381
  }));
20381
- Ys = A(createSelector(w, J, (a2, e) => He(a2, e)));
20382
- Xs = (a2) => createSelector(Ys(a2), (e) => e.audio);
20383
- Pm = A((a2, e) => {
20382
+ Xs = A(createSelector(w, J, (a2, e) => He(a2, e)));
20383
+ Zs = (a2) => createSelector(Xs(a2), (e) => e.audio);
20384
+ bm = A((a2, e) => {
20384
20385
  let t = J(a2, e);
20385
20386
  return Ue(a2, t == null ? void 0 : t.audioTrack);
20386
20387
  });
20387
- Em = A((a2, e) => {
20388
+ Am = A((a2, e) => {
20388
20389
  let t = J(a2, e);
20389
20390
  return Ue(a2, t == null ? void 0 : t.videoTrack);
20390
20391
  });
20391
- Zs = A((a2, e) => {
20392
+ ea = A((a2, e) => {
20392
20393
  if (e && a2.tracks[e])
20393
20394
  return a2.tracks[e].volume === 0;
20394
20395
  });
20395
- bm = A((a2, e) => {
20396
+ Im = A((a2, e) => {
20396
20397
  let t = J(a2, e);
20397
- return Zs(t == null ? void 0 : t.audioTrack)(a2);
20398
+ return ea(t == null ? void 0 : t.audioTrack)(a2);
20398
20399
  });
20399
- Am = A((a2, e) => {
20400
- let t = Xs(e)(a2);
20401
- return Zs(t == null ? void 0 : t.id)(a2);
20400
+ Rm = A((a2, e) => {
20401
+ let t = Zs(e)(a2);
20402
+ return ea(t == null ? void 0 : t.id)(a2);
20402
20403
  });
20403
- ea = A((a2, e) => {
20404
+ ta = A((a2, e) => {
20404
20405
  let t = Cr(a2, e);
20405
20406
  if (t) {
20406
20407
  if (t.type !== "audio") {
@@ -20410,15 +20411,15 @@ var init_dist = __esm({
20410
20411
  return t.volume;
20411
20412
  }
20412
20413
  });
20413
- Im = A((a2, e) => {
20414
+ Hm = A((a2, e) => {
20414
20415
  let t = J(a2, e);
20415
- return ea(t == null ? void 0 : t.audioTrack)(a2);
20416
+ return ta(t == null ? void 0 : t.audioTrack)(a2);
20416
20417
  });
20417
- Rm = A((a2, e) => {
20418
- let t = Xs(e)(a2);
20419
- return ea(t == null ? void 0 : t.id)(a2);
20418
+ Cm = A((a2, e) => {
20419
+ let t = Zs(e)(a2);
20420
+ return ta(t == null ? void 0 : t.id)(a2);
20420
20421
  });
20421
- Hm = A((a2, e) => {
20422
+ Lm = A((a2, e) => {
20422
20423
  let t = Cr(a2, e);
20423
20424
  if (t) {
20424
20425
  if (t.type !== "video") {
@@ -20428,45 +20429,45 @@ var init_dist = __esm({
20428
20429
  return t.layer;
20429
20430
  }
20430
20431
  });
20431
- ta = createSelector([ot, ue, Hr], (a2, e, t) => {
20432
+ ia = createSelector([ot, ue, Hr], (a2, e, t) => {
20432
20433
  if (t)
20433
20434
  return a2.filter((i) => {
20434
20435
  var r;
20435
20436
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
20436
20437
  });
20437
20438
  });
20438
- ia = createSelector([ot, Js], (a2, e) => {
20439
+ ra = createSelector([ot, Qs], (a2, e) => {
20439
20440
  if (e)
20440
20441
  return a2.filter((t) => {
20441
20442
  var i, r;
20442
20443
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
20443
20444
  });
20444
20445
  });
20445
- Po = createSelector(ot, (a2) => a2.filter((e) => {
20446
+ Eo = createSelector(ot, (a2) => a2.filter((e) => {
20446
20447
  var t;
20447
20448
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
20448
20449
  }));
20449
- Eo = createSelector([ia, Js], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20450
- bo = createSelector([ta, Hr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20451
- Cm = createSelector(Po, (a2) => a2.filter((e) => !e.read).length);
20452
- Lm = A(ta);
20453
- Dm = A(ia);
20454
- wm = A(Eo);
20455
- _m = A(bo);
20456
- ra = A(vo);
20457
- Km = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
20450
+ bo = createSelector([ra, Qs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20451
+ Ao = createSelector([ia, Hr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20452
+ Dm = createSelector(Eo, (a2) => a2.filter((e) => !e.read).length);
20453
+ wm = A(ia);
20454
+ _m = A(ra);
20455
+ Nm = A(bo);
20456
+ Om = A(Ao);
20457
+ sa = A(Mo);
20458
+ jm = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
20458
20459
  var r;
20459
20460
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
20460
20461
  }));
20461
- Ao = (a2) => a2.roleChangeRequests[0] || null;
20462
- qm = createSelector([Ao, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20463
- jm = createSelector([Kt], (a2) => at(a2));
20464
- Jm = createSelector([ts], (a2) => at(a2));
20465
- Ro = createSelector([K, w], (a2, e) => {
20462
+ Io = (a2) => a2.roleChangeRequests[0] || null;
20463
+ Jm = createSelector([Io, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20464
+ Qm = createSelector([Kt], (a2) => at(a2));
20465
+ zm = createSelector([ts], (a2) => at(a2));
20466
+ Ho = createSelector([K, w], (a2, e) => {
20466
20467
  let t = null;
20467
20468
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
20468
20469
  });
20469
- Ho = createSelector([Z, w], (a2, e) => {
20470
+ Co = createSelector([Z, w], (a2, e) => {
20470
20471
  let t = null;
20471
20472
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
20472
20473
  });
@@ -20489,7 +20490,7 @@ var init_dist = __esm({
20489
20490
  this.addEventToStorage(e);
20490
20491
  return;
20491
20492
  }
20492
- 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;
20493
+ 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" ? Fs : Gs;
20493
20494
  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) => {
20494
20495
  if (r.status === 401) {
20495
20496
  this.removeFromStorage(e);
@@ -20519,62 +20520,62 @@ var init_dist = __esm({
20519
20520
  $ = ((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))($ || {});
20520
20521
  Bi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Bi || {});
20521
20522
  Ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ji || {});
20522
- Qo = (a2) => a2.localPeer.id;
20523
- zo = (a2) => a2.localPeer.audioTrack;
20524
- Yo = (a2) => a2.localPeer.videoTrack;
20525
- Xo = (a2, e) => e;
20526
- Ma = (a2, e) => e;
20527
- Zo = (a2) => a2.remoteTrackStats;
20528
- ya = (a2) => a2.peerStats;
20523
+ zo = (a2) => a2.localPeer.id;
20524
+ Yo = (a2) => a2.localPeer.audioTrack;
20525
+ Xo = (a2) => a2.localPeer.videoTrack;
20526
+ Zo = (a2, e) => e;
20527
+ ya = (a2, e) => e;
20528
+ en = (a2) => a2.remoteTrackStats;
20529
+ ka = (a2) => a2.peerStats;
20529
20530
  Vr = (a2) => a2.localTrackStats;
20530
- ve = createSelector([ya, Qo], (a2, e) => a2[e]);
20531
- en = createSelector(ve, (a2) => {
20531
+ ve = createSelector([ka, zo], (a2, e) => a2[e]);
20532
+ tn = createSelector(ve, (a2) => {
20532
20533
  var e;
20533
20534
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
20534
20535
  });
20535
- tn = createSelector(ve, (a2) => {
20536
+ rn = createSelector(ve, (a2) => {
20536
20537
  var e;
20537
20538
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
20538
20539
  });
20539
- rn = createSelector(ve, (a2) => {
20540
+ sn = createSelector(ve, (a2) => {
20540
20541
  var e;
20541
20542
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
20542
20543
  });
20543
- sn = createSelector(ve, (a2) => {
20544
+ an = createSelector(ve, (a2) => {
20544
20545
  var e;
20545
20546
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
20546
20547
  });
20547
- an = createSelector(ve, (a2) => {
20548
+ on = createSelector(ve, (a2) => {
20548
20549
  var e;
20549
20550
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
20550
20551
  });
20551
- on = createSelector(ve, (a2) => {
20552
+ nn = createSelector(ve, (a2) => {
20552
20553
  var e;
20553
20554
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
20554
20555
  });
20555
- nn = createSelector(ve, (a2) => {
20556
+ cn = createSelector(ve, (a2) => {
20556
20557
  var e;
20557
20558
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
20558
20559
  });
20559
- cn = createSelector(ve, (a2) => {
20560
+ dn = createSelector(ve, (a2) => {
20560
20561
  var e;
20561
20562
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
20562
20563
  });
20563
- dn = createSelector([ya, Xo], (a2, e) => e ? a2[e] : void 0);
20564
- ln = createSelector([Zo, Ma], (a2, e) => e ? a2[e] : void 0);
20565
- Fr = createSelector([Vr, Ma], (a2, e) => e ? a2[e] : void 0);
20566
- un = A(dn);
20564
+ ln = createSelector([ka, Zo], (a2, e) => e ? a2[e] : void 0);
20565
+ un = createSelector([en, ya], (a2, e) => e ? a2[e] : void 0);
20566
+ Fr = createSelector([Vr, ya], (a2, e) => e ? a2[e] : void 0);
20567
20567
  pn = A(ln);
20568
- hn = createSelector([Vr, zo], (a2, e) => {
20568
+ hn = A(un);
20569
+ mn = createSelector([Vr, Yo], (a2, e) => {
20569
20570
  var t;
20570
20571
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20571
20572
  });
20572
- mn = A(createSelector(Fr, (a2) => a2 == null ? void 0 : a2[0]));
20573
- Sn = createSelector([Vr, Yo], (a2, e) => {
20573
+ Sn = A(createSelector(Fr, (a2) => a2 == null ? void 0 : a2[0]));
20574
+ gn = createSelector([Vr, Xo], (a2, e) => {
20574
20575
  var t;
20575
20576
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20576
20577
  });
20577
- gn = A(createSelector(Fr, (a2) => a2));
20578
+ Tn = A(createSelector(Fr, (a2) => a2));
20578
20579
  }
20579
20580
  });
20580
20581
 
@@ -20853,7 +20854,7 @@ var init_StreamActions = __esm({
20853
20854
  };
20854
20855
  RecordingPauseStatus = () => {
20855
20856
  const recording = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectRecordingState);
20856
- if (recording.hls && recording.hls.state === Cs.PAUSED) {
20857
+ if (recording.hls && recording.hls.state === Ls.PAUSED) {
20857
20858
  return /* @__PURE__ */ import_react72.default.createElement(
20858
20859
  Tooltip,
20859
20860
  {
@@ -27009,7 +27010,7 @@ var init_Chat = __esm({
27009
27010
  const listRef = (0, import_react144.useRef)(null);
27010
27011
  const hmsActions = (0, import_react_sdk70.useHMSActions)();
27011
27012
  const vanillaStore = (0, import_react_sdk70.useHMSVanillaStore)();
27012
- const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(nm("chatState" /* CHAT_STATE */)) || {};
27013
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(dm("chatState" /* CHAT_STATE */)) || {};
27013
27014
  const isMobile = (0, import_react_use22.useMedia)(config.media.md);
27014
27015
  const isMobileHLSStream = useMobileHLSStream();
27015
27016
  const isLandscapeStream = useLandscapeHLSStream();
@@ -27093,7 +27094,7 @@ var init_Chat = __esm({
27093
27094
  scrollToBottom,
27094
27095
  listRef
27095
27096
  }) => {
27096
- const unreadCount = (0, import_react_sdk70.useHMSStore)(Kn);
27097
+ const unreadCount = (0, import_react_sdk70.useHMSStore)(qn);
27097
27098
  if (!unreadCount || !listRef.current) {
27098
27099
  return null;
27099
27100
  }
@@ -28283,10 +28284,10 @@ var init_VBPicker = __esm({
28283
28284
  const [blurAmount, setBlurAmount] = (0, import_react154.useState)(VBHandler.getBlurAmount() || 0.5);
28284
28285
  const roomState = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectRoomState);
28285
28286
  const isLargeRoom = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectIsLargeRoom);
28286
- const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(ic);
28287
- const effectsKey = (0, import_react_sdk78.useHMSStore)(rc);
28287
+ const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(rc);
28288
+ const effectsKey = (0, import_react_sdk78.useHMSStore)(sc);
28288
28289
  const isPluginAdded = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
28289
- const background = (0, import_react_sdk78.useHMSStore)(om(APP_DATA.background));
28290
+ const background = (0, import_react_sdk78.useHMSStore)(cm(APP_DATA.background));
28290
28291
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
28291
28292
  const inPreview = roomState === import_react_sdk78.HMSRoomState.Preview;
28292
28293
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;