@100mslive/roomkit-react 0.3.17-alpha.1 → 0.3.17-alpha.3

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_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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.1", 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.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "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: "20240721.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:1839", 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.1", 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: "10143763991", 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: "4d8b6da71642585295d7dfc3b05c43809f35ea8c", 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: "643ed4a2d79963ce78c8539272c639d33ab5a93b977b148da9d4cd26f3365d28", 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--1722254244580-0.7597921654222386:/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--1722254244381-0.5197699882516091:/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--1722254218535-0.07559875299263608:/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--1722254218346-0.7948146992289666:/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_5d9ac9a8-777a-47cd-b693-6136da04d5f6", INVOCATION_ID: "b157570d98a943c18f1a5bbcd1444fa2", 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: "618", 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 6", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.1", 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.1", 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: "4d8b6da71642585295d7dfc3b05c43809f35ea8c", 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_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", 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_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0e37254f-bc19-4440-b761-919f293f6b6f", 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.3", 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.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0e37254f-bc19-4440-b761-919f293f6b6f", 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.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "591", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18997", 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.3", 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: "10176675555", 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: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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: "455f367230d30eee00ec06833ecc19b508a1ae06122395c10d17b459ddf90139", 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--1722414197549-0.9842475188723876:/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--1722414197351-0.9464417725897856:/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--1722414171124-0.1772205229990096:/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--1722414170942-0.6331922006341999:/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_c58a2169-06f8-439b-9740-2d84d1a25203", INVOCATION_ID: "3bf0a46eb6654fe1bab650b4899ff8cb", 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: "620", 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 26", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.3", 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.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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_0e37254f-bc19-4440-b761-919f293f6b6f", 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_0e37254f-bc19-4440-b761-919f293f6b6f", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0e37254f-bc19-4440-b761-919f293f6b6f" };
113
113
  }
114
114
  });
115
115
 
