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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
109
109
  var define_process_env_default;
110
110
  var init_define_process_env = __esm({
111
111
  "<define:process.env>"() {
112
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_53eaf7d2-c8f3-4899-81e4-374869242464", 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.13", 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.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_53eaf7d2-c8f3-4899-81e4-374869242464", 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.13", 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: "589", 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:20502", 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.13", 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: "10282006608", 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: "9cbdaec31e3a684ef149381c9bebf5029fa7672a", 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: "257dd606904bff569967e401deca9e43a2799d80777356e0440a26e2994ac4fd", 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--1723024054286-0.02704777289447069:/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--1723024054091-0.3414286720572748:/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--1723024028409-0.18128797233576344:/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--1723024028223-0.3968893105069591:/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_bdde9882-80dc-4b63-889c-1164ea8c4358", INVOCATION_ID: "1537b061753b4a078bddb12acf79aa93", 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: "630", 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 230", 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.13", 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.13", 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: "9cbdaec31e3a684ef149381c9bebf5029fa7672a", 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_53eaf7d2-c8f3-4899-81e4-374869242464", 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_53eaf7d2-c8f3-4899-81e4-374869242464", 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_53eaf7d2-c8f3-4899-81e4-374869242464" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7950ec70-5b6f-4d14-aa83-bc6d144797b2", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.14", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.14", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7950ec70-5b6f-4d14-aa83-bc6d144797b2", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.14", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "588", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240804.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:1846", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.14", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10314884356", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2a1e38838cc26364c05e8a6b0f85819073bd944c", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "f11344fe23538a34faec5de84b41d6bf6b57cb322a76729061ab35fc75a06b34", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1723185851779-0.11653995230171077:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1723185851550-0.6214763991192565:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1723185826319-0.4855834973528801:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1723185826142-0.2303058490353449:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_99cd3b2b-e612-4970-a689-88e28aeea503", INVOCATION_ID: "235ea6e8c83d40dd92f24cb1ee131ba5", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "631", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 226", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.14", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.14", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "2a1e38838cc26364c05e8a6b0f85819073bd944c", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7950ec70-5b6f-4d14-aa83-bc6d144797b2", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7950ec70-5b6f-4d14-aa83-bc6d144797b2", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7950ec70-5b6f-4d14-aa83-bc6d144797b2" };
113
113
  }
114
114
  });
115
115
 
@@ -2790,12 +2790,12 @@ var init_formatBytes = __esm({
2790
2790
  if (!bytes) {
2791
2791
  return "-";
2792
2792
  }
2793
- const k2 = 1024;
2793
+ const k = 1024;
2794
2794
  const dm2 = decimals < 0 ? 0 : decimals;
2795
2795
  const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
2796
- let i = Math.floor(Math.log(bytes) / Math.log(k2));
2796
+ let i = Math.floor(Math.log(bytes) / Math.log(k));
2797
2797
  i === 0 && i++;
2798
- return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2))} ${sizes[i]}`;
2798
+ return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm2))} ${sizes[i]}`;
2799
2799
  };
2800
2800
  }
2801
2801
  });
@@ -15887,10 +15887,10 @@ var require_ua_parser = __commonJS({
15887
15887
  }
15888
15888
  };
