@100mslive/roomkit-react 0.3.17-alpha.12 → 0.3.17-alpha.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5530744c-dc75-4384-9dca-9c0506ec0e09", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.12", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5530744c-dc75-4384-9dca-9c0506ec0e09", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.12", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240730.2.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:16299", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.12", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10261319405", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "076d5cf283a80eecd8ba2447912778ace884576d", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "a3f88cb9ddcb7c7ffc049c214180bca01d28e329e5f4713a564baad60185161e", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722925248453-0.13509407785256422:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722925248260-0.8252299207615144:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722925222961-0.3857170281225182:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722925222785-0.636730337746219:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7dd9e085-8ff2-4d80-a4f1-a123fca11306", INVOCATION_ID: "0da5c05c7ceb46889a22af577e0ffe4f", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "629", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 479", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.12", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.12", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "076d5cf283a80eecd8ba2447912778ace884576d", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_5530744c-dc75-4384-9dca-9c0506ec0e09", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5530744c-dc75-4384-9dca-9c0506ec0e09", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5530744c-dc75-4384-9dca-9c0506ec0e09" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7950ec70-5b6f-4d14-aa83-bc6d144797b2", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.14", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.14", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7950ec70-5b6f-4d14-aa83-bc6d144797b2", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.14", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "588", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240804.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:1846", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.14", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10314884356", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2a1e38838cc26364c05e8a6b0f85819073bd944c", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "f11344fe23538a34faec5de84b41d6bf6b57cb322a76729061ab35fc75a06b34", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1723185851779-0.11653995230171077:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1723185851550-0.6214763991192565:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1723185826319-0.4855834973528801:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1723185826142-0.2303058490353449:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_99cd3b2b-e612-4970-a689-88e28aeea503", INVOCATION_ID: "235ea6e8c83d40dd92f24cb1ee131ba5", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "631", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 226", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.14", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.14", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "2a1e38838cc26364c05e8a6b0f85819073bd944c", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7950ec70-5b6f-4d14-aa83-bc6d144797b2", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7950ec70-5b6f-4d14-aa83-bc6d144797b2", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7950ec70-5b6f-4d14-aa83-bc6d144797b2" };
111
111
  }
112
112
  });
113
113
 
