@100mslive/roomkit-react 0.3.17-alpha.2 → 0.3.17-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
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_48ea7de6-a087-4e8c-b2e8-f1411a2373eb", 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.2", 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.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_48ea7de6-a087-4e8c-b2e8-f1411a2373eb", 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.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "591", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18870", 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.2", 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: "10160065200", 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: "4eac5aec26328f724b6b1a7c9d7df52ed701e193", 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: "73f6dd085fb0b36d5ff9ad4b919f86a2b508012b6e85528e4ba4b26fbb227564", 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--1722332907389-0.950546307253586:/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--1722332907173-0.5892400736054275:/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--1722332877817-0.38109870340778995:/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--1722332877615-0.4848152856065213:/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_606a117c-da89-4f00-a48d-a604ba2cb741", INVOCATION_ID: "17909a63c321492e8184d25c2eeef284", 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: "619", 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 158", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.2", 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.2", 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: "4eac5aec26328f724b6b1a7c9d7df52ed701e193", 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_48ea7de6-a087-4e8c-b2e8-f1411a2373eb", 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_48ea7de6-a087-4e8c-b2e8-f1411a2373eb", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_48ea7de6-a087-4e8c-b2e8-f1411a2373eb" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_44ec2323-f968-4461-ab24-834c57c01fd1", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.4", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_44ec2323-f968-4461-ab24-834c57c01fd1", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20500", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10180749533", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6cb88fbfba742fca285241866c60d6f2bc256a03", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "ada74856433e8d79fe54dbcb7a85f9392888fc046b01d19734ae66e7fa44c116", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722431057605-0.6242477955794548:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431057403-0.6015645421246856:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431031644-0.46007401146532745:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431031462-0.8074288001712242:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_dd6774ec-d5d9-4e0a-addb-61db748334f7", INVOCATION_ID: "988bc724adb345e5973a321210ef8382", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "621", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 21", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "6cb88fbfba742fca285241866c60d6f2bc256a03", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_44ec2323-f968-4461-ab24-834c57c01fd1", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_44ec2323-f968-4461-ab24-834c57c01fd1", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_44ec2323-f968-4461-ab24-834c57c01fd1" };
113
113
  }
114
114
  });
115
115
 
@@ -2635,8 +2635,8 @@ var init_useBorderAudioLevel = __esm({
2635
2635
  import_react19 = require("react");
2636
2636
  import_react_sdk3 = require("@100mslive/react-sdk");
2637
2637
  init_Theme();
2638
- sigmoid = (z) => {
2639
- return 1 / (1 + Math.exp(-z));
2638
+ sigmoid = (z2) => {
2639
+ return 1 / (1 + Math.exp(-z2));
2640
2640
  };
2641
2641
  }
2642
2642
  });
@@ -2790,12 +2790,12 @@ var init_formatBytes = __esm({
2790
2790
  if (!bytes) {
2791
2791
  return "-";
2792
2792
  }
2793
- const k2 = 1024;
2793
+ const k = 1024;
2794
2794
  const dm2 = decimals < 0 ? 0 : decimals;
2795
2795
  const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
2796
- let i = Math.floor(Math.log(bytes) / Math.log(k2));
2796
+ let i = Math.floor(Math.log(bytes) / Math.log(k));
2797
2797
  i === 0 && i++;
2798
- return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2))} ${sizes[i]}`;
2798
+ return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm2))} ${sizes[i]}`;
2799
2799
  };
2800
2800
  }
2801
2801
  });
