@100mslive/roomkit-react 0.2.0 → 0.2.1-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,8 +33,8 @@ var __objRest = (source, exclude) => {
33
33
  }
34
34
  return target;
35
35
  };
36
- var __esm = (fn2, res) => function __init() {
37
- return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
36
+ var __esm = (fn, res) => function __init() {
37
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
38
38
  };
39
39
  var __commonJS = (cb, mod) => function __require() {
40
40
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -43,13 +43,13 @@ var __export = (target, all) => {
43
43
  for (var name in all)
44
44
  __defProp(target, name, { get: all[name], enumerable: true });
45
45
  };
46
- var __copyProps = (to2, from, except, desc) => {
46
+ var __copyProps = (to, from, except, desc) => {
47
47
  if (from && typeof from === "object" || typeof from === "function") {
48
48
  for (let key of __getOwnPropNames(from))
49
- if (!__hasOwnProp.call(to2, key) && key !== except)
50
- __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
49
+ if (!__hasOwnProp.call(to, key) && key !== except)
50
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
51
51
  }
52
- return to2;
52
+ return to;
53
53
  };
54
54
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
55
55
  // If the importer is in node compatibility mode or this is not an ESM
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3a00cb17-2ae4-4976-b3a7-bac647e2ffb9", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_webpack_cli: "^4.9.2", npm_package_devDependencies_webpack_bundle_analyzer: "^4.5.0", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3a00cb17-2ae4-4976-b3a7-bac647e2ffb9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/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.12.0", 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.5", 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", 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_webpack_manifest_plugin: "^4.1.1", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "582", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.12/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.5/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240107.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", 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_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:17034", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_scripts_app: "cd apps/100ms-web && yarn start", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7502740837", 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_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: "4141fa5d88b73328867609b0ceaa5a5ac67135d0", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "apps/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "ddc13893e6a07ef63c8277401b7edd6908a80c40714caf507d49ad0ef7cbb899", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1705065837401-0.4705317243737501:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1705065837097-0.04319601059232747:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1705065794571-0.6740714576434141:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1705065794285-0.8330973403560706:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9f4e0a26-e64f-49df-af22-7b7c17f17878", INVOCATION_ID: "033fe7aff10d4817b67b5f54eaa344ee", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "410", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_webpack: "^5.76.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 5", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_webpack_dev_server: "^4.7.4", 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.9.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_NM: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.0", 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_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "4141fa5d88b73328867609b0ceaa5a5ac67135d0", 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/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", npm_package_license: "MIT", 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_3a00cb17-2ae4-4976-b3a7-bac647e2ffb9", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", 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.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3a00cb17-2ae4-4976-b3a7-bac647e2ffb9", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_scripts_app_custom: "cd apps/100ms-custom-app && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3a00cb17-2ae4-4976-b3a7-bac647e2ffb9" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a4f93a1f-1d98-495a-98c8-0f6e6403d9f9", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_webpack_cli: "^4.9.2", npm_package_devDependencies_webpack_bundle_analyzer: "^4.5.0", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.1-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a4f93a1f-1d98-495a-98c8-0f6e6403d9f9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/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.12.1-alpha.0", 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.5", 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", 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_webpack_manifest_plugin: "^4.1.1", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "575", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.12/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.5/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240107.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", 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_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:17700", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_scripts_app: "cd apps/100ms-web && yarn start", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.1-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7537740304", 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_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: "37788eb004f63672aae22043c6ad6b2debaff74c", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "apps/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "6ce1787085583fb6cf0372909a361e891596089355bd31b1feb589a748471c8a", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/WEB-2557-border-fix", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1705385705823-0.4943793670942145:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1705385705521-0.8594408744126076:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1705385660800-0.3816056696696646:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1705385660494-0.274117397141719:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_0b8b7624-fb1e-44ef-8457-934ab09c0e74", INVOCATION_ID: "4d0d31d6ec1843a9af78f038d52025fc", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "411", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_webpack: "^5.76.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 3", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "WEB-2557-border-fix", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_webpack_dev_server: "^4.7.4", 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.9.1-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_NM: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.1-alpha.0", 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_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "37788eb004f63672aae22043c6ad6b2debaff74c", 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/WEB-2557-border-fix", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", npm_package_license: "MIT", 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_a4f93a1f-1d98-495a-98c8-0f6e6403d9f9", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a4f93a1f-1d98-495a-98c8-0f6e6403d9f9", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_scripts_app_custom: "cd apps/100ms-custom-app && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a4f93a1f-1d98-495a-98c8-0f6e6403d9f9" };
110
110
  }
111
111
  });
112
112
 
@@ -2285,8 +2285,8 @@ var require_lodash = __commonJS({
2285
2285
  function createBind(func, bitmask, thisArg) {
2286
2286
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2287
2287
  function wrapper() {
2288
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2289
- return fn2.apply(isBind ? thisArg : this, arguments);
2288
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2289
+ return fn.apply(isBind ? thisArg : this, arguments);
2290
2290
  }
2291
2291
  return wrapper;
2292
2292
  }
@@ -2352,8 +2352,8 @@ var require_lodash = __commonJS({
2352
2352
  arity - length
2353
2353
  );
2354
2354
  }
2355
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2356
- return apply(fn2, this, args);
2355
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2356
+ return apply(fn, this, args);
2357
2357
  }
2358
2358
  return wrapper;
2359
2359
  }
@@ -2441,7 +2441,7 @@ var require_lodash = __commonJS({
2441
2441
  arity - length
2442
2442
  );
2443
2443
  }
2444
- var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
2444
+ var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
2445
2445
  length = args.length;
2446
2446
  if (argPos) {
2447
2447
  args = reorder(args, argPos);
@@ -2452,9 +2452,9 @@ var require_lodash = __commonJS({
2452
2452
  args.length = ary2;
2453
2453
  }
2454
2454
  if (this && this !== root && this instanceof wrapper) {
2455
- fn2 = Ctor || createCtor(fn2);
2455
+ fn = Ctor || createCtor(fn);
2456
2456
  }
2457
- return fn2.apply(thisBinding, args);
2457
+ return fn.apply(thisBinding, args);
2458
2458
  }
2459
2459
  return wrapper;
2460
2460
  }