@@ -8873,10 +8873,10 @@ var require_react_is_production_min = __commonJS({
8873
8873
  var e = b2 ? Symbol.for("react.fragment") : 60107;
8874
8874
  var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
8875
8875
  var g = b2 ? Symbol.for("react.profiler") : 60114;
8876
- var h = b2 ? Symbol.for("react.provider") : 60109;
8876
+ var h2 = b2 ? Symbol.for("react.provider") : 60109;
8877
8877
  var k = b2 ? Symbol.for("react.context") : 60110;
8878
8878
  var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
8879
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8879
+ var m = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8880
8880
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
8881
8881
  var p = b2 ? Symbol.for("react.suspense") : 60113;
8882
8882
  var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
@@ -8893,7 +8893,7 @@ var require_react_is_production_min = __commonJS({
8893
8893
  case c:
8894
8894
  switch (a2 = a2.type, a2) {
8895
8895
  case l2:
8896
- case m2:
8896
+ case m:
8897
8897
  case e:
8898
8898
  case g:
8899
8899
  case f2:
@@ -8905,7 +8905,7 @@ var require_react_is_production_min = __commonJS({
8905
8905
  case n:
8906
8906
  case t:
8907
8907
  case r:
8908
- case h:
8908
+ case h2:
8909
8909
  return a2;
8910
8910
  default:
8911
8911
  return u;
@@ -8917,12 +8917,12 @@ var require_react_is_production_min = __commonJS({
8917
8917
  }
8918
8918
  }
8919
8919
  function A2(a2) {
8920
- return z2(a2) === m2;
8920
+ return z2(a2) === m;
8921
8921
  }
8922
8922
  exports.AsyncMode = l2;
8923
- exports.ConcurrentMode = m2;
8923
+ exports.ConcurrentMode = m;
8924
8924
  exports.ContextConsumer = k;
8925
- exports.ContextProvider = h;
8925
+ exports.ContextProvider = h2;
8926
8926
  exports.Element = c;
8927
8927
  exports.ForwardRef = n;
8928
8928
  exports.Fragment = e;
@@ -8940,7 +8940,7 @@ var require_react_is_production_min = __commonJS({
8940
8940
  return z2(a2) === k;
8941
8941
  };
8942
8942
  exports.isContextProvider = function(a2) {
8943
- return z2(a2) === h;
8943
+ return z2(a2) === h2;
8944
8944
  };
8945
8945
  exports.isElement = function(a2) {
8946
8946
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c;
@@ -8970,7 +8970,7 @@ var require_react_is_production_min = __commonJS({
8970
8970
  return z2(a2) === p;
8971
8971
  };
8972
8972
  exports.isValidElementType = function(a2) {
8973
- 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);
8973
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
8974
8974
  };
8975
8975
  exports.typeOf = z2;
8976
8976
  }
@@ -19033,8 +19033,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
19033
19033
  // ../hms-video-store/dist/index.js
19034
19034
  var import_ua_parser_js = __toESM(require_ua_parser());
19035
19035
  var import_lodash3 = __toESM(require_lodash2());
19036
- import { v4 as co } from "uuid";
19037
- import { v4 as oo } from "uuid";
19036
+ import { v4 as lo } from "uuid";
19037
+ import { v4 as no } from "uuid";
19038
19038
 
19039
19039
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
19040
19040
  init_define_process_env();
@@ -21131,57 +21131,57 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
21131
21131
 
21132
21132
  // ../hms-video-store/dist/index.js
21133
21133
  var import_lodash4 = __toESM(require_lodash2());
21134
- import { v4 as vo } from "uuid";
21135
- import { v4 as Po } from "uuid";
21136
- import { v4 as Ro } from "uuid";
21137
- import { EventEmitter2 as Ao } from "eventemitter2";
21134
+ import { v4 as Mo } from "uuid";
21135
+ import { v4 as Eo } from "uuid";
21136
+ import { v4 as Ao } from "uuid";
21137
+ import { EventEmitter2 as Ho } from "eventemitter2";
21138
21138
  var Kt = __toESM(require_lib());
21139
- import { EventEmitter2 as tn } from "eventemitter2";
21140
- import { v4 as nn } from "uuid";
21141
- import { EventEmitter2 as cn } from "eventemitter2";
21142
- import dn from "eventemitter2";
21143
- import { v4 as ln } from "uuid";
21144
- import { v4 as hn } from "uuid";
21145
- var ja = Object.defineProperty;
21146
- var Ja = Object.defineProperties;
21147
- var Qa = Object.getOwnPropertyDescriptors;
21139
+ import { EventEmitter2 as rn } from "eventemitter2";
21140
+ import { v4 as cn } from "uuid";
21141
+ import { EventEmitter2 as dn } from "eventemitter2";
21142
+ import ln from "eventemitter2";
21143
+ import { v4 as un } from "uuid";
21144
+ import { v4 as mn } from "uuid";
21145
+ var Ja = Object.defineProperty;
21146
+ var Qa = Object.defineProperties;
21147
+ var za = Object.getOwnPropertyDescriptors;
21148
21148
  var Zt = Object.getOwnPropertySymbols;
21149
- var ss = Object.prototype.hasOwnProperty;
21150
- var as = Object.prototype.propertyIsEnumerable;
21151
- var rs = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21152
- var m = (a2, e) => {
21149
+ var as = Object.prototype.hasOwnProperty;
21150
+ var os = Object.prototype.propertyIsEnumerable;
21151
+ var ss = (a2, e, t) => e in a2 ? Ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21152
+ var h = (a2, e) => {
21153
21153
  for (var t in e || (e = {}))
21154
- ss.call(e, t) && rs(a2, t, e[t]);
21154
+ as.call(e, t) && ss(a2, t, e[t]);
21155
21155
  if (Zt)
21156
21156
  for (var t of Zt(e))
21157
- as.call(e, t) && rs(a2, t, e[t]);
21157
+ os.call(e, t) && ss(a2, t, e[t]);
21158
21158
  return a2;
21159
21159
  };
21160
- var M = (a2, e) => Ja(a2, Qa(e));
21160
+ var M = (a2, e) => Qa(a2, za(e));
21161
21161
  var mr = (a2, e) => {
21162
21162
  var t = {};
21163
21163
  for (var i in a2)
21164
- ss.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21164
+ as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21165
21165
  if (a2 != null && Zt)
21166
21166
  for (var i of Zt(a2))
21167
- e.indexOf(i) < 0 && as.call(a2, i) && (t[i] = a2[i]);
21167
+ e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21168
21168
  return t;
21169
21169
  };
21170
- var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21171
- var vr = Xa((Ac, no) => {
21172
- no.exports = { version: "0.12.17-alpha.12", 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"] };
21170
+ var Za = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21171
+ var vr = Za((Hc, co) => {
21172
+ co.exports = { version: "0.12.17-alpha.14", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21173
21173
  });
21174
21174
  var 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 || {});
21175
- var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21176
- var os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
21175
+ var eo = ((e) => (e.CHAT = "chat", e))(eo || {});
21176
+ var ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21177
21177
  var gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
21178
- var ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
21178
+ var cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21179
21179
  function Be(a2, e) {
21180
21180
  let t, i;
21181
21181
  if (e)
21182
21182
  for (let r of e.auxiliaryTracks) {
21183
21183
  let s = a2[r];
21184
- eo(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
21184
+ to(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
21185
21185
  }
21186
21186
  return { video: t, audio: i };
21187
21187
  }
@@ -21191,7 +21191,7 @@ function ut(a2) {
21191
21191
  function pt(a2) {
21192
21192
  return a2 && a2.type === "video";
21193
21193
  }
21194
- function eo(a2) {
21194
+ function to(a2) {
21195
21195
  return a2 && a2.source === "screen";
21196
21196
  }
21197
21197
  function ii(a2) {
@@ -21200,7 +21200,7 @@ function ii(a2) {
21200
21200
  function ht(a2) {
21201
21201
  return a2 && a2.source === "videoplaylist";
21202
21202
  }
21203
- function cs(a2) {
21203
+ function ds(a2) {
21204
21204
  return a2 ? !!(a2 != null && a2.degraded) : false;
21205
21205
  }
21206
21206
  function Je(a2, e) {
@@ -21211,8 +21211,8 @@ function mt(a2) {
21211
21211
  let e = false, t = false, i = false;
21212
21212
  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 };
21213
21213
  }
21214
- var 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 || {});
21215
- var to = typeof window != "undefined" && typeof window.expect != "undefined";
21214
+ var us = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(us || {});
21215
+ var io = typeof window != "undefined" && typeof window.expect != "undefined";
21216
21216
  var l = class {
21217
21217
  static v(e, ...t) {
21218
21218
  this.log(0, e, ...t);
@@ -21278,26 +21278,26 @@ var l = class {
21278
21278
  }
21279
21279
  }
21280
21280
  };
21281
- l.level = to ? 7 : 0;
21282
- var fe = new import_ua_parser_js.UAParser();
21283
- var U = typeof window != "undefined";
21284
- var us;
21285
- var Ve = typeof window == "undefined" && !((us = fe.getBrowser().name) != null && us.toLowerCase().includes("electron"));
21286
- var ro = () => !Ve;
21287
- var ic = ro();
21281
+ l.level = io ? 7 : 0;
21282
+ var ve = new import_ua_parser_js.UAParser();
21283
+ var B = typeof window != "undefined";
21288
21284
  var ps;
21285
+ var Ve = typeof window == "undefined" && !((ps = ve.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21286
+ var so = () => !Ve;
21287
+ var rc = so();
21289
21288
  var hs;
21290
- var gs = ((hs = (ps = fe.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
21291
- var Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21292
- function so() {
21293
- if (U && window) {
21289
+ var ms;
21290
+ var Ts = ((ms = (hs = ve.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21291
+ var fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(fs || {});
21292
+ function ao() {
21293
+ if (B && window) {
21294
21294
  let a2 = window.location.hostname;
21295
21295
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21296
21296
  }
21297
21297
  return "CUSTOM";
21298
21298
  }
21299
- var ze = so();
21300
- var 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 } };
21299
+ var ze = ao();
21300
+ var E = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
21301
21301
  var f = class a extends Error {
21302
21302
  constructor(t, i, r, s, o, n = false) {
21303
21303
  super(s);
@@ -21327,99 +21327,99 @@ var f = class a extends Error {
21327
21327
  }`;
21328
21328
  }
21329
21329
  };
21330
- var ao = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21330
+ var oo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21331
21331
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21332
- return new f(P3.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21332
+ return new f(E.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21333
21333
  }, WebSocketConnectionLost(a2, e = "") {
21334
- return new f(P3.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21334
+ return new f(E.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21335
21335
  }, AbnormalClose(a2, e = "") {
21336
- return new f(P3.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21336
+ return new f(E.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21337
21337
  } }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
21338
21338
  return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21339
21339
  }, EndpointUnreachable(a2, e = "") {
21340
- return new f(P3.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21340
+ return new f(E.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21341
21341
  }, InvalidTokenFormat(a2, e = "") {
21342
- return new f(P3.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21342
+ return new f(E.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21343
21343
  }, InitConfigNotAvailable(a2, e = "") {
21344
- return new f(P3.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21344
+ return new f(E.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21345
21345
  } }, TracksErrors: { GenericTrack(a2, e = "") {
21346
- return new f(P3.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21346
+ return new f(E.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21347
21347
  }, CantAccessCaptureDevice(a2, e, t = "") {
21348
- return new f(P3.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21348
+ return new f(E.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21349
21349
  }, DeviceNotAvailable(a2, e, t = "") {
21350
- return new f(P3.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21350
+ return new f(E.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21351
21351
  }, DeviceInUse(a2, e, t = "") {
21352
- return new f(P3.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21352
+ return new f(E.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21353
21353
  }, DeviceLostMidway(a2, e, t = "") {
21354
- return new f(P3.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21354
+ return new f(E.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21355
21355
  }, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
21356
- return new f(P3.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21356
+ return new f(E.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21357
21357
  }, InvalidVideoSettings(a2, e = "") {
21358
- return new f(P3.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21358
+ return new f(E.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21359
21359
  }, AutoplayBlocked(a2, e = "") {
21360
- return new f(P3.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21360
+ return new f(E.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21361
21361
  }, CodecChangeNotPermitted(a2, e = "") {
21362
- return new f(P3.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21362
+ return new f(E.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21363
21363
  }, OverConstrained(a2, e, t = "") {
21364
- return new f(P3.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21364
+ return new f(E.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21365
21365
  }, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
21366
- return new f(P3.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21366
+ return new f(E.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21367
21367
  }, SystemDeniedPermission(a2, e, t = "") {
21368
- return new f(P3.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21368
+ return new f(E.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21369
21369
  }, CurrentTabNotShared() {
21370
- 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");
21370
+ return new f(E.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21371
21371
  }, AudioPlaybackError(a2) {
21372
- return new f(P3.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21372
+ return new f(E.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21373
21373
  }, SelectedDeviceMissing(a2) {
21374
- return new f(P3.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21374
+ return new f(E.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21375
21375
  } }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
21376
- return new f(P3.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21376
+ return new f(E.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21377
21377
  }, CreateAnswerFailed(a2, e = "") {
21378
- return new f(P3.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21378
+ return new f(E.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21379
21379
  }, SetLocalDescriptionFailed(a2, e = "") {
21380
- return new f(P3.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21380
+ return new f(E.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21381
21381
  }, SetRemoteDescriptionFailed(a2, e = "") {
21382
- return new f(P3.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21382
+ return new f(E.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21383
21383
  }, ICEFailure(a2, e = "", t = false) {
21384
- return new f(P3.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21384
+ return new f(E.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21385
21385
  }, ICEDisconnected(a2, e = "") {
21386
- return new f(P3.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21386
+ return new f(E.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21387
21387
  }, StatsFailed(a2, e = "") {
21388
- return new f(P3.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21388
+ return new f(E.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21389
21389
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21390
- return new f(a2, "ServerErrors", e, t, t, ao.includes(e));
21390
+ return new f(a2, "ServerErrors", e, t, t, oo.includes(e));
21391
21391
  }, AlreadyJoined(a2, e = "") {
21392
- return new f(P3.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21392
+ return new f(E.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21393
21393
  }, CannotJoinPreviewInProgress(a2, e = "") {
21394
- return new f(P3.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21394
+ return new f(E.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21395
21395
  } }, GenericErrors: { NotConnected(a2, e = "") {
21396
- return new f(P3.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21396
+ return new f(E.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21397
21397
  }, Signalling(a2, e) {
21398
- return new f(P3.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21398
+ return new f(E.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21399
21399
  }, Unknown(a2, e) {
21400
- return new f(P3.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21400
+ return new f(E.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21401
21401
  }, NotReady(a2, e = "") {
21402
- return new f(P3.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21402
+ return new f(E.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21403
21403
  }, JsonParsingFailed(a2, e, t = "") {
21404
- return new f(P3.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21404
+ return new f(E.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21405
21405
  }, TrackMetadataMissing(a2, e = "") {
21406
- return new f(P3.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21406
+ return new f(E.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21407
21407
  }, RTCTrackMissing(a2, e = "") {
21408
- return new f(P3.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21408
+ return new f(E.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21409
21409
  }, PeerMetadataMissing(a2, e = "") {
21410
- return new f(P3.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21410
+ return new f(E.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21411
21411
  }, ValidationFailed(a2, e) {
21412
- return new f(P3.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21412
+ return new f(E.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21413
21413
  }, InvalidRole(a2, e) {
21414
- return new f(P3.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21414
+ return new f(E.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21415
21415
  }, PreviewAlreadyInProgress(a2, e = "") {
21416
- return new f(P3.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21416
+ return new f(E.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21417
21417
  }, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
21418
- return new f(P3.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21418
+ return new f(E.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21419
21419
  }, MissingMediaDevices() {
21420
- 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);
21420
+ return new f(E.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
21421
21421
  }, MissingRTCPeerConnection() {
21422
- 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);
21422
+ return new f(E.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
21423
21423
  } }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
21424
21424
  return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21425
21425
  }, InitFailed(a2, e = "") {
@@ -21431,9 +21431,9 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21431
21431
  }, DeviceNotSupported(a2, e = "") {
21432
21432
  return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21433
21433
  } }, PlaylistErrors: { NoEntryToPlay(a2, e) {
21434
- return new f(P3.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21434
+ return new f(E.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21435
21435
  }, NoEntryPlaying(a2, e) {
21436
- return new f(P3.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21436
+ return new f(E.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21437
21437
  } } };
21438
21438
  var fr = class {
21439
21439
  constructor() {
@@ -21460,21 +21460,21 @@ var fr = class {
21460
21460
  return this.valuesMap.size;
21461
21461
  }
21462
21462
  };
21463
- var fs = () => {
21463
+ var vs = () => {
21464
21464
  try {
21465
- U && !localStorage && (window.localStorage = new fr());
21465
+ B && !localStorage && (window.localStorage = new fr());
21466
21466
  } catch (a2) {
21467
21467
  l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21468
21468
  }
21469
21469
  };
21470
- var pe = class {
21470
+ var he = class {
21471
21471
  constructor(e) {
21472
21472
  this.key = e;
21473
21473
  this.storage = null;
21474
21474
  }
21475
21475
  getStorage() {
21476
21476
  try {
21477
- return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21477
+ return B && !this.storage && (vs(), this.storage = window.localStorage), this.storage;
21478
21478
  } catch (e) {
21479
21479
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21480
21480
  }
@@ -21494,37 +21494,37 @@ var pe = class {
21494
21494
  (e = this.getStorage()) == null || e.removeItem(this.key);
21495
21495
  }
21496
21496
  };
21497
- var vs = () => {
21498
- let a2, e = new pe("hms-analytics-deviceId"), t = e.get();
21499
- return t ? a2 = t : (a2 = oo(), e.set(a2)), a2;
21497
+ var Ms = () => {
21498
+ let a2, e = new he("hms-analytics-deviceId"), t = e.get();
21499
+ return t ? a2 = t : (a2 = no(), e.set(a2)), a2;
21500
21500
  };
21501
21501
  function ne(a2) {
21502
21502
  return a2 != null;
21503
21503
  }
21504
- var ys = vr().version;
21504
+ var ks = vr().version;
21505
21505
  function Tt(a2 = "prod", e) {
21506
21506
  let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21507
21507
  if (Ve)
21508
- 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 });
21509
- 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;
21510
- 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 });
21508
+ return Ps({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ks, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21509
+ let r = ve.getOS(), s = ve.getDevice(), o = ve.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21510
+ return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), Ps({ os: n, os_version: d, sdk: t, sdk_version: ks, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21511
21511
  }
21512
21512
  function Mr(a2) {
21513
21513
  return a2.replace(/ /g, "_");
21514
21514
  }
21515
- var ks = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21515
+ var Ps = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21516
21516
  var H = class {
21517
21517
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21518
21518
  this.metadata = { peer: {}, userAgent: Tt() };
21519
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = vs();
21519
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = lo(), this.device_id = Ms();
21520
21520
  }
21521
21521
  toSignalParams() {
21522
- return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21522
+ return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21523
21523
  }
21524
21524
  };
21525
21525
  var y = class {
21526
21526
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21527
- 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);
21527
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(h({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21528
21528
  return new H({ name: o, level: n, properties: d });
21529
21529
  }
21530
21530
  static disconnect(e, t) {
@@ -21538,7 +21538,7 @@ var y = class {
21538
21538
  }
21539
21539
  static join(i) {
21540
21540
  var r = i, { error: e } = r, t = mr(r, ["error"]);
21541
- 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);
21541
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
21542
21542
  return new H({ name: s, level: o, properties: n });
21543
21543
  }
21544
21544
  static publish({ devices: e, settings: t, error: i }) {
@@ -21581,7 +21581,7 @@ var y = class {
21581
21581
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
21582
21582
  if (!t && e.degradedAt instanceof Date) {
21583
21583
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
21584
- s = M(m({}, s), { duration: n, restoredAt: o });
21584
+ s = M(h({}, s), { duration: n, restoredAt: o });
21585
21585
  }
21586
21586
  return new H({ name: i, level: r, properties: s });
21587
21587
  }
@@ -21608,14 +21608,14 @@ var y = class {
21608
21608
  return new H({ name: "krisp.stop", level: 1 });
21609
21609
  }
21610
21610
  static interruption(e, t, i) {
21611
- return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ type: t }, i) });
21611
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ type: t }, i) });
21612
21612
  }
21613
21613
  static eventNameFor(e, t) {
21614
21614
  return `${e}.${t ? "success" : "failed"}`;
21615
21615
  }
21616
21616
  static getPropertiesWithError(e, t) {
21617
21617
  let i = this.getErrorProperties(t);
21618
- return e = m(m({}, i), e), e;
21618
+ return e = h(h({}, i), e), e;
21619
21619
  }
21620
21620
  static getErrorProperties(e) {
21621
21621
  return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
@@ -21624,7 +21624,7 @@ var y = class {
21624
21624
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21625
21625
  var yr = class {
21626
21626
  constructor() {
21627
- this.storage = new pe("hms-device-selection");
21627
+ this.storage = new he("hms-device-selection");
21628
21628
  this.remember = false;
21629
21629
  this.TAG = "[HMSDeviceStorage]";
21630
21630
  }
@@ -21670,13 +21670,13 @@ function ai(a2, e = 300) {
21670
21670
  };
21671
21671
  }
21672
21672
  var Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
21673
- var 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 || {});
21674
- var Rs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Rs || {});
21675
- var As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
21676
- var Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21677
- var Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21673
+ var 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 || {});
21674
+ var As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21675
+ var Hs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Hs || {});
21676
+ var Cs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Cs || {});
21677
+ var Ls = ((e) => (e.CAPTION = "caption", e))(Ls || {});
21678
21678
  var Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
21679
- var Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21679
+ var ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
21680
21680
  var Ar = class {
21681
21681
  constructor() {
21682
21682
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -21700,11 +21700,11 @@ var Ar = class {
21700
21700
  this.createObserver();
21701
21701
  }
21702
21702
  isSupported() {
21703
- let e = U && typeof window.IntersectionObserver != "undefined";
21703
+ let e = B && typeof window.IntersectionObserver != "undefined";
21704
21704
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21705
21705
  }
21706
21706
  };
21707
- var Ns = new Ar();
21707
+ var Os = new Ar();
21708
21708
  var Hr = class {
21709
21709
  constructor() {
21710
21710
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -21728,47 +21728,47 @@ var Hr = class {
21728
21728
  this.createObserver();
21729
21729
  }
21730
21730
  isSupported() {
21731
- let e = U && typeof window.ResizeObserver != "undefined";
21731
+ let e = B && typeof window.ResizeObserver != "undefined";
21732
21732
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
21733
21733
  }
21734
21734
  };
21735
- var Os = new Hr();
21735
+ var xs = new Hr();
21736
21736
  var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
21737
21737
  var Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
21738
- var Bs = "https://event.100ms.live/v2/client/report";
21739
- var Vs = "https://event-nonprod.100ms.live/v2/client/report";
21738
+ var Vs = "https://event.100ms.live/v2/client/report";
21739
+ var Fs = "https://event-nonprod.100ms.live/v2/client/report";
21740
21740
  var Pt = Math.pow(2, 31) - 1;
21741
21741
  var rt = class {
21742
21742
  };
21743
- rt.makePeerId = () => Ro();
21744
- var B = (a2) => a2.room;
21745
- var Ho = (a2) => a2.errors;
21746
- var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
21747
- var qh = createSelector(B, (a2) => a2.id);
21743
+ rt.makePeerId = () => Ao();
21744
+ var V = (a2) => a2.room;
21745
+ var Co = (a2) => a2.errors;
21746
+ var qh = createSelector(Co, (a2) => a2.length === 0 ? null : a2.at(-1));
21747
+ var jh = createSelector(V, (a2) => a2.id);
21748
21748
  var K = (a2) => a2.peers;
21749
21749
  var Ti = (a2) => a2.messages.byID;
21750
- var Qs = (a2) => a2.messages.allIDs;
21751
- var N = (a2) => a2.tracks;
21750
+ var zs = (a2) => a2.messages.allIDs;
21751
+ var O = (a2) => a2.tracks;
21752
21752
  var Vr = (a2) => a2.appData;
21753
- var Co = (a2) => a2.speakers;
21754
- var Oe = createSelector([B], (a2) => a2 && a2.isConnected);
21755
- var Qh = createSelector([Oe, 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));
21756
- var Lo = (a2) => a2.hideLocalPeer;
21757
- var 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]));
21758
- var wo = createSelector(N, (a2) => Object.values(a2));
21759
- var ie = createSelector(B, K, (a2, e) => e[a2.localPeer]);
21760
- var Pe = createSelector(B, (a2) => a2.localPeer);
21761
- var zh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
21762
- var Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
21753
+ var Lo = (a2) => a2.speakers;
21754
+ var xe = createSelector([V], (a2) => a2 && a2.isConnected);
21755
+ var zh = createSelector([xe, V], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
21756
+ var wo = (a2) => a2.hideLocalPeer;
21757
+ var Te = createSelector([V, K, wo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21758
+ var Do = createSelector(O, (a2) => Object.values(a2));
21759
+ var ie = createSelector(V, K, (a2, e) => e[a2.localPeer]);
21760
+ var Ee = createSelector(V, (a2) => a2.localPeer);
21761
+ var Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
21762
+ var Xh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
21763
21763
  var oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
21764
21764
  var z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
21765
- var Do = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21766
- var Ys = createSelector([oe, z, Do], (a2, e, t) => {
21765
+ var _o = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21766
+ var Xs = createSelector([oe, z, _o], (a2, e, t) => {
21767
21767
  let i = t ? [...t] : [];
21768
21768
  return a2 && i.unshift(a2), e && i.unshift(e), i;
21769
21769
  });
21770
- var Xh = createSelector(ge, (a2) => a2.filter((e) => !e.isLocal));
21771
- var Zh = createSelector(K, Co, (a2, e) => {
21770
+ var Zh = createSelector(Te, (a2) => a2.filter((e) => !e.isLocal));
21771
+ var em = createSelector(K, Lo, (a2, e) => {
21772
21772
  let t = Object.entries(e).sort((i, r) => {
21773
21773
  var n, d;
21774
21774
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -21781,11 +21781,11 @@ var Zh = createSelector(K, Co, (a2, e) => {
21781
21781
  }
21782
21782
  return null;
21783
21783
  });
21784
- var Gr = createSelector(ie, N, (a2, e) => {
21784
+ var Gr = createSelector(ie, O, (a2, e) => {
21785
21785
  let { video: t, audio: i } = Be(e, a2);
21786
21786
  return !!(t || i);
21787
21787
  });
21788
- var _o = createSelector(K, N, (a2, e) => {
21788
+ var No = createSelector(K, O, (a2, e) => {
21789
21789
  let t;
21790
21790
  for (let i in a2) {
21791
21791
  let r = a2[i], { video: s, audio: o } = Be(e, r);
@@ -21795,15 +21795,15 @@ var _o = createSelector(K, N, (a2, e) => {
21795
21795
  }
21796
21796
  return t;
21797
21797
  });
21798
- var tm = createSelector(_o, (a2) => !!a2);
21799
- var im = createSelector(K, N, (a2, e) => {
21798
+ var im = createSelector(No, (a2) => !!a2);
21799
+ var rm = createSelector(K, O, (a2, e) => {
21800
21800
  for (let t in a2) {
21801
21801
  let i = a2[t], { audio: r, video: s } = Be(e, i);
21802
21802
  if (!s && r)
21803
21803
  return i;
21804
21804
  }
21805
21805
  });
21806
- var rm = createSelector(K, N, (a2, e) => {
21806
+ var sm = createSelector(K, O, (a2, e) => {
21807
21807
  let t = [], i = [];
21808
21808
  for (let r in a2) {
21809
21809
  let s = a2[r], { video: o, audio: n } = Be(e, s);
@@ -21811,78 +21811,78 @@ var rm = createSelector(K, N, (a2, e) => {
21811
21811
  }
21812
21812
  return t.concat(i);
21813
21813
  });
21814
- var sm = createSelector(K, N, (a2, e) => {
21814
+ var am = createSelector(K, O, (a2, e) => {
21815
21815
  for (let t in e) {
21816
21816
  let i = e[t];
21817
21817
  if (ht(i) && pt(i) && i.peerId)
21818
21818
  return a2[i.peerId];
21819
21819
  }
21820
21820
  });
21821
- var am = createSelector(K, N, (a2, e) => {
21821
+ var om = createSelector(K, O, (a2, e) => {
21822
21822
  for (let t in e) {
21823
21823
  let i = e[t];
21824
21824
  if (ii(i) && i.peerId)
21825
21825
  return a2[i.peerId];
21826
21826
  }
21827
21827
  });
21828
- var om = createSelector(wo, (a2) => a2.filter(cs));
21829
- var nm = createSelector(Qs, (a2) => a2.length);
21830
- var cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21831
- var Rt = createSelector(Qs, Ti, (a2, e) => {
21828
+ var nm = createSelector(Do, (a2) => a2.filter(ds));
21829
+ var cm = createSelector(zs, (a2) => a2.length);
21830
+ var dm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21831
+ var Rt = createSelector(zs, Ti, (a2, e) => {
21832
21832
  let t = [];
21833
21833
  return a2.forEach((i) => {
21834
21834
  t.push(e[i]);
21835
21835
  }), t;
21836
21836
  });
21837
- var No = createSelector(Rt, (a2) => a2.filter((e) => {
21837
+ var Oo = createSelector(Rt, (a2) => a2.filter((e) => {
21838
21838
  var t;
21839
21839
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
21840
21840
  }));
21841
- var dm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
21842
- var re = createSelector([B], (a2) => a2 && a2.roomState);
21843
- var Zs = createSelector(re, (a2) => a2 === "Preview");
21844
- var lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
21845
- var um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
21846
- var Te = (a2) => a2.roles;
21847
- var pm = createSelector([Te], (a2) => Object.keys(a2));
21848
- var at = createSelector([ie, Te], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
21849
- var Oo = (a2) => {
21841
+ var lm = createSelector(Oo, (a2) => a2.filter((e) => !e.read).length);
21842
+ var re = createSelector([V], (a2) => a2 && a2.roomState);
21843
+ var ea = createSelector(re, (a2) => a2 === "Preview");
21844
+ var um = createSelector(V, (a2) => a2.roomState !== "Disconnected");
21845
+ var pm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
21846
+ var fe = (a2) => a2.roles;
21847
+ var hm = createSelector([fe], (a2) => Object.keys(a2));
21848
+ var at = createSelector([ie, fe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
21849
+ var xo = (a2) => {
21850
21850
  var e;
21851
21851
  return (e = a2.preview) == null ? void 0 : e.asRole;
21852
21852
  };
21853
- var ea = createSelector([Oo, Te], (a2, e) => a2 ? e[a2] : null);
21854
- var hm = createSelector([at], (a2) => {
21853
+ var ta = createSelector([xo, fe], (a2, e) => a2 ? e[a2] : null);
21854
+ var mm = createSelector([at], (a2) => {
21855
21855
  var e;
21856
21856
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
21857
21857
  });
21858
- var ta = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
21859
- var mm = createSelector(B, (a2) => a2.recording);
21860
- var Sm = createSelector(B, (a2) => a2.rtmp);
21861
- var gm = createSelector(B, (a2) => a2.hls);
21862
- var Tm = createSelector(B, (a2) => a2.transcriptions);
21863
- var fm = createSelector(B, (a2) => a2.sessionId);
21864
- var vm = createSelector(B, (a2) => a2.startedAt);
21865
- var Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
21866
- var ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
21867
- var km = createSelector(B, (a2) => !!a2.isVBEnabled);
21868
- var Pm = createSelector(B, (a2) => a2.effectsKey);
21869
- var ia = (a2) => a2.polls;
21870
- var Rm = createSelector(ge, (a2) => a2.filter((e) => e.isHandRaised));
21871
- var xo = (a2) => a2.whiteboards;
21872
- var Am = createSelector(xo, (a2) => Object.values(a2)[0]);
21873
- var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
21858
+ var ia = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
21859
+ var Sm = createSelector(V, (a2) => a2.recording);
21860
+ var gm = createSelector(V, (a2) => a2.rtmp);
21861
+ var Tm = createSelector(V, (a2) => a2.hls);
21862
+ var fm = createSelector(V, (a2) => a2.transcriptions);
21863
+ var vm = createSelector(V, (a2) => a2.sessionId);
21864
+ var Mm = createSelector(V, (a2) => a2.startedAt);
21865
+ var ym = createSelector(V, (a2) => !!a2.isLargeRoom);
21866
+ var km = createSelector(V, (a2) => !!a2.isEffectsEnabled);
21867
+ var Pm = createSelector(V, (a2) => !!a2.isVBEnabled);
21868
+ var Em = createSelector(V, (a2) => a2.effectsKey);
21869
+ var ra = (a2) => a2.polls;
21870
+ var Am = createSelector(Te, (a2) => a2.filter((e) => e.isHandRaised));
21871
+ var Uo = (a2) => a2.whiteboards;
21872
+ var Hm = createSelector(Uo, (a2) => Object.values(a2)[0]);
21873
+ var aa = (a2 = "audio") => (e) => e.playlist[a2].list;
21874
21874
  var Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
21875
- var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
21876
- var oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
21877
- var na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
21878
- var ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
21879
- var da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
21880
- var la = (a2 = "audio") => createSelector(sa(a2), Wr(a2), (e, t) => {
21875
+ var oa = (a2 = "audio") => (e) => e.playlist[a2].progress;
21876
+ var na = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
21877
+ var ca = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
21878
+ var da = (a2 = "audio") => (e) => e.playlist[a2].volume;
21879
+ var la = (a2 = "audio") => createSelector(aa(a2), (e) => Object.values(e));
21880
+ var ua = (a2 = "audio") => createSelector(aa(a2), Wr(a2), (e, t) => {
21881
21881
  if (t.id)
21882
21882
  return e[t.id];
21883
21883
  });
21884
- var ua = { selection: Wr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21885
- var pa = { selection: Wr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21884
+ var pa = { selection: Wr("audio"), progress: oa("audio"), currentTime: na("audio"), playbackRate: ca("audio"), volume: da("audio"), list: la("audio"), selectedItem: ua("audio") };
21885
+ var ha = { selection: Wr("video"), progress: oa("video"), currentTime: na("video"), playbackRate: ca("video"), volume: da("video"), list: la("video"), selectedItem: ua("video") };
21886
21886
  function A(a2) {
21887
21887
  return (e) => (t) => a2(t, e);
21888
21888
  }
@@ -21955,130 +21955,130 @@ var b = class {
21955
21955
  b.level = 0;
21956
21956
  var $r = (a2, e) => e;
21957
21957
  var Ht = (a2, e) => e;
21958
- var ha = (a2, e) => e;
21959
- var Uo = (a2, e) => e;
21958
+ var ma = (a2, e) => e;
21960
21959
  var Bo = (a2, e) => e;
21960
+ var Vo = (a2, e) => e;
21961
21961
  var q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
21962
- var Kr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
21963
- var Vo = createSelector([N, Ht], (a2, e) => {
21962
+ var Kr = createSelector([O, Ht], (a2, e) => e ? a2[e] : null);
21963
+ var Fo = createSelector([O, Ht], (a2, e) => {
21964
21964
  if (!e)
21965
21965
  return null;
21966
21966
  let t = a2[e];
21967
21967
  return (t == null ? void 0 : t.type) === "video" ? t : null;
21968
21968
  });
21969
- var Fo = createSelector([N, Ht], (a2, e) => {
21969
+ var Go = createSelector([O, Ht], (a2, e) => {
21970
21970
  if (!e)
21971
21971
  return null;
21972
21972
  let t = a2[e];
21973
21973
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
21974
21974
  });
21975
- var Go = createSelector([N, Ht], (a2, e) => {
21975
+ var Wo = createSelector([O, Ht], (a2, e) => {
21976
21976
  if (!e)
21977
21977
  return null;
21978
21978
  let t = a2[e];
21979
21979
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21980
21980
  });
21981
- var Wo = createSelector([N, Ht], (a2, e) => {
21981
+ var $o = createSelector([O, Ht], (a2, e) => {
21982
21982
  if (!e)
21983
21983
  return null;
21984
21984
  let t = a2[e];
21985
21985
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21986
21986
  });
21987
- var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
21987
+ var Ko = createSelector([ra, Vo], (a2, e) => e ? a2[e] : null);
21988
21988
  var Y = A(q);
21989
- var Bm = A(createSelector([Vr, Uo], (a2, e) => {
21989
+ var Vm = A(createSelector([Vr, Bo], (a2, e) => {
21990
21990
  if (a2)
21991
21991
  return e ? a2[e] : a2;
21992
21992
  }));
21993
- function Vm(a2) {
21993
+ function Fm(a2) {
21994
21994
  return (e) => {
21995
21995
  if (e.sessionStore)
21996
21996
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21997
21997
  };
21998
21998
  }
21999
- var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22000
- var Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
21999
+ var Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22000
+ var $m = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22001
22001
  var fi = A(Kr);
22002
- var ma = A(Vo);
22003
- var $m = A(Fo);
22002
+ var Sa = A(Fo);
22004
22003
  var Km = A(Go);
22005
22004
  var qm = A(Wo);
22006
- var Ko = A((a2, e) => {
22005
+ var jm = A($o);
22006
+ var qo = A((a2, e) => {
22007
22007
  let t = q(a2, e);
22008
22008
  if (t && t.videoTrack && t.videoTrack !== "")
22009
22009
  return a2.tracks[t.videoTrack];
22010
22010
  });
22011
- var qo = A((a2, e) => {
22011
+ var jo = A((a2, e) => {
22012
22012
  let t = q(a2, e);
22013
22013
  if (t && t.audioTrack && t.audioTrack !== "")
22014
22014
  return a2.tracks[t.audioTrack];
22015
22015
  });
22016
- var Jm = A((a2, e) => {
22016
+ var Qm = A((a2, e) => {
22017
22017
  let t = q(a2, e);
22018
22018
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22019
22019
  });
22020
- var Sa = (a2, e) => e ? a2.speakers[e] : null;
22021
- var Qm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22022
- var jo = (a2, e) => {
22023
- let t = qo(e)(a2);
22024
- return Sa(a2, t == null ? void 0 : t.id);
22025
- };
22026
- var zm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22027
- var Ym = A((a2, e) => {
22020
+ var ga = (a2, e) => e ? a2.speakers[e] : null;
22021
+ var zm = A(createSelector(ga, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22022
+ var Jo = (a2, e) => {
22023
+ let t = jo(e)(a2);
22024
+ return ga(a2, t == null ? void 0 : t.id);
22025
+ };
22026
+ var Ym = A(createSelector(Jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22027
+ var Xm = A((a2, e) => {
22028
22028
  if (e)
22029
22029
  return a2.connectionQualities[e];
22030
22030
  });
22031
- var Xm = A((a2, e) => {
22031
+ var Zm = A((a2, e) => {
22032
22032
  let t = q(a2, e);
22033
22033
  if (t) {
22034
22034
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
22035
22035
  return i ? a2.tracks[i] : void 0;
22036
22036
  }
22037
22037
  });
22038
- var Zm = A(createSelector(N, q, (a2, e) => {
22038
+ var eS = A(createSelector(O, q, (a2, e) => {
22039
22039
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22040
22040
  let r = a2[i];
22041
22041
  return ht(r) && pt(r);
22042
22042
  });
22043
22043
  return t ? a2[t] : void 0;
22044
22044
  }));
22045
- var eS = A(createSelector(N, q, (a2, e) => {
22045
+ var tS = A(createSelector(O, q, (a2, e) => {
22046
22046
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22047
22047
  let r = a2[i];
22048
22048
  return ht(r) && ut(r);
22049
22049
  });
22050
22050
  return t ? a2[t] : void 0;
22051
22051
  }));
22052
- var tS = A(createSelector(N, q, (a2, e) => {
22052
+ var iS = A(createSelector(O, q, (a2, e) => {
22053
22053
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22054
22054
  let r = a2[i];
22055
22055
  return ii(r) && ut(r);
22056
22056
  });
22057
22057
  return t ? a2[t] : void 0;
22058
22058
  }));
22059
- var ga = A(createSelector(N, q, (a2, e) => Be(a2, e)));
22060
- var Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
22061
- var rS = A((a2, e) => {
22059
+ var Ta = A(createSelector(O, q, (a2, e) => Be(a2, e)));
22060
+ var fa = (a2) => createSelector(Ta(a2), (e) => e.audio);
22061
+ var sS = A((a2, e) => {
22062
22062
  let t = q(a2, e);
22063
22063
  return Je(a2, t == null ? void 0 : t.audioTrack);
22064
22064
  });
22065
- var sS = A((a2, e) => {
22065
+ var aS = A((a2, e) => {
22066
22066
  let t = q(a2, e);
22067
22067
  return Je(a2, t == null ? void 0 : t.videoTrack);
22068
22068
  });
22069
- var fa = A((a2, e) => {
22069
+ var va = A((a2, e) => {
22070
22070
  if (e && a2.tracks[e])
22071
22071
  return a2.tracks[e].volume === 0;
22072
22072
  });
22073
- var aS = A((a2, e) => {
22073
+ var oS = A((a2, e) => {
22074
22074
  let t = q(a2, e);
22075
- return fa(t == null ? void 0 : t.audioTrack)(a2);
22075
+ return va(t == null ? void 0 : t.audioTrack)(a2);
22076
22076
  });
22077
- var oS = A((a2, e) => {
22078
- let t = Ta(e)(a2);
22079
- return fa(t == null ? void 0 : t.id)(a2);
22077
+ var nS = A((a2, e) => {
22078
+ let t = fa(e)(a2);
22079
+ return va(t == null ? void 0 : t.id)(a2);
22080
22080
  });
22081
- var va = A((a2, e) => {
22081
+ var Ma = A((a2, e) => {
22082
22082
  let t = Kr(a2, e);
22083
22083
  if (t) {
22084
22084
  if (t.type !== "audio") {
@@ -22088,15 +22088,15 @@ var va = A((a2, e) => {
22088
22088
  return t.volume;
22089
22089
  }
22090
22090
  });
22091
- var nS = A((a2, e) => {
22092
- let t = q(a2, e);
22093
- return va(t == null ? void 0 : t.audioTrack)(a2);
22094
- });
22095
22091
  var cS = A((a2, e) => {
22096
- let t = Ta(e)(a2);
22097
- return va(t == null ? void 0 : t.id)(a2);
22092
+ let t = q(a2, e);
22093
+ return Ma(t == null ? void 0 : t.audioTrack)(a2);
22098
22094
  });
22099
22095
  var dS = A((a2, e) => {
22096
+ let t = fa(e)(a2);
22097
+ return Ma(t == null ? void 0 : t.id)(a2);
22098
+ });
22099
+ var lS = A((a2, e) => {
22100
22100
  let t = Kr(a2, e);
22101
22101
  if (t) {
22102
22102
  if (t.type !== "video") {
@@ -22106,53 +22106,53 @@ var dS = A((a2, e) => {
22106
22106
  return t.layer;
22107
22107
  }
22108
22108
  });
22109
- var Ma = createSelector([Rt, Pe, $r], (a2, e, t) => {
22109
+ var ya = createSelector([Rt, Ee, $r], (a2, e, t) => {
22110
22110
  if (t)
22111
22111
  return a2.filter((i) => {
22112
22112
  var r;
22113
22113
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22114
22114
  });
22115
22115
  });
22116
- var ya = createSelector([Rt, ha], (a2, e) => {
22116
+ var ka = createSelector([Rt, ma], (a2, e) => {
22117
22117
  if (e)
22118
22118
  return a2.filter((t) => {
22119
22119
  var i, r;
22120
22120
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22121
22121
  });
22122
22122
  });
22123
- var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22123
+ var Qo = createSelector(Rt, (a2) => a2.filter((e) => {
22124
22124
  var t;
22125
22125
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22126
22126
  }));
22127
- var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22128
- var zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22129
- var lS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22130
- var uS = A(Ma);
22127
+ var zo = createSelector([ka, ma], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22128
+ var Yo = createSelector([ya, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22129
+ var uS = createSelector(Qo, (a2) => a2.filter((e) => !e.read).length);
22131
22130
  var pS = A(ya);
22132
- var hS = A(Qo);
22131
+ var hS = A(ka);
22133
22132
  var mS = A(zo);
22134
- var ka = A($o);
22135
- var IS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22133
+ var SS = A(Yo);
22134
+ var Pa = A(Ko);
22135
+ var RS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
22136
22136
  var r;
22137
22137
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22138
22138
  }));
22139
- var Yo = (a2) => a2.roleChangeRequests[0] || null;
22140
- var RS = createSelector([Yo, K, Te], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22141
- var AS = createSelector([at], (a2) => mt(a2));
22142
- var HS = createSelector([ea], (a2) => mt(a2));
22143
- var Zo = createSelector([z, N], (a2, e) => {
22139
+ var Xo = (a2) => a2.roleChangeRequests[0] || null;
22140
+ var AS = createSelector([Xo, K, fe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22141
+ var HS = createSelector([at], (a2) => mt(a2));
22142
+ var CS = createSelector([ta], (a2) => mt(a2));
22143
+ var en = createSelector([z, O], (a2, e) => {
22144
22144
  let t = null;
22145
22145
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22146
22146
  });
22147
- var en = createSelector([oe, N], (a2, e) => {
22147
+ var tn = createSelector([oe, O], (a2, e) => {
22148
22148
  let t = null;
22149
22149
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22150
22150
  });
22151
- var 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 || {});
22151
+ var an = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(an || {});
22152
22152
  var zr = class {
22153
22153
  constructor() {
22154
22154
  this.TAG = "[HTTPAnalyticsTransport]";
22155
- this.failedEvents = new pe("client-events");
22155
+ this.failedEvents = new he("client-events");
22156
22156
  this.isConnected = true;
22157
22157
  this.env = null;
22158
22158
  this.websocketURL = "";
@@ -22168,7 +22168,7 @@ var zr = class {
22168
22168
  this.addEventToStorage(e);
22169
22169
  return;
22170
22170
  }
22171
- let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Bs : Vs;
22171
+ let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Vs : Fs;
22172
22172
  fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
22173
22173
  if (r.status === 401) {
22174
22174
  this.removeFromStorage(e);
@@ -22194,66 +22194,66 @@ var zr = class {
22194
22194
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22195
22195
  }
22196
22196
  };
22197
- var be = new zr();
22197
+ var Ie = new zr();
22198
22198
  var 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 || {});
22199
22199
  var 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 || {});
22200
22200
  var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
22201
- var Pn = (a2) => a2.localPeer.id;
22202
- var En = (a2) => a2.localPeer.audioTrack;
22203
- var bn = (a2) => a2.localPeer.videoTrack;
22204
- var In = (a2, e) => e;
22205
- var Ka = (a2, e) => e;
22206
- var Rn = (a2) => a2.remoteTrackStats;
22207
- var qa = (a2) => a2.peerStats;
22201
+ var En = (a2) => a2.localPeer.id;
22202
+ var bn = (a2) => a2.localPeer.audioTrack;
22203
+ var In = (a2) => a2.localPeer.videoTrack;
22204
+ var Rn = (a2, e) => e;
22205
+ var qa = (a2, e) => e;
22206
+ var An = (a2) => a2.remoteTrackStats;
22207
+ var ja = (a2) => a2.peerStats;
22208
22208
  var ts = (a2) => a2.localTrackStats;
22209
- var Re = createSelector([qa, Pn], (a2, e) => a2[e]);
22210
- var An = createSelector(Re, (a2) => {
22209
+ var Ae = createSelector([ja, En], (a2, e) => a2[e]);
22210
+ var Hn = createSelector(Ae, (a2) => {
22211
22211
  var e;
22212
22212
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22213
22213
  });
22214
- var Hn = createSelector(Re, (a2) => {
22214
+ var Cn = createSelector(Ae, (a2) => {
22215
22215
  var e;
22216
22216
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
22217
22217
  });
22218
- var Cn = createSelector(Re, (a2) => {
22218
+ var Ln = createSelector(Ae, (a2) => {
22219
22219
  var e;
22220
22220
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
22221
22221
  });
22222
- var Ln = createSelector(Re, (a2) => {
22222
+ var wn = createSelector(Ae, (a2) => {
22223
22223
  var e;
22224
22224
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
22225
22225
  });
22226
- var wn = createSelector(Re, (a2) => {
22226
+ var Dn = createSelector(Ae, (a2) => {
22227
22227
  var e;
22228
22228
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
22229
22229
  });
22230
- var Dn = createSelector(Re, (a2) => {
22230
+ var _n = createSelector(Ae, (a2) => {
22231
22231
  var e;
22232
22232
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
22233
22233
  });
22234
- var _n = createSelector(Re, (a2) => {
22234
+ var Nn = createSelector(Ae, (a2) => {
22235
22235
  var e;
22236
22236
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
22237
22237
  });
22238
- var Nn = createSelector(Re, (a2) => {
22238
+ var On = createSelector(Ae, (a2) => {
22239
22239
  var e;
22240
22240
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22241
22241
  });
22242
- var On = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
22243
- var xn = createSelector([Rn, Ka], (a2, e) => e ? a2[e] : void 0);
22244
- var is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
22245
- var Un = A(On);
22242
+ var xn = createSelector([ja, Rn], (a2, e) => e ? a2[e] : void 0);
22243
+ var Un = createSelector([An, qa], (a2, e) => e ? a2[e] : void 0);
22244
+ var is = createSelector([ts, qa], (a2, e) => e ? a2[e] : void 0);
22246
22245
  var Bn = A(xn);
22247
- var Vn = createSelector([ts, En], (a2, e) => {
22246
+ var Vn = A(Un);
22247
+ var Fn = createSelector([ts, bn], (a2, e) => {
22248
22248
  var t;
22249
22249
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22250
22250
  });
22251
- var Fn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22252
- var Gn = createSelector([ts, bn], (a2, e) => {
22251
+ var Gn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22252
+ var Wn = createSelector([ts, In], (a2, e) => {
22253
22253
  var t;
22254
22254
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22255
22255
  });
22256
- var Wn = A(createSelector(is, (a2) => a2));
22256
+ var $n = A(createSelector(is, (a2) => a2));
22257
22257
 
22258
22258
  // src/Prebuilt/components/Header/StreamActions.tsx
22259
22259
  import {
@@ -22452,7 +22452,7 @@ var RecordingStatus = () => {
22452
22452
  };
22453
22453
  var RecordingPauseStatus = () => {
22454
22454
  const recording = useHMSStore30(selectRecordingState2);
22455
- if (recording.hls && recording.hls.state === Is.PAUSED) {
22455
+ if (recording.hls && recording.hls.state === Rs.PAUSED) {
22456
22456
  return /* @__PURE__ */ React64.createElement(
22457
22457
  Tooltip,
22458
22458
  {
@@ -22731,7 +22731,7 @@ init_define_process_env();
22731
22731
  import { useEffect as useEffect21, useState as useState31 } from "react";
22732
22732
  import { HMSNotificationTypes, useHMSNotifications, useHMSStore as useHMSStore33 } from "@100mslive/react-sdk";
22733
22733
  var useUnreadPollQuizPresent = () => {
22734
- const localPeerID = useHMSStore33(Pe);
22734
+ const localPeerID = useHMSStore33(Ee);
22735
22735
  const notification = useHMSNotifications(HMSNotificationTypes.POLL_STARTED);
22736
22736
  const [unreadPollQuiz, setUnreadPollQuiz] = useState31(false);
22737
22737
  useEffect21(() => {
@@ -23933,7 +23933,7 @@ var RoleOptions = ({ roleName, peerList }) => {
23933
23933
 
23934
23934
  // src/Prebuilt/components/hooks/useGroupOnStageActions.tsx
23935
23935
  init_define_process_env();
23936
- import { match as match7, P as P4 } from "ts-pattern";
23936
+ import { match as match7, P as P3 } from "ts-pattern";
23937
23937
  import { selectPermissions as selectPermissions12, useHMSActions as useHMSActions30, useHMSStore as useHMSStore41 } from "@100mslive/react-sdk";
23938
23938
  var useGroupOnStageActions = ({ peers }) => {
23939
23939
  var _a7;
@@ -23950,9 +23950,9 @@ var useGroupOnStageActions = ({ peers }) => {
23950
23950
  const offStageRolePeers = peers.filter(
23951
23951
  (peer) => match7({ on_stage_role, bring_to_stage_label, roleName: peer.roleName }).with(
23952
23952
  {
23953
- on_stage_role: P4.when((role) => !!role),
23954
- bring_to_stage_label: P4.when((label) => !!label),
23955
- roleName: P4.when((role) => !!role && off_stage_roles.includes(role))
23953
+ on_stage_role: P3.when((role) => !!role),
23954
+ bring_to_stage_label: P3.when((label) => !!label),
23955
+ roleName: P3.when((role) => !!role && off_stage_roles.includes(role))
23956
23956
  },
23957
23957
  () => true
23958
23958
  ).otherwise(() => false)
@@ -27255,7 +27255,7 @@ var Chat = () => {
27255
27255
  const listRef = useRef24(null);
27256
27256
  const hmsActions = useHMSActions41();
27257
27257
  const vanillaStore = useHMSVanillaStore11();
27258
- const { enabled: isChatEnabled = true } = useHMSStore62(Vm("chatState" /* CHAT_STATE */)) || {};
27258
+ const { enabled: isChatEnabled = true } = useHMSStore62(Fm("chatState" /* CHAT_STATE */)) || {};
27259
27259
  const isMobile = useMedia20(config.media.md);
27260
27260
  const isMobileHLSStream = useMobileHLSStream();
27261
27261
  const isLandscapeStream = useLandscapeHLSStream();
@@ -27345,7 +27345,7 @@ var NewMessageIndicator = ({
27345
27345
  scrollToBottom,
27346
27346
  listRef
27347
27347
  }) => {
27348
- const unreadCount = useHMSStore62(cm);
27348
+ const unreadCount = useHMSStore62(dm);
27349
27349
  if (!unreadCount || !listRef.current) {
27350
27350
  return null;
27351
27351
  }
@@ -28447,12 +28447,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28447
28447
  const [blurAmount, setBlurAmount] = useState57(VBHandler.getBlurAmount() || 0.5);
28448
28448
  const roomState = useHMSStore70(selectRoomState4);
28449
28449
  const isLargeRoom = useHMSStore70(selectIsLargeRoom3);
28450
- const isEffectsEnabled = useHMSStore70(ym);
28451
- const effectsKey = useHMSStore70(Pm);
28450
+ const isEffectsEnabled = useHMSStore70(km);
28451
+ const effectsKey = useHMSStore70(Em);
28452
28452
  const isMobile = useMedia24(config.media.md);
28453
28453
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
28454
28454
  const isPluginAdded = useHMSStore70(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
28455
- const background = useHMSStore70(Bm(APP_DATA.background));
28455
+ const background = useHMSStore70(Vm(APP_DATA.background));
28456
28456
  const mediaList = backgroundMedia.map((media) => media.url || "");
28457
28457
  const inPreview = roomState === HMSRoomState4.Preview;
28458
28458
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -29536,10 +29536,10 @@ var useTileLayout = ({
29536
29536
  tileHeight = maxRowHeight;
29537
29537
  } else {
29538
29538
  const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
29539
- for (const h of calcHeights) {
29540
- if (h < maxRowHeight) {
29541
- if (tileHeight < h) {
29542
- tileHeight = h;
29539
+ for (const h2 of calcHeights) {
29540
+ if (h2 < maxRowHeight) {
29541
+ if (tileHeight < h2) {
29542
+ tileHeight = h2;
29543
29543
  }
29544
29544
  }
29545
29545
  }
@@ -30823,7 +30823,7 @@ var useCloseScreenshareWhiteboard = () => {
30823
30823
  };
30824
30824
 
30825
30825
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30826
- var HLSView = React157.lazy(() => import("./HLSView-D37W6IYC.js"));
30826
+ var HLSView = React157.lazy(() => import("./HLSView-SAG33GFW.js"));
30827
30827
  var VideoStreamingSection = ({
30828
30828
  screenType,
30829
30829
  elements,
@@ -31595,7 +31595,7 @@ import { ExitIcon as ExitIcon3 } from "@100mslive/react-icons";
31595
31595
  init_define_process_env();
31596
31596
  import React164, { useContext as useContext5, useEffect as useEffect61 } from "react";
31597
31597
  import { usePreviousDistinct } from "react-use";
31598
- import { match as match13, P as P5 } from "ts-pattern";
31598
+ import { match as match13, P as P4 } from "ts-pattern";
31599
31599
  import { HMSRoomState as HMSRoomState8, selectRoomState as selectRoomState8, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
31600
31600
 
31601
31601
  // src/Prebuilt/components/hooks/useRedirectToLeave.tsx
@@ -31647,7 +31647,7 @@ var useAppStateManager = () => {
31647
31647
  if (!roomLayout) {
31648
31648
  return;
31649
31649
  }
31650
- match13([roomState, prevRoomState]).with([HMSRoomState8.Connected, P5.any], () => setActiveState("meeting" /* MEETING */)).with(
31650
+ match13([roomState, prevRoomState]).with([HMSRoomState8.Connected, P4.any], () => setActiveState("meeting" /* MEETING */)).with(
31651
31651
  [HMSRoomState8.Disconnecting, HMSRoomState8.Connected],
31652
31652
  [HMSRoomState8.Disconnecting, HMSRoomState8.Connecting],
31653
31653
  [HMSRoomState8.Disconnecting, HMSRoomState8.Reconnecting],
@@ -31661,7 +31661,7 @@ var useAppStateManager = () => {
31661
31661
  VBHandler.reset();
31662
31662
  redirectToLeave(1e3);
31663
31663
  }
31664
- ).with([HMSRoomState8.Disconnected, P5.nullish], () => {
31664
+ ).with([HMSRoomState8.Disconnected, P4.nullish], () => {
31665
31665
  setActiveState(isPreviewScreenEnabled ? "preview" /* PREVIEW */ : "meeting" /* MEETING */);
31666
31666
  }).otherwise(() => {
31667
31667
  });
@@ -31717,7 +31717,7 @@ var LeaveScreen = () => {
31717
31717
  init_define_process_env();
31718
31718
  import React166, { useEffect as useEffect62, useState as useState70 } from "react";
31719
31719
  import { useMedia as useMedia41 } from "react-use";
31720
- import { match as match14, P as P6 } from "ts-pattern";
31720
+ import { match as match14, P as P5 } from "ts-pattern";
31721
31721
  import { RefreshIcon } from "@100mslive/react-icons";
31722
31722
  var MwebLandscapePrompt = () => {
31723
31723
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState70(false);
@@ -31737,7 +31737,7 @@ var MwebLandscapePrompt = () => {
31737
31737
  const angle = window.screen.orientation.angle;
31738
31738
  const type = window.screen.orientation.type || "";
31739
31739
  setShowMwebLandscapePrompt(
31740
- match14({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream: true }, () => false).with({ angle: P6.when((angle2) => angle2 && angle2 >= 90) }, ({ type: type2 }) => type2.includes("landscape")).otherwise(() => isLandscape)
31740
+ match14({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream: true }, () => false).with({ angle: P5.when((angle2) => angle2 && angle2 >= 90) }, ({ type: type2 }) => type2.includes("landscape")).otherwise(() => isLandscape)
31741
31741
  );
31742
31742
  };
31743
31743
  handleRotation();
@@ -34122,4 +34122,4 @@ object-assign/index.js:
34122
34122
  @license MIT
34123
34123
  *)
34124
34124
  */
34125
- //# sourceMappingURL=chunk-HVEJKF3Q.js.map
34125
+ //# sourceMappingURL=chunk-JXJG7EYW.js.map