@@ -10156,7 +10156,7 @@ var init_AppData = __esm({
10156
10156
  const updatedSettings = __spreadProps(__spreadValues({}, uiSettings), {
10157
10157
  [UI_SETTINGS.isAudioOnly]: void 0,
10158
10158
  [UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
10159
- [UI_SETTINGS.maxTileCount]: ((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
10159
+ [UI_SETTINGS.maxTileCount]: Number((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
10160
10160
  });
10161
10161
  hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
10162
10162
  }, [preferences, hmsActions, elements == null ? void 0 : elements.video_tile_layout]);
@@ -13999,7 +13999,7 @@ var init_PIPChat = __esm({
13999
13999
  init_useChatBlacklist();
14000
14000
  init_utils3();
14001
14001
  PIPChat = () => {
14002
- var _a7, _b7, _c, _d, _e2, _f, _g, _h, _i, _j;
14002
+ var _a7, _b7, _c, _d, _e, _f, _g, _h, _i, _j;
14003
14003
  const messages = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectHMSMessages);
14004
14004
  const localPeerID = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectLocalPeerID);
14005
14005
  const count = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectUnreadHMSMessagesCount);
@@ -14137,7 +14137,7 @@ var init_PIPChat = __esm({
14137
14137
  borderRadius: "4px",
14138
14138
  padding: "0 2px"
14139
14139
  },
14140
- defaultValue: ((_e2 = elements.chat) == null ? void 0 : _e2.public_chat_enabled) ? "Everyone" : (_g = (_f = elements.chat) == null ? void 0 : _f.roles_whitelist) == null ? void 0 : _g[0]
14140
+ defaultValue: ((_e = elements.chat) == null ? void 0 : _e.public_chat_enabled) ? "Everyone" : (_g = (_f = elements.chat) == null ? void 0 : _f.roles_whitelist) == null ? void 0 : _g[0]
14141
14141
  },
14142
14142
  (_i = (_h = elements.chat) == null ? void 0 : _h.roles_whitelist) == null ? void 0 : _i.map((role) => /* @__PURE__ */ import_react67.default.createElement("option", { key: role, value: role }, role)),
14143
14143
  ((_j = elements.chat) == null ? void 0 : _j.public_chat_enabled) ? /* @__PURE__ */ import_react67.default.createElement("option", { value: "Everyone" }, "Everyone") : ""
@@ -14849,7 +14849,7 @@ var init_StatsForNerds = __esm({
14849
14849
  return tracksWithLabels;
14850
14850
  };
14851
14851
  LocalPeerStats = () => {
14852
- var _a7, _b7, _c, _d, _e2, _f, _g, _h, _i;
14852
+ var _a7, _b7, _c, _d, _e, _f, _g, _h, _i;
14853
14853
  const stats = (0, import_react_sdk31.useHMSStatsStore)(import_react_sdk31.selectHMSStats.localPeerStats);
14854
14854
  if (!stats) {
14855
14855
  return null;
@@ -14858,7 +14858,7 @@ var init_StatsForNerds = __esm({
14858
14858
  StatsRow2,
14859
14859
  {
14860
14860
  label: "Available Outgoing Bitrate",
14861
- value: formatBytes((_e2 = stats.publish) == null ? void 0 : _e2.availableOutgoingBitrate, "b/s")
14861
+ value: formatBytes((_e = stats.publish) == null ? void 0 : _e.availableOutgoingBitrate, "b/s")
14862
14862
  }
14863
14863
  ), /* @__PURE__ */ import_react73.default.createElement(StatsRow2, { label: "Total Bytes Sent", value: formatBytes((_f = stats.publish) == null ? void 0 : _f.bytesSent) }), /* @__PURE__ */ import_react73.default.createElement(StatsRow2, { label: "Total Bytes Received", value: formatBytes((_g = stats.subscribe) == null ? void 0 : _g.bytesReceived) }), /* @__PURE__ */ import_react73.default.createElement(
14864
14864
  StatsRow2,
@@ -15874,10 +15874,10 @@ var require_ua_parser = __commonJS({
15874
15874
  }
15875
15875
  };
15876
15876
  var rgxMapper = function(ua2, arrays) {
15877
- var i = 0, j2, k2, p, q2, matches, match18;
15877
+ var i = 0, j2, k, p, q2, matches, match18;
15878
15878
  while (i < arrays.length && !matches) {
15879
15879
  var regex = arrays[i], props = arrays[i + 1];
15880
- j2 = k2 = 0;
15880
+ j2 = k = 0;
15881
15881
  while (j2 < regex.length && !matches) {
15882
15882
  if (!regex[j2]) {
15883
15883
  break;
@@ -15885,7 +15885,7 @@ var require_ua_parser = __commonJS({
15885
15885
  matches = regex[j2++].exec(ua2);
15886
15886
  if (!!matches) {
15887
15887
  for (p = 0; p < props.length; p++) {
15888
- match18 = matches[++k2];
15888
+ match18 = matches[++k];
15889
15889
  q2 = props[p];
15890
15890
  if (typeof q2 === OBJ_TYPE && q2.length > 0) {
15891
15891
  if (q2.length === 2) {
@@ -18087,8 +18087,8 @@ function shimGetUserMedia(window2, browserDetails) {
18087
18087
  }
18088
18088
  if (matches) {
18089
18089
  return navigator2.mediaDevices.enumerateDevices().then((devices) => {
18090
- devices = devices.filter((d2) => d2.kind === "videoinput");
18091
- let dev = devices.find((d2) => matches.some((match18) => d2.label.toLowerCase().includes(match18)));
18090
+ devices = devices.filter((d) => d.kind === "videoinput");
18091
+ let dev = devices.find((d) => matches.some((match18) => d.label.toLowerCase().includes(match18)));
18092
18092
  if (!dev && devices.length && matches.includes("back")) {
18093
18093
  dev = devices[devices.length - 1];
18094
18094
  }
@@ -20428,7 +20428,7 @@ function shimParameterlessSetLocalDescription(window2, browserDetails) {
20428
20428
  return nativeSetLocalDescription.apply(this, [desc]);
20429
20429
  }
20430
20430
  const func = desc.type === "offer" ? this.createOffer : this.createAnswer;
20431
- return func.apply(this).then((d2) => nativeSetLocalDescription.apply(this, [d2]));
20431
+ return func.apply(this).then((d) => nativeSetLocalDescription.apply(this, [d]));
20432
20432
  };
20433
20433
  }
20434
20434
  var import_sdp;
@@ -21073,9 +21073,9 @@ var require_parser = __commonJS({
21073
21073
  var validLine = RegExp.prototype.test.bind(/^([a-z])=(.*)/);
21074
21074
  exports.parse = function(sdp2) {
21075
21075
  var session = {}, media = [], location = session;
21076
- sdp2.split(/(\r\n|\r|\n)/).filter(validLine).forEach(function(l) {
21077
- var type = l[0];
21078
- var content = l.slice(2);
21076
+ sdp2.split(/(\r\n|\r|\n)/).filter(validLine).forEach(function(l2) {
21077
+ var type = l2[0];
21078
+ var content = l2.slice(2);
21079
21079
  if (type === "m") {
21080
21080
  media.push({ rtp: [], fmtp: [] });
21081
21081
  location = media[media.length - 1];
@@ -21268,7 +21268,7 @@ var require_lib = __commonJS({
21268
21268
  });
21269
21269
 
21270
21270
  // ../hms-video-store/dist/index.js
21271
- function xe(a2, e) {
21271
+ function Ue(a2, e) {
21272
21272
  let t, i;
21273
21273
  if (e)
21274
21274
  for (let r of e.auxiliaryTracks) {
@@ -21286,16 +21286,16 @@ function pt(a2) {
21286
21286
  function eo(a2) {
21287
21287
  return a2 && a2.source === "screen";
21288
21288
  }
21289
- function ri(a2) {
21289
+ function ii(a2) {
21290
21290
  return a2 && a2.source === "audioplaylist";
21291
21291
  }
21292
21292
  function ht(a2) {
21293
21293
  return a2 && a2.source === "videoplaylist";
21294
21294
  }
21295
- function ds(a2) {
21295
+ function cs(a2) {
21296
21296
  return a2 ? !!(a2 != null && a2.degraded) : false;
21297
21297
  }
21298
- function je(a2, e) {
21298
+ function Je(a2, e) {
21299
21299
  return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
21300
21300
  }
21301
21301
  function mt(a2) {
@@ -21304,26 +21304,26 @@ function mt(a2) {
21304
21304
  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 };
21305
21305
  }
21306
21306
  function so() {
21307
- if (O && window) {
21307
+ if (U && window) {
21308
21308
  let a2 = window.location.hostname;
21309
21309
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21310
21310
  }
21311
21311
  return "CUSTOM";
21312
21312
  }
21313
- function oe(a2) {
21313
+ function ne(a2) {
21314
21314
  return a2 != null;
21315
21315
  }
21316
- function ft(a2 = "prod", e) {
21317
- let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21318
- if (Ue)
21319
- return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21320
- let r = ge.getOS(), s = ge.getDevice(), o = ge.getBrowser(), n = yr(`web_${r.name}`), l = r.version || "", u = yr(`${o.name}_${o.version}`), p = u;
21321
- return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, 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 });
21316
+ function Tt(a2 = "prod", e) {
21317
+ let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21318
+ if (Be)
21319
+ return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21320
+ let r = fe.getOS(), s = fe.getDevice(), o = fe.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21321
+ return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: d, sdk: t, sdk_version: ys, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21322
21322
  }
21323
- function yr(a2) {
21323
+ function Mr(a2) {
21324
21324
  return a2.replace(/ /g, "_");
21325
21325
  }
21326
- function oi(a2, e = 300) {
21326
+ function ai(a2, e = 300) {
21327
21327
  let t;
21328
21328
  return function(...i) {
21329
21329
  clearTimeout(t), t = void 0;
@@ -21333,7 +21333,7 @@ function oi(a2, e = 300) {
21333
21333
  }, e);
21334
21334
  };
21335
21335
  }
21336
- function I(a2) {
21336
+ function A(a2) {
21337
21337
  return (e) => (t) => a2(t, e);
21338
21338
  }
21339
21339
  function Bm(a2) {
@@ -21342,16 +21342,16 @@ function Bm(a2) {
21342
21342
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21343
21343
  };
21344
21344
  }
21345
- 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, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, ei, as, os, ss, m, M, Sr, Xa, Mr, gr, Za, ns, Tr, cs, us, to, d, ge, O, ps, Ue, ro, ic, hs, ms, gs, Ts, Qe, k, f, ao, S, vr, fs, le, vs, ys, ks, H, y, kr, Q, Pr, Er, Ar, Rs, As, Is, Hs, Cs, Ir, Ls, Hr, Ns, Cr, Os, Lr, Dr, Bs, Vs, Pt, rt, B, Ho, Kh, qh, K, fi, Qs, N, Fr, Co, _e, Qh, Lo, me, Do, te, ye, zh, Yh, ae, Y, wo, Ys, Xh, Zh, Wr, _o, tm, im, rm, sm, am, om, nm, cm, At, No, dm, ie, Zs, lm, um, Se, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Rm, xo, Am, sa, $r, aa, oa, na, ca, da, la, ua, pa, It, b, Kr, Ht, ha, Uo, Bo, q, qr, Vo, Fo, Go, Wo, $o, X, Um, Fm, Gm, vi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, RS, AS, IS, Zo, en, sn, Yr, Pe, j, ir, ur, Pn, En, bn, Rn, Ka, An, qa, is, be, In, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, rs, Un, Bn, Vn, Fn, Gn, Wn;
21345
+ var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, ss, as, rs, m, M, mr, Xa, vr, Sr, Za, os, gr, ns, ls, to, l, fe, U, us, Be, ro, ic, ps, hs, gs, Ts, ze, P3, f, ao, S, fr, fs, pe, vs, ys, ks, H, y, yr, J, kr, Pr, Ir, Is, Rs, As, Hs, Cs, Rr, Ls, Ar, Ns, Hr, Os, Cr, Lr, Bs, Vs, Pt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Vr, Co, Ne, Qh, Lo, ge, Do, te, ke, zh, Yh, oe, z, wo, Ys, Xh, Zh, Gr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, ie, Zs, lm, um, Te, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Im, xo, Rm, sa, Wr, aa, oa, na, ca, da, la, ua, pa, At, b, $r, Ht, ha, Uo, Bo, q, Kr, Vo, Fo, Go, Wo, $o, Y, Um, Fm, Gm, fi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, IS, RS, AS, Zo, en, sn, zr, Ee, j, tr, lr, Pn, En, bn, In, Ka, Rn, qa, ts, Ie, An, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, is, Un, Bn, Vn, Fn, Gn, Wn;
21346
21346
  var init_dist = __esm({
21347
21347
  "../hms-video-store/dist/index.js"() {
21348
21348
  "use strict";
21349
21349
  init_define_process_env();
21350
21350
  init_es();
21351
21351
  import_ua_parser_js = __toESM(require_ua_parser());
21352
- import_lodash3 = __toESM(require_lodash2());
21353
21352
  import_uuid3 = require("uuid");
21354
21353
  import_uuid4 = require("uuid");
21354
+ import_lodash3 = __toESM(require_lodash2());
21355
21355
  init_adapter_core();
21356
21356
  import_lodash4 = __toESM(require_lodash2());
21357
21357
  import_uuid5 = require("uuid");
@@ -21373,40 +21373,40 @@ var init_dist = __esm({
21373
21373
  ja = Object.defineProperty;
21374
21374
  Ja = Object.defineProperties;
21375
21375
  Qa = Object.getOwnPropertyDescriptors;
21376
- ei = Object.getOwnPropertySymbols;
21377
- as = Object.prototype.hasOwnProperty;
21378
- os = Object.prototype.propertyIsEnumerable;
21379
- ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21376
+ Zt = Object.getOwnPropertySymbols;
21377
+ ss = Object.prototype.hasOwnProperty;
21378
+ as = Object.prototype.propertyIsEnumerable;
21379
+ rs = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21380
21380
  m = (a2, e) => {
21381
21381
  for (var t in e || (e = {}))
21382
- as.call(e, t) && ss(a2, t, e[t]);
21383
- if (ei)
21384
- for (var t of ei(e))
21385
- os.call(e, t) && ss(a2, t, e[t]);
21382
+ ss.call(e, t) && rs(a2, t, e[t]);
21383
+ if (Zt)
21384
+ for (var t of Zt(e))
21385
+ as.call(e, t) && rs(a2, t, e[t]);
21386
21386
  return a2;
21387
21387
  };
21388
21388
  M = (a2, e) => Ja(a2, Qa(e));
21389
- Sr = (a2, e) => {
21389
+ mr = (a2, e) => {
21390
21390
  var t = {};
21391
21391
  for (var i in a2)
21392
- as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21393
- if (a2 != null && ei)
21394
- for (var i of ei(a2))
21395
- e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21392
+ ss.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21393
+ if (a2 != null && Zt)
21394
+ for (var i of Zt(a2))
21395
+ e.indexOf(i) < 0 && as.call(a2, i) && (t[i] = a2[i]);
21396
21396
  return t;
21397
21397
  };
21398
21398
  Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21399
- Mr = Xa((Fc, no) => {
21400
- no.exports = { version: "0.12.17-alpha.2", 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"] };
21399
+ vr = Xa((Ac, no) => {
21400
+ no.exports = { version: "0.12.17-alpha.4", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21401
21401
  });
21402
- gr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(gr || {});
21402
+ Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21403
21403
  Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21404
- ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21405
- Tr = ((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))(Tr || {});
21406
- cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21407
- us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
21404
+ os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
21405
+ gr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(gr || {});
21406
+ ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
21407
+ ls = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ls || {});
21408
21408
  to = typeof window != "undefined" && typeof window.expect != "undefined";
21409
- d = class {
21409
+ l = class {
21410
21410
  static v(e, ...t) {
21411
21411
  this.log(0, e, ...t);
21412
21412
  }
@@ -21471,16 +21471,16 @@ var init_dist = __esm({
21471
21471
  }
21472
21472
  }
21473
21473
  };
21474
- d.level = to ? 7 : 0;
21475
- ge = new import_ua_parser_js.UAParser();
21476
- O = typeof window != "undefined";
21477
- Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21478
- ro = () => !Ue;
21474
+ l.level = to ? 7 : 0;
21475
+ fe = new import_ua_parser_js.UAParser();
21476
+ U = typeof window != "undefined";
21477
+ Be = typeof window == "undefined" && !((us = fe.getBrowser().name) != null && us.toLowerCase().includes("electron"));
21478
+ ro = () => !Be;
21479
21479
  ic = ro();
21480
- gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21480
+ gs = ((hs = (ps = fe.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
21481
21481
  Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21482
- Qe = so();
21483
- k = { 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 } };
21482
+ ze = so();
21483
+ P3 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
21484
21484
  f = class a extends Error {
21485
21485
  constructor(t, i, r, s, o, n = false) {
21486
21486
  super(s);
@@ -21512,97 +21512,97 @@ var init_dist = __esm({
21512
21512
  };
21513
21513
  ao = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21514
21514
  S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21515
- return new f(k.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21515
+ return new f(P3.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21516
21516
  }, WebSocketConnectionLost(a2, e = "") {
21517
- return new f(k.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21517
+ return new f(P3.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21518
21518
  }, AbnormalClose(a2, e = "") {
21519
- return new f(k.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21519
+ return new f(P3.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21520
21520
  } }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
21521
21521
  return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21522
21522
  }, EndpointUnreachable(a2, e = "") {
21523
- return new f(k.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21523
+ return new f(P3.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21524
21524
  }, InvalidTokenFormat(a2, e = "") {
21525
- return new f(k.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21525
+ return new f(P3.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21526
21526
  }, InitConfigNotAvailable(a2, e = "") {
21527
- return new f(k.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21527
+ return new f(P3.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21528
21528
  } }, TracksErrors: { GenericTrack(a2, e = "") {
21529
- return new f(k.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21529
+ return new f(P3.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21530
21530
  }, CantAccessCaptureDevice(a2, e, t = "") {
21531
- return new f(k.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21531
+ return new f(P3.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21532
21532
  }, DeviceNotAvailable(a2, e, t = "") {
21533
- return new f(k.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21533
+ return new f(P3.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21534
21534
  }, DeviceInUse(a2, e, t = "") {
21535
- return new f(k.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21535
+ return new f(P3.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21536
21536
  }, DeviceLostMidway(a2, e, t = "") {
21537
- return new f(k.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21537
+ return new f(P3.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21538
21538
  }, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
21539
- return new f(k.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21539
+ return new f(P3.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21540
21540
  }, InvalidVideoSettings(a2, e = "") {
21541
- return new f(k.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21541
+ return new f(P3.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21542
21542
  }, AutoplayBlocked(a2, e = "") {
21543
- return new f(k.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21543
+ return new f(P3.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21544
21544
  }, CodecChangeNotPermitted(a2, e = "") {
21545
- return new f(k.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21545
+ return new f(P3.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21546
21546
  }, OverConstrained(a2, e, t = "") {
21547
- return new f(k.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21547
+ return new f(P3.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21548
21548
  }, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
21549
- return new f(k.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21549
+ return new f(P3.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21550
21550
  }, SystemDeniedPermission(a2, e, t = "") {
21551
- return new f(k.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21551
+ return new f(P3.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21552
21552
  }, CurrentTabNotShared() {
21553
- return new f(k.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");
21553
+ return new f(P3.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21554
21554
  }, AudioPlaybackError(a2) {
21555
- return new f(k.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21555
+ return new f(P3.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21556
21556
  }, SelectedDeviceMissing(a2) {
21557
- return new f(k.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21557
+ return new f(P3.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21558
21558
  } }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
21559
- return new f(k.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21559
+ return new f(P3.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21560
21560
  }, CreateAnswerFailed(a2, e = "") {
21561
- return new f(k.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21561
+ return new f(P3.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21562
21562
  }, SetLocalDescriptionFailed(a2, e = "") {
21563
- return new f(k.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21563
+ return new f(P3.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21564
21564
  }, SetRemoteDescriptionFailed(a2, e = "") {
21565
- return new f(k.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21565
+ return new f(P3.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21566
21566
  }, ICEFailure(a2, e = "", t = false) {
21567
- return new f(k.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21567
+ return new f(P3.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21568
21568
  }, ICEDisconnected(a2, e = "") {
21569
- return new f(k.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21569
+ return new f(P3.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21570
21570
  }, StatsFailed(a2, e = "") {
21571
- return new f(k.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21571
+ return new f(P3.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21572
21572
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21573
21573
  return new f(a2, "ServerErrors", e, t, t, ao.includes(e));
21574
21574
  }, AlreadyJoined(a2, e = "") {
21575
- return new f(k.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21575
+ return new f(P3.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21576
21576
  }, CannotJoinPreviewInProgress(a2, e = "") {
21577
- return new f(k.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21577
+ return new f(P3.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21578
21578
  } }, GenericErrors: { NotConnected(a2, e = "") {
21579
- return new f(k.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21579
+ return new f(P3.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21580
21580
  }, Signalling(a2, e) {
21581
- return new f(k.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21581
+ return new f(P3.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21582
21582
  }, Unknown(a2, e) {
21583
- return new f(k.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21583
+ return new f(P3.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21584
21584
  }, NotReady(a2, e = "") {
21585
- return new f(k.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21585
+ return new f(P3.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21586
21586
  }, JsonParsingFailed(a2, e, t = "") {
21587
- return new f(k.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21587
+ return new f(P3.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21588
21588
  }, TrackMetadataMissing(a2, e = "") {
21589
- return new f(k.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21589
+ return new f(P3.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21590
21590
  }, RTCTrackMissing(a2, e = "") {
21591
- return new f(k.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21591
+ return new f(P3.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21592
21592
  }, PeerMetadataMissing(a2, e = "") {
21593
- return new f(k.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21593
+ return new f(P3.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21594
21594
  }, ValidationFailed(a2, e) {
21595
- return new f(k.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21595
+ return new f(P3.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21596
21596
  }, InvalidRole(a2, e) {
21597
- return new f(k.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21597
+ return new f(P3.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21598
21598
  }, PreviewAlreadyInProgress(a2, e = "") {
21599
- return new f(k.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21599
+ return new f(P3.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21600
21600
  }, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
21601
- return new f(k.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21601
+ return new f(P3.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21602
21602
  }, MissingMediaDevices() {
21603
- return new f(k.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);
21603
+ return new f(P3.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
21604
21604
  }, MissingRTCPeerConnection() {
21605
- return new f(k.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);
21605
+ return new f(P3.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
21606
21606
  } }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
21607
21607
  return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21608
21608
  }, InitFailed(a2, e = "") {
@@ -21614,11 +21614,11 @@ var init_dist = __esm({
21614
21614
  }, DeviceNotSupported(a2, e = "") {
21615
21615
  return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21616
21616
  } }, PlaylistErrors: { NoEntryToPlay(a2, e) {
21617
- return new f(k.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21617
+ return new f(P3.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21618
21618
  }, NoEntryPlaying(a2, e) {
21619
- return new f(k.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21619
+ return new f(P3.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21620
21620
  } } };
21621
- vr = class {
21621
+ fr = class {
21622
21622
  constructor() {
21623
21623
  this.valuesMap = /* @__PURE__ */ new Map();
21624
21624
  }
@@ -21645,21 +21645,21 @@ var init_dist = __esm({
21645
21645
  };
21646
21646
  fs = () => {
21647
21647
  try {
21648
- O && !localStorage && (window.localStorage = new vr());
21648
+ U && !localStorage && (window.localStorage = new fr());
21649
21649
  } catch (a2) {
21650
- d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21650
+ l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21651
21651
  }
21652
21652
  };
21653
- le = class {
21653
+ pe = class {
21654
21654
  constructor(e) {
21655
21655
  this.key = e;
21656
21656
  this.storage = null;
21657
21657
  }
21658
21658
  getStorage() {
21659
21659
  try {
21660
- return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21660
+ return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21661
21661
  } catch (e) {
21662
- return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21662
+ return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21663
21663
  }
21664
21664
  }
21665
21665
  get() {
@@ -21678,36 +21678,36 @@ var init_dist = __esm({
21678
21678
  }
21679
21679
  };
21680
21680
  vs = () => {
21681
- let a2, e = new le("hms-analytics-deviceId"), t = e.get();
21681
+ let a2, e = new pe("hms-analytics-deviceId"), t = e.get();
21682
21682
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21683
21683
  };
21684
- ys = Mr().version;
21685
- ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21684
+ ys = vr().version;
21685
+ ks = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21686
21686
  H = class {
21687
21687
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21688
- this.metadata = { peer: {}, userAgent: ft() };
21688
+ this.metadata = { peer: {}, userAgent: Tt() };
21689
21689
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = vs();
21690
21690
  }
21691
21691
  toSignalParams() {
21692
- return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21692
+ return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21693
21693
  }
21694
21694
  };
21695
21695
  y = class {
21696
21696
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21697
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21698
- return new H({ name: o, level: n, properties: l });
21697
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21698
+ return new H({ name: o, level: n, properties: d });
21699
21699
  }
21700
21700
  static disconnect(e, t) {
21701
21701
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
21702
21702
  return new H({ name: i, level: r, properties: s });
21703
21703
  }
21704
21704
  static preview(i) {
21705
- var r = i, { error: e } = r, t = Sr(r, ["error"]);
21705
+ var r = i, { error: e } = r, t = mr(r, ["error"]);
21706
21706
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21707
21707
  return new H({ name: s, level: o, properties: n });
21708
21708
  }
21709
21709
  static join(i) {
21710
- var r = i, { error: e } = r, t = Sr(r, ["error"]);
21710
+ var r = i, { error: e } = r, t = mr(r, ["error"]);
21711
21711
  let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21712
21712
  return new H({ name: s, level: o, properties: n });
21713
21713
  }
@@ -21732,8 +21732,8 @@ var init_dist = __esm({
21732
21732
  return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
21733
21733
  }
21734
21734
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
21735
- let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, l = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
21736
- return new H({ name: o, level: n, properties: l });
21735
+ let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
21736
+ return new H({ name: o, level: n, properties: d });
21737
21737
  }
21738
21738
  static performance(e) {
21739
21739
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
@@ -21777,6 +21777,9 @@ var init_dist = __esm({
21777
21777
  static krispStop() {
21778
21778
  return new H({ name: "krisp.stop", level: 1 });
21779
21779
  }
21780
+ static interruption(e, t, i) {
21781
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ type: t }, i) });
21782
+ }
21780
21783
  static eventNameFor(e, t) {
21781
21784
  return `${e}.${t ? "success" : "failed"}`;
21782
21785
  }
@@ -21789,9 +21792,9 @@ var init_dist = __esm({
21789
21792
  }
21790
21793
  };
21791
21794
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21792
- kr = class {
21795
+ yr = class {
21793
21796
  constructor() {
21794
- this.storage = new le("hms-device-selection");
21797
+ this.storage = new pe("hms-device-selection");
21795
21798
  this.remember = false;
21796
21799
  this.TAG = "[HMSDeviceStorage]";
21797
21800
  }
@@ -21806,7 +21809,7 @@ var init_dist = __esm({
21806
21809
  return;
21807
21810
  let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
21808
21811
  if (!r) {
21809
- d.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
21812
+ l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
21810
21813
  return;
21811
21814
  }
21812
21815
  let s = this.storage.get() || {};
@@ -21823,18 +21826,18 @@ var init_dist = __esm({
21823
21826
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
21824
21827
  }
21825
21828
  };
21826
- Q = new kr();
21827
- Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21828
- Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
21829
- Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21830
- 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 || {});
21831
- As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21832
- Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
21829
+ J = new yr();
21830
+ kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
21831
+ Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
21832
+ Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
21833
+ Is = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Is || {});
21834
+ Rs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Rs || {});
21835
+ As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
21833
21836
  Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21834
21837
  Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21835
- Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
21838
+ Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
21836
21839
  Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21837
- Hr = class {
21840
+ Ar = class {
21838
21841
  constructor() {
21839
21842
  this.TAG = "[HMSIntersectionObserverWrapper]";
21840
21843
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21857,12 +21860,12 @@ var init_dist = __esm({
21857
21860
  this.createObserver();
21858
21861
  }
21859
21862
  isSupported() {
21860
- let e = O && typeof window.IntersectionObserver != "undefined";
21861
- return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21863
+ let e = U && typeof window.IntersectionObserver != "undefined";
21864
+ return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21862
21865
  }
21863
21866
  };
21864
- Ns = new Hr();
21865
- Cr = class {
21867
+ Ns = new Ar();
21868
+ Hr = class {
21866
21869
  constructor() {
21867
21870
  this.TAG = "[HMSResizeObserverWrapper]";
21868
21871
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21875,7 +21878,7 @@ var init_dist = __esm({
21875
21878
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
21876
21879
  };
21877
21880
  this.createObserver = () => {
21878
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(oi(this.handleResize, 300)));
21881
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(ai(this.handleResize, 300)));
21879
21882
  };
21880
21883
  this.handleResize = (e) => {
21881
21884
  var t;
@@ -21885,13 +21888,13 @@ var init_dist = __esm({
21885
21888
  this.createObserver();
21886
21889
  }
21887
21890
  isSupported() {
21888
- let e = O && typeof window.ResizeObserver != "undefined";
21889
- return e || d.w(this.TAG, "Resize Observer is not supported"), e;
21891
+ let e = U && typeof window.ResizeObserver != "undefined";
21892
+ return e || l.w(this.TAG, "Resize Observer is not supported"), e;
21890
21893
  }
21891
21894
  };
21892
- Os = new Cr();
21893
- Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
21894
- Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
21895
+ Os = new Hr();
21896
+ Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
21897
+ Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
21895
21898
  Bs = "https://event.100ms.live/v2/client/report";
21896
21899
  Vs = "https://event-nonprod.100ms.live/v2/client/report";
21897
21900
  Pt = Math.pow(2, 31) - 1;
@@ -21903,33 +21906,33 @@ var init_dist = __esm({
21903
21906
  Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
21904
21907
  qh = createSelector(B, (a2) => a2.id);
21905
21908
  K = (a2) => a2.peers;
21906
- fi = (a2) => a2.messages.byID;
21909
+ Ti = (a2) => a2.messages.byID;
21907
21910
  Qs = (a2) => a2.messages.allIDs;
21908
21911
  N = (a2) => a2.tracks;
21909
- Fr = (a2) => a2.appData;
21912
+ Vr = (a2) => a2.appData;
21910
21913
  Co = (a2) => a2.speakers;
21911
- _e = createSelector([B], (a2) => a2 && a2.isConnected);
21912
- Qh = createSelector([_e, 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));
21914
+ Ne = createSelector([B], (a2) => a2 && a2.isConnected);
21915
+ Qh = createSelector([Ne, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
21913
21916
  Lo = (a2) => a2.hideLocalPeer;
21914
- me = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21917
+ ge = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21915
21918
  Do = createSelector(N, (a2) => Object.values(a2));
21916
21919
  te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
21917
- ye = createSelector(B, (a2) => a2.localPeer);
21920
+ ke = createSelector(B, (a2) => a2.localPeer);
21918
21921
  zh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
21919
21922
  Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
21920
- ae = createSelector(te, (a2) => a2 == null ? void 0 : a2.audioTrack);
21921
- Y = createSelector(te, (a2) => a2 == null ? void 0 : a2.videoTrack);
21923
+ oe = createSelector(te, (a2) => a2 == null ? void 0 : a2.audioTrack);
21924
+ z = createSelector(te, (a2) => a2 == null ? void 0 : a2.videoTrack);
21922
21925
  wo = createSelector(te, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21923
- Ys = createSelector([ae, Y, wo], (a2, e, t) => {
21926
+ Ys = createSelector([oe, z, wo], (a2, e, t) => {
21924
21927
  let i = t ? [...t] : [];
21925
21928
  return a2 && i.unshift(a2), e && i.unshift(e), i;
21926
21929
  });
21927
- Xh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
21930
+ Xh = createSelector(ge, (a2) => a2.filter((e) => !e.isLocal));
21928
21931
  Zh = createSelector(K, Co, (a2, e) => {
21929
21932
  let t = Object.entries(e).sort((i, r) => {
21930
- var n, l;
21933
+ var n, d;
21931
21934
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
21932
- return (((l = r[1]) == null ? void 0 : l.audioLevel) || 0) > s ? 1 : -1;
21935
+ return (((d = r[1]) == null ? void 0 : d.audioLevel) || 0) > s ? 1 : -1;
21933
21936
  });
21934
21937
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
21935
21938
  let i = t[0][1].peerID;
@@ -21938,14 +21941,14 @@ var init_dist = __esm({
21938
21941
  }
21939
21942
  return null;
21940
21943
  });
21941
- Wr = createSelector(te, N, (a2, e) => {
21942
- let { video: t, audio: i } = xe(e, a2);
21944
+ Gr = createSelector(te, N, (a2, e) => {
21945
+ let { video: t, audio: i } = Ue(e, a2);
21943
21946
  return !!(t || i);
21944
21947
  });
21945
21948
  _o = createSelector(K, N, (a2, e) => {
21946
21949
  let t;
21947
21950
  for (let i in a2) {
21948
- let r = a2[i], { video: s, audio: o } = xe(e, r);
21951
+ let r = a2[i], { video: s, audio: o } = Ue(e, r);
21949
21952
  if (s)
21950
21953
  return r;
21951
21954
  o && !t && (t = r);
@@ -21955,7 +21958,7 @@ var init_dist = __esm({
21955
21958
  tm = createSelector(_o, (a2) => !!a2);
21956
21959
  im = createSelector(K, N, (a2, e) => {
21957
21960
  for (let t in a2) {
21958
- let i = a2[t], { audio: r, video: s } = xe(e, i);
21961
+ let i = a2[t], { audio: r, video: s } = Ue(e, i);
21959
21962
  if (!s && r)
21960
21963
  return i;
21961
21964
  }
@@ -21963,7 +21966,7 @@ var init_dist = __esm({
21963
21966
  rm = createSelector(K, N, (a2, e) => {
21964
21967
  let t = [], i = [];
21965
21968
  for (let r in a2) {
21966
- let s = a2[r], { video: o, audio: n } = xe(e, s);
21969
+ let s = a2[r], { video: o, audio: n } = Ue(e, s);
21967
21970
  o ? t.push(s) : n && i.push(s);
21968
21971
  }
21969
21972
  return t.concat(i);
@@ -21978,20 +21981,20 @@ var init_dist = __esm({
21978
21981
  am = createSelector(K, N, (a2, e) => {
21979
21982
  for (let t in e) {
21980
21983
  let i = e[t];
21981
- if (ri(i) && i.peerId)
21984
+ if (ii(i) && i.peerId)
21982
21985
  return a2[i.peerId];
21983
21986
  }
21984
21987
  });
21985
- om = createSelector(Do, (a2) => a2.filter(ds));
21988
+ om = createSelector(Do, (a2) => a2.filter(cs));
21986
21989
  nm = createSelector(Qs, (a2) => a2.length);
21987
- cm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
21988
- At = createSelector(Qs, fi, (a2, e) => {
21990
+ cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21991
+ Rt = createSelector(Qs, Ti, (a2, e) => {
21989
21992
  let t = [];
21990
21993
  return a2.forEach((i) => {
21991
21994
  t.push(e[i]);
21992
21995
  }), t;
21993
21996
  });
21994
- No = createSelector(At, (a2) => a2.filter((e) => {
21997
+ No = createSelector(Rt, (a2) => a2.filter((e) => {
21995
21998
  var t;
21996
21999
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
21997
22000
  }));
@@ -22000,14 +22003,14 @@ var init_dist = __esm({
22000
22003
  Zs = createSelector(ie, (a2) => a2 === "Preview");
22001
22004
  lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
22002
22005
  um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22003
- Se = (a2) => a2.roles;
22004
- pm = createSelector([Se], (a2) => Object.keys(a2));
22005
- at = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22006
+ Te = (a2) => a2.roles;
22007
+ pm = createSelector([Te], (a2) => Object.keys(a2));
22008
+ at = createSelector([te, Te], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22006
22009
  Oo = (a2) => {
22007
22010
  var e;
22008
22011
  return (e = a2.preview) == null ? void 0 : e.asRole;
22009
22012
  };
22010
- ea = createSelector([Oo, Se], (a2, e) => a2 ? e[a2] : null);
22013
+ ea = createSelector([Oo, Te], (a2, e) => a2 ? e[a2] : null);
22011
22014
  hm = createSelector([at], (a2) => {
22012
22015
  var e;
22013
22016
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
@@ -22023,23 +22026,23 @@ var init_dist = __esm({
22023
22026
  ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
22024
22027
  km = createSelector(B, (a2) => a2.effectsKey);
22025
22028
  ia = (a2) => a2.polls;
22026
- Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
22029
+ Im = createSelector(ge, (a2) => a2.filter((e) => e.isHandRaised));
22027
22030
  xo = (a2) => a2.whiteboards;
22028
- Am = createSelector(xo, (a2) => Object.values(a2)[0]);
22031
+ Rm = createSelector(xo, (a2) => Object.values(a2)[0]);
22029
22032
  sa = (a2 = "audio") => (e) => e.playlist[a2].list;
22030
- $r = (a2 = "audio") => (e) => e.playlist[a2].selection;
22033
+ Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22031
22034
  aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22032
22035
  oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22033
22036
  na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22034
22037
  ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
22035
22038
  da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
22036
- la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
22039
+ la = (a2 = "audio") => createSelector(sa(a2), Wr(a2), (e, t) => {
22037
22040
  if (t.id)
22038
22041
  return e[t.id];
22039
22042
  });
22040
- ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22041
- pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22042
- It = "HMS-Store:";
22043
+ ua = { selection: Wr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22044
+ pa = { selection: Wr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22045
+ At = "HMS-Store:";
22043
22046
  b = class {
22044
22047
  static v(e, ...t) {
22045
22048
  this.log(0, e, ...t);
@@ -22069,23 +22072,23 @@ var init_dist = __esm({
22069
22072
  if (!(this.level.valueOf() > e.valueOf()))
22070
22073
  switch (e) {
22071
22074
  case 0: {
22072
- console.log(It, ...t);
22075
+ console.log(At, ...t);
22073
22076
  break;
22074
22077
  }
22075
22078
  case 1: {
22076
- console.debug(It, ...t);
22079
+ console.debug(At, ...t);
22077
22080
  break;
22078
22081
  }
22079
22082
  case 2: {
22080
- console.info(It, ...t);
22083
+ console.info(At, ...t);
22081
22084
  break;
22082
22085
  }
22083
22086
  case 3: {
22084
- console.warn(It, ...t);
22087
+ console.warn(At, ...t);
22085
22088
  break;
22086
22089
  }
22087
22090
  case 6: {
22088
- console.error(It, ...t);
22091
+ console.error(At, ...t);
22089
22092
  break;
22090
22093
  }
22091
22094
  case 4: {
@@ -22106,13 +22109,13 @@ var init_dist = __esm({
22106
22109
  }
22107
22110
  };
22108
22111
  b.level = 0;
22109
- Kr = (a2, e) => e;
22112
+ $r = (a2, e) => e;
22110
22113
  Ht = (a2, e) => e;
22111
22114
  ha = (a2, e) => e;
22112
22115
  Uo = (a2, e) => e;
22113
22116
  Bo = (a2, e) => e;
22114
- q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
22115
- qr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
22117
+ q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
22118
+ Kr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
22116
22119
  Vo = createSelector([N, Ht], (a2, e) => {
22117
22120
  if (!e)
22118
22121
  return null;
@@ -22138,95 +22141,95 @@ var init_dist = __esm({
22138
22141
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22139
22142
  });
22140
22143
  $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
22141
- X = I(q);
22142
- Um = I(createSelector([Fr, Uo], (a2, e) => {
22144
+ Y = A(q);
22145
+ Um = A(createSelector([Vr, Uo], (a2, e) => {
22143
22146
  if (a2)
22144
22147
  return e ? a2[e] : a2;
22145
22148
  }));
22146
- Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22147
- Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22148
- vi = I(qr);
22149
- ma = I(Vo);
22150
- Wm = I(Fo);
22151
- $m = I(Go);
22152
- Km = I(Wo);
22153
- Ko = I((a2, e) => {
22149
+ Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22150
+ Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22151
+ fi = A(Kr);
22152
+ ma = A(Vo);
22153
+ Wm = A(Fo);
22154
+ $m = A(Go);
22155
+ Km = A(Wo);
22156
+ Ko = A((a2, e) => {
22154
22157
  let t = q(a2, e);
22155
22158
  if (t && t.videoTrack && t.videoTrack !== "")
22156
22159
  return a2.tracks[t.videoTrack];
22157
22160
  });
22158
- qo = I((a2, e) => {
22161
+ qo = A((a2, e) => {
22159
22162
  let t = q(a2, e);
22160
22163
  if (t && t.audioTrack && t.audioTrack !== "")
22161
22164
  return a2.tracks[t.audioTrack];
22162
22165
  });
22163
- jm = I((a2, e) => {
22166
+ jm = A((a2, e) => {
22164
22167
  let t = q(a2, e);
22165
22168
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22166
22169
  });
22167
22170
  Sa = (a2, e) => e ? a2.speakers[e] : null;
22168
- Jm = I(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22171
+ Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22169
22172
  jo = (a2, e) => {
22170
22173
  let t = qo(e)(a2);
22171
22174
  return Sa(a2, t == null ? void 0 : t.id);
22172
22175
  };
22173
- Qm = I(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22174
- zm = I((a2, e) => {
22176
+ Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22177
+ zm = A((a2, e) => {
22175
22178
  if (e)
22176
22179
  return a2.connectionQualities[e];
22177
22180
  });
22178
- Ym = I((a2, e) => {
22181
+ Ym = A((a2, e) => {
22179
22182
  let t = q(a2, e);
22180
22183
  if (t) {
22181
22184
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
22182
22185
  return i ? a2.tracks[i] : void 0;
22183
22186
  }
22184
22187
  });
22185
- Xm = I(createSelector(N, q, (a2, e) => {
22188
+ Xm = A(createSelector(N, q, (a2, e) => {
22186
22189
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22187
22190
  let r = a2[i];
22188
22191
  return ht(r) && pt(r);
22189
22192
  });
22190
22193
  return t ? a2[t] : void 0;
22191
22194
  }));
22192
- Zm = I(createSelector(N, q, (a2, e) => {
22195
+ Zm = A(createSelector(N, q, (a2, e) => {
22193
22196
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22194
22197
  let r = a2[i];
22195
22198
  return ht(r) && ut(r);
22196
22199
  });
22197
22200
  return t ? a2[t] : void 0;
22198
22201
  }));
22199
- eS = I(createSelector(N, q, (a2, e) => {
22202
+ eS = A(createSelector(N, q, (a2, e) => {
22200
22203
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22201
22204
  let r = a2[i];
22202
- return ri(r) && ut(r);
22205
+ return ii(r) && ut(r);
22203
22206
  });
22204
22207
  return t ? a2[t] : void 0;
22205
22208
  }));
22206
- ga = I(createSelector(N, q, (a2, e) => xe(a2, e)));
22209
+ ga = A(createSelector(N, q, (a2, e) => Ue(a2, e)));
22207
22210
  Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
22208
- iS = I((a2, e) => {
22211
+ iS = A((a2, e) => {
22209
22212
  let t = q(a2, e);
22210
- return je(a2, t == null ? void 0 : t.audioTrack);
22213
+ return Je(a2, t == null ? void 0 : t.audioTrack);
22211
22214
  });
22212
- rS = I((a2, e) => {
22215
+ rS = A((a2, e) => {
22213
22216
  let t = q(a2, e);
22214
- return je(a2, t == null ? void 0 : t.videoTrack);
22217
+ return Je(a2, t == null ? void 0 : t.videoTrack);
22215
22218
  });
22216
- fa = I((a2, e) => {
22219
+ fa = A((a2, e) => {
22217
22220
  if (e && a2.tracks[e])
22218
22221
  return a2.tracks[e].volume === 0;
22219
22222
  });
22220
- sS = I((a2, e) => {
22223
+ sS = A((a2, e) => {
22221
22224
  let t = q(a2, e);
22222
22225
  return fa(t == null ? void 0 : t.audioTrack)(a2);
22223
22226
  });
22224
- aS = I((a2, e) => {
22227
+ aS = A((a2, e) => {
22225
22228
  let t = Ta(e)(a2);
22226
22229
  return fa(t == null ? void 0 : t.id)(a2);
22227
22230
  });
22228
- va = I((a2, e) => {
22229
- let t = qr(a2, e);
22231
+ va = A((a2, e) => {
22232
+ let t = Kr(a2, e);
22230
22233
  if (t) {
22231
22234
  if (t.type !== "audio") {
22232
22235
  b.w("Please pass audio track here");
@@ -22235,16 +22238,16 @@ var init_dist = __esm({
22235
22238
  return t.volume;
22236
22239
  }
22237
22240
  });
22238
- oS = I((a2, e) => {
22241
+ oS = A((a2, e) => {
22239
22242
  let t = q(a2, e);
22240
22243
  return va(t == null ? void 0 : t.audioTrack)(a2);
22241
22244
  });
22242
- nS = I((a2, e) => {
22245
+ nS = A((a2, e) => {
22243
22246
  let t = Ta(e)(a2);
22244
22247
  return va(t == null ? void 0 : t.id)(a2);
22245
22248
  });
22246
- cS = I((a2, e) => {
22247
- let t = qr(a2, e);
22249
+ cS = A((a2, e) => {
22250
+ let t = Kr(a2, e);
22248
22251
  if (t) {
22249
22252
  if (t.type !== "video") {
22250
22253
  b.w("Please pass video track here");
@@ -22253,53 +22256,53 @@ var init_dist = __esm({
22253
22256
  return t.layer;
22254
22257
  }
22255
22258
  });
22256
- Ma = createSelector([At, ye, Kr], (a2, e, t) => {
22259
+ Ma = createSelector([Rt, ke, $r], (a2, e, t) => {
22257
22260
  if (t)
22258
22261
  return a2.filter((i) => {
22259
22262
  var r;
22260
22263
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22261
22264
  });
22262
22265
  });
22263
- ya = createSelector([At, ha], (a2, e) => {
22266
+ ya = createSelector([Rt, ha], (a2, e) => {
22264
22267
  if (e)
22265
22268
  return a2.filter((t) => {
22266
22269
  var i, r;
22267
22270
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22268
22271
  });
22269
22272
  });
22270
- Jo = createSelector(At, (a2) => a2.filter((e) => {
22273
+ Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22271
22274
  var t;
22272
22275
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22273
22276
  }));
22274
22277
  Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22275
- zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22278
+ zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22276
22279
  dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22277
- lS = I(Ma);
22278
- uS = I(ya);
22279
- pS = I(Qo);
22280
- hS = I(zo);
22281
- ka = I($o);
22280
+ lS = A(Ma);
22281
+ uS = A(ya);
22282
+ pS = A(Qo);
22283
+ hS = A(zo);
22284
+ ka = A($o);
22282
22285
  bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22283
22286
  var r;
22284
22287
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22285
22288
  }));
22286
22289
  Yo = (a2) => a2.roleChangeRequests[0] || null;
22287
- RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22288
- AS = createSelector([at], (a2) => mt(a2));
22289
- IS = createSelector([ea], (a2) => mt(a2));
22290
- Zo = createSelector([Y, N], (a2, e) => {
22290
+ IS = createSelector([Yo, K, Te], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22291
+ RS = createSelector([at], (a2) => mt(a2));
22292
+ AS = createSelector([ea], (a2) => mt(a2));
22293
+ Zo = createSelector([z, N], (a2, e) => {
22291
22294
  let t = null;
22292
22295
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22293
22296
  });
22294
- en = createSelector([ae, N], (a2, e) => {
22297
+ en = createSelector([oe, N], (a2, e) => {
22295
22298
  let t = null;
22296
22299
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22297
22300
  });
22298
22301
  sn = ((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))(sn || {});
22299
- Yr = class {
22302
+ zr = class {
22300
22303
  constructor() {
22301
22304
  this.TAG = "[HTTPAnalyticsTransport]";
22302
- this.failedEvents = new le("client-events");
22305
+ this.failedEvents = new pe("client-events");
22303
22306
  this.isConnected = true;
22304
22307
  this.env = null;
22305
22308
  this.websocketURL = "";
@@ -22325,7 +22328,7 @@ var init_dist = __esm({
22325
22328
  throw Error(r.statusText);
22326
22329
  this.removeFromStorage(e);
22327
22330
  }).catch((r) => {
22328
- d.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
22331
+ l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
22329
22332
  });
22330
22333
  }
22331
22334
  flushFailedEvents() {
@@ -22341,66 +22344,66 @@ var init_dist = __esm({
22341
22344
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22342
22345
  }
22343
22346
  };
22344
- Pe = new Yr();
22347
+ Ee = new zr();
22345
22348
  j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22346
- ir = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ir || {});
22347
- ur = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ur || {});
22349
+ tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
22350
+ lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
22348
22351
  Pn = (a2) => a2.localPeer.id;
22349
22352
  En = (a2) => a2.localPeer.audioTrack;
22350
22353
  bn = (a2) => a2.localPeer.videoTrack;
22351
- Rn = (a2, e) => e;
22354
+ In = (a2, e) => e;
22352
22355
  Ka = (a2, e) => e;
22353
- An = (a2) => a2.remoteTrackStats;
22356
+ Rn = (a2) => a2.remoteTrackStats;
22354
22357
  qa = (a2) => a2.peerStats;
22355
- is = (a2) => a2.localTrackStats;
22356
- be = createSelector([qa, Pn], (a2, e) => a2[e]);
22357
- In = createSelector(be, (a2) => {
22358
+ ts = (a2) => a2.localTrackStats;
22359
+ Ie = createSelector([qa, Pn], (a2, e) => a2[e]);
22360
+ An = createSelector(Ie, (a2) => {
22358
22361
  var e;
22359
22362
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22360
22363
  });
22361
- Hn = createSelector(be, (a2) => {
22364
+ Hn = createSelector(Ie, (a2) => {
22362
22365
  var e;
22363
22366
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
22364
22367
  });
22365
- Cn = createSelector(be, (a2) => {
22368
+ Cn = createSelector(Ie, (a2) => {
22366
22369
  var e;
22367
22370
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
22368
22371
  });
22369
- Ln = createSelector(be, (a2) => {
22372
+ Ln = createSelector(Ie, (a2) => {
22370
22373
  var e;
22371
22374
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
22372
22375
  });
22373
- Dn = createSelector(be, (a2) => {
22376
+ Dn = createSelector(Ie, (a2) => {
22374
22377
  var e;
22375
22378
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
22376
22379
  });
22377
- wn = createSelector(be, (a2) => {
22380
+ wn = createSelector(Ie, (a2) => {
22378
22381
  var e;
22379
22382
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
22380
22383
  });
22381
- _n = createSelector(be, (a2) => {
22384
+ _n = createSelector(Ie, (a2) => {
22382
22385
  var e;
22383
22386
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
22384
22387
  });
22385
- Nn = createSelector(be, (a2) => {
22388
+ Nn = createSelector(Ie, (a2) => {
22386
22389
  var e;
22387
22390
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22388
22391
  });
22389
- On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
22390
- xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
22391
- rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
22392
- Un = I(On);
22393
- Bn = I(xn);
22394
- Vn = createSelector([is, En], (a2, e) => {
22392
+ On = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
22393
+ xn = createSelector([Rn, Ka], (a2, e) => e ? a2[e] : void 0);
22394
+ is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
22395
+ Un = A(On);
22396
+ Bn = A(xn);
22397
+ Vn = createSelector([ts, En], (a2, e) => {
22395
22398
  var t;
22396
22399
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22397
22400
  });
22398
- Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22399
- Gn = createSelector([is, bn], (a2, e) => {
22401
+ Fn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22402
+ Gn = createSelector([ts, bn], (a2, e) => {
22400
22403
  var t;
22401
22404
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22402
22405
  });
22403
- Wn = I(createSelector(rs, (a2) => a2));
22406
+ Wn = A(createSelector(is, (a2) => a2));
22404
22407
  }
22405
22408
  });
22406
22409
 
@@ -22613,7 +22616,7 @@ var init_StreamActions = __esm({
22613
22616
  };
22614
22617
  RecordingPauseStatus = () => {
22615
22618
  const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
22616
- if (recording.hls && recording.hls.state === Rs.PAUSED) {
22619
+ if (recording.hls && recording.hls.state === Is.PAUSED) {
22617
22620
  return /* @__PURE__ */ import_react88.default.createElement(
22618
22621
  Tooltip,
22619
22622
  {
@@ -22925,7 +22928,7 @@ var init_useUnreadPollQuizPresent = __esm({
22925
22928
  init_dist();
22926
22929
  import_react_sdk44 = require("@100mslive/react-sdk");
22927
22930
  useUnreadPollQuizPresent = () => {
22928
- const localPeerID = (0, import_react_sdk44.useHMSStore)(ye);
22931
+ const localPeerID = (0, import_react_sdk44.useHMSStore)(ke);
22929
22932
  const notification = (0, import_react_sdk44.useHMSNotifications)(import_react_sdk44.HMSNotificationTypes.POLL_STARTED);
22930
22933
  const [unreadPollQuiz, setUnreadPollQuiz] = (0, import_react92.useState)(false);
22931
22934
  (0, import_react92.useEffect)(() => {
@@ -27490,7 +27493,7 @@ var init_ChatFooter = __esm({
27490
27493
  }
27491
27494
  });
27492
27495
  ChatFooter = ({ onSend, children }) => {
27493
- var _a7, _b7, _c, _d, _e2;
27496
+ var _a7, _b7, _c, _d, _e;
27494
27497
  const hmsActions = (0, import_react_sdk71.useHMSActions)();
27495
27498
  const inputRef = (0, import_react147.useRef)(null);
27496
27499
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
@@ -27604,7 +27607,7 @@ var init_ChatFooter = __esm({
27604
27607
  },
27605
27608
  /* @__PURE__ */ import_react147.default.createElement(import_react_icons69.PauseCircleIcon, null),
27606
27609
  /* @__PURE__ */ import_react147.default.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold" } }, "Pause Chat")
27607
- )))) : null), selection && /* @__PURE__ */ import_react147.default.createElement(Flex, { align: ((_e2 = inputRef.current) == null ? void 0 : _e2.scrollHeight) === 32 ? "center" : "end", css: { gap: "$4", w: "100%" } }, /* @__PURE__ */ import_react147.default.createElement(
27610
+ )))) : null), selection && /* @__PURE__ */ import_react147.default.createElement(Flex, { align: ((_e = inputRef.current) == null ? void 0 : _e.scrollHeight) === 32 ? "center" : "end", css: { gap: "$4", w: "100%" } }, /* @__PURE__ */ import_react147.default.createElement(
27608
27611
  Flex,
27609
27612
  {
27610
27613
  align: "end",
@@ -29554,7 +29557,7 @@ var init_SidePane = __esm({
29554
29557
  tileProps,
29555
29558
  hideControls = false
29556
29559
  }) => {
29557
- var _a7, _b7, _c, _d, _e2, _f, _g;
29560
+ var _a7, _b7, _c, _d, _e, _f, _g;
29558
29561
  const isMobile = (0, import_react_use31.useMedia)(config.media.md);
29559
29562
  const sidepane = (0, import_react_sdk83.useHMSStore)((0, import_react_sdk83.selectAppData)(APP_DATA.sidePane));
29560
29563
  const activeScreensharePeerId = (0, import_react_sdk83.useHMSStore)((0, import_react_sdk83.selectAppData)(APP_DATA.activeScreensharePeerId));
@@ -29564,7 +29567,7 @@ var init_SidePane = __esm({
29564
29567
  const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
29565
29568
  const isLandscapeHLSStream = useLandscapeHLSStream();
29566
29569
  const isMobileHLSStream = useMobileHLSStream();
29567
- const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e2 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e2.background_media) || [];
29570
+ const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e.background_media) || [];
29568
29571
  const tileLayout = {
29569
29572
  hideParticipantNameOnTile: tileProps == null ? void 0 : tileProps.hide_participant_name_on_tile,
29570
29573
  roundedVideoTile: tileProps == null ? void 0 : tileProps.rounded_video_tile,
@@ -31206,9 +31209,9 @@ var init_ScreenshareLayout = __esm({
31206
31209
  }
31207
31210
  });
31208
31211
 
31209
- // ../../../../../../../tmp/tmp-2865-pwxbagn010v7/191030a898f1/index.css
31210
- var init_a898f1 = __esm({
31211
- "../../../../../../../tmp/tmp-2865-pwxbagn010v7/191030a898f1/index.css"() {
31212
+ // ../../../../../../../tmp/tmp-2856-n61qsj1R7QcB/19108e4308d0/index.css
31213
+ var init_e4308d0 = __esm({
31214
+ "../../../../../../../tmp/tmp-2856-n61qsj1R7QcB/19108e4308d0/index.css"() {
31212
31215
  }
31213
31216
  });
31214
31217
 
@@ -31230,7 +31233,7 @@ var init_WhiteboardLayout = __esm({
31230
31233
  init_ProminenceLayout();
31231
31234
  init_useUISettings();
31232
31235
  init_constants();
31233
- init_a898f1();
31236
+ init_e4308d0();
31234
31237
  WhiteboardEmbed = () => {
31235
31238
  const isMobile = (0, import_react_use42.useMedia)(config.media.md);
31236
31239
  const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
@@ -33101,7 +33104,7 @@ var init_HLSView = __esm({
33101
33104
  return null;
33102
33105
  };
33103
33106
  HLSView = () => {
33104
- var _a7, _b7, _c, _d, _e2, _f, _g;
33107
+ var _a7, _b7, _c, _d, _e, _f, _g;
33105
33108
  const videoRef = (0, import_react206.useRef)(null);
33106
33109
  const hlsViewRef = (0, import_react206.useRef)();
33107
33110
  const { elements } = useRoomLayoutConferencingScreen();
@@ -33628,7 +33631,7 @@ var init_HLSView = __esm({
33628
33631
  transition: "visibility 0s 0.5s, opacity 0.5s linear"
33629
33632
  }
33630
33633
  },
33631
- ((_e2 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e2.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
33634
+ ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
33632
33635
  /* @__PURE__ */ import_react206.default.createElement(
33633
33636
  HMSVideoPlayer.Controls.Root,
33634
33637
  {
@@ -34129,7 +34132,7 @@ var init_ConferenceScreen = __esm({
34129
34132
  init_hooks();
34130
34133
  init_constants();
34131
34134
  ConferenceScreen = () => {
34132
- var _a7, _b7, _c, _d, _e2, _f;
34135
+ var _a7, _b7, _c, _d, _e, _f;
34133
34136
  const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
34134
34137
  const screenProps = useRoomLayoutConferencingScreen();
34135
34138
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
@@ -34228,7 +34231,7 @@ var init_ConferenceScreen = __esm({
34228
34231
  flex: "1 1 0",
34229
34232
  minHeight: 0,
34230
34233
  // @ts-ignore
34231
- px: ((_e2 = (_d = (_c = screenProps == null ? void 0 : screenProps.elements) == null ? void 0 : _c.video_tile_layout) == null ? void 0 : _d.grid) == null ? void 0 : _e2.edge_to_edge) ? 0 : "$10",
34234
+ px: ((_e = (_d = (_c = screenProps == null ? void 0 : screenProps.elements) == null ? void 0 : _c.video_tile_layout) == null ? void 0 : _d.grid) == null ? void 0 : _e.edge_to_edge) ? 0 : "$10",
34232
34235
  // TODO: padding to be controlled by section/element
34233
34236
  paddingBottom: "env(safe-area-inset-bottom)",
34234
34237
  "@lg": {
@@ -35618,7 +35621,7 @@ function Notifications() {
35618
35621
  }, []);
35619
35622
  (0, import_react_sdk122.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
35620
35623
  (0, import_react233.useEffect)(() => {
35621
- var _a8, _b8, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
35624
+ var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
35622
35625
  if (!notification || isNotificationDisabled) {
35623
35626
  return;
35624
35627
  }
@@ -35632,7 +35635,7 @@ function Notifications() {
35632
35635
  ToastManager.addToast({
35633
35636
  title: `Error: ${(_d = notification.data) == null ? void 0 : _d.message}`
35634
35637
  });
35635
- } else if (((_e2 = notification.data) == null ? void 0 : _e2.message) === "role limit reached") {
35638
+ } else if (((_e = notification.data) == null ? void 0 : _e.message) === "role limit reached") {
35636
35639
  ToastManager.addToast({
35637
35640
  title: "The room is currently full, try joining later",
35638
35641
  close: true,
@@ -36542,13 +36545,13 @@ var require_react_is_production_min = __commonJS({
36542
36545
  init_define_process_env();
36543
36546
  var b2 = "function" === typeof Symbol && Symbol.for;
36544
36547
  var c = b2 ? Symbol.for("react.element") : 60103;
36545
- var d2 = b2 ? Symbol.for("react.portal") : 60106;
36548
+ var d = b2 ? Symbol.for("react.portal") : 60106;
36546
36549
  var e = b2 ? Symbol.for("react.fragment") : 60107;
36547
36550
  var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
36548
36551
  var g = b2 ? Symbol.for("react.profiler") : 60114;
36549
36552
  var h = b2 ? Symbol.for("react.provider") : 60109;
36550
- var k2 = b2 ? Symbol.for("react.context") : 60110;
36551
- var l = b2 ? Symbol.for("react.async_mode") : 60111;
36553
+ var k = b2 ? Symbol.for("react.context") : 60110;
36554
+ var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
36552
36555
  var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
36553
36556
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
36554
36557
  var p = b2 ? Symbol.for("react.suspense") : 60113;
@@ -36559,13 +36562,13 @@ var require_react_is_production_min = __commonJS({
36559
36562
  var w = b2 ? Symbol.for("react.fundamental") : 60117;
36560
36563
  var x = b2 ? Symbol.for("react.responder") : 60118;
36561
36564
  var y2 = b2 ? Symbol.for("react.scope") : 60119;
36562
- function z(a2) {
36565
+ function z2(a2) {
36563
36566
  if ("object" === typeof a2 && null !== a2) {
36564
36567
  var u = a2.$$typeof;
36565
36568
  switch (u) {
36566
36569
  case c:
36567
36570
  switch (a2 = a2.type, a2) {
36568
- case l:
36571
+ case l2:
36569
36572
  case m2:
36570
36573
  case e:
36571
36574
  case g:
@@ -36574,7 +36577,7 @@ var require_react_is_production_min = __commonJS({
36574
36577
  return a2;
36575
36578
  default:
36576
36579
  switch (a2 = a2 && a2.$$typeof, a2) {
36577
- case k2:
36580
+ case k:
36578
36581
  case n:
36579
36582
  case t:
36580
36583
  case r:
@@ -36584,68 +36587,68 @@ var require_react_is_production_min = __commonJS({
36584
36587
  return u;
36585
36588
  }
36586
36589
  }
36587
- case d2:
36590
+ case d:
36588
36591
  return u;
36589
36592
  }
36590
36593
  }
36591
36594
  }
36592
- function A(a2) {
36593
- return z(a2) === m2;
36595
+ function A2(a2) {
36596
+ return z2(a2) === m2;
36594
36597
  }
36595
- exports.AsyncMode = l;
36598
+ exports.AsyncMode = l2;
36596
36599
  exports.ConcurrentMode = m2;
36597
- exports.ContextConsumer = k2;
36600
+ exports.ContextConsumer = k;
36598
36601
  exports.ContextProvider = h;
36599
36602
  exports.Element = c;
36600
36603
  exports.ForwardRef = n;
36601
36604
  exports.Fragment = e;
36602
36605
  exports.Lazy = t;
36603
36606
  exports.Memo = r;
36604
- exports.Portal = d2;
36607
+ exports.Portal = d;
36605
36608
  exports.Profiler = g;
36606
36609
  exports.StrictMode = f2;
36607
36610
  exports.Suspense = p;
36608
36611
  exports.isAsyncMode = function(a2) {
36609
- return A(a2) || z(a2) === l;
36612
+ return A2(a2) || z2(a2) === l2;
36610
36613
  };
36611
- exports.isConcurrentMode = A;
36614
+ exports.isConcurrentMode = A2;
36612
36615
  exports.isContextConsumer = function(a2) {
36613
- return z(a2) === k2;
36616
+ return z2(a2) === k;
36614
36617
  };
36615
36618
  exports.isContextProvider = function(a2) {
36616
- return z(a2) === h;
36619
+ return z2(a2) === h;
36617
36620
  };
36618
36621
  exports.isElement = function(a2) {
36619
36622
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c;
36620
36623
  };
36621
36624
  exports.isForwardRef = function(a2) {
36622
- return z(a2) === n;
36625
+ return z2(a2) === n;
36623
36626
  };
36624
36627
  exports.isFragment = function(a2) {
36625
- return z(a2) === e;
36628
+ return z2(a2) === e;
36626
36629
  };
36627
36630
  exports.isLazy = function(a2) {
36628
- return z(a2) === t;
36631
+ return z2(a2) === t;
36629
36632
  };
36630
36633
  exports.isMemo = function(a2) {
36631
- return z(a2) === r;
36634
+ return z2(a2) === r;
36632
36635
  };
36633
36636
  exports.isPortal = function(a2) {
36634
- return z(a2) === d2;
36637
+ return z2(a2) === d;
36635
36638
  };
36636
36639
  exports.isProfiler = function(a2) {
36637
- return z(a2) === g;
36640
+ return z2(a2) === g;
36638
36641
  };
36639
36642
  exports.isStrictMode = function(a2) {
36640
- return z(a2) === f2;
36643
+ return z2(a2) === f2;
36641
36644
  };
36642
36645
  exports.isSuspense = function(a2) {
36643
- return z(a2) === p;
36646
+ return z2(a2) === p;
36644
36647
  };
36645
36648
  exports.isValidElementType = function(a2) {
36646
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
36649
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
36647
36650
  };
36648
- exports.typeOf = z;
36651
+ exports.typeOf = z2;
36649
36652
  }
36650
36653
  });
36651
36654