15889
15889
  var rgxMapper = function(ua2, arrays) {
15890
- var i = 0, j2, k2, p, q2, matches, match18;
15890
+ var i = 0, j2, k, p, q2, matches, match18;
15891
15891
  while (i < arrays.length && !matches) {
15892
15892
  var regex = arrays[i], props = arrays[i + 1];
15893
- j2 = k2 = 0;
15893
+ j2 = k = 0;
15894
15894
  while (j2 < regex.length && !matches) {
15895
15895
  if (!regex[j2]) {
15896
15896
  break;
@@ -15898,7 +15898,7 @@ var require_ua_parser = __commonJS({
15898
15898
  matches = regex[j2++].exec(ua2);
15899
15899
  if (!!matches) {
15900
15900
  for (p = 0; p < props.length; p++) {
15901
- match18 = matches[++k2];
15901
+ match18 = matches[++k];
15902
15902
  q2 = props[p];
15903
15903
  if (typeof q2 === OBJ_TYPE && q2.length > 0) {
15904
15904
  if (q2.length === 2) {
@@ -21286,7 +21286,7 @@ function Be(a2, e) {
21286
21286
  if (e)
21287
21287
  for (let r of e.auxiliaryTracks) {
21288
21288
  let s = a2[r];
21289
- eo(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
21289
+ to(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
21290
21290
  }
21291
21291
  return { video: t, audio: i };
21292
21292
  }
@@ -21296,7 +21296,7 @@ function ut(a2) {
21296
21296
  function pt(a2) {
21297
21297
  return a2 && a2.type === "video";
21298
21298
  }
21299
- function eo(a2) {
21299
+ function to(a2) {
21300
21300
  return a2 && a2.source === "screen";
21301
21301
  }
21302
21302
  function ii(a2) {
@@ -21305,7 +21305,7 @@ function ii(a2) {
21305
21305
  function ht(a2) {
21306
21306
  return a2 && a2.source === "videoplaylist";
21307
21307
  }
21308
- function cs(a2) {
21308
+ function ds(a2) {
21309
21309
  return a2 ? !!(a2 != null && a2.degraded) : false;
21310
21310
  }
21311
21311
  function Je(a2, e) {
@@ -21316,8 +21316,8 @@ function mt(a2) {
21316
21316
  let e = false, t = false, i = false;
21317
21317
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
21318
21318
  }
21319
- function so() {
21320
- if (U && window) {
21319
+ function ao() {
21320
+ if (B && window) {
21321
21321
  let a2 = window.location.hostname;
21322
21322
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21323
21323
  }
@@ -21329,9 +21329,9 @@ function ne(a2) {
21329
21329
  function Tt(a2 = "prod", e) {
21330
21330
  let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21331
21331
  if (Ve)
21332
- return 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 });
21333
- 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;
21334
- 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 });
21332
+ return Ps({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ks, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21333
+ let r = ve.getOS(), s = ve.getDevice(), o = ve.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21334
+ return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), Ps({ os: n, os_version: d, sdk: t, sdk_version: ks, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21335
21335
  }
21336
21336
  function Mr(a2) {
21337
21337
  return a2.replace(/ /g, "_");
@@ -21349,13 +21349,13 @@ function ai(a2, e = 300) {
21349
21349
  function A(a2) {
21350
21350
  return (e) => (t) => a2(t, e);
21351
21351
  }
21352
- function Vm(a2) {
21352
+ function Fm(a2) {
21353
21353
  return (e) => {
21354
21354
  if (e.sessionStore)
21355
21355
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21356
21356
  };
21357
21357
  }
21358
- var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, ss, as, rs, m, M, mr, Xa, vr, Sr, Za, os, gr, ns, ls, to, l, fe, U, us, Ve, ro, ic, ps, hs, gs, Ts, ze, E, f, ao, S, fr, fs, pe, vs, ys, ks, H, k, yr, J, kr, Pr, Ir, Is, Rs, As, Hs, Cs, Rr, Ls, Ar, Ns, Hr, Os, Cr, Lr, Bs, Vs, Pt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Vr, Co, Oe, Qh, Lo, ge, wo, ie, Pe, zh, Yh, oe, z, Do, Ys, Xh, Zh, Gr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, re, Zs, lm, um, Te, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, Pm, ia, Rm, xo, Am, sa, Wr, aa, oa, na, ca, da, la, ua, pa, At, b, $r, Ht, ha, Uo, Bo, q, Kr, Vo, Fo, Go, Wo, $o, Y, Bm, Gm, Wm, fi, ma, $m, Km, qm, Ko, qo, Jm, Sa, Qm, jo, zm, Ym, Xm, Zm, eS, tS, ga, Ta, rS, sS, fa, aS, oS, va, nS, cS, dS, Ma, ya, Jo, Qo, zo, lS, uS, pS, hS, mS, ka, IS, Yo, RS, AS, HS, Zo, en, sn, zr, be, j, tr, lr, Pn, En, bn, In, Ka, Rn, qa, ts, Re, An, Hn, Cn, Ln, wn, Dn, _n, Nn, On, xn, is, Un, Bn, Vn, Fn, Gn, Wn;
21358
+ var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, Ja, Qa, za, Zt, as, os, ss, h, M, mr, Za, vr, Sr, eo, ns, gr, cs, us, io, l, ve, B, ps, Ve, so, rc, hs, ms, Ts, fs, ze, E, f, oo, S, fr, vs, he, Ms, ks, Ps, H, y, yr, J, kr, Pr, Ir, Rs, As, Hs, Cs, Ls, Rr, ws, Ar, Os, Hr, xs, Cr, Lr, Vs, Fs, Pt, rt, V, Co, qh, jh, K, Ti, zs, O, Vr, Lo, xe, zh, wo, Te, Do, ie, Ee, Yh, Xh, oe, z, _o, Xs, Zh, em, Gr, No, im, rm, sm, am, om, nm, cm, dm, Rt, Oo, lm, re, ea, um, pm, fe, hm, at, xo, ta, mm, ia, Sm, gm, Tm, fm, vm, Mm, ym, km, Pm, Em, ra, Am, Uo, Hm, aa, Wr, oa, na, ca, da, la, ua, pa, ha, At, b, $r, Ht, ma, Bo, Vo, q, Kr, Fo, Go, Wo, $o, Ko, Y, Vm, Wm, $m, fi, Sa, Km, qm, jm, qo, jo, Qm, ga, zm, Jo, Ym, Xm, Zm, eS, tS, iS, Ta, fa, sS, aS, va, oS, nS, Ma, cS, dS, lS, ya, ka, Qo, zo, Yo, uS, pS, hS, mS, SS, Pa, RS, Xo, AS, HS, CS, en, tn, an, zr, Ie, j, tr, lr, En, bn, In, Rn, qa, An, ja, ts, Ae, Hn, Cn, Ln, wn, Dn, _n, Nn, On, xn, Un, is, Bn, Vn, Fn, Gn, Wn, $n;
21359
21359
  var init_dist = __esm({
21360
21360
  "../hms-video-store/dist/index.js"() {
21361
21361
  "use strict";
@@ -21383,42 +21383,42 @@ var init_dist = __esm({
21383
21383
  import_uuid9 = require("uuid");
21384
21384
  import_uuid10 = require("uuid");
21385
21385
  init_es();
21386
- ja = Object.defineProperty;
21387
- Ja = Object.defineProperties;
21388
- Qa = Object.getOwnPropertyDescriptors;
21386
+ Ja = Object.defineProperty;
21387
+ Qa = Object.defineProperties;
21388
+ za = Object.getOwnPropertyDescriptors;
21389
21389
  Zt = Object.getOwnPropertySymbols;
21390
- ss = Object.prototype.hasOwnProperty;
21391
- as = Object.prototype.propertyIsEnumerable;
21392
- rs = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21393
- m = (a2, e) => {
21390
+ as = Object.prototype.hasOwnProperty;
21391
+ os = Object.prototype.propertyIsEnumerable;
21392
+ ss = (a2, e, t) => e in a2 ? Ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21393
+ h = (a2, e) => {
21394
21394
  for (var t in e || (e = {}))
21395
- ss.call(e, t) && rs(a2, t, e[t]);
21395
+ as.call(e, t) && ss(a2, t, e[t]);
21396
21396
  if (Zt)
21397
21397
  for (var t of Zt(e))
21398
- as.call(e, t) && rs(a2, t, e[t]);
21398
+ os.call(e, t) && ss(a2, t, e[t]);
21399
21399
  return a2;
21400
21400
  };
21401
- M = (a2, e) => Ja(a2, Qa(e));
21401
+ M = (a2, e) => Qa(a2, za(e));
21402
21402
  mr = (a2, e) => {
21403
21403
  var t = {};
21404
21404
  for (var i in a2)
21405
- ss.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21405
+ as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21406
21406
  if (a2 != null && Zt)
21407
21407
  for (var i of Zt(a2))
21408
- e.indexOf(i) < 0 && as.call(a2, i) && (t[i] = a2[i]);
21408
+ e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21409
21409
  return t;
21410
21410
  };
21411
- Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21412
- vr = Xa((Ac, no) => {
21413
- no.exports = { version: "0.12.17-alpha.13", 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"] };
21411
+ Za = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21412
+ vr = Za((Hc, co) => {
21413
+ co.exports = { version: "0.12.17-alpha.14", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21414
21414
  });
21415
21415
  Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21416
- Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21417
- os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
21416
+ eo = ((e) => (e.CHAT = "chat", e))(eo || {});
21417
+ ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21418
21418
  gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
21419
- ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
21420
- 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 || {});
21421
- to = typeof window != "undefined" && typeof window.expect != "undefined";
21419
+ cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21420
+ us = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(us || {});
21421
+ io = typeof window != "undefined" && typeof window.expect != "undefined";
21422
21422
  l = class {
21423
21423
  static v(e, ...t) {
21424
21424
  this.log(0, e, ...t);
@@ -21484,15 +21484,15 @@ var init_dist = __esm({
21484
21484
  }
21485
21485
  }
21486
21486
  };
21487
- l.level = to ? 7 : 0;
21488
- fe = new import_ua_parser_js.UAParser();
21489
- U = typeof window != "undefined";
21490
- Ve = typeof window == "undefined" && !((us = fe.getBrowser().name) != null && us.toLowerCase().includes("electron"));
21491
- ro = () => !Ve;
21492
- ic = ro();
21493
- gs = ((hs = (ps = fe.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
21494
- Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21495
- ze = so();
21487
+ l.level = io ? 7 : 0;
21488
+ ve = new import_ua_parser_js.UAParser();
21489
+ B = typeof window != "undefined";
21490
+ Ve = typeof window == "undefined" && !((ps = ve.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21491
+ so = () => !Ve;
21492
+ rc = so();
21493
+ Ts = ((ms = (hs = ve.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21494
+ fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(fs || {});
21495
+ ze = ao();
21496
21496
  E = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
21497
21497
  f = class a extends Error {
21498
21498
  constructor(t, i, r, s, o, n = false) {
@@ -21523,7 +21523,7 @@ var init_dist = __esm({
21523
21523
  }`;
21524
21524
  }
21525
21525
  };
21526
- ao = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21526
+ oo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21527
21527
  S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21528
21528
  return new f(E.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21529
21529
  }, WebSocketConnectionLost(a2, e = "") {
@@ -21583,7 +21583,7 @@ var init_dist = __esm({
21583
21583
  }, StatsFailed(a2, e = "") {
21584
21584
  return new f(E.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21585
21585
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21586
- return new f(a2, "ServerErrors", e, t, t, ao.includes(e));
21586
+ return new f(a2, "ServerErrors", e, t, t, oo.includes(e));
21587
21587
  }, AlreadyJoined(a2, e = "") {
21588
21588
  return new f(E.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21589
21589
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -21656,21 +21656,21 @@ var init_dist = __esm({
21656
21656
  return this.valuesMap.size;
21657
21657
  }
21658
21658
  };
21659
- fs = () => {
21659
+ vs = () => {
21660
21660
  try {
21661
- U && !localStorage && (window.localStorage = new fr());
21661
+ B && !localStorage && (window.localStorage = new fr());
21662
21662
  } catch (a2) {
21663
21663
  l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21664
21664
  }
21665
21665
  };
21666
- pe = class {
21666
+ he = class {
21667
21667
  constructor(e) {
21668
21668
  this.key = e;
21669
21669
  this.storage = null;
21670
21670
  }
21671
21671
  getStorage() {
21672
21672
  try {
21673
- return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21673
+ return B && !this.storage && (vs(), this.storage = window.localStorage), this.storage;
21674
21674
  } catch (e) {
21675
21675
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21676
21676
  }
@@ -21690,24 +21690,24 @@ var init_dist = __esm({
21690
21690
  (e = this.getStorage()) == null || e.removeItem(this.key);
21691
21691
  }
21692
21692
  };
21693
- vs = () => {
21694
- let a2, e = new pe("hms-analytics-deviceId"), t = e.get();
21693
+ Ms = () => {
21694
+ let a2, e = new he("hms-analytics-deviceId"), t = e.get();
21695
21695
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21696
21696
  };
21697
- ys = vr().version;
21698
- ks = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21697
+ ks = vr().version;
21698
+ Ps = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21699
21699
  H = class {
21700
21700
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21701
21701
  this.metadata = { peer: {}, userAgent: Tt() };
21702
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = vs();
21702
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = Ms();
21703
21703
  }
21704
21704
  toSignalParams() {
21705
- return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21705
+ return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21706
21706
  }
21707
21707
  };
21708
- k = class {
21708
+ y = class {
21709
21709
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21710
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(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);
21710
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(h({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21711
21711
  return new H({ name: o, level: n, properties: d });
21712
21712
  }
21713
21713
  static disconnect(e, t) {
@@ -21721,7 +21721,7 @@ var init_dist = __esm({
21721
21721
  }
21722
21722
  static join(i) {
21723
21723
  var r = i, { error: e } = r, t = mr(r, ["error"]);
21724
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21724
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
21725
21725
  return new H({ name: s, level: o, properties: n });
21726
21726
  }
21727
21727
  static publish({ devices: e, settings: t, error: i }) {
@@ -21764,7 +21764,7 @@ var init_dist = __esm({
21764
21764
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
21765
21765
  if (!t && e.degradedAt instanceof Date) {
21766
21766
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
21767
- s = M(m({}, s), { duration: n, restoredAt: o });
21767
+ s = M(h({}, s), { duration: n, restoredAt: o });
21768
21768
  }
21769
21769
  return new H({ name: i, level: r, properties: s });
21770
21770
  }
@@ -21791,23 +21791,23 @@ var init_dist = __esm({
21791
21791
  return new H({ name: "krisp.stop", level: 1 });
21792
21792
  }
21793
21793
  static interruption(e, t, i) {
21794
- return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ type: t }, i) });
21794
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ type: t }, i) });
21795
21795
  }
21796
21796
  static eventNameFor(e, t) {
21797
21797
  return `${e}.${t ? "success" : "failed"}`;
21798
21798
  }
21799
21799
  static getPropertiesWithError(e, t) {
21800
21800
  let i = this.getErrorProperties(t);
21801
- return e = m(m({}, i), e), e;
21801
+ return e = h(h({}, i), e), e;
21802
21802
  }
21803
21803
  static getErrorProperties(e) {
21804
21804
  return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
21805
21805
  }
21806
21806
  };
21807
- k.KEY_REQUESTED_AT = "requested_at", k.KEY_RESPONDED_AT = "responded_at";
21807
+ y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21808
21808
  yr = class {
21809
21809
  constructor() {
21810
- this.storage = new pe("hms-device-selection");
21810
+ this.storage = new he("hms-device-selection");
21811
21811
  this.remember = false;
21812
21812
  this.TAG = "[HMSDeviceStorage]";
21813
21813
  }
@@ -21843,13 +21843,13 @@ var init_dist = __esm({
21843
21843
  kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
21844
21844
  Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
21845
21845
  Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
21846
- 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 || {});
21847
- Rs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Rs || {});
21848
- As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
21849
- Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21850
- Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21846
+ Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
21847
+ As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21848
+ Hs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Hs || {});
21849
+ Cs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Cs || {});
21850
+ Ls = ((e) => (e.CAPTION = "caption", e))(Ls || {});
21851
21851
  Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
21852
- Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21852
+ ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
21853
21853
  Ar = class {
21854
21854
  constructor() {
21855
21855
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -21873,11 +21873,11 @@ var init_dist = __esm({
21873
21873
  this.createObserver();
21874
21874
  }
21875
21875
  isSupported() {
21876
- let e = U && typeof window.IntersectionObserver != "undefined";
21876
+ let e = B && typeof window.IntersectionObserver != "undefined";
21877
21877
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21878
21878
  }
21879
21879
  };
21880
- Ns = new Ar();
21880
+ Os = new Ar();
21881
21881
  Hr = class {
21882
21882
  constructor() {
21883
21883
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -21901,47 +21901,47 @@ var init_dist = __esm({
21901
21901
  this.createObserver();
21902
21902
  }
21903
21903
  isSupported() {
21904
- let e = U && typeof window.ResizeObserver != "undefined";
21904
+ let e = B && typeof window.ResizeObserver != "undefined";
21905
21905
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
21906
21906
  }
21907
21907
  };
21908
- Os = new Hr();
21908
+ xs = new Hr();
21909
21909
  Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
21910
21910
  Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
21911
- Bs = "https://event.100ms.live/v2/client/report";
21912
- Vs = "https://event-nonprod.100ms.live/v2/client/report";
21911
+ Vs = "https://event.100ms.live/v2/client/report";
21912
+ Fs = "https://event-nonprod.100ms.live/v2/client/report";
21913
21913
  Pt = Math.pow(2, 31) - 1;
21914
21914
  rt = class {
21915
21915
  };
21916
21916
  rt.makePeerId = () => (0, import_uuid7.v4)();
21917
- B = (a2) => a2.room;
21918
- Ho = (a2) => a2.errors;
21919
- Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
21920
- qh = createSelector(B, (a2) => a2.id);
21917
+ V = (a2) => a2.room;
21918
+ Co = (a2) => a2.errors;
21919
+ qh = createSelector(Co, (a2) => a2.length === 0 ? null : a2.at(-1));
21920
+ jh = createSelector(V, (a2) => a2.id);
21921
21921
  K = (a2) => a2.peers;
21922
21922
  Ti = (a2) => a2.messages.byID;
21923
- Qs = (a2) => a2.messages.allIDs;
21924
- N = (a2) => a2.tracks;
21923
+ zs = (a2) => a2.messages.allIDs;
21924
+ O = (a2) => a2.tracks;
21925
21925
  Vr = (a2) => a2.appData;
21926
- Co = (a2) => a2.speakers;
21927
- Oe = createSelector([B], (a2) => a2 && a2.isConnected);
21928
- 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));
21929
- Lo = (a2) => a2.hideLocalPeer;
21930
- 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]));
21931
- wo = createSelector(N, (a2) => Object.values(a2));
21932
- ie = createSelector(B, K, (a2, e) => e[a2.localPeer]);
21933
- Pe = createSelector(B, (a2) => a2.localPeer);
21934
- zh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
21935
- Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
21926
+ Lo = (a2) => a2.speakers;
21927
+ xe = createSelector([V], (a2) => a2 && a2.isConnected);
21928
+ zh = createSelector([xe, V], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
21929
+ wo = (a2) => a2.hideLocalPeer;
21930
+ Te = createSelector([V, K, wo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21931
+ Do = createSelector(O, (a2) => Object.values(a2));
21932
+ ie = createSelector(V, K, (a2, e) => e[a2.localPeer]);
21933
+ Ee = createSelector(V, (a2) => a2.localPeer);
21934
+ Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
21935
+ Xh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
21936
21936
  oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
21937
21937
  z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
21938
- Do = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21939
- Ys = createSelector([oe, z, Do], (a2, e, t) => {
21938
+ _o = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21939
+ Xs = createSelector([oe, z, _o], (a2, e, t) => {
21940
21940
  let i = t ? [...t] : [];
21941
21941
  return a2 && i.unshift(a2), e && i.unshift(e), i;
21942
21942
  });
21943
- Xh = createSelector(ge, (a2) => a2.filter((e) => !e.isLocal));
21944
- Zh = createSelector(K, Co, (a2, e) => {
21943
+ Zh = createSelector(Te, (a2) => a2.filter((e) => !e.isLocal));
21944
+ em = createSelector(K, Lo, (a2, e) => {
21945
21945
  let t = Object.entries(e).sort((i, r) => {
21946
21946
  var n, d;
21947
21947
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -21954,11 +21954,11 @@ var init_dist = __esm({
21954
21954
  }
21955
21955
  return null;
21956
21956
  });
21957
- Gr = createSelector(ie, N, (a2, e) => {
21957
+ Gr = createSelector(ie, O, (a2, e) => {
21958
21958
  let { video: t, audio: i } = Be(e, a2);
21959
21959
  return !!(t || i);
21960
21960
  });
21961
- _o = createSelector(K, N, (a2, e) => {
21961
+ No = createSelector(K, O, (a2, e) => {
21962
21962
  let t;
21963
21963
  for (let i in a2) {
21964
21964
  let r = a2[i], { video: s, audio: o } = Be(e, r);
@@ -21968,15 +21968,15 @@ var init_dist = __esm({
21968
21968
  }
21969
21969
  return t;
21970
21970
  });
21971
- tm = createSelector(_o, (a2) => !!a2);
21972
- im = createSelector(K, N, (a2, e) => {
21971
+ im = createSelector(No, (a2) => !!a2);
21972
+ rm = createSelector(K, O, (a2, e) => {
21973
21973
  for (let t in a2) {
21974
21974
  let i = a2[t], { audio: r, video: s } = Be(e, i);
21975
21975
  if (!s && r)
21976
21976
  return i;
21977
21977
  }
21978
21978
  });
21979
- rm = createSelector(K, N, (a2, e) => {
21979
+ sm = createSelector(K, O, (a2, e) => {
21980
21980
  let t = [], i = [];
21981
21981
  for (let r in a2) {
21982
21982
  let s = a2[r], { video: o, audio: n } = Be(e, s);
@@ -21984,78 +21984,78 @@ var init_dist = __esm({
21984
21984
  }
21985
21985
  return t.concat(i);
21986
21986
  });
21987
- sm = createSelector(K, N, (a2, e) => {
21987
+ am = createSelector(K, O, (a2, e) => {
21988
21988
  for (let t in e) {
21989
21989
  let i = e[t];
21990
21990
  if (ht(i) && pt(i) && i.peerId)
21991
21991
  return a2[i.peerId];
21992
21992
  }
21993
21993
  });
21994
- am = createSelector(K, N, (a2, e) => {
21994
+ om = createSelector(K, O, (a2, e) => {
21995
21995
  for (let t in e) {
21996
21996
  let i = e[t];
21997
21997
  if (ii(i) && i.peerId)
21998
21998
  return a2[i.peerId];
21999
21999
  }
22000
22000
  });
22001
- om = createSelector(wo, (a2) => a2.filter(cs));
22002
- nm = createSelector(Qs, (a2) => a2.length);
22003
- cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
22004
- Rt = createSelector(Qs, Ti, (a2, e) => {
22001
+ nm = createSelector(Do, (a2) => a2.filter(ds));
22002
+ cm = createSelector(zs, (a2) => a2.length);
22003
+ dm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
22004
+ Rt = createSelector(zs, Ti, (a2, e) => {
22005
22005
  let t = [];
22006
22006
  return a2.forEach((i) => {
22007
22007
  t.push(e[i]);
22008
22008
  }), t;
22009
22009
  });
22010
- No = createSelector(Rt, (a2) => a2.filter((e) => {
22010
+ Oo = createSelector(Rt, (a2) => a2.filter((e) => {
22011
22011
  var t;
22012
22012
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22013
22013
  }));
22014
- dm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
22015
- re = createSelector([B], (a2) => a2 && a2.roomState);
22016
- Zs = createSelector(re, (a2) => a2 === "Preview");
22017
- lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
22018
- um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22019
- Te = (a2) => a2.roles;
22020
- pm = createSelector([Te], (a2) => Object.keys(a2));
22021
- at = createSelector([ie, Te], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22022
- Oo = (a2) => {
22014
+ lm = createSelector(Oo, (a2) => a2.filter((e) => !e.read).length);
22015
+ re = createSelector([V], (a2) => a2 && a2.roomState);
22016
+ ea = createSelector(re, (a2) => a2 === "Preview");
22017
+ um = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22018
+ pm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22019
+ fe = (a2) => a2.roles;
22020
+ hm = createSelector([fe], (a2) => Object.keys(a2));
22021
+ at = createSelector([ie, fe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22022
+ xo = (a2) => {
22023
22023
  var e;
22024
22024
  return (e = a2.preview) == null ? void 0 : e.asRole;
22025
22025
  };
22026
- ea = createSelector([Oo, Te], (a2, e) => a2 ? e[a2] : null);
22027
- hm = createSelector([at], (a2) => {
22026
+ ta = createSelector([xo, fe], (a2, e) => a2 ? e[a2] : null);
22027
+ mm = createSelector([at], (a2) => {
22028
22028
  var e;
22029
22029
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22030
22030
  });
22031
- ta = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22032
- mm = createSelector(B, (a2) => a2.recording);
22033
- Sm = createSelector(B, (a2) => a2.rtmp);
22034
- gm = createSelector(B, (a2) => a2.hls);
22035
- Tm = createSelector(B, (a2) => a2.transcriptions);
22036
- fm = createSelector(B, (a2) => a2.sessionId);
22037
- vm = createSelector(B, (a2) => a2.startedAt);
22038
- Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
22039
- ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
22040
- km = createSelector(B, (a2) => !!a2.isVBEnabled);
22041
- Pm = createSelector(B, (a2) => a2.effectsKey);
22042
- ia = (a2) => a2.polls;
22043
- Rm = createSelector(ge, (a2) => a2.filter((e) => e.isHandRaised));
22044
- xo = (a2) => a2.whiteboards;
22045
- Am = createSelector(xo, (a2) => Object.values(a2)[0]);
22046
- sa = (a2 = "audio") => (e) => e.playlist[a2].list;
22031
+ ia = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22032
+ Sm = createSelector(V, (a2) => a2.recording);
22033
+ gm = createSelector(V, (a2) => a2.rtmp);
22034
+ Tm = createSelector(V, (a2) => a2.hls);
22035
+ fm = createSelector(V, (a2) => a2.transcriptions);
22036
+ vm = createSelector(V, (a2) => a2.sessionId);
22037
+ Mm = createSelector(V, (a2) => a2.startedAt);
22038
+ ym = createSelector(V, (a2) => !!a2.isLargeRoom);
22039
+ km = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22040
+ Pm = createSelector(V, (a2) => !!a2.isVBEnabled);
22041
+ Em = createSelector(V, (a2) => a2.effectsKey);
22042
+ ra = (a2) => a2.polls;
22043
+ Am = createSelector(Te, (a2) => a2.filter((e) => e.isHandRaised));
22044
+ Uo = (a2) => a2.whiteboards;
22045
+ Hm = createSelector(Uo, (a2) => Object.values(a2)[0]);
22046
+ aa = (a2 = "audio") => (e) => e.playlist[a2].list;
22047
22047
  Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22048
- aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22049
- oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22050
- na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22051
- ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
22052
- da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
22053
- la = (a2 = "audio") => createSelector(sa(a2), Wr(a2), (e, t) => {
22048
+ oa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22049
+ na = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22050
+ ca = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22051
+ da = (a2 = "audio") => (e) => e.playlist[a2].volume;
22052
+ la = (a2 = "audio") => createSelector(aa(a2), (e) => Object.values(e));
22053
+ ua = (a2 = "audio") => createSelector(aa(a2), Wr(a2), (e, t) => {
22054
22054
  if (t.id)
22055
22055
  return e[t.id];
22056
22056
  });
22057
- ua = { selection: Wr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22058
- pa = { selection: Wr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22057
+ pa = { selection: Wr("audio"), progress: oa("audio"), currentTime: na("audio"), playbackRate: ca("audio"), volume: da("audio"), list: la("audio"), selectedItem: ua("audio") };
22058
+ ha = { selection: Wr("video"), progress: oa("video"), currentTime: na("video"), playbackRate: ca("video"), volume: da("video"), list: la("video"), selectedItem: ua("video") };
22059
22059
  At = "HMS-Store:";
22060
22060
  b = class {
22061
22061
  static v(e, ...t) {
@@ -22125,124 +22125,124 @@ var init_dist = __esm({
22125
22125
  b.level = 0;
22126
22126
  $r = (a2, e) => e;
22127
22127
  Ht = (a2, e) => e;
22128
- ha = (a2, e) => e;
22129
- Uo = (a2, e) => e;
22128
+ ma = (a2, e) => e;
22130
22129
  Bo = (a2, e) => e;
22130
+ Vo = (a2, e) => e;
22131
22131
  q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
22132
- Kr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
22133
- Vo = createSelector([N, Ht], (a2, e) => {
22132
+ Kr = createSelector([O, Ht], (a2, e) => e ? a2[e] : null);
22133
+ Fo = createSelector([O, Ht], (a2, e) => {
22134
22134
  if (!e)
22135
22135
  return null;
22136
22136
  let t = a2[e];
22137
22137
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22138
22138
  });
22139
- Fo = createSelector([N, Ht], (a2, e) => {
22139
+ Go = createSelector([O, Ht], (a2, e) => {
22140
22140
  if (!e)
22141
22141
  return null;
22142
22142
  let t = a2[e];
22143
22143
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22144
22144
  });
22145
- Go = createSelector([N, Ht], (a2, e) => {
22145
+ Wo = createSelector([O, Ht], (a2, e) => {
22146
22146
  if (!e)
22147
22147
  return null;
22148
22148
  let t = a2[e];
22149
22149
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22150
22150
  });
22151
- Wo = createSelector([N, Ht], (a2, e) => {
22151
+ $o = createSelector([O, Ht], (a2, e) => {
22152
22152
  if (!e)
22153
22153
  return null;
22154
22154
  let t = a2[e];
22155
22155
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22156
22156
  });
22157
- $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
22157
+ Ko = createSelector([ra, Vo], (a2, e) => e ? a2[e] : null);
22158
22158
  Y = A(q);
22159
- Bm = A(createSelector([Vr, Uo], (a2, e) => {
22159
+ Vm = A(createSelector([Vr, Bo], (a2, e) => {
22160
22160
  if (a2)
22161
22161
  return e ? a2[e] : a2;
22162
22162
  }));
22163
- Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22164
- Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22163
+ Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22164
+ $m = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22165
22165
  fi = A(Kr);
22166
- ma = A(Vo);
22167
- $m = A(Fo);
22166
+ Sa = A(Fo);
22168
22167
  Km = A(Go);
22169
22168
  qm = A(Wo);
22170
- Ko = A((a2, e) => {
22169
+ jm = A($o);
22170
+ qo = A((a2, e) => {
22171
22171
  let t = q(a2, e);
22172
22172
  if (t && t.videoTrack && t.videoTrack !== "")
22173
22173
  return a2.tracks[t.videoTrack];
22174
22174
  });
22175
- qo = A((a2, e) => {
22175
+ jo = A((a2, e) => {
22176
22176
  let t = q(a2, e);
22177
22177
  if (t && t.audioTrack && t.audioTrack !== "")
22178
22178
  return a2.tracks[t.audioTrack];
22179
22179
  });
22180
- Jm = A((a2, e) => {
22180
+ Qm = A((a2, e) => {
22181
22181
  let t = q(a2, e);
22182
22182
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22183
22183
  });
22184
- Sa = (a2, e) => e ? a2.speakers[e] : null;
22185
- Qm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22186
- jo = (a2, e) => {
22187
- let t = qo(e)(a2);
22188
- return Sa(a2, t == null ? void 0 : t.id);
22189
- };
22190
- zm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22191
- Ym = A((a2, e) => {
22184
+ ga = (a2, e) => e ? a2.speakers[e] : null;
22185
+ zm = A(createSelector(ga, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22186
+ Jo = (a2, e) => {
22187
+ let t = jo(e)(a2);
22188
+ return ga(a2, t == null ? void 0 : t.id);
22189
+ };
22190
+ Ym = A(createSelector(Jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22191
+ Xm = A((a2, e) => {
22192
22192
  if (e)
22193
22193
  return a2.connectionQualities[e];
22194
22194
  });
22195
- Xm = A((a2, e) => {
22195
+ Zm = A((a2, e) => {
22196
22196
  let t = q(a2, e);
22197
22197
  if (t) {
22198
22198
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
22199
22199
  return i ? a2.tracks[i] : void 0;
22200
22200
  }
22201
22201
  });
22202
- Zm = A(createSelector(N, q, (a2, e) => {
22202
+ eS = A(createSelector(O, q, (a2, e) => {
22203
22203
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22204
22204
  let r = a2[i];
22205
22205
  return ht(r) && pt(r);
22206
22206
  });
22207
22207
  return t ? a2[t] : void 0;
22208
22208
  }));
22209
- eS = A(createSelector(N, q, (a2, e) => {
22209
+ tS = A(createSelector(O, q, (a2, e) => {
22210
22210
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22211
22211
  let r = a2[i];
22212
22212
  return ht(r) && ut(r);
22213
22213
  });
22214
22214
  return t ? a2[t] : void 0;
22215
22215
  }));
22216
- tS = A(createSelector(N, q, (a2, e) => {
22216
+ iS = A(createSelector(O, q, (a2, e) => {
22217
22217
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22218
22218
  let r = a2[i];
22219
22219
  return ii(r) && ut(r);
22220
22220
  });
22221
22221
  return t ? a2[t] : void 0;
22222
22222
  }));
22223
- ga = A(createSelector(N, q, (a2, e) => Be(a2, e)));
22224
- Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
22225
- rS = A((a2, e) => {
22223
+ Ta = A(createSelector(O, q, (a2, e) => Be(a2, e)));
22224
+ fa = (a2) => createSelector(Ta(a2), (e) => e.audio);
22225
+ sS = A((a2, e) => {
22226
22226
  let t = q(a2, e);
22227
22227
  return Je(a2, t == null ? void 0 : t.audioTrack);
22228
22228
  });
22229
- sS = A((a2, e) => {
22229
+ aS = A((a2, e) => {
22230
22230
  let t = q(a2, e);
22231
22231
  return Je(a2, t == null ? void 0 : t.videoTrack);
22232
22232
  });
22233
- fa = A((a2, e) => {
22233
+ va = A((a2, e) => {
22234
22234
  if (e && a2.tracks[e])
22235
22235
  return a2.tracks[e].volume === 0;
22236
22236
  });
22237
- aS = A((a2, e) => {
22237
+ oS = A((a2, e) => {
22238
22238
  let t = q(a2, e);
22239
- return fa(t == null ? void 0 : t.audioTrack)(a2);
22239
+ return va(t == null ? void 0 : t.audioTrack)(a2);
22240
22240
  });
22241
- oS = A((a2, e) => {
22242
- let t = Ta(e)(a2);
22243
- return fa(t == null ? void 0 : t.id)(a2);
22241
+ nS = A((a2, e) => {
22242
+ let t = fa(e)(a2);
22243
+ return va(t == null ? void 0 : t.id)(a2);
22244
22244
  });
22245
- va = A((a2, e) => {
22245
+ Ma = A((a2, e) => {
22246
22246
  let t = Kr(a2, e);
22247
22247
  if (t) {
22248
22248
  if (t.type !== "audio") {
@@ -22252,15 +22252,15 @@ var init_dist = __esm({
22252
22252
  return t.volume;
22253
22253
  }
22254
22254
  });
22255
- nS = A((a2, e) => {
22256
- let t = q(a2, e);
22257
- return va(t == null ? void 0 : t.audioTrack)(a2);
22258
- });
22259
22255
  cS = A((a2, e) => {
22260
- let t = Ta(e)(a2);
22261
- return va(t == null ? void 0 : t.id)(a2);
22256
+ let t = q(a2, e);
22257
+ return Ma(t == null ? void 0 : t.audioTrack)(a2);
22262
22258
  });
22263
22259
  dS = A((a2, e) => {
22260
+ let t = fa(e)(a2);
22261
+ return Ma(t == null ? void 0 : t.id)(a2);
22262
+ });
22263
+ lS = A((a2, e) => {
22264
22264
  let t = Kr(a2, e);
22265
22265
  if (t) {
22266
22266
  if (t.type !== "video") {
@@ -22270,53 +22270,53 @@ var init_dist = __esm({
22270
22270
  return t.layer;
22271
22271
  }
22272
22272
  });
22273
- Ma = createSelector([Rt, Pe, $r], (a2, e, t) => {
22273
+ ya = createSelector([Rt, Ee, $r], (a2, e, t) => {
22274
22274
  if (t)
22275
22275
  return a2.filter((i) => {
22276
22276
  var r;
22277
22277
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22278
22278
  });
22279
22279
  });
22280
- ya = createSelector([Rt, ha], (a2, e) => {
22280
+ ka = createSelector([Rt, ma], (a2, e) => {
22281
22281
  if (e)
22282
22282
  return a2.filter((t) => {
22283
22283
  var i, r;
22284
22284
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22285
22285
  });
22286
22286
  });
22287
- Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22287
+ Qo = createSelector(Rt, (a2) => a2.filter((e) => {
22288
22288
  var t;
22289
22289
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22290
22290
  }));
22291
- Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22292
- zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22293
- lS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22294
- uS = A(Ma);
22291
+ zo = createSelector([ka, ma], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22292
+ Yo = createSelector([ya, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22293
+ uS = createSelector(Qo, (a2) => a2.filter((e) => !e.read).length);
22295
22294
  pS = A(ya);
22296
- hS = A(Qo);
22295
+ hS = A(ka);
22297
22296
  mS = A(zo);
22298
- ka = A($o);
22299
- IS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22297
+ SS = A(Yo);
22298
+ Pa = A(Ko);
22299
+ RS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
22300
22300
  var r;
22301
22301
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22302
22302
  }));
22303
- Yo = (a2) => a2.roleChangeRequests[0] || null;
22304
- 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);
22305
- AS = createSelector([at], (a2) => mt(a2));
22306
- HS = createSelector([ea], (a2) => mt(a2));
22307
- Zo = createSelector([z, N], (a2, e) => {
22303
+ Xo = (a2) => a2.roleChangeRequests[0] || null;
22304
+ AS = createSelector([Xo, K, fe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22305
+ HS = createSelector([at], (a2) => mt(a2));
22306
+ CS = createSelector([ta], (a2) => mt(a2));
22307
+ en = createSelector([z, O], (a2, e) => {
22308
22308
  let t = null;
22309
22309
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22310
22310
  });
22311
- en = createSelector([oe, N], (a2, e) => {
22311
+ tn = createSelector([oe, O], (a2, e) => {
22312
22312
  let t = null;
22313
22313
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22314
22314
  });
22315
- 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 || {});
22315
+ an = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(an || {});
22316
22316
  zr = class {
22317
22317
  constructor() {
22318
22318
  this.TAG = "[HTTPAnalyticsTransport]";
22319
- this.failedEvents = new pe("client-events");
22319
+ this.failedEvents = new he("client-events");
22320
22320
  this.isConnected = true;
22321
22321
  this.env = null;
22322
22322
  this.websocketURL = "";
@@ -22332,7 +22332,7 @@ var init_dist = __esm({
22332
22332
  this.addEventToStorage(e);
22333
22333
  return;
22334
22334
  }
22335
- let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Bs : Vs;
22335
+ let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Vs : Fs;
22336
22336
  fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
22337
22337
  if (r.status === 401) {
22338
22338
  this.removeFromStorage(e);
@@ -22358,66 +22358,66 @@ var init_dist = __esm({
22358
22358
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22359
22359
  }
22360
22360
  };
22361
- be = new zr();
22361
+ Ie = new zr();
22362
22362
  j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22363
22363
  tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
22364
22364
  lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
22365
- Pn = (a2) => a2.localPeer.id;
22366
- En = (a2) => a2.localPeer.audioTrack;
22367
- bn = (a2) => a2.localPeer.videoTrack;
22368
- In = (a2, e) => e;
22369
- Ka = (a2, e) => e;
22370
- Rn = (a2) => a2.remoteTrackStats;
22371
- qa = (a2) => a2.peerStats;
22365
+ En = (a2) => a2.localPeer.id;
22366
+ bn = (a2) => a2.localPeer.audioTrack;
22367
+ In = (a2) => a2.localPeer.videoTrack;
22368
+ Rn = (a2, e) => e;
22369
+ qa = (a2, e) => e;
22370
+ An = (a2) => a2.remoteTrackStats;
22371
+ ja = (a2) => a2.peerStats;
22372
22372
  ts = (a2) => a2.localTrackStats;
22373
- Re = createSelector([qa, Pn], (a2, e) => a2[e]);
22374
- An = createSelector(Re, (a2) => {
22373
+ Ae = createSelector([ja, En], (a2, e) => a2[e]);
22374
+ Hn = createSelector(Ae, (a2) => {
22375
22375
  var e;
22376
22376
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22377
22377
  });
22378
- Hn = createSelector(Re, (a2) => {
22378
+ Cn = createSelector(Ae, (a2) => {
22379
22379
  var e;
22380
22380
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
22381
22381
  });
22382
- Cn = createSelector(Re, (a2) => {
22382
+ Ln = createSelector(Ae, (a2) => {
22383
22383
  var e;
22384
22384
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
22385
22385
  });
22386
- Ln = createSelector(Re, (a2) => {
22386
+ wn = createSelector(Ae, (a2) => {
22387
22387
  var e;
22388
22388
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
22389
22389
  });
22390
- wn = createSelector(Re, (a2) => {
22390
+ Dn = createSelector(Ae, (a2) => {
22391
22391
  var e;
22392
22392
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
22393
22393
  });
22394
- Dn = createSelector(Re, (a2) => {
22394
+ _n = createSelector(Ae, (a2) => {
22395
22395
  var e;
22396
22396
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
22397
22397
  });
22398
- _n = createSelector(Re, (a2) => {
22398
+ Nn = createSelector(Ae, (a2) => {
22399
22399
  var e;
22400
22400
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
22401
22401
  });
22402
- Nn = createSelector(Re, (a2) => {
22402
+ On = createSelector(Ae, (a2) => {
22403
22403
  var e;
22404
22404
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22405
22405
  });
22406
- On = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
22407
- xn = createSelector([Rn, Ka], (a2, e) => e ? a2[e] : void 0);
22408
- is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
22409
- Un = A(On);
22406
+ xn = createSelector([ja, Rn], (a2, e) => e ? a2[e] : void 0);
22407
+ Un = createSelector([An, qa], (a2, e) => e ? a2[e] : void 0);
22408
+ is = createSelector([ts, qa], (a2, e) => e ? a2[e] : void 0);
22410
22409
  Bn = A(xn);
22411
- Vn = createSelector([ts, En], (a2, e) => {
22410
+ Vn = A(Un);
22411
+ Fn = createSelector([ts, bn], (a2, e) => {
22412
22412
  var t;
22413
22413
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22414
22414
  });
22415
- Fn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22416
- Gn = createSelector([ts, bn], (a2, e) => {
22415
+ Gn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22416
+ Wn = createSelector([ts, In], (a2, e) => {
22417
22417
  var t;
22418
22418
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22419
22419
  });
22420
- Wn = A(createSelector(is, (a2) => a2));
22420
+ $n = A(createSelector(is, (a2) => a2));
22421
22421
  }
22422
22422
  });
22423
22423
 
@@ -22630,7 +22630,7 @@ var init_StreamActions = __esm({
22630
22630
  };
22631
22631
  RecordingPauseStatus = () => {
22632
22632
  const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
22633
- if (recording.hls && recording.hls.state === Is.PAUSED) {
22633
+ if (recording.hls && recording.hls.state === Rs.PAUSED) {
22634
22634
  return /* @__PURE__ */ import_react88.default.createElement(
22635
22635
  Tooltip,
22636
22636
  {
@@ -22942,7 +22942,7 @@ var init_useUnreadPollQuizPresent = __esm({
22942
22942
  init_dist();
22943
22943
  import_react_sdk44 = require("@100mslive/react-sdk");
22944
22944
  useUnreadPollQuizPresent = () => {
22945
- const localPeerID = (0, import_react_sdk44.useHMSStore)(Pe);
22945
+ const localPeerID = (0, import_react_sdk44.useHMSStore)(Ee);
22946
22946
  const notification = (0, import_react_sdk44.useHMSNotifications)(import_react_sdk44.HMSNotificationTypes.POLL_STARTED);
22947
22947
  const [unreadPollQuiz, setUnreadPollQuiz] = (0, import_react92.useState)(false);
22948
22948
  (0, import_react92.useEffect)(() => {
@@ -28017,7 +28017,7 @@ var init_Chat = __esm({
28017
28017
  const listRef = (0, import_react153.useRef)(null);
28018
28018
  const hmsActions = (0, import_react_sdk74.useHMSActions)();
28019
28019
  const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
28020
- const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(Vm("chatState" /* CHAT_STATE */)) || {};
28020
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(Fm("chatState" /* CHAT_STATE */)) || {};
28021
28021
  const isMobile = (0, import_react_use25.useMedia)(config.media.md);
28022
28022
  const isMobileHLSStream = useMobileHLSStream();
28023
28023
  const isLandscapeStream = useLandscapeHLSStream();
@@ -28107,7 +28107,7 @@ var init_Chat = __esm({
28107
28107
  scrollToBottom,
28108
28108
  listRef
28109
28109
  }) => {
28110
- const unreadCount = (0, import_react_sdk74.useHMSStore)(cm);
28110
+ const unreadCount = (0, import_react_sdk74.useHMSStore)(dm);
28111
28111
  if (!unreadCount || !listRef.current) {
28112
28112
  return null;
28113
28113
  }
@@ -29298,12 +29298,12 @@ var init_VBPicker = __esm({
29298
29298
  const [blurAmount, setBlurAmount] = (0, import_react163.useState)(VBHandler.getBlurAmount() || 0.5);
29299
29299
  const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
29300
29300
  const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
29301
- const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(ym);
29302
- const effectsKey = (0, import_react_sdk82.useHMSStore)(Pm);
29301
+ const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(km);
29302
+ const effectsKey = (0, import_react_sdk82.useHMSStore)(Em);
29303
29303
  const isMobile = (0, import_react_use31.useMedia)(config.media.md);
29304
29304
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
29305
29305
  const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
29306
- const background = (0, import_react_sdk82.useHMSStore)(Bm(APP_DATA.background));
29306
+ const background = (0, import_react_sdk82.useHMSStore)(Vm(APP_DATA.background));
29307
29307
  const mediaList = backgroundMedia.map((media) => media.url || "");
29308
29308
  const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
29309
29309
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -30497,10 +30497,10 @@ var init_useTileLayout = __esm({
30497
30497
  tileHeight = maxRowHeight;
30498
30498
  } else {
30499
30499
  const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
30500
- for (const h of calcHeights) {
30501
- if (h < maxRowHeight) {
30502
- if (tileHeight < h) {
30503
- tileHeight = h;
30500
+ for (const h2 of calcHeights) {
30501
+ if (h2 < maxRowHeight) {
30502
+ if (tileHeight < h2) {
30503
+ tileHeight = h2;
30504
30504
  }
30505
30505
  }
30506
30506
  }
@@ -31226,9 +31226,9 @@ var init_ScreenshareLayout = __esm({
31226
31226
  }
31227
31227
  });
31228
31228
 
31229
- // ../../../../../../../tmp/tmp-2801-4HzalvycZ9jn/1912c3c9a0b1/index.css
31230
- var init_c3c9a0b1 = __esm({
31231
- "../../../../../../../tmp/tmp-2801-4HzalvycZ9jn/1912c3c9a0b1/index.css"() {
31229
+ // ../../../../../../../tmp/tmp-2882-enE6hFgCq0LS/19135e16f310/index.css
31230
+ var init_e16f310 = __esm({
31231
+ "../../../../../../../tmp/tmp-2882-enE6hFgCq0LS/19135e16f310/index.css"() {
31232
31232
  }
31233
31233
  });
31234
31234
 
@@ -31250,7 +31250,7 @@ var init_WhiteboardLayout = __esm({
31250
31250
  init_ProminenceLayout();
31251
31251
  init_useUISettings();
31252
31252
  init_constants();
31253
- init_c3c9a0b1();
31253
+ init_e16f310();
31254
31254
  WhiteboardEmbed = () => {
31255
31255
  const isMobile = (0, import_react_use43.useMedia)(config.media.md);
31256
31256
  const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
@@ -36549,10 +36549,10 @@ var require_react_is_production_min = __commonJS({
36549
36549
  var e = b2 ? Symbol.for("react.fragment") : 60107;
36550
36550
  var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
36551
36551
  var g = b2 ? Symbol.for("react.profiler") : 60114;
36552
- var h = b2 ? Symbol.for("react.provider") : 60109;
36553
- var k2 = b2 ? Symbol.for("react.context") : 60110;
36552
+ var h2 = b2 ? Symbol.for("react.provider") : 60109;
36553
+ var k = b2 ? Symbol.for("react.context") : 60110;
36554
36554
  var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
36555
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
36555
+ var m = b2 ? Symbol.for("react.concurrent_mode") : 60111;
36556
36556
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
36557
36557
  var p = b2 ? Symbol.for("react.suspense") : 60113;
36558
36558
  var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
@@ -36561,7 +36561,7 @@ var require_react_is_production_min = __commonJS({
36561
36561
  var v = b2 ? Symbol.for("react.block") : 60121;
36562
36562
  var w = b2 ? Symbol.for("react.fundamental") : 60117;
36563
36563
  var x = b2 ? Symbol.for("react.responder") : 60118;
36564
- var y = b2 ? Symbol.for("react.scope") : 60119;
36564
+ var y2 = b2 ? Symbol.for("react.scope") : 60119;
36565
36565
  function z2(a2) {
36566
36566
  if ("object" === typeof a2 && null !== a2) {
36567
36567
  var u = a2.$$typeof;
@@ -36569,7 +36569,7 @@ var require_react_is_production_min = __commonJS({
36569
36569
  case c:
36570
36570
  switch (a2 = a2.type, a2) {
36571
36571
  case l2:
36572
- case m2:
36572
+ case m:
36573
36573
  case e:
36574
36574
  case g:
36575
36575
  case f2:
@@ -36577,11 +36577,11 @@ var require_react_is_production_min = __commonJS({
36577
36577
  return a2;
36578
36578
  default:
36579
36579
  switch (a2 = a2 && a2.$$typeof, a2) {
36580
- case k2:
36580
+ case k:
36581
36581
  case n:
36582
36582
  case t:
36583
36583
  case r:
36584
- case h:
36584
+ case h2:
36585
36585
  return a2;
36586
36586
  default:
36587
36587
  return u;
@@ -36593,12 +36593,12 @@ var require_react_is_production_min = __commonJS({
36593
36593
  }
36594
36594
  }
36595
36595
  function A2(a2) {
36596
- return z2(a2) === m2;
36596
+ return z2(a2) === m;
36597
36597
  }
36598
36598
  exports.AsyncMode = l2;
36599
- exports.ConcurrentMode = m2;
36600
- exports.ContextConsumer = k2;
36601
- exports.ContextProvider = h;
36599
+ exports.ConcurrentMode = m;
36600
+ exports.ContextConsumer = k;
36601
+ exports.ContextProvider = h2;
36602
36602
  exports.Element = c;
36603
36603
  exports.ForwardRef = n;
36604
36604
  exports.Fragment = e;
@@ -36613,10 +36613,10 @@ var require_react_is_production_min = __commonJS({
36613
36613
  };
36614
36614
  exports.isConcurrentMode = A2;
36615
36615
  exports.isContextConsumer = function(a2) {
36616
- return z2(a2) === k2;
36616
+ return z2(a2) === k;
36617
36617
  };
36618
36618
  exports.isContextProvider = function(a2) {
36619
- return z2(a2) === h;
36619
+ return z2(a2) === h2;
36620
36620
  };
36621
36621
  exports.isElement = function(a2) {
36622
36622
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c;
@@ -36646,7 +36646,7 @@ var require_react_is_production_min = __commonJS({
36646
36646
  return z2(a2) === p;
36647
36647
  };
36648
36648
  exports.isValidElementType = function(a2) {
36649
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y || a2.$$typeof === v);
36649
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
36650
36650
  };
36651
36651
  exports.typeOf = z2;
36652
36652
  }
@@ -37035,11 +37035,11 @@ var require_factoryWithTypeCheckers = __commonJS({
37035
37035
  shape: createShapeTypeChecker,
37036
37036
  exact: createStrictShapeTypeChecker
37037
37037
  };
37038
- function is2(x, y) {
37039
- if (x === y) {
37040
- return x !== 0 || 1 / x === 1 / y;
37038
+ function is2(x, y2) {
37039
+ if (x === y2) {
37040
+ return x !== 0 || 1 / x === 1 / y2;
37041
37041
  } else {
37042
- return x !== x && y !== y;
37042
+ return x !== x && y2 !== y2;
37043
37043
  }
37044
37044
  }
37045
37045
  function PropTypeError(message, data3) {