@@ -21286,13 +21286,13 @@ function pt(a2) {
21286
21286
  function eo(a2) {
21287
21287
  return a2 && a2.source === "screen";
21288
21288
  }
21289
- function ri(a2) {
21289
+ function ii(a2) {
21290
21290
  return a2 && a2.source === "audioplaylist";
21291
21291
  }
21292
21292
  function ht(a2) {
21293
21293
  return a2 && a2.source === "videoplaylist";
21294
21294
  }
21295
- function ds(a2) {
21295
+ function cs(a2) {
21296
21296
  return a2 ? !!(a2 != null && a2.degraded) : false;
21297
21297
  }
21298
21298
  function je(a2, e) {
@@ -21304,7 +21304,7 @@ function mt(a2) {
21304
21304
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
21305
21305
  }
21306
21306
  function so() {
21307
- if (O && window) {
21307
+ if (U && window) {
21308
21308
  let a2 = window.location.hostname;
21309
21309
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21310
21310
  }
@@ -21313,17 +21313,17 @@ function so() {
21313
21313
  function oe(a2) {
21314
21314
  return a2 != null;
21315
21315
  }
21316
- function ft(a2 = "prod", e) {
21316
+ function Tt(a2 = "prod", e) {
21317
21317
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21318
21318
  if (Ue)
21319
21319
  return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21320
- let r = ge.getOS(), s = ge.getDevice(), o = ge.getBrowser(), n = yr(`web_${r.name}`), l = r.version || "", u = yr(`${o.name}_${o.version}`), p = u;
21321
- return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21320
+ let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n = Mr(`web_${r.name}`), l = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21321
+ return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21322
21322
  }
21323
- function yr(a2) {
21323
+ function Mr(a2) {
21324
21324
  return a2.replace(/ /g, "_");
21325
21325
  }
21326
- function oi(a2, e = 300) {
21326
+ function ai(a2, e = 300) {
21327
21327
  let t;
21328
21328
  return function(...i) {
21329
21329
  clearTimeout(t), t = void 0;
@@ -21342,16 +21342,16 @@ function Bm(a2) {
21342
21342
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21343
21343
  };
21344
21344
  }
21345
- var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, ei, as, os, ss, m, M, Sr, Xa, Mr, gr, Za, ns, Tr, cs, us, to, d, ge, O, ps, Ue, ro, ic, hs, ms, gs, Ts, Qe, k, f, ao, S, vr, fs, le, vs, ys, ks, H, y, kr, Q, Pr, Er, Ar, Rs, As, Is, Hs, Cs, Ir, Ls, Hr, Ns, Cr, Os, Lr, Dr, Bs, Vs, Pt, rt, B, Ho, Kh, qh, K, fi, Qs, N, Fr, Co, _e, Qh, Lo, me, Do, te, ye, zh, Yh, ae, Y, wo, Ys, Xh, Zh, Wr, _o, tm, im, rm, sm, am, om, nm, cm, At, No, dm, ie, Zs, lm, um, Se, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Rm, xo, Am, sa, $r, aa, oa, na, ca, da, la, ua, pa, It, b, Kr, Ht, ha, Uo, Bo, q, qr, Vo, Fo, Go, Wo, $o, X, Um, Fm, Gm, vi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, RS, AS, IS, Zo, en, sn, Yr, Pe, j, ir, ur, Pn, En, bn, Rn, Ka, An, qa, is, be, In, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, rs, Un, Bn, Vn, Fn, Gn, Wn;
21345
+ var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, $t, 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, d, Te, U, us, Ue, ro, ic, ps, hs, gs, Ts, Qe, k, f, ao, S, fr, fs, ue, vs, ys, ks, H, y, yr, Q, kr, Pr, Rr, Rs, As, Is, Hs, Cs, Ar, Ls, Ir, Ns, Hr, Os, Cr, Lr, Bs, Vs, kt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Vr, Co, _e, Qh, Lo, Se, Do, te, ye, zh, Yh, ae, Y, wo, Ys, Xh, Zh, Gr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, ie, Zs, lm, um, ge, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Rm, xo, Am, sa, Wr, aa, oa, na, ca, da, la, ua, pa, At, b, $r, It, ha, Uo, Bo, q, Kr, Vo, Fo, Go, Wo, $o, X, Um, Fm, Gm, fi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, RS, AS, IS, Zo, en, sn, zr, Pe, j, tr, lr, Pn, En, bn, Rn, Ka, An, qa, ts, be, In, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, is, Un, Bn, Vn, Fn, Gn, Wn;
21346
21346
  var init_dist = __esm({
21347
21347
  "../hms-video-store/dist/index.js"() {
21348
21348
  "use strict";
21349
21349
  init_define_process_env();
21350
21350
  init_es();
21351
21351
  import_ua_parser_js = __toESM(require_ua_parser());
21352
- import_lodash3 = __toESM(require_lodash2());
21353
21352
  import_uuid3 = require("uuid");
21354
21353
  import_uuid4 = require("uuid");
21354
+ import_lodash3 = __toESM(require_lodash2());
21355
21355
  init_adapter_core();
21356
21356
  import_lodash4 = __toESM(require_lodash2());
21357
21357
  import_uuid5 = require("uuid");
@@ -21365,7 +21365,7 @@ var init_dist = __esm({
21365
21365
  import_eventemitter22 = require("eventemitter2");
21366
21366
  import_uuid8 = require("uuid");
21367
21367
  import_eventemitter23 = require("eventemitter2");
21368
- Kt = __toESM(require_lib());
21368
+ $t = __toESM(require_lib());
21369
21369
  import_eventemitter24 = __toESM(require("eventemitter2"));
21370
21370
  import_uuid9 = require("uuid");
21371
21371
  import_uuid10 = require("uuid");
@@ -21373,38 +21373,38 @@ var init_dist = __esm({
21373
21373
  ja = Object.defineProperty;
21374
21374
  Ja = Object.defineProperties;
21375
21375
  Qa = Object.getOwnPropertyDescriptors;
21376
- ei = Object.getOwnPropertySymbols;
21377
- as = Object.prototype.hasOwnProperty;
21378
- os = Object.prototype.propertyIsEnumerable;
21379
- ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21376
+ Zt = Object.getOwnPropertySymbols;
21377
+ ss = Object.prototype.hasOwnProperty;
21378
+ as = Object.prototype.propertyIsEnumerable;
21379
+ rs = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21380
21380
  m = (a2, e) => {
21381
21381
  for (var t in e || (e = {}))
21382
- as.call(e, t) && ss(a2, t, e[t]);
21383
- if (ei)
21384
- for (var t of ei(e))
21385
- os.call(e, t) && ss(a2, t, e[t]);
21382
+ ss.call(e, t) && rs(a2, t, e[t]);
21383
+ if (Zt)
21384
+ for (var t of Zt(e))
21385
+ as.call(e, t) && rs(a2, t, e[t]);
21386
21386
  return a2;
21387
21387
  };
21388
21388
  M = (a2, e) => Ja(a2, Qa(e));
21389
- Sr = (a2, e) => {
21389
+ mr = (a2, e) => {
21390
21390
  var t = {};
21391
21391
  for (var i in a2)
21392
- as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21393
- if (a2 != null && ei)
21394
- for (var i of ei(a2))
21395
- e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21392
+ ss.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21393
+ if (a2 != null && Zt)
21394
+ for (var i of Zt(a2))
21395
+ e.indexOf(i) < 0 && as.call(a2, i) && (t[i] = a2[i]);
21396
21396
  return t;
21397
21397
  };
21398
21398
  Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21399
- Mr = Xa((Fc, no) => {
21400
- no.exports = { version: "0.12.17-alpha.1", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21399
+ vr = Xa((Ic, no) => {
21400
+ no.exports = { version: "0.12.17-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21401
21401
  });
21402
- gr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(gr || {});
21402
+ Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21403
21403
  Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21404
- ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21405
- Tr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(Tr || {});
21406
- cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21407
- us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
21404
+ os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
21405
+ gr = ((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 || {});
21406
+ ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
21407
+ ls = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ls || {});
21408
21408
  to = typeof window != "undefined" && typeof window.expect != "undefined";
21409
21409
  d = class {
21410
21410
  static v(e, ...t) {
@@ -21472,12 +21472,12 @@ var init_dist = __esm({
21472
21472
  }
21473
21473
  };
21474
21474
  d.level = to ? 7 : 0;
21475
- ge = new import_ua_parser_js.UAParser();
21476
- O = typeof window != "undefined";
21477
- Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21475
+ Te = new import_ua_parser_js.UAParser();
21476
+ U = typeof window != "undefined";
21477
+ Ue = typeof window == "undefined" && !((us = Te.getBrowser().name) != null && us.toLowerCase().includes("electron"));
21478
21478
  ro = () => !Ue;
21479
21479
  ic = ro();
21480
- gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21480
+ gs = ((hs = (ps = Te.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
21481
21481
  Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21482
21482
  Qe = so();
21483
21483
  k = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
@@ -21618,7 +21618,7 @@ var init_dist = __esm({
21618
21618
  }, NoEntryPlaying(a2, e) {
21619
21619
  return new f(k.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21620
21620
  } } };
21621
- vr = class {
21621
+ fr = class {
21622
21622
  constructor() {
21623
21623
  this.valuesMap = /* @__PURE__ */ new Map();
21624
21624
  }
@@ -21645,19 +21645,19 @@ var init_dist = __esm({
21645
21645
  };
21646
21646
  fs = () => {
21647
21647
  try {
21648
- O && !localStorage && (window.localStorage = new vr());
21648
+ U && !localStorage && (window.localStorage = new fr());
21649
21649
  } catch (a2) {
21650
21650
  d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21651
21651
  }
21652
21652
  };
21653
- le = class {
21653
+ ue = class {
21654
21654
  constructor(e) {
21655
21655
  this.key = e;
21656
21656
  this.storage = null;
21657
21657
  }
21658
21658
  getStorage() {
21659
21659
  try {
21660
- return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21660
+ return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21661
21661
  } catch (e) {
21662
21662
  return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21663
21663
  }
@@ -21678,14 +21678,14 @@ var init_dist = __esm({
21678
21678
  }
21679
21679
  };
21680
21680
  vs = () => {
21681
- let a2, e = new le("hms-analytics-deviceId"), t = e.get();
21681
+ let a2, e = new ue("hms-analytics-deviceId"), t = e.get();
21682
21682
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21683
21683
  };
21684
- ys = Mr().version;
21684
+ ys = vr().version;
21685
21685
  ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21686
21686
  H = class {
21687
21687
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21688
- this.metadata = { peer: {}, userAgent: ft() };
21688
+ this.metadata = { peer: {}, userAgent: Tt() };
21689
21689
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = vs();
21690
21690
  }
21691
21691
  toSignalParams() {
@@ -21702,12 +21702,12 @@ var init_dist = __esm({
21702
21702
  return new H({ name: i, level: r, properties: s });
21703
21703
  }
21704
21704
  static preview(i) {
21705
- var r = i, { error: e } = r, t = Sr(r, ["error"]);
21705
+ var r = i, { error: e } = r, t = mr(r, ["error"]);
21706
21706
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21707
21707
  return new H({ name: s, level: o, properties: n });
21708
21708
  }
21709
21709
  static join(i) {
21710
- var r = i, { error: e } = r, t = Sr(r, ["error"]);
21710
+ var r = i, { error: e } = r, t = mr(r, ["error"]);
21711
21711
  let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21712
21712
  return new H({ name: s, level: o, properties: n });
21713
21713
  }
@@ -21777,6 +21777,9 @@ var init_dist = __esm({
21777
21777
  static krispStop() {
21778
21778
  return new H({ name: "krisp.stop", level: 1 });
21779
21779
  }
21780
+ static interruption(e, t, i) {
21781
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ type: t }, i) });
21782
+ }
21780
21783
  static eventNameFor(e, t) {
21781
21784
  return `${e}.${t ? "success" : "failed"}`;
21782
21785
  }
@@ -21789,9 +21792,9 @@ var init_dist = __esm({
21789
21792
  }
21790
21793
  };
21791
21794
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21792
- kr = class {
21795
+ yr = class {
21793
21796
  constructor() {
21794
- this.storage = new le("hms-device-selection");
21797
+ this.storage = new ue("hms-device-selection");
21795
21798
  this.remember = false;
21796
21799
  this.TAG = "[HMSDeviceStorage]";
21797
21800
  }
@@ -21823,18 +21826,18 @@ var init_dist = __esm({
21823
21826
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
21824
21827
  }
21825
21828
  };
21826
- Q = new kr();
21827
- Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21828
- Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
21829
- Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21829
+ Q = new yr();
21830
+ kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
21831
+ Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
21832
+ Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
21830
21833
  Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
21831
21834
  As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21832
21835
  Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
21833
21836
  Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21834
21837
  Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21835
- Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
21838
+ Ar = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ar || {});
21836
21839
  Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21837
- Hr = class {
21840
+ Ir = class {
21838
21841
  constructor() {
21839
21842
  this.TAG = "[HMSIntersectionObserverWrapper]";
21840
21843
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21857,12 +21860,12 @@ var init_dist = __esm({
21857
21860
  this.createObserver();
21858
21861
  }
21859
21862
  isSupported() {
21860
- let e = O && typeof window.IntersectionObserver != "undefined";
21863
+ let e = U && typeof window.IntersectionObserver != "undefined";
21861
21864
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21862
21865
  }
21863
21866
  };
21864
- Ns = new Hr();
21865
- Cr = class {
21867
+ Ns = new Ir();
21868
+ Hr = class {
21866
21869
  constructor() {
21867
21870
  this.TAG = "[HMSResizeObserverWrapper]";
21868
21871
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21875,7 +21878,7 @@ var init_dist = __esm({
21875
21878
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
21876
21879
  };
21877
21880
  this.createObserver = () => {
21878
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(oi(this.handleResize, 300)));
21881
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(ai(this.handleResize, 300)));
21879
21882
  };
21880
21883
  this.handleResize = (e) => {
21881
21884
  var t;
@@ -21885,16 +21888,16 @@ var init_dist = __esm({
21885
21888
  this.createObserver();
21886
21889
  }
21887
21890
  isSupported() {
21888
- let e = O && typeof window.ResizeObserver != "undefined";
21891
+ let e = U && typeof window.ResizeObserver != "undefined";
21889
21892
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
21890
21893
  }
21891
21894
  };
21892
- Os = new Cr();
21893
- Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
21894
- Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
21895
+ Os = new Hr();
21896
+ Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
21897
+ Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
21895
21898
  Bs = "https://event.100ms.live/v2/client/report";
21896
21899
  Vs = "https://event-nonprod.100ms.live/v2/client/report";
21897
- Pt = Math.pow(2, 31) - 1;
21900
+ kt = Math.pow(2, 31) - 1;
21898
21901
  rt = class {
21899
21902
  };
21900
21903
  rt.makePeerId = () => (0, import_uuid7.v4)();
@@ -21903,15 +21906,15 @@ var init_dist = __esm({
21903
21906
  Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
21904
21907
  qh = createSelector(B, (a2) => a2.id);
21905
21908
  K = (a2) => a2.peers;
21906
- fi = (a2) => a2.messages.byID;
21909
+ Ti = (a2) => a2.messages.byID;
21907
21910
  Qs = (a2) => a2.messages.allIDs;
21908
21911
  N = (a2) => a2.tracks;
21909
- Fr = (a2) => a2.appData;
21912
+ Vr = (a2) => a2.appData;
21910
21913
  Co = (a2) => a2.speakers;
21911
21914
  _e = createSelector([B], (a2) => a2 && a2.isConnected);
21912
21915
  Qh = createSelector([_e, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
21913
21916
  Lo = (a2) => a2.hideLocalPeer;
21914
- me = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21917
+ Se = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21915
21918
  Do = createSelector(N, (a2) => Object.values(a2));
21916
21919
  te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
21917
21920
  ye = createSelector(B, (a2) => a2.localPeer);
@@ -21924,7 +21927,7 @@ var init_dist = __esm({
21924
21927
  let i = t ? [...t] : [];
21925
21928
  return a2 && i.unshift(a2), e && i.unshift(e), i;
21926
21929
  });
21927
- Xh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
21930
+ Xh = createSelector(Se, (a2) => a2.filter((e) => !e.isLocal));
21928
21931
  Zh = createSelector(K, Co, (a2, e) => {
21929
21932
  let t = Object.entries(e).sort((i, r) => {
21930
21933
  var n, l;
@@ -21938,7 +21941,7 @@ var init_dist = __esm({
21938
21941
  }
21939
21942
  return null;
21940
21943
  });
21941
- Wr = createSelector(te, N, (a2, e) => {
21944
+ Gr = createSelector(te, N, (a2, e) => {
21942
21945
  let { video: t, audio: i } = xe(e, a2);
21943
21946
  return !!(t || i);
21944
21947
  });
@@ -21978,20 +21981,20 @@ var init_dist = __esm({
21978
21981
  am = createSelector(K, N, (a2, e) => {
21979
21982
  for (let t in e) {
21980
21983
  let i = e[t];
21981
- if (ri(i) && i.peerId)
21984
+ if (ii(i) && i.peerId)
21982
21985
  return a2[i.peerId];
21983
21986
  }
21984
21987
  });
21985
- om = createSelector(Do, (a2) => a2.filter(ds));
21988
+ om = createSelector(Do, (a2) => a2.filter(cs));
21986
21989
  nm = createSelector(Qs, (a2) => a2.length);
21987
- cm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
21988
- At = createSelector(Qs, fi, (a2, e) => {
21990
+ cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21991
+ Rt = createSelector(Qs, Ti, (a2, e) => {
21989
21992
  let t = [];
21990
21993
  return a2.forEach((i) => {
21991
21994
  t.push(e[i]);
21992
21995
  }), t;
21993
21996
  });
21994
- No = createSelector(At, (a2) => a2.filter((e) => {
21997
+ No = createSelector(Rt, (a2) => a2.filter((e) => {
21995
21998
  var t;
21996
21999
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
21997
22000
  }));
@@ -22000,14 +22003,14 @@ var init_dist = __esm({
22000
22003
  Zs = createSelector(ie, (a2) => a2 === "Preview");
22001
22004
  lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
22002
22005
  um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22003
- Se = (a2) => a2.roles;
22004
- pm = createSelector([Se], (a2) => Object.keys(a2));
22005
- at = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22006
+ ge = (a2) => a2.roles;
22007
+ pm = createSelector([ge], (a2) => Object.keys(a2));
22008
+ at = createSelector([te, ge], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22006
22009
  Oo = (a2) => {
22007
22010
  var e;
22008
22011
  return (e = a2.preview) == null ? void 0 : e.asRole;
22009
22012
  };
22010
- ea = createSelector([Oo, Se], (a2, e) => a2 ? e[a2] : null);
22013
+ ea = createSelector([Oo, ge], (a2, e) => a2 ? e[a2] : null);
22011
22014
  hm = createSelector([at], (a2) => {
22012
22015
  var e;
22013
22016
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
@@ -22023,23 +22026,23 @@ var init_dist = __esm({
22023
22026
  ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
22024
22027
  km = createSelector(B, (a2) => a2.effectsKey);
22025
22028
  ia = (a2) => a2.polls;
22026
- Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
22029
+ Rm = createSelector(Se, (a2) => a2.filter((e) => e.isHandRaised));
22027
22030
  xo = (a2) => a2.whiteboards;
22028
22031
  Am = createSelector(xo, (a2) => Object.values(a2)[0]);
22029
22032
  sa = (a2 = "audio") => (e) => e.playlist[a2].list;
22030
- $r = (a2 = "audio") => (e) => e.playlist[a2].selection;
22033
+ Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22031
22034
  aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22032
22035
  oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22033
22036
  na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22034
22037
  ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
22035
22038
  da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
22036
- la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
22039
+ la = (a2 = "audio") => createSelector(sa(a2), Wr(a2), (e, t) => {
22037
22040
  if (t.id)
22038
22041
  return e[t.id];
22039
22042
  });
22040
- ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22041
- pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22042
- It = "HMS-Store:";
22043
+ ua = { selection: Wr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22044
+ pa = { selection: Wr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22045
+ At = "HMS-Store:";
22043
22046
  b = class {
22044
22047
  static v(e, ...t) {
22045
22048
  this.log(0, e, ...t);
@@ -22069,23 +22072,23 @@ var init_dist = __esm({
22069
22072
  if (!(this.level.valueOf() > e.valueOf()))
22070
22073
  switch (e) {
22071
22074
  case 0: {
22072
- console.log(It, ...t);
22075
+ console.log(At, ...t);
22073
22076
  break;
22074
22077
  }
22075
22078
  case 1: {
22076
- console.debug(It, ...t);
22079
+ console.debug(At, ...t);
22077
22080
  break;
22078
22081
  }
22079
22082
  case 2: {
22080
- console.info(It, ...t);
22083
+ console.info(At, ...t);
22081
22084
  break;
22082
22085
  }
22083
22086
  case 3: {
22084
- console.warn(It, ...t);
22087
+ console.warn(At, ...t);
22085
22088
  break;
22086
22089
  }
22087
22090
  case 6: {
22088
- console.error(It, ...t);
22091
+ console.error(At, ...t);
22089
22092
  break;
22090
22093
  }
22091
22094
  case 4: {
@@ -22106,32 +22109,32 @@ var init_dist = __esm({
22106
22109
  }
22107
22110
  };
22108
22111
  b.level = 0;
22109
- Kr = (a2, e) => e;
22110
- Ht = (a2, e) => e;
22112
+ $r = (a2, e) => e;
22113
+ It = (a2, e) => e;
22111
22114
  ha = (a2, e) => e;
22112
22115
  Uo = (a2, e) => e;
22113
22116
  Bo = (a2, e) => e;
22114
- q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
22115
- qr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
22116
- Vo = createSelector([N, Ht], (a2, e) => {
22117
+ q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
22118
+ Kr = createSelector([N, It], (a2, e) => e ? a2[e] : null);
22119
+ Vo = createSelector([N, It], (a2, e) => {
22117
22120
  if (!e)
22118
22121
  return null;
22119
22122
  let t = a2[e];
22120
22123
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22121
22124
  });
22122
- Fo = createSelector([N, Ht], (a2, e) => {
22125
+ Fo = createSelector([N, It], (a2, e) => {
22123
22126
  if (!e)
22124
22127
  return null;
22125
22128
  let t = a2[e];
22126
22129
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22127
22130
  });
22128
- Go = createSelector([N, Ht], (a2, e) => {
22131
+ Go = createSelector([N, It], (a2, e) => {
22129
22132
  if (!e)
22130
22133
  return null;
22131
22134
  let t = a2[e];
22132
22135
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22133
22136
  });
22134
- Wo = createSelector([N, Ht], (a2, e) => {
22137
+ Wo = createSelector([N, It], (a2, e) => {
22135
22138
  if (!e)
22136
22139
  return null;
22137
22140
  let t = a2[e];
@@ -22139,13 +22142,13 @@ var init_dist = __esm({
22139
22142
  });
22140
22143
  $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
22141
22144
  X = I(q);
22142
- Um = I(createSelector([Fr, Uo], (a2, e) => {
22145
+ Um = I(createSelector([Vr, Uo], (a2, e) => {
22143
22146
  if (a2)
22144
22147
  return e ? a2[e] : a2;
22145
22148
  }));
22146
22149
  Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22147
22150
  Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22148
- vi = I(qr);
22151
+ fi = I(Kr);
22149
22152
  ma = I(Vo);
22150
22153
  Wm = I(Fo);
22151
22154
  $m = I(Go);
@@ -22199,7 +22202,7 @@ var init_dist = __esm({
22199
22202
  eS = I(createSelector(N, q, (a2, e) => {
22200
22203
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22201
22204
  let r = a2[i];
22202
- return ri(r) && ut(r);
22205
+ return ii(r) && ut(r);
22203
22206
  });
22204
22207
  return t ? a2[t] : void 0;
22205
22208
  }));
@@ -22226,7 +22229,7 @@ var init_dist = __esm({
22226
22229
  return fa(t == null ? void 0 : t.id)(a2);
22227
22230
  });
22228
22231
  va = I((a2, e) => {
22229
- let t = qr(a2, e);
22232
+ let t = Kr(a2, e);
22230
22233
  if (t) {
22231
22234
  if (t.type !== "audio") {
22232
22235
  b.w("Please pass audio track here");
@@ -22244,7 +22247,7 @@ var init_dist = __esm({
22244
22247
  return va(t == null ? void 0 : t.id)(a2);
22245
22248
  });
22246
22249
  cS = I((a2, e) => {
22247
- let t = qr(a2, e);
22250
+ let t = Kr(a2, e);
22248
22251
  if (t) {
22249
22252
  if (t.type !== "video") {
22250
22253
  b.w("Please pass video track here");
@@ -22253,26 +22256,26 @@ var init_dist = __esm({
22253
22256
  return t.layer;
22254
22257
  }
22255
22258
  });
22256
- Ma = createSelector([At, ye, Kr], (a2, e, t) => {
22259
+ Ma = createSelector([Rt, ye, $r], (a2, e, t) => {
22257
22260
  if (t)
22258
22261
  return a2.filter((i) => {
22259
22262
  var r;
22260
22263
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22261
22264
  });
22262
22265
  });
22263
- ya = createSelector([At, ha], (a2, e) => {
22266
+ ya = createSelector([Rt, ha], (a2, e) => {
22264
22267
  if (e)
22265
22268
  return a2.filter((t) => {
22266
22269
  var i, r;
22267
22270
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22268
22271
  });
22269
22272
  });
22270
- Jo = createSelector(At, (a2) => a2.filter((e) => {
22273
+ Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22271
22274
  var t;
22272
22275
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22273
22276
  }));
22274
22277
  Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22275
- zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22278
+ zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22276
22279
  dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22277
22280
  lS = I(Ma);
22278
22281
  uS = I(ya);
@@ -22284,7 +22287,7 @@ var init_dist = __esm({
22284
22287
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22285
22288
  }));
22286
22289
  Yo = (a2) => a2.roleChangeRequests[0] || null;
22287
- RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22290
+ RS = createSelector([Yo, K, ge], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22288
22291
  AS = createSelector([at], (a2) => mt(a2));
22289
22292
  IS = createSelector([ea], (a2) => mt(a2));
22290
22293
  Zo = createSelector([Y, N], (a2, e) => {
@@ -22296,10 +22299,10 @@ var init_dist = __esm({
22296
22299
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22297
22300
  });
22298
22301
  sn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(sn || {});
22299
- Yr = class {
22302
+ zr = class {
22300
22303
  constructor() {
22301
22304
  this.TAG = "[HTTPAnalyticsTransport]";
22302
- this.failedEvents = new le("client-events");
22305
+ this.failedEvents = new ue("client-events");
22303
22306
  this.isConnected = true;
22304
22307
  this.env = null;
22305
22308
  this.websocketURL = "";
@@ -22341,10 +22344,10 @@ var init_dist = __esm({
22341
22344
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22342
22345
  }
22343
22346
  };
22344
- Pe = new Yr();
22347
+ Pe = new zr();
22345
22348
  j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22346
- ir = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ir || {});
22347
- ur = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ur || {});
22349
+ tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
22350
+ lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
22348
22351
  Pn = (a2) => a2.localPeer.id;
22349
22352
  En = (a2) => a2.localPeer.audioTrack;
22350
22353
  bn = (a2) => a2.localPeer.videoTrack;
@@ -22352,7 +22355,7 @@ var init_dist = __esm({
22352
22355
  Ka = (a2, e) => e;
22353
22356
  An = (a2) => a2.remoteTrackStats;
22354
22357
  qa = (a2) => a2.peerStats;
22355
- is = (a2) => a2.localTrackStats;
22358
+ ts = (a2) => a2.localTrackStats;
22356
22359
  be = createSelector([qa, Pn], (a2, e) => a2[e]);
22357
22360
  In = createSelector(be, (a2) => {
22358
22361
  var e;
@@ -22388,19 +22391,19 @@ var init_dist = __esm({
22388
22391
  });
22389
22392
  On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
22390
22393
  xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
22391
- rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
22394
+ is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
22392
22395
  Un = I(On);
22393
22396
  Bn = I(xn);
22394
- Vn = createSelector([is, En], (a2, e) => {
22397
+ Vn = createSelector([ts, En], (a2, e) => {
22395
22398
  var t;
22396
22399
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22397
22400
  });
22398
- Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22399
- Gn = createSelector([is, bn], (a2, e) => {
22401
+ Fn = I(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22402
+ Gn = createSelector([ts, bn], (a2, e) => {
22400
22403
  var t;
22401
22404
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22402
22405
  });
22403
- Wn = I(createSelector(rs, (a2) => a2));
22406
+ Wn = I(createSelector(is, (a2) => a2));
22404
22407
  }
22405
22408
  });
22406
22409
 
@@ -29879,21 +29882,14 @@ var init_PreviewJoin = __esm({
29879
29882
  setName(initialName);
29880
29883
  }
29881
29884
  }, [initialName]);
29882
- return roomState === import_react_sdk85.HMSRoomState.Preview ? /* @__PURE__ */ import_react168.default.createElement(Flex, { justify: "center", css: { size: "100%", position: "relative" } }, /* @__PURE__ */ import_react168.default.createElement(Container4, { css: { h: "100%", pt: "$10", "@md": { justifyContent: "space-between" } } }, toggleVideo ? null : /* @__PURE__ */ import_react168.default.createElement(Box, null), /* @__PURE__ */ import_react168.default.createElement(Flex, { direction: "column", justify: "center", css: { w: "100%", maxWidth: "640px" } }, /* @__PURE__ */ import_react168.default.createElement(Logo, null), /* @__PURE__ */ import_react168.default.createElement(
29885
+ return roomState === import_react_sdk85.HMSRoomState.Preview ? /* @__PURE__ */ import_react168.default.createElement(Flex, { justify: "center", css: { size: "100%", position: "relative" } }, /* @__PURE__ */ import_react168.default.createElement(Container4, { css: { h: "100%", pt: "$6", "@md": { justifyContent: "space-between", pt: "$10" } } }, toggleVideo ? null : /* @__PURE__ */ import_react168.default.createElement(Box, null), /* @__PURE__ */ import_react168.default.createElement(Flex, { direction: "column", justify: "center", css: { w: "100%", maxWidth: "600px", gap: "$8" } }, /* @__PURE__ */ import_react168.default.createElement(Logo, null), /* @__PURE__ */ import_react168.default.createElement(Text, { variant: "h4", css: { wordBreak: "break-word", textAlign: "center" } }, previewHeader.title), /* @__PURE__ */ import_react168.default.createElement(
29883
29886
  Text,
29884
29887
  {
29885
- variant: "h4",
29886
- css: { wordBreak: "break-word", textAlign: "center", mt: "$14", mb: "$4", "@md": { mt: "$8", mb: "$2" } }
29887
- },
29888
- previewHeader.title
29889
- ), /* @__PURE__ */ import_react168.default.createElement(
29890
- Text,
29891
- {
29892
- css: { c: "$on_surface_medium", my: "0", textAlign: "center", maxWidth: "100%", wordWrap: "break-word" },
29888
+ css: { c: "$on_surface_medium", textAlign: "center", maxWidth: "100%", wordWrap: "break-word" },
29893
29889
  variant: "sm"
29894
29890
  },
29895
29891
  previewHeader.sub_title
29896
- ), /* @__PURE__ */ import_react168.default.createElement(Flex, { justify: "center", css: { mt: "$14", "@md": { mt: "$8", mb: "0" }, gap: "$4" } }, isStreamingOn ? /* @__PURE__ */ import_react168.default.createElement(
29892
+ ), /* @__PURE__ */ import_react168.default.createElement(Flex, { justify: "center", css: { gap: "$4" } }, isStreamingOn ? /* @__PURE__ */ import_react168.default.createElement(
29897
29893
  Chip_default,
29898
29894
  {
29899
29895
  content: "LIVE",
@@ -29901,7 +29897,7 @@ var init_PreviewJoin = __esm({
29901
29897
  textColor: "#FFF",
29902
29898
  icon: /* @__PURE__ */ import_react168.default.createElement(Box, { css: { h: "$sm", w: "$sm", backgroundColor: "$on_primary_high", borderRadius: "$round" } })
29903
29899
  }
29904
- ) : null, /* @__PURE__ */ import_react168.default.createElement(Chip_default, { content: getParticipantChipContent(peerCount), hideIfNoContent: true }))), toggleVideo ? /* @__PURE__ */ import_react168.default.createElement(PreviewTile, { name, error: previewError }) : null, /* @__PURE__ */ import_react168.default.createElement(Box, { css: { w: "100%", maxWidth: `${Math.max(aspectRatio, 1) * 360}px` } }, /* @__PURE__ */ import_react168.default.createElement(PreviewControls, { hideSettings: !toggleVideo && !toggleAudio, vbEnabled: !!virtual_background }), /* @__PURE__ */ import_react168.default.createElement(
29900
+ ) : null, /* @__PURE__ */ import_react168.default.createElement(Chip_default, { content: getParticipantChipContent(peerCount), hideIfNoContent: true }))), toggleVideo ? /* @__PURE__ */ import_react168.default.createElement(PreviewTile, { name, error: previewError }) : null, /* @__PURE__ */ import_react168.default.createElement(Box, { css: { w: "100%", maxWidth: `${Math.max(aspectRatio, 1) * 340}px` } }, /* @__PURE__ */ import_react168.default.createElement(PreviewControls, { hideSettings: !toggleVideo && !toggleAudio, vbEnabled: !!virtual_background }), /* @__PURE__ */ import_react168.default.createElement(
29905
29901
  PreviewForm_default,
29906
29902
  {
29907
29903
  name,
@@ -29941,11 +29937,11 @@ var init_PreviewJoin = __esm({
29941
29937
  css: {
29942
29938
  bg: "$surface_default",
29943
29939
  aspectRatio,
29944
- height: "min(360px, 70vh)",
29940
+ height: "min(340px, 70vh)",
29945
29941
  width: "auto",
29946
- maxWidth: "640px",
29942
+ maxWidth: "600px",
29947
29943
  overflow: "clip",
29948
- mt: "$14",
29944
+ mt: "$10",
29949
29945
  "@md": {
29950
29946
  mt: 0,
29951
29947
  width: "min(220px, 70vw)",
@@ -29974,7 +29970,7 @@ var init_PreviewJoin = __esm({
29974
29970
  justify: hideSettings && isMobile ? "center" : "between",
29975
29971
  css: {
29976
29972
  width: "100%",
29977
- mt: "$8"
29973
+ mt: "$6"
29978
29974
  }
29979
29975
  },
29980
29976
  /* @__PURE__ */ import_react168.default.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ import_react168.default.createElement(AudioVideoToggle, null), vbEnabled ? /* @__PURE__ */ import_react168.default.createElement(VBToggle, null) : null),
@@ -31213,9 +31209,9 @@ var init_ScreenshareLayout = __esm({
31213
31209
  }
31214
31210
  });
31215
31211
 
31216
- // ../../../../../../../tmp/tmp-2795-4BfSpp3BcRJE/190fe5a3cb50/index.css
31217
- var init_fe5a3cb50 = __esm({
31218
- "../../../../../../../tmp/tmp-2795-4BfSpp3BcRJE/190fe5a3cb50/index.css"() {
31212
+ // ../../../../../../../tmp/tmp-2790-WAEj8cqQP2ZV/19107e2ed2c1/index.css
31213
+ var init_e2ed2c1 = __esm({
31214
+ "../../../../../../../tmp/tmp-2790-WAEj8cqQP2ZV/19107e2ed2c1/index.css"() {
31219
31215
  }
31220
31216
  });
31221
31217
 
@@ -31237,7 +31233,7 @@ var init_WhiteboardLayout = __esm({
31237
31233
  init_ProminenceLayout();
31238
31234
  init_useUISettings();
31239
31235
  init_constants();
31240
- init_fe5a3cb50();
31236
+ init_e2ed2c1();
31241
31237
  WhiteboardEmbed = () => {
31242
31238
  const isMobile = (0, import_react_use42.useMedia)(config.media.md);
31243
31239
  const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);