@@ -2511,14 +2511,14 @@ var require_lodash = __commonJS({
2511
2511
  function createPartial(func, bitmask, thisArg, partials) {
2512
2512
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2513
2513
  function wrapper() {
2514
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2514
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2515
2515
  while (++leftIndex < leftLength) {
2516
2516
  args[leftIndex] = partials[leftIndex];
2517
2517
  }
2518
2518
  while (argsLength--) {
2519
2519
  args[leftIndex++] = arguments[++argsIndex];
2520
2520
  }
2521
- return apply(fn2, isBind ? thisArg : this, args);
2521
+ return apply(fn, isBind ? thisArg : this, args);
2522
2522
  }
2523
2523
  return wrapper;
2524
2524
  }
@@ -5627,7 +5627,7 @@ var require_ua_parser = __commonJS({
5627
5627
  return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
5628
5628
  }
5629
5629
  };
5630
- var rgxMapper = function(ua2, arrays) {
5630
+ var rgxMapper = function(ua, arrays) {
5631
5631
  var i = 0, j2, k2, p, q2, matches, match;
5632
5632
  while (i < arrays.length && !matches) {
5633
5633
  var regex = arrays[i], props = arrays[i + 1];
@@ -5636,7 +5636,7 @@ var require_ua_parser = __commonJS({
5636
5636
  if (!regex[j2]) {
5637
5637
  break;
5638
5638
  }
5639
- matches = regex[j2++].exec(ua2);
5639
+ matches = regex[j2++].exec(ua);
5640
5640
  if (!!matches) {
5641
5641
  for (p = 0; p < props.length; p++) {
5642
5642
  match = matches[++k2];
@@ -6725,16 +6725,16 @@ var require_ua_parser = __commonJS({
6725
6725
  [NAME, VERSION]
6726
6726
  ]
6727
6727
  };
6728
- var UAParser = function(ua2, extensions) {
6729
- if (typeof ua2 === OBJ_TYPE) {
6730
- extensions = ua2;
6731
- ua2 = undefined2;
6728
+ var UAParser = function(ua, extensions) {
6729
+ if (typeof ua === OBJ_TYPE) {
6730
+ extensions = ua;
6731
+ ua = undefined2;
6732
6732
  }
6733
6733
  if (!(this instanceof UAParser)) {
6734
- return new UAParser(ua2, extensions).getResult();
6734
+ return new UAParser(ua, extensions).getResult();
6735
6735
  }
6736
6736
  var _navigator = typeof window2 !== UNDEF_TYPE && window2.navigator ? window2.navigator : undefined2;
6737
- var _ua = ua2 || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
6737
+ var _ua = ua || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
6738
6738
  var _uach = _navigator && _navigator.userAgentData ? _navigator.userAgentData : undefined2;
6739
6739
  var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
6740
6740
  var _isSelfNav = _navigator && _navigator.userAgent == _ua;
@@ -6800,8 +6800,8 @@ var require_ua_parser = __commonJS({
6800
6800
  this.getUA = function() {
6801
6801
  return _ua;
6802
6802
  };
6803
- this.setUA = function(ua3) {
6804
- _ua = typeof ua3 === STR_TYPE && ua3.length > UA_MAX_LENGTH ? trim(ua3, UA_MAX_LENGTH) : ua3;
6803
+ this.setUA = function(ua2) {
6804
+ _ua = typeof ua2 === STR_TYPE && ua2.length > UA_MAX_LENGTH ? trim(ua2, UA_MAX_LENGTH) : ua2;
6805
6805
  return this;
6806
6806
  };
6807
6807
  this.setUA(_ua);
@@ -6833,8 +6833,8 @@ var require_ua_parser = __commonJS({
6833
6833
  $2.ua.get = function() {
6834
6834
  return parser.getUA();
6835
6835
  };
6836
- $2.ua.set = function(ua2) {
6837
- parser.setUA(ua2);
6836
+ $2.ua.set = function(ua) {
6837
+ parser.setUA(ua);
6838
6838
  var result = parser.getResult();
6839
6839
  for (var prop in result) {
6840
6840
  $2.ua[prop] = result[prop];
@@ -10266,6 +10266,7 @@ var styledItem = {
10266
10266
  };
10267
10267
  var StyledItemButton = styled("button", __spreadProps(__spreadValues({}, styledItem), {
10268
10268
  height: "$14",
10269
+ border: "none",
10269
10270
  "&:hover": {
10270
10271
  backgroundColor: "$surface_brighter"
10271
10272
  },
@@ -15138,8 +15139,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
15138
15139
 
15139
15140
  // ../hms-video-store/dist/index.js
15140
15141
  var import_ua_parser_js = __toESM(require_ua_parser());
15141
- import { v4 as xa } from "uuid";
15142
- import { v4 as Na } from "uuid";
15142
+ import { v4 as Ba } from "uuid";
15143
+ import { v4 as Ua } from "uuid";
15143
15144
 
15144
15145
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
15145
15146
  init_define_process_env();
@@ -15394,16 +15395,16 @@ function shimGetUserMedia(window2, browserDetails) {
15394
15395
  };
15395
15396
  if (r.ideal !== void 0) {
15396
15397
  cc.optional = cc.optional || [];
15397
- let oc2 = {};
15398
+ let oc = {};
15398
15399
  if (typeof r.ideal === "number") {
15399
- oc2[oldname_("min", key)] = r.ideal;
15400
- cc.optional.push(oc2);
15401
- oc2 = {};
15402
- oc2[oldname_("max", key)] = r.ideal;
15403
- cc.optional.push(oc2);
15400
+ oc[oldname_("min", key)] = r.ideal;
15401
+ cc.optional.push(oc);
15402
+ oc = {};
15403
+ oc[oldname_("max", key)] = r.ideal;
15404
+ cc.optional.push(oc);
15404
15405
  } else {
15405
- oc2[oldname_("", key)] = r.ideal;
15406
- cc.optional.push(oc2);
15406
+ oc[oldname_("", key)] = r.ideal;
15407
+ cc.optional.push(oc);
15407
15408
  }
15408
15409
  }
15409
15410
  if (r.exact !== void 0 && typeof r.exact !== "number") {
@@ -16964,15 +16965,15 @@ function shimSendThrowTypeError(window2) {
16964
16965
  if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
16965
16966
  return;
16966
16967
  }
16967
- function wrapDcSend(dc, pc) {
16968
- const origDataChannelSend = dc.send;
16969
- dc.send = function send() {
16968
+ function wrapDcSend(dc2, pc) {
16969
+ const origDataChannelSend = dc2.send;
16970
+ dc2.send = function send() {
16970
16971
  const data3 = arguments[0];
16971
16972
  const length = data3.length || data3.size || data3.byteLength;
16972
- if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
16973
+ if (dc2.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
16973
16974
  throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
16974
16975
  }
16975
- return origDataChannelSend.apply(dc, arguments);
16976
+ return origDataChannelSend.apply(dc2, arguments);
16976
16977
  };
16977
16978
  }
16978
16979
  const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
@@ -17235,24 +17236,24 @@ function adapterFactory({ window: window2 } = {}, options = {
17235
17236
  var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 : window });
17236
17237
 
17237
17238
  // ../hms-video-store/dist/index.js
17238
- import { v4 as ja } from "uuid";
17239
- import { v4 as Ya } from "uuid";
17239
+ import { v4 as za } from "uuid";
17240
17240
  import { v4 as eo } from "uuid";
17241
- import { EventEmitter2 as to } from "eventemitter2";
17241
+ import { v4 as ro } from "uuid";
17242
+ import { EventEmitter2 as so } from "eventemitter2";
17242
17243
  var Ht = __toESM(require_lib());
17243
- import { EventEmitter2 as Mo } from "eventemitter2";
17244
- import { v4 as Eo } from "uuid";
17245
- import { EventEmitter2 as Po } from "eventemitter2";
17246
- import Ao from "eventemitter2";
17244
+ import { EventEmitter2 as Eo } from "eventemitter2";
17247
17245
  import { v4 as bo } from "uuid";
17246
+ import { EventEmitter2 as Ro } from "eventemitter2";
17247
+ import Ho from "eventemitter2";
17248
17248
  import { v4 as Io } from "uuid";
17249
- var ha = Object.defineProperty;
17250
- var Sa = Object.defineProperties;
17251
- var ma = Object.getOwnPropertyDescriptors;
17249
+ import { v4 as Do } from "uuid";
17250
+ var ga = Object.defineProperty;
17251
+ var Ta = Object.defineProperties;
17252
+ var fa = Object.getOwnPropertyDescriptors;
17252
17253
  var Ot = Object.getOwnPropertySymbols;
17253
17254
  var Fr = Object.prototype.hasOwnProperty;
17254
17255
  var Gr = Object.prototype.propertyIsEnumerable;
17255
- var Br = (a2, e, t) => e in a2 ? ha(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
17256
+ var Br = (a2, e, t) => e in a2 ? ga(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
17256
17257
  var S = (a2, e) => {
17257
17258
  for (var t in e || (e = {}))
17258
17259
  Fr.call(e, t) && Br(a2, t, e[t]);
@@ -17261,7 +17262,7 @@ var S = (a2, e) => {
17261
17262
  Gr.call(e, t) && Br(a2, t, e[t]);
17262
17263
  return a2;
17263
17264
  };
17264
- var y = (a2, e) => Sa(a2, ma(e));
17265
+ var y = (a2, e) => Ta(a2, fa(e));
17265
17266
  var Qi = (a2, e) => {
17266
17267
  var t = {};
17267
17268
  for (var i in a2)
@@ -17271,12 +17272,12 @@ var Qi = (a2, e) => {
17271
17272
  e.indexOf(i) < 0 && Gr.call(a2, i) && (t[i] = a2[i]);
17272
17273
  return t;
17273
17274
  };
17274
- var fa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
17275
- var nr = fa(($c, Oa) => {
17276
- Oa.exports = { version: "0.11.0", license: "MIT", 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", 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/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"] };
17275
+ var ya = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
17276
+ var nr = ya((jc, Va) => {
17277
+ Va.exports = { version: "0.11.1-alpha.0", license: "MIT", 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", 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/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"] };
17277
17278
  });
17278
17279
  var zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
17279
- var va = ((e) => (e.CHAT = "chat", e))(va || {});
17280
+ var ka = ((e) => (e.CHAT = "chat", e))(ka || {});
17280
17281
  var $r = ((t) => (t.INFO = "info", t.ERROR = "error", t))($r || {});
17281
17282
  var Yi = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(Yi || {});
17282
17283
  var Wr = ((t) => (t.audio = "audio", t.video = "video", t))(Wr || {});
@@ -17285,7 +17286,7 @@ function He(a2, e) {
17285
17286
  if (e)
17286
17287
  for (let r of e.auxiliaryTracks) {
17287
17288
  let s = a2[r];
17288
- Ma(s) && (i = Ze(s) ? s : i, t = et(s) ? s : t);
17289
+ Ea(s) && (i = Ze(s) ? s : i, t = et(s) ? s : t);
17289
17290
  }
17290
17291
  return { video: t, audio: i };
17291
17292
  }
@@ -17295,7 +17296,7 @@ function Ze(a2) {
17295
17296
  function et(a2) {
17296
17297
  return a2 && a2.type === "video";
17297
17298
  }
17298
- function Ma(a2) {
17299
+ function Ea(a2) {
17299
17300
  return a2 && a2.source === "screen";
17300
17301
  }
17301
17302
  function Vt(a2) {
@@ -17316,33 +17317,33 @@ function it(a2) {
17316
17317
  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 };
17317
17318
  }
17318
17319
  var U = (a2) => a2.room;
17319
- var ya = (a2) => a2.errors;
17320
- var fn = createSelector(ya, (a2) => a2.length === 0 ? null : a2.at(-1));
17321
- var vn = createSelector(U, (a2) => a2.id);
17320
+ var Pa = (a2) => a2.errors;
17321
+ var yn = createSelector(Pa, (a2) => a2.length === 0 ? null : a2.at(-1));
17322
+ var kn = createSelector(U, (a2) => a2.id);
17322
17323
  var G = (a2) => a2.peers;
17323
17324
  var Bt = (a2) => a2.messages.byID;
17324
17325
  var jr = (a2) => a2.messages.allIDs;
17325
17326
  var D = (a2) => a2.tracks;
17326
17327
  var Xi = (a2) => a2.appData;
17327
- var ka = (a2) => a2.speakers;
17328
- var Me = createSelector([U], (a2) => a2 && a2.isConnected);
17329
- var kn = createSelector([Me, U], (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));
17330
- var Ea = (a2) => a2.hideLocalPeer;
17331
- var ae = createSelector([U, G, Ea], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
17332
- var Pa = createSelector(D, (a2) => Object.values(a2));
17328
+ var Aa = (a2) => a2.speakers;
17329
+ var ye = createSelector([U], (a2) => a2 && a2.isConnected);
17330
+ var An = createSelector([ye, U], (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));
17331
+ var ba = (a2) => a2.hideLocalPeer;
17332
+ var ae = createSelector([U, G, ba], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
17333
+ var Ra = createSelector(D, (a2) => Object.values(a2));
17333
17334
  var Q = createSelector(U, G, (a2, e) => e[a2.localPeer]);
17334
17335
  var ue = createSelector(U, (a2) => a2.localPeer);
17335
- var En = createSelector(Q, (a2) => a2 == null ? void 0 : a2.name);
17336
- var Pn = createSelector(Q, (a2) => a2 == null ? void 0 : a2.roleName);
17336
+ var bn = createSelector(Q, (a2) => a2 == null ? void 0 : a2.name);
17337
+ var Rn = createSelector(Q, (a2) => a2 == null ? void 0 : a2.roleName);
17337
17338
  var Z = createSelector(Q, (a2) => a2 == null ? void 0 : a2.audioTrack);
17338
17339
  var K = createSelector(Q, (a2) => a2 == null ? void 0 : a2.videoTrack);
17339
- var Aa = createSelector(Q, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
17340
- var Qr = createSelector([Z, K, Aa], (a2, e, t) => {
17340
+ var Ha = createSelector(Q, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
17341
+ var Qr = createSelector([Z, K, Ha], (a2, e, t) => {
17341
17342
  let i = t ? [...t] : [];
17342
17343
  return a2 && i.unshift(a2), e && i.unshift(e), i;
17343
17344
  });
17344
- var An = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
17345
- var bn = createSelector(G, ka, (a2, e) => {
17345
+ var Hn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
17346
+ var In = createSelector(G, Aa, (a2, e) => {
17346
17347
  let t = Object.entries(e).sort((i, r) => {
17347
17348
  var n, l;
17348
17349
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -17359,7 +17360,7 @@ var er = createSelector(Q, D, (a2, e) => {
17359
17360
  let { video: t, audio: i } = He(e, a2);
17360
17361
  return !!(t || i);
17361
17362
  });
17362
- var ba = createSelector(G, D, (a2, e) => {
17363
+ var Ia = createSelector(G, D, (a2, e) => {
17363
17364
  let t;
17364
17365
  for (let i in a2) {
17365
17366
  let r = a2[i], { video: s, audio: o } = He(e, r);
@@ -17369,15 +17370,15 @@ var ba = createSelector(G, D, (a2, e) => {
17369
17370
  }
17370
17371
  return t;
17371
17372
  });
17372
- var Hn = createSelector(ba, (a2) => !!a2);
17373
- var In = createSelector(G, D, (a2, e) => {
17373
+ var Ln = createSelector(Ia, (a2) => !!a2);
17374
+ var Dn = createSelector(G, D, (a2, e) => {
17374
17375
  for (let t in a2) {
17375
17376
  let i = a2[t], { audio: r, video: s } = He(e, i);
17376
17377
  if (!s && r)
17377
17378
  return i;
17378
17379
  }
17379
17380
  });
17380
- var Cn = createSelector(G, D, (a2, e) => {
17381
+ var wn = createSelector(G, D, (a2, e) => {
17381
17382
  let t = [], i = [];
17382
17383
  for (let r in a2) {
17383
17384
  let s = a2[r], { video: o, audio: n } = He(e, s);
@@ -17385,62 +17386,62 @@ var Cn = createSelector(G, D, (a2, e) => {
17385
17386
  }
17386
17387
  return t.concat(i);
17387
17388
  });
17388
- var Ln = createSelector(G, D, (a2, e) => {
17389
+ var _n = createSelector(G, D, (a2, e) => {
17389
17390
  for (let t in e) {
17390
17391
  let i = e[t];
17391
17392
  if (tt(i) && et(i) && i.peerId)
17392
17393
  return a2[i.peerId];
17393
17394
  }
17394
17395
  });
17395
- var Dn = createSelector(G, D, (a2, e) => {
17396
+ var Nn = createSelector(G, D, (a2, e) => {
17396
17397
  for (let t in e) {
17397
17398
  let i = e[t];
17398
17399
  if (Vt(i) && i.peerId)
17399
17400
  return a2[i.peerId];
17400
17401
  }
17401
17402
  });
17402
- var wn = createSelector(Pa, (a2) => a2.filter(Kr));
17403
- var _n = createSelector(jr, (a2) => a2.length);
17404
- var Nn = createSelector(Bt, (a2) => Object.values(a2).filter((e) => !e.read).length);
17403
+ var On = createSelector(Ra, (a2) => a2.filter(Kr));
17404
+ var xn = createSelector(jr, (a2) => a2.length);
17405
+ var Un = createSelector(Bt, (a2) => Object.values(a2).filter((e) => !e.read).length);
17405
17406
  var rt = createSelector(jr, Bt, (a2, e) => {
17406
17407
  let t = [];
17407
17408
  return a2.forEach((i) => {
17408
17409
  t.push(e[i]);
17409
17410
  }), t;
17410
17411
  });
17411
- var Ra = createSelector(rt, (a2) => a2.filter((e) => {
17412
+ var Ca = createSelector(rt, (a2) => a2.filter((e) => {
17412
17413
  var t;
17413
17414
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
17414
17415
  }));
17415
- var On = createSelector(Ra, (a2) => a2.filter((e) => !e.read).length);
17416
+ var Vn = createSelector(Ca, (a2) => a2.filter((e) => !e.read).length);
17416
17417
  var z = createSelector([U], (a2) => a2 && a2.roomState);
17417
17418
  var Yr = createSelector(z, (a2) => a2 === "Preview");
17418
- var xn = createSelector(U, (a2) => a2.roomState !== "Disconnected");
17419
+ var Bn = createSelector(U, (a2) => a2.roomState !== "Disconnected");
17419
17420
  var oe = (a2) => a2.roles;
17420
- var Un = createSelector([oe], (a2) => Object.keys(a2));
17421
+ var Fn = createSelector([oe], (a2) => Object.keys(a2));
17421
17422
  var Ft = createSelector([Q, oe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
17422
- var Ha = (a2) => {
17423
+ var La = (a2) => {
17423
17424
  var e;
17424
17425
  return (e = a2.preview) == null ? void 0 : e.asRole;
17425
17426
  };
17426
- var Xr = createSelector([Ha, oe], (a2, e) => a2 ? e[a2] : null);
17427
- var Vn = createSelector([Ft], (a2) => {
17427
+ var Xr = createSelector([La, oe], (a2, e) => a2 ? e[a2] : null);
17428
+ var Gn = createSelector([Ft], (a2) => {
17428
17429
  var e;
17429
17430
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
17430
17431
  });
17431
17432
  var Zr = createSelector(Ft, (a2) => a2 == null ? void 0 : a2.permissions);
17432
- var Bn = createSelector(U, (a2) => a2.recording);
17433
- var Fn = createSelector(U, (a2) => a2.rtmp);
17434
- var Gn = createSelector(U, (a2) => a2.hls);
17435
- var $n = createSelector(U, (a2) => a2.sessionId);
17436
- var Wn = createSelector(U, (a2) => a2.startedAt);
17437
- var Kn = createSelector(U, (a2) => !!a2.isLargeRoom);
17438
- var qn = createSelector(U, (a2) => !!a2.isEffectsEnabled);
17439
- var jn = createSelector(U, (a2) => a2.effectsKey);
17433
+ var $n = createSelector(U, (a2) => a2.recording);
17434
+ var Wn = createSelector(U, (a2) => a2.rtmp);
17435
+ var Kn = createSelector(U, (a2) => a2.hls);
17436
+ var qn = createSelector(U, (a2) => a2.sessionId);
17437
+ var jn = createSelector(U, (a2) => a2.startedAt);
17438
+ var Jn = createSelector(U, (a2) => !!a2.isLargeRoom);
17439
+ var Qn = createSelector(U, (a2) => !!a2.isEffectsEnabled);
17440
+ var zn = createSelector(U, (a2) => a2.effectsKey);
17440
17441
  var es = (a2) => a2.polls;
17441
- var Yn = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
17442
- var Ia = (a2) => a2.whiteboards;
17443
- var Xn = createSelector(Ia, (a2) => Object.values(a2)[0]);
17442
+ var ec = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
17443
+ var Da = (a2) => a2.whiteboards;
17444
+ var tc = createSelector(Da, (a2) => Object.values(a2)[0]);
17444
17445
  var is = (a2 = "audio") => (e) => e.playlist[a2].list;
17445
17446
  var tr = (a2 = "audio") => (e) => e.playlist[a2].selection;
17446
17447
  var rs = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -17458,7 +17459,7 @@ function A(a2) {
17458
17459
  return (e) => (t) => a2(t, e);
17459
17460
  }
17460
17461
  var 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 || {});
17461
- var Ca = typeof window != "undefined" && typeof window.expect != "undefined";
17462
+ var wa = typeof window != "undefined" && typeof window.expect != "undefined";
17462
17463
  var d = class {
17463
17464
  static v(e, ...t) {
17464
17465
  this.log(0, e, ...t);
@@ -17524,21 +17525,24 @@ var d = class {
17524
17525
  }
17525
17526
  }
17526
17527
  };
17527
- d.level = Ca ? 7 : 0;
17528
- var ye = new import_ua_parser_js.UAParser();
17528
+ d.level = wa ? 7 : 0;
17529
+ var pe = new import_ua_parser_js.UAParser();
17529
17530
  var N = typeof window != "undefined";
17530
17531
  var ps;
17531
- var Ie = typeof window == "undefined" && !((ps = ye.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
17532
- var Da = () => !Ie;
17533
- var oc = Da();
17534
- function wa() {
17532
+ var Ie = typeof window == "undefined" && !((ps = pe.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
17533
+ var Na = () => !Ie;
17534
+ var dc = Na();
17535
+ var hs;
17536
+ var Ss;
17537
+ var gs = ((Ss = (hs = pe.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : Ss.toLowerCase()) === "firefox";
17538
+ function Oa() {
17535
17539
  if (N && window) {
17536
17540
  let a2 = window.location.hostname;
17537
17541
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
17538
17542
  }
17539
17543
  return "CUSTOM";
17540
17544
  }
17541
- var Ue = wa();
17545
+ var Ue = Oa();
17542
17546
  var v = { 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 } };
17543
17547
  var T = class a extends Error {
17544
17548
  constructor(t, i, r, s, o, n = false) {
@@ -17569,7 +17573,7 @@ var T = class a extends Error {
17569
17573
  }`;
17570
17574
  }
17571
17575
  };
17572
- var _a7 = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
17576
+ var xa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
17573
17577
  var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
17574
17578
  return new T(v.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
17575
17579
  }, WebSocketConnectionLost(a2, e = "") {
@@ -17629,7 +17633,7 @@ var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
17629
17633
  }, StatsFailed(a2, e = "") {
17630
17634
  return new T(v.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
17631
17635
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
17632
- return new T(a2, "ServerErrors", e, t, t, _a7.includes(e));
17636
+ return new T(a2, "ServerErrors", e, t, t, xa.includes(e));
17633
17637
  }, AlreadyJoined(a2, e = "") {
17634
17638
  return new T(v.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
17635
17639
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -17702,7 +17706,7 @@ var sr = class {
17702
17706
  return this.valuesMap.size;
17703
17707
  }
17704
17708
  };
17705
- var Ss = () => {
17709
+ var Ts = () => {
17706
17710
  try {
17707
17711
  N && !localStorage && (window.localStorage = new sr());
17708
17712
  } catch (a2) {
@@ -17716,7 +17720,7 @@ var ne = class {
17716
17720
  }
17717
17721
  getStorage() {
17718
17722
  try {
17719
- return N && !this.storage && (Ss(), this.storage = window.localStorage), this.storage;
17723
+ return N && !this.storage && (Ts(), this.storage = window.localStorage), this.storage;
17720
17724
  } catch (e) {
17721
17725
  return d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
17722
17726
  }
@@ -17736,29 +17740,29 @@ var ne = class {
17736
17740
  (e = this.getStorage()) == null || e.removeItem(this.key);
17737
17741
  }
17738
17742
  };
17739
- var ms = () => {
17743
+ var fs = () => {
17740
17744
  let a2, e = new ne("hms-analytics-deviceId"), t = e.get();
17741
- return t ? a2 = t : (a2 = Na(), e.set(a2)), a2;
17745
+ return t ? a2 = t : (a2 = Ua(), e.set(a2)), a2;
17742
17746
  };
17743
17747
  function ie(a2) {
17744
17748
  return a2 != null;
17745
17749
  }
17746
- var Ts = nr().version;
17750
+ var Ms = nr().version;
17747
17751
  function st(a2 = "prod", e) {
17748
17752
  let t = "web", i = Ue !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
17749
17753
  if (Ie)
17750
- return fs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ts, env: i, domain: Ue, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
17751
- let r = ye.getOS(), s = ye.getDevice(), o = ye.getBrowser(), n = cr(`web_${r.name}`), l = r.version || "", u = cr(`${o.name}_${o.version}`), p = u;
17752
- return s.type && (p = `${cr(`${s.vendor}_${s.type}`)}/${u}`), fs({ os: n, os_version: l, sdk: t, sdk_version: Ts, device_model: p, env: i, domain: Ue, 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 });
17754
+ return ys({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ms, env: i, domain: Ue, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
17755
+ let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = cr(`web_${r.name}`), l = r.version || "", u = cr(`${o.name}_${o.version}`), p = u;
17756
+ return s.type && (p = `${cr(`${s.vendor}_${s.type}`)}/${u}`), ys({ os: n, os_version: l, sdk: t, sdk_version: Ms, device_model: p, env: i, domain: Ue, 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 });
17753
17757
  }
17754
17758
  function cr(a2) {
17755
17759
  return a2.replace(/ /g, "_");
17756
17760
  }
17757
- var fs = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
17761
+ var ys = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
17758
17762
  var H = class {
17759
17763
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
17760
17764
  this.metadata = { peer: {}, userAgent: st() };
17761
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = xa(), this.device_id = ms();
17765
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Ba(), this.device_id = fs();
17762
17766
  }
17763
17767
  toSignalParams() {
17764
17768
  return { name: this.name, info: y(S({}, this.properties), { timestamp: this.timestamp, domain: Ue }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -17899,8 +17903,8 @@ function Kt(a2, e = 300) {
17899
17903
  }, e);
17900
17904
  };
17901
17905
  }
17902
- var ks = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(ks || {});
17903
- var Es = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Es || {});
17906
+ var As = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(As || {});
17907
+ var bs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(bs || {});
17904
17908
  var pr = class {
17905
17909
  constructor() {
17906
17910
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -17928,7 +17932,7 @@ var pr = class {
17928
17932
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
17929
17933
  }
17930
17934
  };
17931
- var Rs = new pr();
17935
+ var Cs = new pr();
17932
17936
  var hr = class {
17933
17937
  constructor() {
17934
17938
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -17956,14 +17960,14 @@ var hr = class {
17956
17960
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
17957
17961
  }
17958
17962
  };
17959
- var Hs = new hr();
17963
+ var Ls = new hr();
17960
17964
  var Sr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Sr || {});
17961
17965
  var mr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(mr || {});
17962
- var Ls = "https://event.100ms.live/v2/client/report";
17963
- var Ds = "https://event-nonprod.100ms.live/v2/client/report";
17966
+ var _s = "https://event.100ms.live/v2/client/report";
17967
+ var Ns = "https://event-nonprod.100ms.live/v2/client/report";
17964
17968
  var qe = class {
17965
17969
  };
17966
- qe.makePeerId = () => eo();
17970
+ qe.makePeerId = () => ro();
17967
17971
  var ht = "HMS-Store:";
17968
17972
  var k = class {
17969
17973
  static v(e, ...t) {
@@ -18033,129 +18037,129 @@ var k = class {
18033
18037
  k.level = 0;
18034
18038
  var Ar = (a2, e) => e;
18035
18039
  var St = (a2, e) => e;
18036
- var Vs = (a2, e) => e;
18037
- var io = (a2, e) => e;
18038
- var ro = (a2, e) => e;
18040
+ var Gs = (a2, e) => e;
18041
+ var ao = (a2, e) => e;
18042
+ var oo = (a2, e) => e;
18039
18043
  var j = createSelector([G, Ar], (a2, e) => e ? a2[e] : null);
18040
18044
  var br = createSelector([D, St], (a2, e) => e ? a2[e] : null);
18041
- var so = createSelector([D, St], (a2, e) => {
18045
+ var no = createSelector([D, St], (a2, e) => {
18042
18046
  if (!e)
18043
18047
  return null;
18044
18048
  let t = a2[e];
18045
18049
  return (t == null ? void 0 : t.type) === "video" ? t : null;
18046
18050
  });
18047
- var ao = createSelector([D, St], (a2, e) => {
18051
+ var co = createSelector([D, St], (a2, e) => {
18048
18052
  if (!e)
18049
18053
  return null;
18050
18054
  let t = a2[e];
18051
18055
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
18052
18056
  });
18053
- var oo = createSelector([D, St], (a2, e) => {
18057
+ var lo = createSelector([D, St], (a2, e) => {
18054
18058
  if (!e)
18055
18059
  return null;
18056
18060
  let t = a2[e];
18057
18061
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
18058
18062
  });
18059
- var no = createSelector([D, St], (a2, e) => {
18063
+ var uo = createSelector([D, St], (a2, e) => {
18060
18064
  if (!e)
18061
18065
  return null;
18062
18066
  let t = a2[e];
18063
18067
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
18064
18068
  });
18065
- var co = createSelector([es, ro], (a2, e) => e ? a2[e] : null);
18069
+ var po = createSelector([es, oo], (a2, e) => e ? a2[e] : null);
18066
18070
  var J = A(j);
18067
- var Fh = A(createSelector([Xi, io], (a2, e) => {
18071
+ var Kh = A(createSelector([Xi, ao], (a2, e) => {
18068
18072
  if (a2)
18069
18073
  return e ? a2[e] : a2;
18070
18074
  }));
18071
- function Gh(a2) {
18075
+ function qh(a2) {
18072
18076
  return (e) => {
18073
18077
  if (e.sessionStore)
18074
18078
  return a2 ? e.sessionStore[a2] : e.sessionStore;
18075
18079
  };
18076
18080
  }
18077
- var Wh = A(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
18081
+ var Jh = A(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
18078
18082
  var si = A(br);
18079
- var Bs = A(so);
18080
- var Kh = A(ao);
18081
- var qh = A(oo);
18082
- var jh = A(no);
18083
- var lo = A((a2, e) => {
18083
+ var $s = A(no);
18084
+ var Qh = A(co);
18085
+ var zh = A(lo);
18086
+ var Yh = A(uo);
18087
+ var ho = A((a2, e) => {
18084
18088
  let t = j(a2, e);
18085
18089
  if (t && t.videoTrack && t.videoTrack !== "")
18086
18090
  return a2.tracks[t.videoTrack];
18087
18091
  });
18088
- var uo = A((a2, e) => {
18092
+ var So = A((a2, e) => {
18089
18093
  let t = j(a2, e);
18090
18094
  if (t && t.audioTrack && t.audioTrack !== "")
18091
18095
  return a2.tracks[t.audioTrack];
18092
18096
  });
18093
- var Qh = A((a2, e) => {
18097
+ var Zh = A((a2, e) => {
18094
18098
  let t = j(a2, e);
18095
18099
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
18096
18100
  });
18097
- var Fs = (a2, e) => e ? a2.speakers[e] : null;
18098
- var zh = A(createSelector(Fs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
18099
- var po = (a2, e) => {
18100
- let t = uo(e)(a2);
18101
- return Fs(a2, t == null ? void 0 : t.id);
18102
- };
18103
- var Yh = A(createSelector(po, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
18104
- var Xh = A((a2, e) => {
18101
+ var Ws = (a2, e) => e ? a2.speakers[e] : null;
18102
+ var eS = A(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
18103
+ var mo = (a2, e) => {
18104
+ let t = So(e)(a2);
18105
+ return Ws(a2, t == null ? void 0 : t.id);
18106
+ };
18107
+ var tS = A(createSelector(mo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
18108
+ var iS = A((a2, e) => {
18105
18109
  if (e)
18106
18110
  return a2.connectionQualities[e];
18107
18111
  });
18108
- var Zh = A((a2, e) => {
18112
+ var rS = A((a2, e) => {
18109
18113
  let t = j(a2, e);
18110
18114
  if (t) {
18111
18115
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => Ze(a2.tracks[r]));
18112
18116
  return i ? a2.tracks[i] : void 0;
18113
18117
  }
18114
18118
  });
18115
- var eS = A(createSelector(D, j, (a2, e) => {
18119
+ var sS = A(createSelector(D, j, (a2, e) => {
18116
18120
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
18117
18121
  let r = a2[i];
18118
18122
  return tt(r) && et(r);
18119
18123
  });
18120
18124
  return t ? a2[t] : void 0;
18121
18125
  }));
18122
- var tS = A(createSelector(D, j, (a2, e) => {
18126
+ var aS = A(createSelector(D, j, (a2, e) => {
18123
18127
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
18124
18128
  let r = a2[i];
18125
18129
  return tt(r) && Ze(r);
18126
18130
  });
18127
18131
  return t ? a2[t] : void 0;
18128
18132
  }));
18129
- var iS = A(createSelector(D, j, (a2, e) => {
18133
+ var oS = A(createSelector(D, j, (a2, e) => {
18130
18134
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
18131
18135
  let r = a2[i];
18132
18136
  return Vt(r) && Ze(r);
18133
18137
  });
18134
18138
  return t ? a2[t] : void 0;
18135
18139
  }));
18136
- var Gs = A(createSelector(D, j, (a2, e) => He(a2, e)));
18137
- var $s = (a2) => createSelector(Gs(a2), (e) => e.audio);
18138
- var sS = A((a2, e) => {
18140
+ var Ks = A(createSelector(D, j, (a2, e) => He(a2, e)));
18141
+ var qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
18142
+ var cS = A((a2, e) => {
18139
18143
  let t = j(a2, e);
18140
18144
  return Oe(a2, t == null ? void 0 : t.audioTrack);
18141
18145
  });
18142
- var aS = A((a2, e) => {
18146
+ var dS = A((a2, e) => {
18143
18147
  let t = j(a2, e);
18144
18148
  return Oe(a2, t == null ? void 0 : t.videoTrack);
18145
18149
  });
18146
- var Ws = A((a2, e) => {
18150
+ var js = A((a2, e) => {
18147
18151
  if (e && a2.tracks[e])
18148
18152
  return a2.tracks[e].volume === 0;
18149
18153
  });
18150
- var oS = A((a2, e) => {
18154
+ var lS = A((a2, e) => {
18151
18155
  let t = j(a2, e);
18152
- return Ws(t == null ? void 0 : t.audioTrack)(a2);
18156
+ return js(t == null ? void 0 : t.audioTrack)(a2);
18153
18157
  });
18154
- var nS = A((a2, e) => {
18155
- let t = $s(e)(a2);
18156
- return Ws(t == null ? void 0 : t.id)(a2);
18158
+ var uS = A((a2, e) => {
18159
+ let t = qs(e)(a2);
18160
+ return js(t == null ? void 0 : t.id)(a2);
18157
18161
  });
18158
- var Ks = A((a2, e) => {
18162
+ var Js = A((a2, e) => {
18159
18163
  let t = br(a2, e);
18160
18164
  if (t) {
18161
18165
  if (t.type !== "audio") {
@@ -18165,15 +18169,15 @@ var Ks = A((a2, e) => {
18165
18169
  return t.volume;
18166
18170
  }
18167
18171
  });
18168
- var cS = A((a2, e) => {
18172
+ var pS = A((a2, e) => {
18169
18173
  let t = j(a2, e);
18170
- return Ks(t == null ? void 0 : t.audioTrack)(a2);
18174
+ return Js(t == null ? void 0 : t.audioTrack)(a2);
18171
18175
  });
18172
- var dS = A((a2, e) => {
18173
- let t = $s(e)(a2);
18174
- return Ks(t == null ? void 0 : t.id)(a2);
18176
+ var hS = A((a2, e) => {
18177
+ let t = qs(e)(a2);
18178
+ return Js(t == null ? void 0 : t.id)(a2);
18175
18179
  });
18176
- var lS = A((a2, e) => {
18180
+ var SS = A((a2, e) => {
18177
18181
  let t = br(a2, e);
18178
18182
  if (t) {
18179
18183
  if (t.type !== "video") {
@@ -18183,45 +18187,45 @@ var lS = A((a2, e) => {
18183
18187
  return t.layer;
18184
18188
  }
18185
18189
  });
18186
- var qs = createSelector([rt, ue, Ar], (a2, e, t) => {
18190
+ var Qs = createSelector([rt, ue, Ar], (a2, e, t) => {
18187
18191
  if (t)
18188
18192
  return a2.filter((i) => {
18189
18193
  var r;
18190
18194
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
18191
18195
  });
18192
18196
  });
18193
- var js = createSelector([rt, Vs], (a2, e) => {
18197
+ var zs = createSelector([rt, Gs], (a2, e) => {
18194
18198
  if (e)
18195
18199
  return a2.filter((t) => {
18196
18200
  var i, r;
18197
18201
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
18198
18202
  });
18199
18203
  });
18200
- var ho = createSelector(rt, (a2) => a2.filter((e) => {
18204
+ var go = createSelector(rt, (a2) => a2.filter((e) => {
18201
18205
  var t;
18202
18206
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
18203
18207
  }));
18204
- var So = createSelector([js, Vs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
18205
- var mo = createSelector([qs, Ar], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
18206
- var uS = createSelector(ho, (a2) => a2.filter((e) => !e.read).length);
18207
- var pS = A(qs);
18208
- var hS = A(js);
18209
- var SS = A(So);
18210
- var mS = A(mo);
18211
- var Js = A(co);
18212
- var bS = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
18208
+ var To = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
18209
+ var fo = createSelector([Qs, Ar], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
18210
+ var mS = createSelector(go, (a2) => a2.filter((e) => !e.read).length);
18211
+ var gS = A(Qs);
18212
+ var TS = A(zs);
18213
+ var fS = A(To);
18214
+ var vS = A(fo);
18215
+ var Ys = A(po);
18216
+ var CS = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
18213
18217
  var r;
18214
18218
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
18215
18219
  }));
18216
- var go = (a2) => a2.roleChangeRequests[0] || null;
18217
- var RS = createSelector([go, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
18218
- var HS = createSelector([Ft], (a2) => it(a2));
18219
- var IS = createSelector([Xr], (a2) => it(a2));
18220
- var fo = createSelector([K, D], (a2, e) => {
18220
+ var vo = (a2) => a2.roleChangeRequests[0] || null;
18221
+ var LS = createSelector([vo, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
18222
+ var DS = createSelector([Ft], (a2) => it(a2));
18223
+ var wS = createSelector([Xr], (a2) => it(a2));
18224
+ var yo = createSelector([K, D], (a2, e) => {
18221
18225
  let t = null;
18222
18226
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
18223
18227
  });
18224
- var vo = createSelector([Z, D], (a2, e) => {
18228
+ var ko = createSelector([Z, D], (a2, e) => {
18225
18229
  let t = null;
18226
18230
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
18227
18231
  });
@@ -18244,7 +18248,7 @@ var Lr = class {
18244
18248
  this.addEventToStorage(e);
18245
18249
  return;
18246
18250
  }
18247
- 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" ? Ls : Ds;
18251
+ 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" ? _s : Ns;
18248
18252
  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) => {
18249
18253
  if (r.status === 401) {
18250
18254
  this.removeFromStorage(e);
@@ -18270,66 +18274,66 @@ var Lr = class {
18270
18274
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
18271
18275
  }
18272
18276
  };
18273
- var Te = new Lr();
18277
+ var fe = new Lr();
18274
18278
  var $ = ((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))($ || {});
18275
18279
  var xi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(xi || {});
18276
18280
  var Ki = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ki || {});
18277
- var Vo = (a2) => a2.localPeer.id;
18278
- var Bo = (a2) => a2.localPeer.audioTrack;
18279
- var Fo = (a2) => a2.localPeer.videoTrack;
18280
- var Go = (a2, e) => e;
18281
- var ua = (a2, e) => e;
18282
- var $o = (a2) => a2.remoteTrackStats;
18283
- var pa = (a2) => a2.peerStats;
18281
+ var Go = (a2) => a2.localPeer.id;
18282
+ var $o = (a2) => a2.localPeer.audioTrack;
18283
+ var Wo = (a2) => a2.localPeer.videoTrack;
18284
+ var Ko = (a2, e) => e;
18285
+ var Sa = (a2, e) => e;
18286
+ var qo = (a2) => a2.remoteTrackStats;
18287
+ var ma = (a2) => a2.peerStats;
18284
18288
  var xr = (a2) => a2.localTrackStats;
18285
- var ve = createSelector([pa, Vo], (a2, e) => a2[e]);
18286
- var Wo = createSelector(ve, (a2) => {
18289
+ var Me = createSelector([ma, Go], (a2, e) => a2[e]);
18290
+ var jo = createSelector(Me, (a2) => {
18287
18291
  var e;
18288
18292
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
18289
18293
  });
18290
- var Ko = createSelector(ve, (a2) => {
18294
+ var Jo = createSelector(Me, (a2) => {
18291
18295
  var e;
18292
18296
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
18293
18297
  });
18294
- var qo = createSelector(ve, (a2) => {
18298
+ var Qo = createSelector(Me, (a2) => {
18295
18299
  var e;
18296
18300
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
18297
18301
  });
18298
- var jo = createSelector(ve, (a2) => {
18302
+ var zo = createSelector(Me, (a2) => {
18299
18303
  var e;
18300
18304
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
18301
18305
  });
18302
- var Jo = createSelector(ve, (a2) => {
18306
+ var Yo = createSelector(Me, (a2) => {
18303
18307
  var e;
18304
18308
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
18305
18309
  });
18306
- var Qo = createSelector(ve, (a2) => {
18310
+ var Xo = createSelector(Me, (a2) => {
18307
18311
  var e;
18308
18312
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
18309
18313
  });
18310
- var zo = createSelector(ve, (a2) => {
18314
+ var Zo = createSelector(Me, (a2) => {
18311
18315
  var e;
18312
18316
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
18313
18317
  });
18314
- var Yo = createSelector(ve, (a2) => {
18318
+ var en = createSelector(Me, (a2) => {
18315
18319
  var e;
18316
18320
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
18317
18321
  });
18318
- var Xo = createSelector([pa, Go], (a2, e) => e ? a2[e] : void 0);
18319
- var Zo = createSelector([$o, ua], (a2, e) => e ? a2[e] : void 0);
18320
- var Ur = createSelector([xr, ua], (a2, e) => e ? a2[e] : void 0);
18321
- var en = A(Xo);
18322
- var tn = A(Zo);
18323
- var rn = createSelector([xr, Bo], (a2, e) => {
18322
+ var tn = createSelector([ma, Ko], (a2, e) => e ? a2[e] : void 0);
18323
+ var rn = createSelector([qo, Sa], (a2, e) => e ? a2[e] : void 0);
18324
+ var Ur = createSelector([xr, Sa], (a2, e) => e ? a2[e] : void 0);
18325
+ var sn = A(tn);
18326
+ var an = A(rn);
18327
+ var on = createSelector([xr, $o], (a2, e) => {
18324
18328
  var t;
18325
18329
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
18326
18330
  });
18327
- var sn = A(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
18328
- var an = createSelector([xr, Fo], (a2, e) => {
18331
+ var nn = A(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
18332
+ var cn = createSelector([xr, Wo], (a2, e) => {
18329
18333
  var t;
18330
18334
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
18331
18335
  });
18332
- var on = A(createSelector(Ur, (a2) => a2));
18336
+ var dn = A(createSelector(Ur, (a2) => a2));
18333
18337
 
18334
18338
  // src/Prebuilt/components/Header/StreamActions.tsx
18335
18339
  import {
@@ -18700,7 +18704,7 @@ var RecordingStatus = () => {
18700
18704
  };
18701
18705
  var RecordingPauseStatus = () => {
18702
18706
  const recording = useHMSStore22(selectRecordingState);
18703
- if (recording.hls && recording.hls.state === ks.PAUSED) {
18707
+ if (recording.hls && recording.hls.state === As.PAUSED) {
18704
18708
  return /* @__PURE__ */ React54.createElement(
18705
18709
  Tooltip,
18706
18710
  {
@@ -23812,7 +23816,7 @@ var Chat = () => {
23812
23816
  const listRef = useRef19(null);
23813
23817
  const hmsActions = useHMSActions37();
23814
23818
  const vanillaStore = useHMSVanillaStore10();
23815
- const { enabled: isChatEnabled = true } = useHMSStore51(Gh("chatState" /* CHAT_STATE */)) || {};
23819
+ const { enabled: isChatEnabled = true } = useHMSStore51(qh("chatState" /* CHAT_STATE */)) || {};
23816
23820
  const isMobile = useMedia16(config.media.md);
23817
23821
  const scrollToBottom = useCallback28(
23818
23822
  (unreadCount = 0) => {
@@ -23850,7 +23854,7 @@ var NewMessageIndicator = ({
23850
23854
  scrollToBottom,
23851
23855
  listRef
23852
23856
  }) => {
23853
- const unreadCount = useHMSStore51(Nn);
23857
+ const unreadCount = useHMSStore51(Un);
23854
23858
  if (!unreadCount || !listRef.current) {
23855
23859
  return null;
23856
23860
  }
@@ -24907,8 +24911,8 @@ var VBPicker = ({ backgroundMedia = [] }) => {
24907
24911
  const track = useHMSStore58(trackSelector);
24908
24912
  const roomState = useHMSStore58(selectRoomState4);
24909
24913
  const isLargeRoom = useHMSStore58(selectIsLargeRoom3);
24910
- const isEffectsEnabled = useHMSStore58(qn);
24911
- const effectsKey = useHMSStore58(jn);
24914
+ const isEffectsEnabled = useHMSStore58(Qn);
24915
+ const effectsKey = useHMSStore58(zn);
24912
24916
  const isPluginAdded = useHMSStore58(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
24913
24917
  const [activeBackground, setActiveBackground] = useState50(
24914
24918
  ((_b7 = VBHandler) == null ? void 0 : _b7.getBackground()) || HMSVirtualBackgroundTypes3.NONE
@@ -26715,7 +26719,7 @@ var useCloseScreenshareWhiteboard = () => {
26715
26719
  };
26716
26720
 
26717
26721
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
26718
- var HLSView = React147.lazy(() => import("./HLSView-ULB4DC6B.js"));
26722
+ var HLSView = React147.lazy(() => import("./HLSView-GKCGIZ5F.js"));
26719
26723
  var VideoStreamingSection = ({
26720
26724
  screenType,
26721
26725
  elements,
@@ -28899,4 +28903,4 @@ lodash/lodash.js:
28899
28903
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
28900
28904
  *)
28901
28905
  */
28902
- //# sourceMappingURL=chunk-GVA4I77Z.js.map
28906
+ //# sourceMappingURL=chunk-FTOP3RHP.js.map