@100mslive/roomkit-react 0.4.3-alpha.4 → 0.4.3-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8,6 +8,9 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
8
  var __getProtoOf = Object.getPrototypeOf;
9
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
10
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __typeError = (msg) => {
12
+ throw TypeError(msg);
13
+ };
11
14
  var __pow = Math.pow;
12
15
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
16
  var __spreadValues = (a2, b2) => {
@@ -60,28 +63,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
60
63
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
61
64
  mod
62
65
  ));
63
- var __publicField = (obj, key, value) => {
64
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
65
- return value;
66
- };
67
- var __accessCheck = (obj, member, msg) => {
68
- if (!member.has(obj))
69
- throw TypeError("Cannot " + msg);
70
- };
71
- var __privateGet = (obj, member, getter) => {
72
- __accessCheck(obj, member, "read from private field");
73
- return getter ? getter.call(obj) : member.get(obj);
74
- };
75
- var __privateAdd = (obj, member, value) => {
76
- if (member.has(obj))
77
- throw TypeError("Cannot add the same private member more than once");
78
- member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
79
- };
80
- var __privateSet = (obj, member, value, setter) => {
81
- __accessCheck(obj, member, "write to private field");
82
- setter ? setter.call(obj, value) : member.set(obj, value);
83
- return value;
84
- };
66
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
67
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
68
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
69
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
70
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
85
71
  var __async = (__this, __arguments, generator) => {
86
72
  return new Promise((resolve, reject) => {
87
73
  var fulfilled = (value) => {
@@ -107,7 +93,7 @@ var __async = (__this, __arguments, generator) => {
107
93
  var define_process_env_default;
108
94
  var init_define_process_env = __esm({
109
95
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", DOTNET_NOLOGO: "1", npm_package_resolutions_tar: "^7.5.10", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.1.3-alpha.4", USER: "runner", npm_package_resolutions__octokit_request: "^8.4.1", npm_package_devDependencies_jest: "^29.7.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v24.14.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.11.3-alpha.4", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", npm_package_resolutions_svgo: "^2.8.1", 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.14.3-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", 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_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_resolutions__tldraw_tldraw__radix_ui_react_dialog: "1.0.5", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", 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", SYSTEMD_EXEC_PID: "2094", ACTIONS_ORCHESTRATION_ID: "37ee0054-a13b-474f-89a4-14a2327b89f9.publish_packages.__default", npm_package_resolutions_tmp: "^0.2.3", npm_package_scripts_postinstall: "husky install", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260302.42.1", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^29.7.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.2", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:14783", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_lerna: "^9.0.4", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^19.6.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", 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.4.3-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.7/x64", GITHUB_RUN_ID: "22842826134", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f4feef2572dd196edc136c16a0b0debbfb00f39a", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_resolutions_qs: "^6.14.2", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "9866343254171001367", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/ci/release-312f336e0", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9jaS9yZWxlYXNlLTMxMmYzMzZlMFwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NWUxMmUwMDktZGQwMS00Y2NjLTllODktNDUyMzAyNTAzZGI1IiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBT0V2USIsImV4cCI6MTc3MzA2MzM5NywiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzczMDQxMTk3LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiODg1M2Y0MDgtMTgwZS01ZWVmLTg2NGYtODY1YjFkZjFkYmQzIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzczMDQwODk3LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcInJhdml0ZWphODNcIixcImFjdG9yX2lkXCI6XCI2NzYzMjYxXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjY2MjUyMzgzMzk2XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiMTAwbXNsaXZlL3dlYi1zZGtzLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gueW1sQHJlZnMvaGVhZHMvY2kvcmVsZWFzZS0zMTJmMzM2ZTBcIixcImpvYl93b3JrZmxvd19zaGFcIjpcImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9jaS9yZWxlYXNlLTMxMmYzMzZlMFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjI4NDI4MjYxMzRcIixcInJ1bl9udW1iZXJcIjpcIjgwNlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWFcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL2NpL3JlbGVhc2UtMzEyZjMzNmUwXCIsXCJ3b3JrZmxvd19zaGFcIjpcImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWFcIn0iLCJvaWRjX3N1YiI6InJlcG86MTAwbXNsaXZlL3dlYi1zZGtzOnJlZjpyZWZzL2hlYWRzL2NpL3JlbGVhc2UtMzEyZjMzNmUwIiwib3JjaF9pZCI6IjM3ZWUwMDU0LWExM2ItNDc0Zi04OWE0LTE0YTIzMjdiODlmOS5wdWJsaXNoX3BhY2thZ2VzLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFPRXZRIiwicGxhbl9pZCI6IjM3ZWUwMDU0LWExM2ItNDc0Zi04OWE0LTE0YTIzMjdiODlmOSIsInJlcG9zaXRvcnlfaWQiOiI0Mjk4MjY1MTUiLCJydW5faWQiOiIyMjg0MjgyNjEzNCIsInJ1bl9udW1iZXIiOiI4MDYiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTgzNDM2IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MzdlZTAwNTQtYTEzYi00NzRmLTg5YTQtMTRhMjMyN2I4OWY5Ojg4NTNmNDA4LTE4MGUtNWVlZi04NjRmLTg2NWIxZGYxZGJkMyBBY3Rpb25zLlJ1bm5lcjozN2VlMDA1NC1hMTNiLTQ3NGYtODlhNC0xNGEyMzI3Yjg5Zjk6ODg1M2Y0MDgtMTgwZS01ZWVmLTg2NGYtODY1YjFkZjFkYmQzIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjM3ZWUwMDU0LWExM2ItNDc0Zi04OWE0LTE0YTIzMjdiODlmOTo4ODUzZjQwOC0xODBlLTVlZWYtODY0Zi04NjViMWRmMWRiZDMgZ2VuZXJhdGVfaWRfdG9rZW46MzdlZTAwNTQtYTEzYi00NzRmLTg5YTQtMTRhMjMyN2I4OWY5Ojg4NTNmNDA4LTE4MGUtNWVlZi04NjRmLTg2NWIxZGYxZGJkMyBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWEiLCJ0cnVzdF90aWVyIjoiMSJ9.PJdBOy9bBbVlQ49f-0HcaeiA_P2L9Sr3GYIuVS00KS-EJnod-bYy8pOuvPPnYsXrXCkD3JRApOaITc2-zNOi54LOhd11-K_Ae20AUQbZPRxZU2j4OMQ9cktEowYmPm1DimlZX4w2bldVi1KKubbtu6dg4pmQ_yqeYyoXP5ms5F1FYiUOOo58XGrAF7ytuKdvsJYI268Crbixqk-uQA-vY2PGbpVlLX11yEdfve6kCT6ZWnxt3xfG4FvuUQpOt0_jp2G3am6DCNevxOAfO9o0QPwSwKxPXgSS8VfB7O9hhaAKrDG9pwA0udkye_TZS3F_s8UmGRIpQIfQzT7zb23GRw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_resolutions_on_headers: "^1.1.0", npm_package_resolutions_semver: "^7.5.2", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1773041271936-0.05515864543607396:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773041271759-0.9933106795209797:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773041254773-0.3464310301703477:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773041254617-0.36094829771459314:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.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/24.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_cdf62557-38f2-454a-bc9e-8560fcfc7d5e", INVOCATION_ID: "580d9f06aec84fe6821832733f6ea30a", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "806", 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: "^19.6.0", npm_config_legacy_peer_deps: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000183436", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "ci/release-312f336e0", 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_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", 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_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^9.2.1", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.11.3-alpha.4", npm_package_scripts_types: "tsc -w", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.4.3-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions__octokit_request_error: "^5.1.1", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies_jest_environment_jsdom: "^29.7.0", NX_ISOLATE_PLUGINS: "false", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "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_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", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", GITHUB_SHA: "f4feef2572dd196edc136c16a0b0debbfb00f39a", 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_package_resolutions_form_data: "^4.0.4", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", NX_TASK_TARGET_TARGET: "build", NX_FORKED_TASK_EXECUTOR: "true", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/ci/release-312f336e0", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", NX_LOAD_DOT_ENV_FILES: "true", 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_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", JAVA_HOME: "/usr/lib/jvm/temurin-17-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_resolutions____vite_rollup: "^4.59.0", npm_package_scripts_ybys: "yarn && yarn build --no-private", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/60//idtoken/37ee0054-a13b-474f-89a4-14a2327b89f9/8853f408-180e-5eef-864f-865b1df1dbd3?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", NX_TUI: "false", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_knip: "^5.11.0", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", npm_package_resolutions_sass: "^1.83.0" };
96
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_devDependencies_ts_node: "^10.9.2", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", DOTNET_NOLOGO: "1", npm_package_resolutions_tar: "^7.5.11", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "^0.1.3-alpha.6", USER: "runner", npm_package_resolutions__octokit_request: "^8.4.1", npm_package_devDependencies_jest: "^29.7.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v24.14.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "^0.11.3-alpha.6", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_94618907-b03f-4429-9a70-1f3e398ed09f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", npm_package_resolutions_svgo: "^2.8.1", 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.14.3-alpha.6", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_resolutions_diff: "^4.0.4", 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.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.62.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_resolutions__babel_runtime: "^7.26.10", npm_package_resolutions__tldraw_tldraw__radix_ui_react_dialog: "1.0.5", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^4.6.3", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.4.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_resolutions__isaacs_brace_expansion: "^5.0.1", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "2100", ACTIONS_ORCHESTRATION_ID: "e8f8e213-00bb-4be6-858a-33e665b85a1c.publish_packages.__default", npm_package_resolutions_tmp: "^0.2.3", npm_package_scripts_postinstall: "husky install", 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.28.17", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260309.50.1", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^29.7.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.2", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13952", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_lerna: "^9.0.7", npm_package_devDependencies__types_jest: "^29.5.14", npm_package_devDependencies__commitlint_config_conventional: "^19.8.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", 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.62.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "^0.4.3-alpha.6", npm_package_devDependencies__types_lodash_merge: "^4.6.6", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23131560642", npm_package_workspaces_0: "packages/*", npm_package_resolutions_cross_spawn: "^7.0.5", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "57bd13f805356a53228e413cbb350c7e9875d0d8", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_resolutions_qs: "^6.14.2", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "5213790827745635998", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/fix/dependabot-security-updates-v2", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9maXgvZGVwZW5kYWJvdC1zZWN1cml0eS11cGRhdGVzLXYyXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo1ZTEyZTAwOS1kZDAxLTRjY2MtOWU4OS00NTIzMDI1MDNkYjUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFPRXZRIiwiZXhwIjoxNzczNjY2MTYyLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzM2NDM5NjIsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzM2NDM2NjIsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwicmF2aXRlamE4M1wiLFwiYWN0b3JfaWRcIjpcIjY3NjMyNjFcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjcxODU4NzczOTVcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCIxMDBtc2xpdmUvd2ViLXNka3MvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC55bWxAcmVmcy9oZWFkcy9maXgvZGVwZW5kYWJvdC1zZWN1cml0eS11cGRhdGVzLXYyXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1N2JkMTNmODA1MzU2YTUzMjI4ZTQxM2NiYjM1MGM3ZTk4NzVkMGQ4XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZml4L2RlcGVuZGFib3Qtc2VjdXJpdHktdXBkYXRlcy12MlwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjMxMzE1NjA2NDJcIixcInJ1bl9udW1iZXJcIjpcIjgwOVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjU3YmQxM2Y4MDUzNTZhNTMyMjhlNDEzY2JiMzUwYzdlOTg3NWQwZDhcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL2ZpeC9kZXBlbmRhYm90LXNlY3VyaXR5LXVwZGF0ZXMtdjJcIixcIndvcmtmbG93X3NoYVwiOlwiNTdiZDEzZjgwNTM1NmE1MzIyOGU0MTNjYmIzNTBjN2U5ODc1ZDBkOFwifSIsIm9pZGNfc3ViIjoicmVwbzoxMDBtc2xpdmUvd2ViLXNka3M6cmVmOnJlZnMvaGVhZHMvZml4L2RlcGVuZGFib3Qtc2VjdXJpdHktdXBkYXRlcy12MiIsIm9yY2hfaWQiOiJlOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWMucHVibGlzaF9wYWNrYWdlcy5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBT0V2USIsInBsYW5faWQiOiJlOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWMiLCJyZXBvc2l0b3J5X2lkIjoiNDI5ODI2NTE1IiwicnVuX2lkIjoiMjMxMzE1NjA2NDIiLCJydW5fbnVtYmVyIjoiODA5IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDE5OTgwNiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmU4ZjhlMjEzLTAwYmItNGJlNi04NThhLTMzZTY2NWI4NWExYzpiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQgQWN0aW9ucy5SdW5uZXI6ZThmOGUyMTMtMDBiYi00YmU2LTg1OGEtMzNlNjY1Yjg1YTFjOmJkMjg1ZWJmLTc5YTItNTRiNi05NzU2LWQ5MjE0OWRhYTRiNCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czplOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWM6YmQyODVlYmYtNzlhMi01NGI2LTk3NTYtZDkyMTQ5ZGFhNGI0IGdlbmVyYXRlX2lkX3Rva2VuOmU4ZjhlMjEzLTAwYmItNGJlNi04NThhLTMzZTY2NWI4NWExYzpiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1N2JkMTNmODA1MzU2YTUzMjI4ZTQxM2NiYjM1MGM3ZTk4NzVkMGQ4IiwidHJ1c3RfdGllciI6IjEifQ.L5N-OMdCYh7bv5tz1SHwARru9tFlo3yFBEIRgB0r4ksaT16mo-WiPf2ExVtBluBPJytEUOPgiJBT362QbaVjEyRNoG8AShMEfbUZneBcL3AP3jnmyWVkEijSZWAwBTqDdjRJkpiGCEqU6p34JEDeOFPEnbBB49ANdfADC8vIlvmXoYXJjVrGM3XJqjcAY2S8kh4GPjQRj8o1PjkobO1JqRY2YeIykxqPVDD8CJWdkV12PG1lVtF00Tq3-KAxo-eo466H_0K6w7nM-m0LHa4UUhC8QKrADKa59GjX78Gf_WkL_NbhW6bNypKyMmXotVDic-EH0NZLHUnctjfe-lPieA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_resolutions_on_headers: "^1.1.0", npm_package_resolutions_semver: "^7.5.2", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1773644045733-0.7862426815129081:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644045559-0.9882098262434613:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644028277-0.6494734591164135:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644028117-0.11927964986527528:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.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/24.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4d37e8d9-cb65-4fa7-9f53-548560dc832d", INVOCATION_ID: "c968d72e91b34ebcbd14bd060eb75121", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "809", 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: "^7.0.0", 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: "^19.8.0", npm_config_legacy_peer_deps: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_resolutions_flatted: "^3.4.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.57.1", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000199806", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "fix/dependabot-security-updates-v2", 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_braces: "^3.0.3", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", 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_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^9.2.1", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "^0.11.3-alpha.6", npm_package_scripts_types: "tsc -w", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.4.3-alpha.6", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions__octokit_request_error: "^5.1.1", npm_package_resolutions_axios: "^1.13.5", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies_jest_environment_jsdom: "^29.7.0", NX_ISOLATE_PLUGINS: "false", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "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_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", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_resolutions__babel_helpers: "^7.26.10", GITHUB_SHA: "57bd13f805356a53228e413cbb350c7e9875d0d8", 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_package_resolutions__adobe_css_tools: "^4.3.2", npm_package_resolutions_form_data: "^4.0.4", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", NX_TASK_TARGET_TARGET: "build", NX_FORKED_TASK_EXECUTOR: "true", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/fix/dependabot-security-updates-v2", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", NX_LOAD_DOT_ENV_FILES: "true", 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_94618907-b03f-4429-9a70-1f3e398ed09f", JAVA_HOME: "/usr/lib/jvm/temurin-17-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_resolutions____vite_rollup: "^4.59.0", npm_package_scripts_ybys: "yarn && yarn build --no-private", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/131//idtoken/e8f8e213-00bb-4be6-858a-33e665b85a1c/bd285ebf-79a2-54b6-9756-d92149daa4b4?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_resolutions_nanoid: "^3.3.8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_ejs: "^3.1.10", npm_package_resolutions_micromatch: "^4.0.8", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.5.8", npm_package_devDependencies_esbuild: "^0.25.0", npm_config_save_prefix: "^", npm_config_ignore_optional: "", NX_TUI: "false", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_knip: "^5.11.0", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_resolutions_sass: "^1.83.0" };
111
97
  }
112
98
  });
113
99
 
@@ -446,7 +432,7 @@ var require_lodash = __commonJS({
446
432
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
447
433
  var moduleExports = freeModule && freeModule.exports === freeExports;
448
434
  var freeProcess = moduleExports && freeGlobal.process;
449
- var nodeUtil = function() {
435
+ var nodeUtil = (function() {
450
436
  try {
451
437
  var types = freeModule && freeModule.require && freeModule.require("util").types;
452
438
  if (types) {
@@ -455,7 +441,7 @@ var require_lodash = __commonJS({
455
441
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
456
442
  } catch (e) {
457
443
  }
458
- }();
444
+ })();
459
445
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
460
446
  function apply(func, thisArg, args) {
461
447
  switch (args.length) {
@@ -801,7 +787,7 @@ var require_lodash = __commonJS({
801
787
  function unicodeWords(string) {
802
788
  return string.match(reUnicodeWord) || [];
803
789
  }
804
- var runInContext = function runInContext2(context) {
790
+ var runInContext = (function runInContext2(context) {
805
791
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
806
792
  var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
807
793
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -809,10 +795,10 @@ var require_lodash = __commonJS({
809
795
  var funcToString = funcProto.toString;
810
796
  var hasOwnProperty = objectProto.hasOwnProperty;
811
797
  var idCounter = 0;
812
- var maskSrcKey = function() {
798
+ var maskSrcKey = (function() {
813
799
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
814
800
  return uid ? "Symbol(src)_1." + uid : "";
815
- }();
801
+ })();
816
802
  var nativeObjectToString = objectProto.toString;
817
803
  var objectCtorString = funcToString.call(Object2);
818
804
  var oldDash = root._;
@@ -820,14 +806,14 @@ var require_lodash = __commonJS({
820
806
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
821
807
  );
822
808
  var Buffer2 = moduleExports ? context.Buffer : undefined2, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined2, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined2, symIterator = Symbol2 ? Symbol2.iterator : undefined2, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined2;
823
- var defineProperty = function() {
809
+ var defineProperty = (function() {
824
810
  try {
825
811
  var func = getNative(Object2, "defineProperty");
826
812
  func({}, "", {});
827
813
  return func;
828
814
  } catch (e) {
829
815
  }
830
- }();
816
+ })();
831
817
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
832
818
  var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined2, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
833
819
  var DataView = getNative(context, "DataView"), Map2 = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap2 = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
@@ -846,7 +832,7 @@ var require_lodash = __commonJS({
846
832
  }
847
833
  return new LodashWrapper(value);
848
834
  }
849
- var baseCreate = function() {
835
+ var baseCreate = /* @__PURE__ */ (function() {
850
836
  function object() {
851
837
  }
852
838
  return function(proto) {
@@ -861,7 +847,7 @@ var require_lodash = __commonJS({
861
847
  object.prototype = undefined2;
862
848
  return result2;
863
849
  };
864
- }();
850
+ })();
865
851
  function baseLodash() {
866
852
  }
867
853
  function LodashWrapper(value, chainAll) {
@@ -4173,9 +4159,9 @@ var require_lodash = __commonJS({
4173
4159
  var gte = createRelationalOperation(function(value, other) {
4174
4160
  return value >= other;
4175
4161
  });
4176
- var isArguments = baseIsArguments(function() {
4162
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4177
4163
  return arguments;
4178
- }()) ? baseIsArguments : function(value) {
4164
+ })()) ? baseIsArguments : function(value) {
4179
4165
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4180
4166
  };
4181
4167
  var isArray2 = Array2.isArray;
@@ -5427,7 +5413,7 @@ var require_lodash = __commonJS({
5427
5413
  lodash.each = forEach;
5428
5414
  lodash.eachRight = forEachRight;
5429
5415
  lodash.first = head;
5430
- mixin(lodash, function() {
5416
+ mixin(lodash, (function() {
5431
5417
  var source = {};
5432
5418
  baseForOwn(lodash, function(func, methodName) {
5433
5419
  if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -5435,7 +5421,7 @@ var require_lodash = __commonJS({
5435
5421
  }
5436
5422
  });
5437
5423
  return source;
5438
- }(), { "chain": false });
5424
+ })(), { "chain": false });
5439
5425
  lodash.VERSION = VERSION2;
5440
5426
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5441
5427
  lodash[methodName].placeholder = lodash;
@@ -5595,7 +5581,7 @@ var require_lodash = __commonJS({
5595
5581
  lodash.prototype[symIterator] = wrapperToIterator;
5596
5582
  }
5597
5583
  return lodash;
5598
- };
5584
+ });
5599
5585
  var _ = runInContext();
5600
5586
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5601
5587
  root._ = _;
@@ -5665,12 +5651,12 @@ var require_lodash2 = __commonJS({
5665
5651
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
5666
5652
  var moduleExports = freeModule && freeModule.exports === freeExports;
5667
5653
  var freeProcess = moduleExports && freeGlobal.process;
5668
- var nodeUtil = function() {
5654
+ var nodeUtil = (function() {
5669
5655
  try {
5670
5656
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
5671
5657
  } catch (e) {
5672
5658
  }
5673
- }();
5659
+ })();
5674
5660
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
5675
5661
  function arrayFilter(array, predicate) {
5676
5662
  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
@@ -5741,10 +5727,10 @@ var require_lodash2 = __commonJS({
5741
5727
  var coreJsData = root["__core-js_shared__"];
5742
5728
  var funcToString = funcProto.toString;
5743
5729
  var hasOwnProperty = objectProto.hasOwnProperty;
5744
- var maskSrcKey = function() {
5730
+ var maskSrcKey = (function() {
5745
5731
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
5746
5732
  return uid ? "Symbol(src)_1." + uid : "";
5747
- }();
5733
+ })();
5748
5734
  var nativeObjectToString = objectProto.toString;
5749
5735
  var reIsNative = RegExp(
5750
5736
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -6270,9 +6256,9 @@ var require_lodash2 = __commonJS({
6270
6256
  function eq(value, other) {
6271
6257
  return value === other || value !== value && other !== other;
6272
6258
  }
6273
- var isArguments = baseIsArguments(function() {
6259
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
6274
6260
  return arguments;
6275
- }()) ? baseIsArguments : function(value) {
6261
+ })()) ? baseIsArguments : function(value) {
6276
6262
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
6277
6263
  };
6278
6264
  var isArray2 = Array.isArray;
@@ -7628,126 +7614,12 @@ var require_lib = __commonJS({
7628
7614
  }
7629
7615
  });
7630
7616
 
7631
- // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
7632
- var require_react_is_production_min = __commonJS({
7633
- "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7634
- "use strict";
7635
- init_define_process_env();
7636
- var b2 = "function" === typeof Symbol && Symbol.for;
7637
- var c2 = b2 ? Symbol.for("react.element") : 60103;
7638
- var d = b2 ? Symbol.for("react.portal") : 60106;
7639
- var e = b2 ? Symbol.for("react.fragment") : 60107;
7640
- var f = b2 ? Symbol.for("react.strict_mode") : 60108;
7641
- var g = b2 ? Symbol.for("react.profiler") : 60114;
7642
- var h = b2 ? Symbol.for("react.provider") : 60109;
7643
- var k2 = b2 ? Symbol.for("react.context") : 60110;
7644
- var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
7645
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
7646
- var n = b2 ? Symbol.for("react.forward_ref") : 60112;
7647
- var p = b2 ? Symbol.for("react.suspense") : 60113;
7648
- var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
7649
- var r = b2 ? Symbol.for("react.memo") : 60115;
7650
- var t = b2 ? Symbol.for("react.lazy") : 60116;
7651
- var v = b2 ? Symbol.for("react.block") : 60121;
7652
- var w = b2 ? Symbol.for("react.fundamental") : 60117;
7653
- var x = b2 ? Symbol.for("react.responder") : 60118;
7654
- var y2 = b2 ? Symbol.for("react.scope") : 60119;
7655
- function z2(a2) {
7656
- if ("object" === typeof a2 && null !== a2) {
7657
- var u = a2.$$typeof;
7658
- switch (u) {
7659
- case c2:
7660
- switch (a2 = a2.type, a2) {
7661
- case l2:
7662
- case m2:
7663
- case e:
7664
- case g:
7665
- case f:
7666
- case p:
7667
- return a2;
7668
- default:
7669
- switch (a2 = a2 && a2.$$typeof, a2) {
7670
- case k2:
7671
- case n:
7672
- case t:
7673
- case r:
7674
- case h:
7675
- return a2;
7676
- default:
7677
- return u;
7678
- }
7679
- }
7680
- case d:
7681
- return u;
7682
- }
7683
- }
7684
- }
7685
- function A(a2) {
7686
- return z2(a2) === m2;
7687
- }
7688
- exports.AsyncMode = l2;
7689
- exports.ConcurrentMode = m2;
7690
- exports.ContextConsumer = k2;
7691
- exports.ContextProvider = h;
7692
- exports.Element = c2;
7693
- exports.ForwardRef = n;
7694
- exports.Fragment = e;
7695
- exports.Lazy = t;
7696
- exports.Memo = r;
7697
- exports.Portal = d;
7698
- exports.Profiler = g;
7699
- exports.StrictMode = f;
7700
- exports.Suspense = p;
7701
- exports.isAsyncMode = function(a2) {
7702
- return A(a2) || z2(a2) === l2;
7703
- };
7704
- exports.isConcurrentMode = A;
7705
- exports.isContextConsumer = function(a2) {
7706
- return z2(a2) === k2;
7707
- };
7708
- exports.isContextProvider = function(a2) {
7709
- return z2(a2) === h;
7710
- };
7711
- exports.isElement = function(a2) {
7712
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
7713
- };
7714
- exports.isForwardRef = function(a2) {
7715
- return z2(a2) === n;
7716
- };
7717
- exports.isFragment = function(a2) {
7718
- return z2(a2) === e;
7719
- };
7720
- exports.isLazy = function(a2) {
7721
- return z2(a2) === t;
7722
- };
7723
- exports.isMemo = function(a2) {
7724
- return z2(a2) === r;
7725
- };
7726
- exports.isPortal = function(a2) {
7727
- return z2(a2) === d;
7728
- };
7729
- exports.isProfiler = function(a2) {
7730
- return z2(a2) === g;
7731
- };
7732
- exports.isStrictMode = function(a2) {
7733
- return z2(a2) === f;
7734
- };
7735
- exports.isSuspense = function(a2) {
7736
- return z2(a2) === p;
7737
- };
7738
- exports.isValidElementType = function(a2) {
7739
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
7740
- };
7741
- exports.typeOf = z2;
7742
- }
7743
- });
7744
-
7745
7617
  // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
7746
7618
  var require_react_is_development = __commonJS({
7747
7619
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
7748
7620
  "use strict";
7749
7621
  init_define_process_env();
7750
- if (define_process_env_default.NODE_ENV !== "production") {
7622
+ if (true) {
7751
7623
  (function() {
7752
7624
  "use strict";
7753
7625
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
@@ -7903,8 +7775,8 @@ var require_react_is = __commonJS({
7903
7775
  "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module) {
7904
7776
  "use strict";
7905
7777
  init_define_process_env();
7906
- if (define_process_env_default.NODE_ENV === "production") {
7907
- module.exports = require_react_is_production_min();
7778
+ if (false) {
7779
+ module.exports = null;
7908
7780
  } else {
7909
7781
  module.exports = require_react_is_development();
7910
7782
  }
@@ -8007,7 +7879,7 @@ var require_checkPropTypes = __commonJS({
8007
7879
  init_define_process_env();
8008
7880
  var printWarning = function() {
8009
7881
  };
8010
- if (define_process_env_default.NODE_ENV !== "production") {
7882
+ if (true) {
8011
7883
  ReactPropTypesSecret = require_ReactPropTypesSecret();
8012
7884
  loggedTypeFailures = {};
8013
7885
  has2 = require_has();
@@ -8026,7 +7898,7 @@ var require_checkPropTypes = __commonJS({
8026
7898
  var loggedTypeFailures;
8027
7899
  var has2;
8028
7900
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
8029
- if (define_process_env_default.NODE_ENV !== "production") {
7901
+ if (true) {
8030
7902
  for (var typeSpecName in typeSpecs) {
8031
7903
  if (has2(typeSpecs, typeSpecName)) {
8032
7904
  var error;
@@ -8059,7 +7931,7 @@ var require_checkPropTypes = __commonJS({
8059
7931
  }
8060
7932
  }
8061
7933
  checkPropTypes.resetWarningCache = function() {
8062
- if (define_process_env_default.NODE_ENV !== "production") {
7934
+ if (true) {
8063
7935
  loggedTypeFailures = {};
8064
7936
  }
8065
7937
  };
@@ -8079,7 +7951,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8079
7951
  var checkPropTypes = require_checkPropTypes();
8080
7952
  var printWarning = function() {
8081
7953
  };
8082
- if (define_process_env_default.NODE_ENV !== "production") {
7954
+ if (true) {
8083
7955
  printWarning = function(text) {
8084
7956
  var message = "Warning: " + text;
8085
7957
  if (typeof console !== "undefined") {
@@ -8139,7 +8011,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8139
8011
  }
8140
8012
  PropTypeError.prototype = Error.prototype;
8141
8013
  function createChainableTypeChecker(validate) {
8142
- if (define_process_env_default.NODE_ENV !== "production") {
8014
+ if (true) {
8143
8015
  var manualPropTypeCallCache = {};
8144
8016
  var manualPropTypeWarningCount = 0;
8145
8017
  }
@@ -8153,7 +8025,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8153
8025
  );
8154
8026
  err.name = "Invariant Violation";
8155
8027
  throw err;
8156
- } else if (define_process_env_default.NODE_ENV !== "production" && typeof console !== "undefined") {
8028
+ } else if (typeof console !== "undefined") {
8157
8029
  var cacheKey = componentName + ":" + propName;
8158
8030
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
8159
8031
  manualPropTypeWarningCount < 3) {
@@ -8254,7 +8126,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8254
8126
  }
8255
8127
  function createEnumTypeChecker(expectedValues) {
8256
8128
  if (!Array.isArray(expectedValues)) {
8257
- if (define_process_env_default.NODE_ENV !== "production") {
8129
+ if (true) {
8258
8130
  if (arguments.length > 1) {
8259
8131
  printWarning(
8260
8132
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -8307,7 +8179,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8307
8179
  }
8308
8180
  function createUnionTypeChecker(arrayOfTypeCheckers) {
8309
8181
  if (!Array.isArray(arrayOfTypeCheckers)) {
8310
- define_process_env_default.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8182
+ true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8311
8183
  return emptyFunctionThatReturnsNull;
8312
8184
  }
8313
8185
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -8511,73 +8383,16 @@ var require_factoryWithTypeCheckers = __commonJS({
8511
8383
  }
8512
8384
  });
8513
8385
 
8514
- // ../../node_modules/prop-types/factoryWithThrowingShims.js
8515
- var require_factoryWithThrowingShims = __commonJS({
8516
- "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
8517
- "use strict";
8518
- init_define_process_env();
8519
- var ReactPropTypesSecret = require_ReactPropTypesSecret();
8520
- function emptyFunction() {
8521
- }
8522
- function emptyFunctionWithReset() {
8523
- }
8524
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
8525
- module.exports = function() {
8526
- function shim(props, propName, componentName, location, propFullName, secret) {
8527
- if (secret === ReactPropTypesSecret) {
8528
- return;
8529
- }
8530
- var err = new Error(
8531
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
8532
- );
8533
- err.name = "Invariant Violation";
8534
- throw err;
8535
- }
8536
- ;
8537
- shim.isRequired = shim;
8538
- function getShim() {
8539
- return shim;
8540
- }
8541
- ;
8542
- var ReactPropTypes = {
8543
- array: shim,
8544
- bigint: shim,
8545
- bool: shim,
8546
- func: shim,
8547
- number: shim,
8548
- object: shim,
8549
- string: shim,
8550
- symbol: shim,
8551
- any: shim,
8552
- arrayOf: getShim,
8553
- element: shim,
8554
- elementType: shim,
8555
- instanceOf: getShim,
8556
- node: shim,
8557
- objectOf: getShim,
8558
- oneOf: getShim,
8559
- oneOfType: getShim,
8560
- shape: getShim,
8561
- exact: getShim,
8562
- checkPropTypes: emptyFunctionWithReset,
8563
- resetWarningCache: emptyFunction
8564
- };
8565
- ReactPropTypes.PropTypes = ReactPropTypes;
8566
- return ReactPropTypes;
8567
- };
8568
- }
8569
- });
8570
-
8571
8386
  // ../../node_modules/prop-types/index.js
8572
8387
  var require_prop_types = __commonJS({
8573
8388
  "../../node_modules/prop-types/index.js"(exports, module) {
8574
8389
  init_define_process_env();
8575
- if (define_process_env_default.NODE_ENV !== "production") {
8390
+ if (true) {
8576
8391
  ReactIs = require_react_is();
8577
8392
  throwOnDirectAccess = true;
8578
8393
  module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
8579
8394
  } else {
8580
- module.exports = require_factoryWithThrowingShims()();
8395
+ module.exports = null();
8581
8396
  }
8582
8397
  var ReactIs;
8583
8398
  var throwOnDirectAccess;
@@ -10113,8 +9928,7 @@ var StyledDialog = styled2(Root6, {});
10113
9928
  var DialogRoot = (props) => {
10114
9929
  useEffect3(() => {
10115
9930
  return () => {
10116
- if (document)
10117
- setTimeout(() => document.body.style.pointerEvents = "auto", 0);
9931
+ if (document) setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10118
9932
  };
10119
9933
  }, []);
10120
9934
  return /* @__PURE__ */ React11.createElement(StyledDialog, __spreadValues({}, props));
@@ -12003,7 +11817,7 @@ var LayoutSettings = () => {
12003
11817
  const isLocalScreenShared = useHMSStore3(selectIsLocalScreenShared);
12004
11818
  const [{ isAudioOnly, maxTileCount, mirrorLocalVideo }, setUISettings] = useSetUiSettings();
12005
11819
  const toggleIsAudioOnly = useCallback4(
12006
- (isAudioOnlyModeOn) => __async(void 0, null, function* () {
11820
+ (isAudioOnlyModeOn) => __async(null, null, function* () {
12007
11821
  if (isAudioOnlyModeOn) {
12008
11822
  isLocalVideoEnabled && (yield hmsActions.setLocalVideoEnabled(false));
12009
11823
  isLocalScreenShared && (yield hmsActions.setScreenShareEnabled(false));
@@ -12121,7 +11935,7 @@ var defaultLayout = {
12121
11935
  };
12122
11936
 
12123
11937
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
12124
- var fetchWithRetry = (..._0) => __async(void 0, [..._0], function* (url = "", options = {}) {
11938
+ var fetchWithRetry = (..._0) => __async(null, [..._0], function* (url = "", options = {}) {
12125
11939
  const MAX_RETRIES = 4;
12126
11940
  let error = Error("something went wrong");
12127
11941
  for (let i = 0; i < MAX_RETRIES; i++) {
@@ -12154,7 +11968,7 @@ var useFetchRoomLayout = ({
12154
11968
  }
12155
11969
  }, []);
12156
11970
  useEffect5(() => {
12157
- (() => __async(void 0, null, function* () {
11971
+ (() => __async(null, null, function* () {
12158
11972
  var _a8, _b7;
12159
11973
  if (isFetchInProgress.current || !authToken) {
12160
11974
  return;
@@ -12251,8 +12065,7 @@ var formatTime = (timeInSeconds) => {
12251
12065
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12252
12066
  };
12253
12067
  var compareArrays = (a2, b2) => {
12254
- if (a2.length !== b2.length)
12255
- return false;
12068
+ if (a2.length !== b2.length) return false;
12256
12069
  else {
12257
12070
  for (var i = 0; i < a2.length; i++) {
12258
12071
  if (a2[i] !== b2[i]) {
@@ -14390,7 +14203,7 @@ var useNoiseCancellationWithPlugin = () => {
14390
14203
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
14391
14204
  const isEnabledForRoom = (_a8 = useHMSStore9(selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14392
14205
  const setNoiseCancellationWithPlugin = useCallback9(
14393
- (enabled) => __async(void 0, null, function* () {
14206
+ (enabled) => __async(null, null, function* () {
14394
14207
  if (!isEnabledForRoom || inProgress) {
14395
14208
  return;
14396
14209
  }
@@ -14432,7 +14245,7 @@ var NoiseCancellation = ({
14432
14245
  {
14433
14246
  active: isNoiseCancellationEnabled && isKrispPluginAdded,
14434
14247
  disabled: inProgress,
14435
- onClick: () => __async(void 0, null, function* () {
14248
+ onClick: () => __async(null, null, function* () {
14436
14249
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14437
14250
  setOpenOptionsSheet == null ? void 0 : setOpenOptionsSheet(false);
14438
14251
  })
@@ -14445,7 +14258,7 @@ var NoiseCancellation = ({
14445
14258
  return /* @__PURE__ */ React34.createElement(Tooltip, { title: isNoiseCancellationEnabled ? "Noise Reduced" : "Reduce Noise" }, /* @__PURE__ */ React34.createElement(
14446
14259
  IconButton_default,
14447
14260
  {
14448
- onClick: () => __async(void 0, null, function* () {
14261
+ onClick: () => __async(null, null, function* () {
14449
14262
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14450
14263
  }),
14451
14264
  disabled: inProgress,
@@ -14466,7 +14279,7 @@ var NoiseCancellation = ({
14466
14279
  fontSize: "$xs",
14467
14280
  justifyContent: "space-between"
14468
14281
  },
14469
- onClick: (e) => __async(void 0, null, function* () {
14282
+ onClick: (e) => __async(null, null, function* () {
14470
14283
  e.preventDefault();
14471
14284
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14472
14285
  })
@@ -14479,7 +14292,7 @@ var NoiseCancellation = ({
14479
14292
  checked: isNoiseCancellationEnabled && isKrispPluginAdded,
14480
14293
  disabled: inProgress,
14481
14294
  onClick: (e) => e.stopPropagation(),
14482
- onCheckedChange: (value) => __async(void 0, null, function* () {
14295
+ onCheckedChange: (value) => __async(null, null, function* () {
14483
14296
  yield setNoiseCancellationWithPlugin(value);
14484
14297
  })
14485
14298
  }
@@ -14493,7 +14306,7 @@ var AudioOutputLabel = ({ deviceId }) => {
14493
14306
  {
14494
14307
  variant: "xs",
14495
14308
  css: { color: "$primary_bright", "&:hover": { cursor: "pointer" } },
14496
- onClick: () => __async(void 0, null, function* () {
14309
+ onClick: () => __async(null, null, function* () {
14497
14310
  var _a8;
14498
14311
  if (playing) {
14499
14312
  return;
@@ -14559,7 +14372,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14559
14372
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
14560
14373
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
14561
14374
  useEffect11(() => {
14562
- (() => __async(void 0, null, function* () {
14375
+ (() => __async(null, null, function* () {
14563
14376
  var _a8;
14564
14377
  const isEnabledForRoom = (_a8 = vanillaStore.getState(selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14565
14378
  if (isEnabledForRoom && isNoiseCancellationEnabled && !isKrispPluginAdded && !inProgress && (localPeer == null ? void 0 : localPeer.audioTrack)) {
@@ -14636,7 +14449,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14636
14449
  ) : null, (localVideoTrack == null ? void 0 : localVideoTrack.facingMode) && roomState === HMSRoomState3.Preview && (isIOS || isAndroid) ? /* @__PURE__ */ React34.createElement(Tooltip, { title: "Switch Camera", key: "switchCamera" }, /* @__PURE__ */ React34.createElement(
14637
14450
  IconButton_default,
14638
14451
  {
14639
- onClick: () => __async(void 0, null, function* () {
14452
+ onClick: () => __async(null, null, function* () {
14640
14453
  try {
14641
14454
  yield actions.switchCamera();
14642
14455
  } catch (e) {
@@ -14811,7 +14624,7 @@ var useMobileHLSStream = () => {
14811
14624
  };
14812
14625
  var useKeyboardHandler = (isPaused, hlsPlayer2) => {
14813
14626
  const handleKeyEvent = useCallback10(
14814
- (event) => __async(void 0, null, function* () {
14627
+ (event) => __async(null, null, function* () {
14815
14628
  switch (event.key) {
14816
14629
  case " ":
14817
14630
  if (isPaused) {
@@ -14843,7 +14656,7 @@ var useRecordingHandler = () => {
14843
14656
  }
14844
14657
  }, [recordingStarted, recordingState.browser.error, setRecordingState]);
14845
14658
  const startRecording = useCallback10(
14846
- (resolution = null) => __async(void 0, null, function* () {
14659
+ (resolution = null) => __async(null, null, function* () {
14847
14660
  try {
14848
14661
  setRecordingState(true);
14849
14662
  setIsRecordingLoading(true);
@@ -14929,7 +14742,7 @@ var EmojiReaction = ({ showCard = false }) => {
14929
14742
  const { sendEvent } = useCustomEvent({
14930
14743
  type: EMOJI_REACTION_TYPE
14931
14744
  });
14932
- const sendReaction = (emojiId) => __async(void 0, null, function* () {
14745
+ const sendReaction = (emojiId) => __async(null, null, function* () {
14933
14746
  var _a8;
14934
14747
  const data3 = {
14935
14748
  type: EMOJI_REACTION_TYPE,
@@ -15018,7 +14831,7 @@ var EndSessionContent = ({
15018
14831
  {
15019
14832
  variant: "danger",
15020
14833
  css: { w: "100%" },
15021
- onClick: () => __async(void 0, null, function* () {
14834
+ onClick: () => __async(null, null, function* () {
15022
14835
  yield leaveRoom({ endStream: true });
15023
14836
  setShowEndStreamAlert(false);
15024
14837
  }),
@@ -15105,7 +14918,7 @@ var LeaveSessionContent = ({
15105
14918
  {
15106
14919
  variant: "danger",
15107
14920
  css: { w: "100%" },
15108
- onClick: () => __async(void 0, null, function* () {
14921
+ onClick: () => __async(null, null, function* () {
15109
14922
  yield leaveRoom({ sendReason: true });
15110
14923
  }),
15111
14924
  id: "leaveRoom",
@@ -15176,7 +14989,7 @@ var DesktopLeaveRoom = ({
15176
14989
  bg: "",
15177
14990
  titleColor: "$on_surface_high",
15178
14991
  icon: /* @__PURE__ */ React41.createElement(ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15179
- onClick: () => __async(void 0, null, function* () {
14992
+ onClick: () => __async(null, null, function* () {
15180
14993
  return yield leaveRoom({ sendReason: true });
15181
14994
  }),
15182
14995
  css: { p: "$8 $4" }
@@ -15267,7 +15080,7 @@ var MwebLeaveRoom = ({
15267
15080
  bg: "$surface_default",
15268
15081
  titleColor: "$on_surface_high",
15269
15082
  icon: /* @__PURE__ */ React42.createElement(ExitIcon2, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15270
- onClick: () => __async(void 0, null, function* () {
15083
+ onClick: () => __async(null, null, function* () {
15271
15084
  return yield leaveRoom({ sendReason: true });
15272
15085
  }),
15273
15086
  css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
@@ -15333,7 +15146,7 @@ var LeaveRoom = ({
15333
15146
  const hmsActions = useHMSActions9();
15334
15147
  const isMobileHLSStream = useMobileHLSStream();
15335
15148
  const isLandscapeHLSStream = useLandscapeHLSStream();
15336
- const stopStream = (stop_reason = "") => __async(void 0, null, function* () {
15149
+ const stopStream = (stop_reason = "") => __async(null, null, function* () {
15337
15150
  try {
15338
15151
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
15339
15152
  console.log("Stopping HLS stream");
@@ -15345,10 +15158,10 @@ var LeaveRoom = ({
15345
15158
  ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
15346
15159
  }
15347
15160
  });
15348
- const endRoom = () => __async(void 0, null, function* () {
15161
+ const endRoom = () => __async(null, null, function* () {
15349
15162
  yield hmsActions.endRoom(false, "End Room");
15350
15163
  });
15351
- const leaveRoom = (..._0) => __async(void 0, [..._0], function* (options = { endStream: false, sendReason: false }) {
15164
+ const leaveRoom = (..._0) => __async(null, [..._0], function* (options = { endStream: false, sendReason: false }) {
15352
15165
  if (options.endStream || hlsState.running && peersWithStreamingRights.length === 1) {
15353
15166
  yield stopStream(options.sendReason ? "last publisher left" : "");
15354
15167
  }
@@ -15618,7 +15431,7 @@ var useChatBlacklist = (sessionStoreKey) => {
15618
15431
  const hmsActions = useHMSActions11();
15619
15432
  const blacklistedIDs = useHMSStore16(selectSessionStore2(sessionStoreKey));
15620
15433
  const blacklistItem = useCallback12(
15621
- (blacklistID) => __async(void 0, null, function* () {
15434
+ (blacklistID) => __async(null, null, function* () {
15622
15435
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
15623
15436
  }),
15624
15437
  [hmsActions, sessionStoreKey, blacklistedIDs]
@@ -15644,7 +15457,7 @@ var usePinnedMessages = () => {
15644
15457
  const hmsActions = useHMSActions12();
15645
15458
  const vanillaStore = useHMSVanillaStore7();
15646
15459
  const setPinnedMessages = useCallback13(
15647
- (message, pinnedBy) => __async(void 0, null, function* () {
15460
+ (message, pinnedBy) => __async(null, null, function* () {
15648
15461
  const peerName = vanillaStore.getState(selectPeerNameByID(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
15649
15462
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
15650
15463
  if (message && peerName) {
@@ -15660,7 +15473,7 @@ var usePinnedMessages = () => {
15660
15473
  [hmsActions, vanillaStore]
15661
15474
  );
15662
15475
  const removePinnedMessage = useCallback13(
15663
- (indexToRemove) => __async(void 0, null, function* () {
15476
+ (indexToRemove) => __async(null, null, function* () {
15664
15477
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15665
15478
  if (pinnedMessages[indexToRemove]) {
15666
15479
  yield hmsActions.sessionStore.set(
@@ -15672,7 +15485,7 @@ var usePinnedMessages = () => {
15672
15485
  [hmsActions, vanillaStore]
15673
15486
  );
15674
15487
  const unpinBlacklistedMessages = useCallback13(
15675
- (blacklistedMessageIDSet) => __async(void 0, null, function* () {
15488
+ (blacklistedMessageIDSet) => __async(null, null, function* () {
15676
15489
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15677
15490
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
15678
15491
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
@@ -15770,7 +15583,7 @@ var ChatActions = ({
15770
15583
  hide: {
15771
15584
  text: message.recipientPeer ? "Hide for both" : "Hide for everyone",
15772
15585
  icon: /* @__PURE__ */ React47.createElement(EyeCloseIcon2, { style: iconStyle }),
15773
- onClick: () => __async(void 0, null, function* () {
15586
+ onClick: () => __async(null, null, function* () {
15774
15587
  blacklistMessage(message.id);
15775
15588
  updatePinnedMessages(message.id);
15776
15589
  }),
@@ -15779,7 +15592,7 @@ var ChatActions = ({
15779
15592
  block: {
15780
15593
  text: "Block from chat",
15781
15594
  icon: /* @__PURE__ */ React47.createElement(CrossCircleIcon, { style: iconStyle }),
15782
- onClick: () => __async(void 0, null, function* () {
15595
+ onClick: () => __async(null, null, function* () {
15783
15596
  if (message.senderUserId) {
15784
15597
  blacklistPeer(message.senderUserId);
15785
15598
  }
@@ -15792,7 +15605,7 @@ var ChatActions = ({
15792
15605
  icon: /* @__PURE__ */ React47.createElement(PeopleRemoveIcon2, { style: iconStyle }),
15793
15606
  color: "$alert_error_default",
15794
15607
  show: !!canRemoveOthers && !sentByLocalPeer,
15795
- onClick: () => __async(void 0, null, function* () {
15608
+ onClick: () => __async(null, null, function* () {
15796
15609
  if (!message.sender) {
15797
15610
  return;
15798
15611
  }
@@ -15903,8 +15716,7 @@ var EmptyChat = () => {
15903
15716
  const isMobileHLSStream = useMobileHLSStream();
15904
15717
  const isLandscapeStream = useLandscapeHLSStream();
15905
15718
  const streaming = isMobileHLSStream || isLandscapeStream;
15906
- if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming)
15907
- return /* @__PURE__ */ React48.createElement(React48.Fragment, null);
15719
+ if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming) return /* @__PURE__ */ React48.createElement(React48.Fragment, null);
15908
15720
  return /* @__PURE__ */ React48.createElement(
15909
15721
  Flex,
15910
15722
  {
@@ -16391,8 +16203,7 @@ var PIPChat = () => {
16391
16203
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
16392
16204
  const canSendChatMessages = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled) || !!((_d = (_c = elements == null ? void 0 : elements.chat) == null ? void 0 : _c.roles_whitelist) == null ? void 0 : _d.length) || !!((_e = elements == null ? void 0 : elements.chat) == null ? void 0 : _e.private_chat_enabled);
16393
16205
  const getChatStatus = useCallback16(() => {
16394
- if (isLocalPeerBlacklisted)
16395
- return "You've been blocked from sending messages";
16206
+ if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
16396
16207
  if (!isChatEnabled)
16397
16208
  return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
16398
16209
  return message_placeholder;
@@ -16708,7 +16519,7 @@ var RoleChangeContent = ({
16708
16519
  "data-testid": "change_button",
16709
16520
  variant: "primary",
16710
16521
  css: { width: "100%" },
16711
- onClick: () => __async(void 0, null, function* () {
16522
+ onClick: () => __async(null, null, function* () {
16712
16523
  if (selectedRole) {
16713
16524
  yield hmsActions.changeRoleOfPeer(peer.id, selectedRole, true);
16714
16525
  onOpenChange(false);
@@ -16990,7 +16801,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16990
16801
  "data-testid": "stop_recording_confirm_mobile",
16991
16802
  variant: "danger",
16992
16803
  icon: true,
16993
- onClick: () => __async(void 0, null, function* () {
16804
+ onClick: () => __async(null, null, function* () {
16994
16805
  try {
16995
16806
  yield hmsActions.stopRTMPAndRecording();
16996
16807
  } catch (error) {
@@ -17022,7 +16833,7 @@ var StartRecording = ({ open, onOpenChange }) => {
17022
16833
  css: { ml: "auto" },
17023
16834
  type: "submit",
17024
16835
  disabled: recordingStarted || isStreamingOn,
17025
- onClick: () => __async(void 0, null, function* () {
16836
+ onClick: () => __async(null, null, function* () {
17026
16837
  yield startRecording(resolution);
17027
16838
  onOpenChange(false);
17028
16839
  })
@@ -17300,7 +17111,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
17300
17111
  const [roleDialog, setRoleDialog] = useState24(false);
17301
17112
  const [errorMessage, setErrorMessage] = useState24("");
17302
17113
  const [isSubmiting, setIsSubmiting] = useState24(false);
17303
- const changeBulkRole = useCallback18(() => __async(void 0, null, function* () {
17114
+ const changeBulkRole = useCallback18(() => __async(null, null, function* () {
17304
17115
  if (selectedBulkRole.length > 0 && selectedRole) {
17305
17116
  try {
17306
17117
  setIsSubmiting(true);
@@ -17471,7 +17282,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
17471
17282
  variant: isTranscriptionEnabled ? "danger" : "primary",
17472
17283
  css: { width: "100%" },
17473
17284
  "data-testid": "popup_change_btn",
17474
- onClick: () => __async(void 0, null, function* () {
17285
+ onClick: () => __async(null, null, function* () {
17475
17286
  try {
17476
17287
  if (isTranscriptionEnabled) {
17477
17288
  yield actions.stopTranscription({
@@ -17544,7 +17355,7 @@ import { useCallback as useCallback19, useEffect as useEffect19, useState as use
17544
17355
  import screenfull from "screenfull";
17545
17356
  var useFullscreen = () => {
17546
17357
  const [isFullScreenEnabled, setIsFullScreenEnabled] = useState25(screenfull.isFullscreen);
17547
- const toggle = useCallback19(() => __async(void 0, null, function* () {
17358
+ const toggle = useCallback19(() => __async(null, null, function* () {
17548
17359
  if (!screenfull.isEnabled) {
17549
17360
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
17550
17361
  return;
@@ -17660,7 +17471,7 @@ var MuteAllModal = ({
17660
17471
  const [trackType, setTrackType] = useState26();
17661
17472
  const [selectedRole, setRole] = useState26();
17662
17473
  const [selectedSource, setSource] = useState26();
17663
- const muteAll = useCallback20(() => __async(void 0, null, function* () {
17474
+ const muteAll = useCallback20(() => __async(null, null, function* () {
17664
17475
  yield hmsActions.setRemoteTracksEnabled({
17665
17476
  enabled,
17666
17477
  type: trackType,
@@ -17705,7 +17516,7 @@ var useMyMetadata = () => {
17705
17516
  const vanillaStore = useHMSVanillaStore9();
17706
17517
  const metaData = useHMSStore27(selectPeerMetadata2(localPeerId));
17707
17518
  const isHandRaised = useHMSStore27(selectHasPeerHandRaised(localPeerId));
17708
- const update = (updatedFields) => __async(void 0, null, function* () {
17519
+ const update = (updatedFields) => __async(null, null, function* () {
17709
17520
  try {
17710
17521
  const currentMetadata = vanillaStore.getState(selectPeerMetadata2(localPeerId));
17711
17522
  yield hmsActions.changeMetadata(Object.assign(currentMetadata, updatedFields));
@@ -17715,7 +17526,7 @@ var useMyMetadata = () => {
17715
17526
  }
17716
17527
  return false;
17717
17528
  });
17718
- const toggleHandRaise = useCallback21(() => __async(void 0, null, function* () {
17529
+ const toggleHandRaise = useCallback21(() => __async(null, null, function* () {
17719
17530
  if (isHandRaised) {
17720
17531
  yield hmsActions.lowerLocalPeerHand();
17721
17532
  yield update({ handRaisedAt: void 0 });
@@ -17724,7 +17535,7 @@ var useMyMetadata = () => {
17724
17535
  yield update({ isBRBOn: false, handRaisedAt: Date.now() });
17725
17536
  }
17726
17537
  }), [isHandRaised]);
17727
- const toggleBRB = useCallback21(() => __async(void 0, null, function* () {
17538
+ const toggleBRB = useCallback21(() => __async(null, null, function* () {
17728
17539
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
17729
17540
  yield update({ isBRBOn: newValue });
17730
17541
  if (newValue) {
@@ -17808,8 +17619,7 @@ var usePIPChat = () => {
17808
17619
  "click",
17809
17620
  () => setTimeout(() => marker == null ? void 0 : marker.scrollIntoView({ block: "end", behavior: "smooth" }), 0)
17810
17621
  );
17811
- } else if (messageId)
17812
- observer.observe(message);
17622
+ } else if (messageId) observer.observe(message);
17813
17623
  });
17814
17624
  }
17815
17625
  });
@@ -17817,7 +17627,7 @@ var usePIPChat = () => {
17817
17627
  mutationObserver.observe(chatContainer, {
17818
17628
  childList: true
17819
17629
  });
17820
- const sendMessage = () => __async(void 0, null, function* () {
17630
+ const sendMessage = () => __async(null, null, function* () {
17821
17631
  const selection = (selector == null ? void 0 : selector.value) || "Everyone";
17822
17632
  if (selection === "Everyone") {
17823
17633
  yield hmsActions.sendBroadcastMessage(pipChatInput.value.trim());
@@ -17835,8 +17645,7 @@ var usePIPChat = () => {
17835
17645
  }
17836
17646
  });
17837
17647
  const sendOnEnter = (e) => {
17838
- if (e.key === "Enter")
17839
- sendMessage();
17648
+ if (e.key === "Enter") sendMessage();
17840
17649
  };
17841
17650
  sendBtn.addEventListener("click", sendMessage);
17842
17651
  pipChatInput.addEventListener("keypress", sendOnEnter);
@@ -17948,7 +17757,7 @@ var DesktopOptions = ({
17948
17757
  PIPChatOption,
17949
17758
  {
17950
17759
  showPIPChat: showPipChatOption,
17951
- openChat: () => __async(void 0, null, function* () {
17760
+ openChat: () => __async(null, null, function* () {
17952
17761
  isChatOpen && toggleChat();
17953
17762
  yield requestPipWindow(350, 500);
17954
17763
  })
@@ -18230,8 +18039,7 @@ var enumerize = function(arr) {
18230
18039
  var has = function(str1, str2) {
18231
18040
  if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
18232
18041
  for (var i in str1) {
18233
- if (lowerize(str2) == lowerize(str1[i]))
18234
- return true;
18042
+ if (lowerize(str2) == lowerize(str1[i])) return true;
18235
18043
  }
18236
18044
  return false;
18237
18045
  }
@@ -18246,8 +18054,7 @@ var isString = function(val) {
18246
18054
  return typeof val === TYPEOF.STRING;
18247
18055
  };
18248
18056
  var itemListToArray = function(header) {
18249
- if (!header)
18250
- return void 0;
18057
+ if (!header) return void 0;
18251
18058
  var arr = [];
18252
18059
  var tokens = strip(/\\?\"/g, header).split(",");
18253
18060
  for (var i = 0; i < tokens.length; i++) {
@@ -18268,8 +18075,7 @@ var majorize = function(version) {
18268
18075
  };
18269
18076
  var setProps = function(arr) {
18270
18077
  for (var i in arr) {
18271
- if (!arr.hasOwnProperty(i))
18272
- continue;
18078
+ if (!arr.hasOwnProperty(i)) continue;
18273
18079
  var propName = arr[i];
18274
18080
  if (typeof propName == TYPEOF.OBJECT && propName.length == 2) {
18275
18081
  this[propName[0]] = propName[1];
@@ -18290,8 +18096,7 @@ var trim = function(str, len) {
18290
18096
  return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
18291
18097
  };
18292
18098
  var rgxMapper = function(ua2, arrays) {
18293
- if (!ua2 || !arrays)
18294
- return;
18099
+ if (!ua2 || !arrays) return;
18295
18100
  var i = 0, j, k2, p, q2, matches, match18;
18296
18101
  while (i < arrays.length && !matches) {
18297
18102
  var regex = arrays[i], props = arrays[i + 1];
@@ -19620,7 +19425,7 @@ var defaultRegexes = {
19620
19425
  [NAME, VERSION]
19621
19426
  ]
19622
19427
  };
19623
- var defaultProps = function() {
19428
+ var defaultProps = (function() {
19624
19429
  var props = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
19625
19430
  setProps.call(props.init, [
19626
19431
  [BROWSER, [NAME, VERSION, MAJOR, TYPE]],
@@ -19646,7 +19451,7 @@ var defaultProps = function() {
19646
19451
  [OS, [NAME, VERSION]]
19647
19452
  ]);
19648
19453
  return props;
19649
- }();
19454
+ })();
19650
19455
  var createIData = function(item, itemType) {
19651
19456
  var init_props = defaultProps.init[itemType], is_ignoreProps = defaultProps.isIgnore[itemType] || 0, is_ignoreRgx = defaultProps.isIgnoreRgx[itemType] || 0, toString_props = defaultProps.toString[itemType] || 0;
19652
19457
  function IData() {
@@ -19672,8 +19477,7 @@ var createIData = function(item, itemType) {
19672
19477
  for (var i in this) {
19673
19478
  if (this.hasOwnProperty(i) && !has(is_ignoreProps, i) && lowerize(is_ignoreRgx ? strip(is_ignoreRgx, this[i]) : this[i]) == lowerize(is_ignoreRgx ? strip(is_ignoreRgx, strToCheck) : strToCheck)) {
19674
19479
  is2 = true;
19675
- if (strToCheck != TYPEOF.UNDEFINED)
19676
- break;
19480
+ if (strToCheck != TYPEOF.UNDEFINED) break;
19677
19481
  } else if (strToCheck == TYPEOF.UNDEFINED && is2) {
19678
19482
  is2 = !is2;
19679
19483
  break;
@@ -19729,15 +19533,13 @@ function UACHData(uach, isHttpUACH) {
19729
19533
  ]);
19730
19534
  } else {
19731
19535
  for (var prop in uach) {
19732
- if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED)
19733
- this[prop] = uach[prop];
19536
+ if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED) this[prop] = uach[prop];
19734
19537
  }
19735
19538
  }
19736
19539
  }
19737
19540
  function UAItem(itemType, ua2, rgxMap, uaCH) {
19738
19541
  this.get = function(prop) {
19739
- if (!prop)
19740
- return this.data;
19542
+ if (!prop) return this.data;
19741
19543
  return this.data.hasOwnProperty(prop) ? this.data[prop] : void 0;
19742
19544
  };
19743
19545
  this.set = function(prop, val) {
@@ -19824,8 +19626,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19824
19626
  case CPU:
19825
19627
  var archName = uaCH2[ARCHITECTURE];
19826
19628
  if (archName) {
19827
- if (archName && uaCH2[BITNESS] == "64")
19828
- archName += "64";
19629
+ if (archName && uaCH2[BITNESS] == "64") archName += "64";
19829
19630
  rgxMapper.call(this.data, archName + ";", rgxMap2);
19830
19631
  }
19831
19632
  break;
@@ -19863,8 +19664,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19863
19664
  var osName = uaCH2[PLATFORM];
19864
19665
  if (osName) {
19865
19666
  var osVersion = uaCH2[PLATFORMVER];
19866
- if (osName == WINDOWS)
19867
- osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19667
+ if (osName == WINDOWS) osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19868
19668
  this.set(NAME, osName).set(VERSION, osVersion);
19869
19669
  }
19870
19670
  if (this.get(NAME) == WINDOWS && uaCH2[MODEL] == "Xbox") {
@@ -19956,8 +19756,7 @@ function UAParser(ua2, extensions, headers) {
19956
19756
  return userAgent;
19957
19757
  }],
19958
19758
  ["setUA", function(ua3) {
19959
- if (isString(ua3))
19960
- userAgent = trim(ua3, UA_MAX_LENGTH);
19759
+ if (isString(ua3)) userAgent = trim(ua3, UA_MAX_LENGTH);
19961
19760
  return this;
19962
19761
  }]
19963
19762
  ]).setUA(userAgent);
@@ -22088,21 +21887,15 @@ var ks = Object.prototype.hasOwnProperty;
22088
21887
  var Es = Object.prototype.propertyIsEnumerable;
22089
21888
  var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
22090
21889
  var m = (a2, e) => {
22091
- for (var t in e || (e = {}))
22092
- ks.call(e, t) && ys(a2, t, e[t]);
22093
- if (di)
22094
- for (var t of di(e))
22095
- Es.call(e, t) && ys(a2, t, e[t]);
21890
+ for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21891
+ if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
22096
21892
  return a2;
22097
21893
  };
22098
21894
  var M = (a2, e) => Po(a2, bo(e));
22099
21895
  var Ar = (a2, e) => {
22100
21896
  var t = {};
22101
- for (var i in a2)
22102
- ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
22103
- if (a2 != null && di)
22104
- for (var i of di(a2))
22105
- e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21897
+ for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21898
+ if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
22106
21899
  return t;
22107
21900
  };
22108
21901
  var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
@@ -22123,7 +21916,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
22123
21916
  n((t = t.apply(a2, e)).next());
22124
21917
  });
22125
21918
  var _r = Ro((gd, xo) => {
22126
- xo.exports = { version: "0.13.3-alpha.4", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@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"] };
21919
+ xo.exports = { version: "0.13.3-alpha.6", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@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"] };
22127
21920
  });
22128
21921
  var Rr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Rr || {});
22129
21922
  var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
@@ -22132,11 +21925,10 @@ var Hr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PE
22132
21925
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
22133
21926
  function We(a2, e) {
22134
21927
  let t, i;
22135
- if (e)
22136
- for (let r of e.auxiliaryTracks) {
22137
- let s = a2[r];
22138
- Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
22139
- }
21928
+ if (e) for (let r of e.auxiliaryTracks) {
21929
+ let s = a2[r];
21930
+ Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21931
+ }
22140
21932
  return { video: t, audio: i };
22141
21933
  }
22142
21934
  function vt(a2) {
@@ -22193,43 +21985,42 @@ var l = class {
22193
21985
  performance.clearMarks(), performance.clearMeasures();
22194
21986
  }
22195
21987
  static log(e, t, ...i) {
22196
- if (!(this.level.valueOf() > e.valueOf()))
22197
- switch (e) {
22198
- case 0: {
22199
- console.log(t, ...i);
22200
- break;
22201
- }
22202
- case 1: {
22203
- console.debug(t, ...i);
22204
- break;
22205
- }
22206
- case 2: {
22207
- console.info(t, ...i);
22208
- break;
22209
- }
22210
- case 3: {
22211
- console.warn(t, ...i);
22212
- break;
22213
- }
22214
- case 6: {
22215
- console.error(t, ...i);
22216
- break;
22217
- }
22218
- case 4: {
22219
- performance.mark(i[0]);
22220
- break;
22221
- }
22222
- case 5: {
22223
- let r = i[0];
22224
- try {
22225
- let s = performance.measure(r, r);
22226
- this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22227
- } catch (s) {
22228
- this.log(1, t, r, s);
22229
- }
22230
- break;
21988
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
21989
+ case 0: {
21990
+ console.log(t, ...i);
21991
+ break;
21992
+ }
21993
+ case 1: {
21994
+ console.debug(t, ...i);
21995
+ break;
21996
+ }
21997
+ case 2: {
21998
+ console.info(t, ...i);
21999
+ break;
22000
+ }
22001
+ case 3: {
22002
+ console.warn(t, ...i);
22003
+ break;
22004
+ }
22005
+ case 6: {
22006
+ console.error(t, ...i);
22007
+ break;
22008
+ }
22009
+ case 4: {
22010
+ performance.mark(i[0]);
22011
+ break;
22012
+ }
22013
+ case 5: {
22014
+ let r = i[0];
22015
+ try {
22016
+ let s = performance.measure(r, r);
22017
+ this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22018
+ } catch (s) {
22019
+ this.log(1, t, r, s);
22231
22020
  }
22021
+ break;
22232
22022
  }
22023
+ }
22233
22024
  }
22234
22025
  };
22235
22026
  l.level = Lo ? 7 : 0;
@@ -22237,17 +22028,16 @@ var Cr = new UAParser();
22237
22028
  var Et = null;
22238
22029
  var Lr = null;
22239
22030
  var B = typeof window != "undefined";
22240
- if (B)
22241
- try {
22242
- let a2 = Cr.getResult(), e = a2.withClientHints();
22243
- e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22244
- Et = t;
22245
- }).catch(() => {
22246
- Et = a2;
22247
- })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22248
- } catch (a2) {
22249
- Et = Cr.getResult();
22250
- }
22031
+ if (B) try {
22032
+ let a2 = Cr.getResult(), e = a2.withClientHints();
22033
+ e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22034
+ Et = t;
22035
+ }).catch(() => {
22036
+ Et = a2;
22037
+ })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22038
+ } catch (a2) {
22039
+ Et = Cr.getResult();
22040
+ }
22251
22041
  var we = () => Et || Cr.getResult();
22252
22042
  var Se = { getBrowser: () => we().browser, getOS: () => we().os, getDevice: () => we().device, getCPU: () => we().cpu, getEngine: () => we().engine, getUA: () => we().ua, getResult: we, withClientHints: () => Lr || Promise.resolve(we()) };
22253
22043
  var Hs;
@@ -22456,8 +22246,7 @@ var wr = class {
22456
22246
  this.valuesMap.clear();
22457
22247
  }
22458
22248
  key(e) {
22459
- if (arguments.length === 0)
22460
- throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22249
+ if (arguments.length === 0) throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22461
22250
  return Array.from(this.valuesMap.keys())[e];
22462
22251
  }
22463
22252
  get length() {
@@ -22507,11 +22296,10 @@ function $(a2) {
22507
22296
  }
22508
22297
  var qs = _r().version;
22509
22298
  function At(a2 = "prod", e) {
22510
- let t = "web", i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22511
- if ($e)
22512
- return js({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: qs, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22299
+ let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22300
+ if ($e) return js({ os: "web_nodejs", os_version: process.version, sdk: "web", sdk_version: qs, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22513
22301
  let r = Se.getOS(), s = Se.getDevice(), o = Se.getBrowser(), n = Nr(`web_${r.name}`), d = r.version || "", u = Nr(`${o.name}_${o.version}`), p = u;
22514
- return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: t, sdk_version: qs, device_model: p, env: i, domain: et, 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 });
22302
+ return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: "web", sdk_version: qs, device_model: p, env: i, domain: et, 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 });
22515
22303
  }
22516
22304
  function Nr(a2) {
22517
22305
  return a2.replace(/ /g, "_");
@@ -22643,11 +22431,9 @@ var Or = class {
22643
22431
  }
22644
22432
  setDevices(e) {
22645
22433
  var r;
22646
- if (this.devices = e, !this.remember)
22647
- return;
22434
+ if (this.devices = e, !this.remember) return;
22648
22435
  let t = this.storage.get();
22649
- if (!t)
22650
- return;
22436
+ if (!t) return;
22651
22437
  let i = ["audioInput", "videoInput", "audioOutput"];
22652
22438
  for (let s of i) {
22653
22439
  let o = t[s];
@@ -22658,8 +22444,7 @@ var Or = class {
22658
22444
  this.remember = e;
22659
22445
  }
22660
22446
  updateSelection(e, { deviceId: t, groupId: i }) {
22661
- if (!this.devices || !this.remember)
22662
- return;
22447
+ if (!this.devices || !this.remember) return;
22663
22448
  let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22664
22449
  if (!r) {
22665
22450
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
@@ -22673,8 +22458,7 @@ var Or = class {
22673
22458
  t[e] && (delete t[e], this.storage.set(t));
22674
22459
  }
22675
22460
  getSelection() {
22676
- if (this.remember)
22677
- return this.storage.get();
22461
+ if (this.remember) return this.storage.get();
22678
22462
  }
22679
22463
  cleanup() {
22680
22464
  this.remember = false, this.devices = void 0;
@@ -22722,8 +22506,7 @@ var jr = class {
22722
22506
  };
22723
22507
  this.handleIntersection = (e) => {
22724
22508
  var t;
22725
- for (let i of e)
22726
- (t = this.listeners.get(i.target)) == null || t(i);
22509
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22727
22510
  };
22728
22511
  this.createObserver();
22729
22512
  }
@@ -22750,8 +22533,7 @@ var Qr = class {
22750
22533
  };
22751
22534
  this.handleResize = (e) => {
22752
22535
  var t;
22753
- for (let i of e)
22754
- (t = this.listeners.get(i.target)) == null || t(i);
22536
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22755
22537
  };
22756
22538
  this.createObserver();
22757
22539
  }
@@ -22804,8 +22586,7 @@ var zm = createSelector(Z, un, (a2, e) => {
22804
22586
  });
22805
22587
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
22806
22588
  let i = t[0][1].peerID;
22807
- if (i in a2)
22808
- return a2[i];
22589
+ if (i in a2) return a2[i];
22809
22590
  }
22810
22591
  return null;
22811
22592
  });
@@ -22817,8 +22598,7 @@ var Sn = createSelector(Z, N, (a2, e) => {
22817
22598
  let t;
22818
22599
  for (let i in a2) {
22819
22600
  let r = a2[i], { video: s, audio: o } = We(e, r);
22820
- if (s)
22821
- return r;
22601
+ if (s) return r;
22822
22602
  o && !t && (t = r);
22823
22603
  }
22824
22604
  return t;
@@ -22827,8 +22607,7 @@ var Xm = createSelector(Sn, (a2) => !!a2);
22827
22607
  var Zm = createSelector(Z, N, (a2, e) => {
22828
22608
  for (let t in a2) {
22829
22609
  let i = a2[t], { audio: r, video: s } = We(e, i);
22830
- if (!s && r)
22831
- return i;
22610
+ if (!s && r) return i;
22832
22611
  }
22833
22612
  });
22834
22613
  var eS = createSelector(Z, N, (a2, e) => {
@@ -22842,15 +22621,13 @@ var eS = createSelector(Z, N, (a2, e) => {
22842
22621
  var tS = createSelector(Z, N, (a2, e) => {
22843
22622
  for (let t in e) {
22844
22623
  let i = e[t];
22845
- if (yt(i) && Mt(i) && i.peerId)
22846
- return a2[i.peerId];
22624
+ if (yt(i) && Mt(i) && i.peerId) return a2[i.peerId];
22847
22625
  }
22848
22626
  });
22849
22627
  var iS = createSelector(Z, N, (a2, e) => {
22850
22628
  for (let t in e) {
22851
22629
  let i = e[t];
22852
- if (pi(i) && i.peerId)
22853
- return a2[i.peerId];
22630
+ if (pi(i) && i.peerId) return a2[i.peerId];
22854
22631
  }
22855
22632
  });
22856
22633
  var rS = createSelector(hn, (a2) => a2.filter(Is));
@@ -22906,8 +22683,7 @@ var Oa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22906
22683
  var xa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22907
22684
  var Ua = (a2 = "audio") => createSelector(wa(a2), (e) => Object.values(e));
22908
22685
  var Ba = (a2 = "audio") => createSelector(wa(a2), as(a2), (e, t) => {
22909
- if (t.id)
22910
- return e[t.id];
22686
+ if (t.id) return e[t.id];
22911
22687
  });
22912
22688
  var Va = { selection: as("audio"), progress: _a7("audio"), currentTime: Na("audio"), playbackRate: Oa("audio"), volume: xa("audio"), list: Ua("audio"), selectedItem: Ba("audio") };
22913
22689
  var Fa = { selection: as("video"), progress: _a7("video"), currentTime: Na("video"), playbackRate: Oa("video"), volume: xa("video"), list: Ua("video"), selectedItem: Ba("video") };
@@ -22941,43 +22717,42 @@ var b = class {
22941
22717
  performance.clearMarks(), performance.clearMeasures();
22942
22718
  }
22943
22719
  static log(e, ...t) {
22944
- if (!(this.level.valueOf() > e.valueOf()))
22945
- switch (e) {
22946
- case 0: {
22947
- console.log(xt, ...t);
22948
- break;
22949
- }
22950
- case 1: {
22951
- console.debug(xt, ...t);
22952
- break;
22953
- }
22954
- case 2: {
22955
- console.info(xt, ...t);
22956
- break;
22957
- }
22958
- case 3: {
22959
- console.warn(xt, ...t);
22960
- break;
22961
- }
22962
- case 6: {
22963
- console.error(xt, ...t);
22964
- break;
22965
- }
22966
- case 4: {
22967
- performance.mark(t[1]);
22968
- break;
22969
- }
22970
- case 5: {
22971
- let i = t[0], r = t[1];
22972
- try {
22973
- let s = performance.measure(r, r);
22974
- this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22975
- } catch (s) {
22976
- this.log(1, i, r, s);
22977
- }
22978
- break;
22720
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
22721
+ case 0: {
22722
+ console.log(xt, ...t);
22723
+ break;
22724
+ }
22725
+ case 1: {
22726
+ console.debug(xt, ...t);
22727
+ break;
22728
+ }
22729
+ case 2: {
22730
+ console.info(xt, ...t);
22731
+ break;
22732
+ }
22733
+ case 3: {
22734
+ console.warn(xt, ...t);
22735
+ break;
22736
+ }
22737
+ case 6: {
22738
+ console.error(xt, ...t);
22739
+ break;
22740
+ }
22741
+ case 4: {
22742
+ performance.mark(t[1]);
22743
+ break;
22744
+ }
22745
+ case 5: {
22746
+ let i = t[0], r = t[1];
22747
+ try {
22748
+ let s = performance.measure(r, r);
22749
+ this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22750
+ } catch (s) {
22751
+ this.log(1, i, r, s);
22979
22752
  }
22753
+ break;
22980
22754
  }
22755
+ }
22981
22756
  }
22982
22757
  };
22983
22758
  b.level = 0;
@@ -22989,39 +22764,33 @@ var Mn = (a2, e) => e;
22989
22764
  var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22990
22765
  var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22991
22766
  var yn = createSelector([N, Ut], (a2, e) => {
22992
- if (!e)
22993
- return null;
22767
+ if (!e) return null;
22994
22768
  let t = a2[e];
22995
22769
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22996
22770
  });
22997
22771
  var kn = createSelector([N, Ut], (a2, e) => {
22998
- if (!e)
22999
- return null;
22772
+ if (!e) return null;
23000
22773
  let t = a2[e];
23001
22774
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
23002
22775
  });
23003
22776
  var En = createSelector([N, Ut], (a2, e) => {
23004
- if (!e)
23005
- return null;
22777
+ if (!e) return null;
23006
22778
  let t = a2[e];
23007
22779
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
23008
22780
  });
23009
22781
  var Pn = createSelector([N, Ut], (a2, e) => {
23010
- if (!e)
23011
- return null;
22782
+ if (!e) return null;
23012
22783
  let t = a2[e];
23013
22784
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
23014
22785
  });
23015
22786
  var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
23016
22787
  var re = H(ee);
23017
22788
  var OS2 = H(createSelector([is, vn], (a2, e) => {
23018
- if (a2)
23019
- return e ? a2[e] : a2;
22789
+ if (a2) return e ? a2[e] : a2;
23020
22790
  }));
23021
22791
  function xS(a2) {
23022
22792
  return (e) => {
23023
- if (e.sessionStore)
23024
- return a2 ? e.sessionStore[a2] : e.sessionStore;
22793
+ if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
23025
22794
  };
23026
22795
  }
23027
22796
  var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
@@ -23033,13 +22802,11 @@ var GS = H(En);
23033
22802
  var WS = H(Pn);
23034
22803
  var In = H((a2, e) => {
23035
22804
  let t = ee(a2, e);
23036
- if (t && t.videoTrack && t.videoTrack !== "")
23037
- return a2.tracks[t.videoTrack];
22805
+ if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
23038
22806
  });
23039
22807
  var An = H((a2, e) => {
23040
22808
  let t = ee(a2, e);
23041
- if (t && t.audioTrack && t.audioTrack !== "")
23042
- return a2.tracks[t.audioTrack];
22809
+ if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
23043
22810
  });
23044
22811
  var KS = H((a2, e) => {
23045
22812
  let t = ee(a2, e);
@@ -23053,8 +22820,7 @@ var Rn = (a2, e) => {
23053
22820
  };
23054
22821
  var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
23055
22822
  var QS = H((a2, e) => {
23056
- if (e)
23057
- return a2.connectionQualities[e];
22823
+ if (e) return a2.connectionQualities[e];
23058
22824
  });
23059
22825
  var JS = H((a2, e) => {
23060
22826
  let t = ee(a2, e);
@@ -23095,8 +22861,7 @@ var tg = H((a2, e) => {
23095
22861
  return Xe(a2, t == null ? void 0 : t.videoTrack);
23096
22862
  });
23097
22863
  var ja = H((a2, e) => {
23098
- if (e && a2.tracks[e])
23099
- return a2.tracks[e].volume === 0;
22864
+ if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
23100
22865
  });
23101
22866
  var ig = H((a2, e) => {
23102
22867
  let t = ee(a2, e);
@@ -23135,18 +22900,16 @@ var og = H((a2, e) => {
23135
22900
  }
23136
22901
  });
23137
22902
  var Ja = createSelector([Ot, Ae, os], (a2, e, t) => {
23138
- if (t)
23139
- return a2.filter((i) => {
23140
- var r;
23141
- return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
23142
- });
22903
+ if (t) return a2.filter((i) => {
22904
+ var r;
22905
+ return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22906
+ });
23143
22907
  });
23144
22908
  var za = createSelector([Ot, Ga], (a2, e) => {
23145
- if (e)
23146
- return a2.filter((t) => {
23147
- var i, r;
23148
- return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
23149
- });
22909
+ if (e) return a2.filter((t) => {
22910
+ var i, r;
22911
+ return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22912
+ });
23150
22913
  });
23151
22914
  var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
23152
22915
  var t;
@@ -23202,8 +22965,7 @@ var ps = class {
23202
22965
  this.removeFromStorage(e);
23203
22966
  return;
23204
22967
  }
23205
- if (r.status !== 200)
23206
- throw Error(r.statusText);
22968
+ if (r.status !== 200) throw Error(r.statusText);
23207
22969
  this.removeFromStorage(e);
23208
22970
  }).catch((r) => {
23209
22971
  l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
@@ -23225,10 +22987,8 @@ var ps = class {
23225
22987
  var He = new ps();
23226
22988
  var Qt = class {
23227
22989
  static handleError(e) {
23228
- if (e.status === 404)
23229
- throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
23230
- if (e.status >= 400)
23231
- throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
22990
+ if (e.status === 404) throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
22991
+ if (e.status >= 400) throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
23232
22992
  }
23233
22993
  static sendFeedback(s) {
23234
22994
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
@@ -23401,8 +23161,7 @@ var RecordingStatus = () => {
23401
23161
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
23402
23162
  (value) => !!value
23403
23163
  )) {
23404
- if (!(isMobile && isRecordingOn))
23405
- return null;
23164
+ if (!(isMobile && isRecordingOn)) return null;
23406
23165
  }
23407
23166
  return /* @__PURE__ */ React64.createElement(
23408
23167
  Tooltip,
@@ -23470,7 +23229,7 @@ var StartRecording2 = () => {
23470
23229
  variant: "danger",
23471
23230
  icon: true,
23472
23231
  css: { ml: "auto" },
23473
- onClick: () => __async(void 0, null, function* () {
23232
+ onClick: () => __async(null, null, function* () {
23474
23233
  try {
23475
23234
  yield hmsActions.stopRTMPAndRecording();
23476
23235
  } catch (error) {
@@ -23493,7 +23252,7 @@ var StartRecording2 = () => {
23493
23252
  variant: "standard",
23494
23253
  icon: true,
23495
23254
  disabled: recordingStarted || isStreamingOn,
23496
- onClick: () => __async(void 0, null, function* () {
23255
+ onClick: () => __async(null, null, function* () {
23497
23256
  yield startRecording();
23498
23257
  })
23499
23258
  },
@@ -23555,7 +23314,7 @@ var ChangeNameContent = ({
23555
23314
  return /* @__PURE__ */ React65.createElement(
23556
23315
  "form",
23557
23316
  {
23558
- onSubmit: (e) => __async(void 0, null, function* () {
23317
+ onSubmit: (e) => __async(null, null, function* () {
23559
23318
  e.preventDefault();
23560
23319
  yield changeName();
23561
23320
  })
@@ -23597,7 +23356,7 @@ var ChangeNameContent = ({
23597
23356
  autoComplete: "name",
23598
23357
  required: true,
23599
23358
  "data-testid": "change_name_field",
23600
- onKeyDown: (e) => __async(void 0, null, function* () {
23359
+ onKeyDown: (e) => __async(null, null, function* () {
23601
23360
  if (e.key === "Enter" && currentName && currentName.trim().length > 0 && currentName !== localPeerName) {
23602
23361
  e.preventDefault();
23603
23362
  if (isMobile) {
@@ -23657,7 +23416,7 @@ var ChangeNameModal = ({
23657
23416
  const localPeerName = useHMSStore30(selectLocalPeerName3);
23658
23417
  const [currentName, setCurrentName] = useState29(localPeerName);
23659
23418
  const isMobile = useMedia12(config.media.md);
23660
- const changeName = () => __async(void 0, null, function* () {
23419
+ const changeName = () => __async(null, null, function* () {
23661
23420
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
23662
23421
  if (!name || name === localPeerName) {
23663
23422
  return;
@@ -23925,7 +23684,7 @@ var MwebOptions = ({
23925
23684
  ActionTile.Root,
23926
23685
  {
23927
23686
  disabled: isHLSRunning,
23928
- onClick: () => __async(void 0, null, function* () {
23687
+ onClick: () => __async(null, null, function* () {
23929
23688
  if (isRecordingLoading) {
23930
23689
  return;
23931
23690
  }
@@ -23985,7 +23744,7 @@ var MwebOptions = ({
23985
23744
  StopRecordingInSheet,
23986
23745
  {
23987
23746
  onClose: () => setShowRecordingOn(false),
23988
- onStopRecording: () => __async(void 0, null, function* () {
23747
+ onStopRecording: () => __async(null, null, function* () {
23989
23748
  try {
23990
23749
  yield hmsActions.stopRTMPAndRecording();
23991
23750
  setShowRecordingOn(false);
@@ -24027,7 +23786,7 @@ var RaiseHand = ({ css: css2 }) => {
24027
23786
  "data-testid": "hand_raise_btn",
24028
23787
  css: css2,
24029
23788
  active: !isHandRaised,
24030
- onClick: () => __async(void 0, null, function* () {
23789
+ onClick: () => __async(null, null, function* () {
24031
23790
  return yield toggleHandRaise();
24032
23791
  })
24033
23792
  },
@@ -24520,7 +24279,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
24520
24279
  active: !isVideoScreenshare,
24521
24280
  css: css2,
24522
24281
  disabled: isAudioOnly,
24523
- onClick: () => __async(void 0, null, function* () {
24282
+ onClick: () => __async(null, null, function* () {
24524
24283
  yield toggleScreenShare();
24525
24284
  yield requestPermission();
24526
24285
  })
@@ -24771,7 +24530,7 @@ var RemoveParticipant = ({ peerId }) => {
24771
24530
  Dropdown.Item,
24772
24531
  {
24773
24532
  css: { color: "$alert_error_default", bg: "$surface_default" },
24774
- onClick: () => __async(void 0, null, function* () {
24533
+ onClick: () => __async(null, null, function* () {
24775
24534
  try {
24776
24535
  yield actions.removePeer(peerId, "");
24777
24536
  } catch (error) {
@@ -24881,7 +24640,7 @@ var RoleOptions = ({ roleName, peerList }) => {
24881
24640
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
24882
24641
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
24883
24642
  });
24884
- const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
24643
+ const setTrackEnabled = (type, enabled = false) => __async(null, null, function* () {
24885
24644
  try {
24886
24645
  yield hmsActions.setRemoteTracksEnabled({ roles: [roleName], source: "regular", type, enabled });
24887
24646
  } catch (e) {
@@ -24901,9 +24660,9 @@ var RoleOptions = ({ roleName, peerList }) => {
24901
24660
  }
24902
24661
  });
24903
24662
  };
24904
- const removePeersFromRoom = () => __async(void 0, null, function* () {
24663
+ const removePeersFromRoom = () => __async(null, null, function* () {
24905
24664
  try {
24906
- peerList.forEach((peer) => __async(void 0, null, function* () {
24665
+ peerList.forEach((peer) => __async(null, null, function* () {
24907
24666
  yield hmsActions.removePeer(peer.id, "");
24908
24667
  }));
24909
24668
  } catch (e) {
@@ -24963,7 +24722,7 @@ var useGroupOnStageActions = ({ peers }) => {
24963
24722
  () => true
24964
24723
  ).otherwise(() => false)
24965
24724
  );
24966
- const lowerAllHands = () => __async(void 0, null, function* () {
24725
+ const lowerAllHands = () => __async(null, null, function* () {
24967
24726
  return Promise.all(peers.map((peer) => hmsActions.lowerRemotePeerHand(peer.id)));
24968
24727
  });
24969
24728
  const bringAllToStage = () => {
@@ -25152,10 +24911,10 @@ var usePeerOnStageActions = ({ peerId, role }) => {
25152
24911
  const shouldShowStageRoleChange = canChangeRole && (isInStage && remove_from_stage_label || (off_stage_roles == null ? void 0 : off_stage_roles.includes(role)) && bring_to_stage_label);
25153
24912
  const prevRole = (_b7 = useHMSStore43(selectPeerMetadata3(peerId))) == null ? void 0 : _b7.prevRole;
25154
24913
  const [open, setOpen] = useState35(false);
25155
- const lowerPeerHand = () => __async(void 0, null, function* () {
24914
+ const lowerPeerHand = () => __async(null, null, function* () {
25156
24915
  yield hmsActions.lowerRemotePeerHand(peerId);
25157
24916
  });
25158
- const handleStageAction = () => __async(void 0, null, function* () {
24917
+ const handleStageAction = () => __async(null, null, function* () {
25159
24918
  if (isInStage) {
25160
24919
  prevRole && hmsActions.changeRoleOfPeer(peerId, prevRole, true);
25161
24920
  } else if (on_stage_role) {
@@ -25569,7 +25328,7 @@ var WhiteboardToggle = () => {
25569
25328
  /* @__PURE__ */ React85.createElement(
25570
25329
  IconButton_default,
25571
25330
  {
25572
- onClick: () => __async(void 0, null, function* () {
25331
+ onClick: () => __async(null, null, function* () {
25573
25332
  if (disabled || isLoading) {
25574
25333
  return;
25575
25334
  }
@@ -25666,7 +25425,7 @@ function HLSFailureModal() {
25666
25425
  const hmsActions = useHMSActions33();
25667
25426
  const { isRTMPRunning } = useRecordingStreaming8();
25668
25427
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
25669
- const startHLS = useCallback25(() => __async(this, null, function* () {
25428
+ const startHLS = useCallback25(() => __async(null, null, function* () {
25670
25429
  try {
25671
25430
  if (isHLSStarted || isRTMPRunning) {
25672
25431
  return;
@@ -25837,8 +25596,7 @@ var statusMap = {
25837
25596
  stopped: "ENDED" /* ENDED */
25838
25597
  };
25839
25598
  var StatusIndicator = ({ status }) => {
25840
- if (!status)
25841
- return null;
25599
+ if (!status) return null;
25842
25600
  return /* @__PURE__ */ React89.createElement(Flex, { align: "center" }, /* @__PURE__ */ React89.createElement(
25843
25601
  Flex,
25844
25602
  {
@@ -25971,7 +25729,7 @@ var AddMenu = () => {
25971
25729
  variant: "primary",
25972
25730
  disabled: validateTitle,
25973
25731
  css: { mt: "$10" },
25974
- onClick: () => __async(void 0, null, function* () {
25732
+ onClick: () => __async(null, null, function* () {
25975
25733
  const id = Date.now().toString();
25976
25734
  yield actions.interactivityCenter.createPoll({
25977
25735
  id,
@@ -26002,7 +25760,7 @@ var PrevMenu = () => {
26002
25760
  );
26003
25761
  const permissions = useHMSStore48(selectPermissions16);
26004
25762
  useEffect29(() => {
26005
- const updatePolls = () => __async(void 0, null, function* () {
25763
+ const updatePolls = () => __async(null, null, function* () {
26006
25764
  yield hmsActions.interactivityCenter.getPolls();
26007
25765
  });
26008
25766
  updatePolls();
@@ -26584,12 +26342,12 @@ function CreateQuestions() {
26584
26342
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: uuid2() }]
26585
26343
  );
26586
26344
  const isValidPoll = useMemo11(() => questions.length > 0 && questions.every(isValidQuestion), [questions]);
26587
- const launchPoll = () => __async(this, null, function* () {
26345
+ const launchPoll = () => __async(null, null, function* () {
26588
26346
  yield actions.interactivityCenter.startPoll(id);
26589
26347
  yield sendTimedMetadata(id);
26590
26348
  setPollView(POLL_VIEWS.VOTE);
26591
26349
  });
26592
- const sendTimedMetadata = (poll_id) => __async(this, null, function* () {
26350
+ const sendTimedMetadata = (poll_id) => __async(null, null, function* () {
26593
26351
  if (poll_id && isHLSRunning) {
26594
26352
  try {
26595
26353
  yield actions.sendHLSTimedMetadata([
@@ -26619,14 +26377,14 @@ function CreateQuestions() {
26619
26377
  question,
26620
26378
  index,
26621
26379
  length: questions.length,
26622
- onSave: (questionParams) => __async(this, null, function* () {
26380
+ onSave: (questionParams) => __async(null, null, function* () {
26623
26381
  const updatedQuestions = [...questions.slice(0, index), questionParams, ...questions.slice(index + 1)];
26624
26382
  setQuestions(updatedQuestions);
26625
26383
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
26626
26384
  yield actions.interactivityCenter.addQuestionsToPoll(id, validQuestions);
26627
26385
  }),
26628
26386
  isQuiz,
26629
- removeQuestion: (questionID) => __async(this, null, function* () {
26387
+ removeQuestion: (questionID) => __async(null, null, function* () {
26630
26388
  const updatedQuestions = questions.filter((questionFromSet) => questionID !== (questionFromSet == null ? void 0 : questionFromSet.draftID));
26631
26389
  setQuestions(updatedQuestions);
26632
26390
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
@@ -26655,7 +26413,7 @@ function CreateQuestions() {
26655
26413
  },
26656
26414
  /* @__PURE__ */ React100.createElement(AddCircleIcon2, null),
26657
26415
  /* @__PURE__ */ React100.createElement(Text, { variant: "body1", css: { ml: "$md", c: "$inherit" } }, "Add another question")
26658
- ), /* @__PURE__ */ React100.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ React100.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(this, null, function* () {
26416
+ ), /* @__PURE__ */ React100.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ React100.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(null, null, function* () {
26659
26417
  return launchPoll();
26660
26418
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
26661
26419
  }
@@ -26687,8 +26445,7 @@ import { CheckCircleIcon as CheckCircleIcon4, ClockIcon, TrophyFilledIcon } from
26687
26445
  // src/Prebuilt/components/Polls/common/utils.ts
26688
26446
  init_define_process_env();
26689
26447
  var getFormattedTime = (milliseconds, precise = true) => {
26690
- if (!milliseconds)
26691
- return "-";
26448
+ if (!milliseconds) return "-";
26692
26449
  const totalSeconds = milliseconds / 1e3;
26693
26450
  const hours = Math.floor(totalSeconds / 3600);
26694
26451
  const minutes = Math.floor(totalSeconds % 3600 / 60);
@@ -26780,7 +26537,7 @@ var useQuizSummary = (quizID) => {
26780
26537
  };
26781
26538
  const [calculations, setCalculations] = useState42({ maxPossibleScore: 0, totalResponses: 0 });
26782
26539
  useEffect30(() => {
26783
- const fetchLeaderboardData = () => __async(void 0, null, function* () {
26540
+ const fetchLeaderboardData = () => __async(null, null, function* () {
26784
26541
  var _a8;
26785
26542
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
26786
26543
  const leaderboardData = yield hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
@@ -26990,7 +26747,7 @@ var QuestionCard2 = ({
26990
26747
  return multipleOptionAnswer.size > 0;
26991
26748
  }
26992
26749
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
26993
- const handleVote = useCallback27(() => __async(void 0, null, function* () {
26750
+ const handleVote = useCallback27(() => __async(null, null, function* () {
26994
26751
  if (!isValidVote) {
26995
26752
  return;
26996
26753
  }
@@ -27221,7 +26978,7 @@ var Voting = ({ id, toggleVoting }) => {
27221
26978
  setSavedResponses({});
27222
26979
  }, [id, setSavedResponses]);
27223
26980
  useEffect33(() => {
27224
- const getResponses = () => __async(void 0, null, function* () {
26981
+ const getResponses = () => __async(null, null, function* () {
27225
26982
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
27226
26983
  yield actions.interactivityCenter.getPollResponses(poll, true);
27227
26984
  fetchedInitialResponses.current = true;
@@ -27883,7 +27640,7 @@ var ChatFooter = ({ onSend, children }) => {
27883
27640
  inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27884
27641
  }
27885
27642
  }, []);
27886
- const sendMessage = useCallback29(() => __async(void 0, null, function* () {
27643
+ const sendMessage = useCallback29(() => __async(null, null, function* () {
27887
27644
  var _a9;
27888
27645
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
27889
27646
  if (!message || !message.trim().length) {
@@ -27990,7 +27747,7 @@ var ChatFooter = ({ onSend, children }) => {
27990
27747
  ref: inputRef,
27991
27748
  required: true,
27992
27749
  autoFocus: !(isMobile || isLandscapeHLSStream),
27993
- onKeyPress: (event) => __async(void 0, null, function* () {
27750
+ onKeyPress: (event) => __async(null, null, function* () {
27994
27751
  if (event.key === "Enter") {
27995
27752
  if (!event.shiftKey && !messageLengthExceeded) {
27996
27753
  event.preventDefault();
@@ -28061,7 +27818,7 @@ var ChatPaused = () => {
28061
27818
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = useHMSStore59(selectSessionStore7("chatState" /* CHAT_STATE */)) || {};
28062
27819
  const localPeer = useHMSStore59(selectLocalPeer6);
28063
27820
  const unPauseChat = useCallback30(
28064
- () => __async(void 0, null, function* () {
27821
+ () => __async(null, null, function* () {
28065
27822
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
28066
27823
  enabled: true,
28067
27824
  updatedBy: { userName: localPeer == null ? void 0 : localPeer.name, userId: localPeer == null ? void 0 : localPeer.customerUserId, peerId: localPeer == null ? void 0 : localPeer.id },
@@ -28923,7 +28680,7 @@ var SimulcastLayers = ({ trackId }) => {
28923
28680
  {
28924
28681
  className: dragClassName,
28925
28682
  key: layer.layer,
28926
- onClick: () => __async(void 0, null, function* () {
28683
+ onClick: () => __async(null, null, function* () {
28927
28684
  yield actions.setPreferredLayer(trackId, layer.layer);
28928
28685
  }),
28929
28686
  css: {
@@ -29075,7 +28832,7 @@ var TileMenuContent = ({
29075
28832
  StyledMenuTile.RemoveItem,
29076
28833
  {
29077
28834
  css: __spreadProps(__spreadValues({}, spacingCSS), { borderTop: "none" }),
29078
- onClick: () => __async(void 0, null, function* () {
28835
+ onClick: () => __async(null, null, function* () {
29079
28836
  try {
29080
28837
  yield actions.removePeer(peerID, "");
29081
28838
  } catch (error) {
@@ -29340,7 +29097,7 @@ var Root25 = ({
29340
29097
  "&:hover": { border: "4px solid $primary_dim" }
29341
29098
  }
29342
29099
  }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
29343
- onClick: () => __async(void 0, null, function* () {
29100
+ onClick: () => __async(null, null, function* () {
29344
29101
  yield onClick == null ? void 0 : onClick();
29345
29102
  })
29346
29103
  },
@@ -29410,7 +29167,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29410
29167
  const inPreview = roomState === HMSRoomState6.Preview;
29411
29168
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
29412
29169
  useEffect41(() => {
29413
- const addHMSVBPlugin = () => __async(void 0, null, function* () {
29170
+ const addHMSVBPlugin = () => __async(null, null, function* () {
29414
29171
  setLoadingEffects(false);
29415
29172
  if (!role) {
29416
29173
  return;
@@ -29421,7 +29178,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29421
29178
  Math.floor(role.publishParams.video.frameRate / 2)
29422
29179
  );
29423
29180
  });
29424
- const initializeVirtualBackground = () => __async(void 0, null, function* () {
29181
+ const initializeVirtualBackground = () => __async(null, null, function* () {
29425
29182
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
29426
29183
  return;
29427
29184
  }
@@ -29441,7 +29198,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29441
29198
  } else {
29442
29199
  yield addHMSVBPlugin();
29443
29200
  }
29444
- const handleDefaultBackground = () => __async(void 0, null, function* () {
29201
+ const handleDefaultBackground = () => __async(null, null, function* () {
29445
29202
  switch (background) {
29446
29203
  case HMSVirtualBackgroundTypes5.NONE:
29447
29204
  break;
@@ -29513,7 +29270,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29513
29270
  title: "No effect",
29514
29271
  icon: /* @__PURE__ */ React131.createElement(CrossCircleIcon3, { style: iconDims }),
29515
29272
  value: HMSVirtualBackgroundTypes5.NONE,
29516
- onClick: () => __async(void 0, null, function* () {
29273
+ onClick: () => __async(null, null, function* () {
29517
29274
  yield VBHandler.removeEffects();
29518
29275
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes5.NONE);
29519
29276
  if (isMobile) {
@@ -29526,7 +29283,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29526
29283
  title: "Blur",
29527
29284
  icon: /* @__PURE__ */ React131.createElement(BlurPersonHighIcon, { style: iconDims }),
29528
29285
  value: HMSVirtualBackgroundTypes5.BLUR,
29529
- onClick: () => __async(void 0, null, function* () {
29286
+ onClick: () => __async(null, null, function* () {
29530
29287
  var _a9;
29531
29288
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBlur(blurAmount);
29532
29289
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes5.BLUR);
@@ -29542,7 +29299,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29542
29299
  {
29543
29300
  showTooltip: false,
29544
29301
  value: [blurAmount],
29545
- onValueChange: (e) => __async(void 0, null, function* () {
29302
+ onValueChange: (e) => __async(null, null, function* () {
29546
29303
  setBlurAmount(e[0]);
29547
29304
  yield VBHandler.setBlur(e[0]);
29548
29305
  }),
@@ -29558,7 +29315,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29558
29315
  options: mediaList.map((mediaURL) => ({
29559
29316
  mediaURL,
29560
29317
  value: mediaURL,
29561
- onClick: () => __async(void 0, null, function* () {
29318
+ onClick: () => __async(null, null, function* () {
29562
29319
  var _a9;
29563
29320
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBackground(mediaURL);
29564
29321
  hmsActions.setAppData(APP_DATA.background, mediaURL);
@@ -30086,7 +29843,7 @@ var RoleChangeRequestModal = () => {
30086
29843
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
30087
29844
  return;
30088
29845
  }
30089
- (() => __async(void 0, null, function* () {
29846
+ (() => __async(null, null, function* () {
30090
29847
  yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
30091
29848
  }))();
30092
29849
  }, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
@@ -30123,7 +29880,7 @@ var RoleChangeRequestModal = () => {
30123
29880
  RequestPrompt,
30124
29881
  {
30125
29882
  title: "You're invited to join the stage",
30126
- onOpenChange: (value) => __async(void 0, null, function* () {
29883
+ onOpenChange: (value) => __async(null, null, function* () {
30127
29884
  var _a8;
30128
29885
  if (!value) {
30129
29886
  hmsActions.rejectChangeRole(roleChangeRequest);
@@ -30133,7 +29890,7 @@ var RoleChangeRequestModal = () => {
30133
29890
  }
30134
29891
  }),
30135
29892
  body,
30136
- onAction: () => __async(void 0, null, function* () {
29893
+ onAction: () => __async(null, null, function* () {
30137
29894
  yield hmsActions.acceptChangeRole(roleChangeRequest);
30138
29895
  yield updateMetaData({ prevRole: currentRole });
30139
29896
  yield hmsActions.lowerLocalPeerHand();
@@ -30968,7 +30725,7 @@ var ScreenshareDisplay = () => {
30968
30725
  {
30969
30726
  variant: "danger",
30970
30727
  css: { fontWeight: "$semiBold" },
30971
- onClick: () => __async(void 0, null, function* () {
30728
+ onClick: () => __async(null, null, function* () {
30972
30729
  yield hmsActions.setScreenShareEnabled(false);
30973
30730
  }),
30974
30731
  "data-testid": "stop_screen_share_btn"
@@ -31434,7 +31191,7 @@ var EmbedComponent = () => {
31434
31191
  const resetConfig = useResetEmbedConfig();
31435
31192
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
31436
31193
  useEffect54(() => {
31437
- (() => __async(void 0, null, function* () {
31194
+ (() => __async(null, null, function* () {
31438
31195
  if (embedConfig && !isEmbedShareInProgress) {
31439
31196
  try {
31440
31197
  yield startEmbedShare(embedConfig);
@@ -31703,7 +31460,7 @@ var PlayPauseButton = ({
31703
31460
  height = 20
31704
31461
  }) => {
31705
31462
  const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
31706
- const onClick = (event) => __async(void 0, null, function* () {
31463
+ const onClick = (event) => __async(null, null, function* () {
31707
31464
  event == null ? void 0 : event.stopPropagation();
31708
31465
  isPaused ? yield hlsPlayer2 == null ? void 0 : hlsPlayer2.play() : hlsPlayer2 == null ? void 0 : hlsPlayer2.pause();
31709
31466
  });
@@ -32145,7 +31902,7 @@ function HLSAutoplayBlockedPrompt({
32145
31902
  color: "#000",
32146
31903
  r: "$2"
32147
31904
  },
32148
- onClick: () => __async(this, null, function* () {
31905
+ onClick: () => __async(null, null, function* () {
32149
31906
  return yield unblockAutoPlay();
32150
31907
  })
32151
31908
  },
@@ -32168,7 +31925,7 @@ function HLSAutoplayBlockedPrompt({
32168
31925
  Dialog.Root,
32169
31926
  {
32170
31927
  open,
32171
- onOpenChange: (value) => __async(this, null, function* () {
31928
+ onOpenChange: (value) => __async(null, null, function* () {
32172
31929
  if (!value) {
32173
31930
  yield unblockAutoPlay();
32174
31931
  }
@@ -32178,7 +31935,7 @@ function HLSAutoplayBlockedPrompt({
32178
31935
  Button,
32179
31936
  {
32180
31937
  variant: "primary",
32181
- onClick: () => __async(this, null, function* () {
31938
+ onClick: () => __async(null, null, function* () {
32182
31939
  yield unblockAutoPlay();
32183
31940
  })
32184
31941
  },
@@ -32545,8 +32302,7 @@ var HLSView = () => {
32545
32302
  }
32546
32303
  }, [hlsUrl, streamEnded, lastHlsUrl]);
32547
32304
  useEffect58(() => {
32548
- if (!notification)
32549
- return;
32305
+ if (!notification) return;
32550
32306
  const toastID = toastMap == null ? void 0 : toastMap[notification.data.id];
32551
32307
  if (toastID) {
32552
32308
  ToastManager.removeToast(toastMap[notification.data.id]);
@@ -32699,7 +32455,7 @@ var HLSView = () => {
32699
32455
  hlsPlayer == null ? void 0 : hlsPlayer.off(HMSHLSPlayerEvents2.STATS, onHLSStats);
32700
32456
  };
32701
32457
  }, [enablHlsStats]);
32702
- const unblockAutoPlay = () => __async(void 0, null, function* () {
32458
+ const unblockAutoPlay = () => __async(null, null, function* () {
32703
32459
  try {
32704
32460
  yield hlsPlayer.play();
32705
32461
  setIsHlsAutoplayBlocked(false);
@@ -32779,9 +32535,9 @@ var HLSView = () => {
32779
32535
  },
32780
32536
  [hlsState == null ? void 0 : hlsState.variants, hoverControlsVisible, isLandscape, isMobile, onSeekTo]
32781
32537
  );
32782
- const onClickHandler = useCallback37(() => __async(void 0, null, function* () {
32538
+ const onClickHandler = useCallback37(() => __async(null, null, function* () {
32783
32539
  var _a9;
32784
- match13({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
32540
+ match13({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(null, null, function* () {
32785
32541
  if (isPaused) {
32786
32542
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
32787
32543
  } else {
@@ -32877,7 +32633,7 @@ var HLSView = () => {
32877
32633
  },
32878
32634
  outline: "none"
32879
32635
  },
32880
- onKeyDown: (event) => __async(void 0, null, function* () {
32636
+ onKeyDown: (event) => __async(null, null, function* () {
32881
32637
  var _a9;
32882
32638
  if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === HLSPlaylistType.DVR) {
32883
32639
  yield keyHandler(event);
@@ -33022,7 +32778,7 @@ var HLSView = () => {
33022
32778
  IconButton,
33023
32779
  {
33024
32780
  css: { px: "$2" },
33025
- onClick: (e) => __async(void 0, null, function* () {
32781
+ onClick: (e) => __async(null, null, function* () {
33026
32782
  e.stopPropagation();
33027
32783
  yield hlsPlayer == null ? void 0 : hlsPlayer.seekToLivePosition();
33028
32784
  setIsVideoLive(true);
@@ -33088,7 +32844,7 @@ var PDFView = () => {
33088
32844
  };
33089
32845
  }, []);
33090
32846
  useEffect59(() => {
33091
- (() => __async(void 0, null, function* () {
32847
+ (() => __async(null, null, function* () {
33092
32848
  try {
33093
32849
  if (!isPDFShareInProgress && pdfConfig) {
33094
32850
  yield startPDFShare(pdfConfig);
@@ -33248,8 +33004,7 @@ var Queue = class {
33248
33004
  return captionData;
33249
33005
  }
33250
33006
  peek() {
33251
- if (this.size() <= 0)
33252
- return void 0;
33007
+ if (this.size() <= 0) return void 0;
33253
33008
  const key = Object.keys(this.storage).shift() || "";
33254
33009
  return this.storage[key];
33255
33010
  }
@@ -33279,8 +33034,7 @@ var CaptionMaintainerQueue = class {
33279
33034
  var TranscriptView = ({ peer_id, data: data3 }) => {
33280
33035
  const peerName = useHMSStore82(selectPeerNameByID7(peer_id)) || "Participant";
33281
33036
  data3 = data3.trim();
33282
- if (!data3)
33283
- return null;
33037
+ if (!data3) return null;
33284
33038
  return /* @__PURE__ */ React171.createElement(
33285
33039
  Text,
33286
33040
  {
@@ -33570,7 +33324,7 @@ var CamaraFlipActions = () => {
33570
33324
  IconButton_default,
33571
33325
  {
33572
33326
  disabled: !isVideoOn,
33573
- onClick: () => __async(void 0, null, function* () {
33327
+ onClick: () => __async(null, null, function* () {
33574
33328
  try {
33575
33329
  yield actions.switchCamera();
33576
33330
  } catch (e) {
@@ -33614,7 +33368,7 @@ var AudioActions = () => {
33614
33368
  {
33615
33369
  audioDevices: availableAudioDevices,
33616
33370
  audioSelected: selectedAudio,
33617
- onChange: (deviceId) => __async(void 0, null, function* () {
33371
+ onChange: (deviceId) => __async(null, null, function* () {
33618
33372
  try {
33619
33373
  yield updateDevice({
33620
33374
  deviceId,
@@ -33631,7 +33385,7 @@ var AudioActions = () => {
33631
33385
  /* @__PURE__ */ React174.createElement(
33632
33386
  Box,
33633
33387
  {
33634
- onClick: () => __async(void 0, null, function* () {
33388
+ onClick: () => __async(null, null, function* () {
33635
33389
  yield hmsActions.refreshDevices();
33636
33390
  })
33637
33391
  },
@@ -34037,8 +33791,8 @@ var isEvenListenersAttached = false;
34037
33791
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
34038
33792
  var KeyboardInputManager = class {
34039
33793
  constructor(store, actions) {
34040
- __privateAdd(this, _actions, void 0);
34041
- __privateAdd(this, _store, void 0);
33794
+ __privateAdd(this, _actions);
33795
+ __privateAdd(this, _store);
34042
33796
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
34043
33797
  const enabled = __privateGet(this, _store).getState(selectIsLocalAudioEnabled2);
34044
33798
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
@@ -34201,7 +33955,7 @@ var FeedbackContent = ({
34201
33955
  }
34202
33956
  setSelectedReasons(newSelected);
34203
33957
  };
34204
- const submitFeedback = () => __async(void 0, null, function* () {
33958
+ const submitFeedback = () => __async(null, null, function* () {
34205
33959
  if (indexSelected < 0 || ratings.length <= indexSelected) {
34206
33960
  return;
34207
33961
  }
@@ -34730,7 +34484,7 @@ function AutoplayBlockedModal() {
34730
34484
  Dialog.Root,
34731
34485
  {
34732
34486
  open: !!error,
34733
- onOpenChange: (value) => __async(this, null, function* () {
34487
+ onOpenChange: (value) => __async(null, null, function* () {
34734
34488
  if (!value) {
34735
34489
  yield unblockAudio();
34736
34490
  }
@@ -34741,7 +34495,7 @@ function AutoplayBlockedModal() {
34741
34495
  Button,
34742
34496
  {
34743
34497
  variant: "primary",
34744
- onClick: () => __async(this, null, function* () {
34498
+ onClick: () => __async(null, null, function* () {
34745
34499
  yield unblockAudio();
34746
34500
  resetError();
34747
34501
  })
@@ -34865,8 +34619,7 @@ var ErrorNotifications = () => {
34865
34619
  const notification = useHMSNotifications5(HMSNotificationTypes5.ERROR);
34866
34620
  const subscribedNotifications = useSubscribedNotifications() || {};
34867
34621
  useEffect72(() => {
34868
- if (!notification || !notification.data)
34869
- return;
34622
+ if (!notification || !notification.data) return;
34870
34623
  const { isTerminal, action, code, message, description } = notification.data;
34871
34624
  if (isTerminal && action !== "INIT") {
34872
34625
  if ([500, 6008].includes(code)) {
@@ -34893,8 +34646,7 @@ var ErrorNotifications = () => {
34893
34646
  if (action === "INIT") {
34894
34647
  return;
34895
34648
  }
34896
- if (!subscribedNotifications.ERROR)
34897
- return;
34649
+ if (!subscribedNotifications.ERROR) return;
34898
34650
  ToastManager.addToast({
34899
34651
  title: `Error: ${message} - ${description}`
34900
34652
  });
@@ -34956,7 +34708,7 @@ var HandRaiseAction = React188.forwardRef(({ id = "", isSingleHandRaise = true }
34956
34708
  off_stage_roles = [],
34957
34709
  skip_preview_for_role_change = false
34958
34710
  } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.conferencing) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements.on_stage_exp) || {};
34959
- const onClickHandler = useCallback38(() => __async(void 0, null, function* () {
34711
+ const onClickHandler = useCallback38(() => __async(null, null, function* () {
34960
34712
  if (isSingleHandRaise) {
34961
34713
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
34962
34714
  if (skip_preview_for_role_change) {
@@ -35715,7 +35467,7 @@ var PIPProvider = ({ children }) => {
35715
35467
  }
35716
35468
  }, [pipWindow]);
35717
35469
  const requestPipWindow = useCallback40(
35718
- (width, height) => __async(void 0, null, function* () {
35470
+ (width, height) => __async(null, null, function* () {
35719
35471
  if (pipWindow != null) {
35720
35472
  return;
35721
35473
  }
@@ -35892,7 +35644,7 @@ function FlyingEmoji() {
35892
35644
  const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
35893
35645
  const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
35894
35646
  const showFlyingEmoji = useCallback41(
35895
- (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
35647
+ (_0) => __async(null, [_0], function* ({ emojiId, senderId }) {
35896
35648
  if (!emojiId || !senderId || document.hidden) {
35897
35649
  return;
35898
35650
  }
@@ -35990,7 +35742,7 @@ import React203, { useCallback as useCallback42 } from "react";
35990
35742
  import { useCustomEvent as useCustomEvent6, useHMSActions as useHMSActions58 } from "@100mslive/react-sdk";
35991
35743
  function RemoteStopScreenshare() {
35992
35744
  const actions = useHMSActions58();
35993
- const onRemoteStopScreenshare = useCallback42(() => __async(this, null, function* () {
35745
+ const onRemoteStopScreenshare = useCallback42(() => __async(null, null, function* () {
35994
35746
  yield actions.setScreenShareEnabled(false);
35995
35747
  }), [actions]);
35996
35748
  useCustomEvent6({
@@ -36018,7 +35770,7 @@ var useAutoStartStreaming = () => {
36018
35770
  const isConnected = useHMSStore98(selectIsConnectedToRoom12);
36019
35771
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
36020
35772
  const streamStartedRef = useRef35(false);
36021
- const startHLS = useCallback43(() => __async(void 0, null, function* () {
35773
+ const startHLS = useCallback43(() => __async(null, null, function* () {
36022
35774
  try {
36023
35775
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
36024
35776
  return;
@@ -36209,7 +35961,7 @@ var BackSwipe = () => {
36209
35961
  const isConnectedToRoom = useHMSStore99(selectIsConnectedToRoom13);
36210
35962
  const hmsActions = useHMSActions60();
36211
35963
  useEffect88(() => {
36212
- const onRouteLeave = () => __async(void 0, null, function* () {
35964
+ const onRouteLeave = () => __async(null, null, function* () {
36213
35965
  if (isConnectedToRoom) {
36214
35966
  yield hmsActions.leave();
36215
35967
  }
@@ -36939,7 +36691,7 @@ var VideoTest = () => {
36939
36691
  devices: videoInput || [],
36940
36692
  icon: /* @__PURE__ */ React211.createElement(VideoOnIcon5, null),
36941
36693
  selection: sdkSelectedDevices.videoInputDeviceId,
36942
- onChange: (deviceId) => __async(void 0, null, function* () {
36694
+ onChange: (deviceId) => __async(null, null, function* () {
36943
36695
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.stopCameraCheck();
36944
36696
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck(deviceId);
36945
36697
  })
@@ -37140,16 +36892,6 @@ lodash/lodash.js:
37140
36892
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
37141
36893
  *)
37142
36894
 
37143
- react-is/cjs/react-is.production.min.js:
37144
- (** @license React v16.13.1
37145
- * react-is.production.min.js
37146
- *
37147
- * Copyright (c) Facebook, Inc. and its affiliates.
37148
- *
37149
- * This source code is licensed under the MIT license found in the
37150
- * LICENSE file in the root directory of this source tree.
37151
- *)
37152
-
37153
36895
  react-is/cjs/react-is.development.js:
37154
36896
  (** @license React v16.13.1
37155
36897
  * react-is.development.js