@100mslive/roomkit-react 0.3.3-alpha.5 → 0.3.3-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -10,18 +10,18 @@ var __getProtoOf = Object.getPrototypeOf;
10
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
11
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
12
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
- var __spreadValues = (a2, b) => {
14
- for (var prop in b || (b = {}))
15
- if (__hasOwnProp.call(b, prop))
16
- __defNormalProp(a2, prop, b[prop]);
13
+ var __spreadValues = (a2, b2) => {
14
+ for (var prop in b2 || (b2 = {}))
15
+ if (__hasOwnProp.call(b2, prop))
16
+ __defNormalProp(a2, prop, b2[prop]);
17
17
  if (__getOwnPropSymbols)
18
- for (var prop of __getOwnPropSymbols(b)) {
19
- if (__propIsEnum.call(b, prop))
20
- __defNormalProp(a2, prop, b[prop]);
18
+ for (var prop of __getOwnPropSymbols(b2)) {
19
+ if (__propIsEnum.call(b2, prop))
20
+ __defNormalProp(a2, prop, b2[prop]);
21
21
  }
22
22
  return a2;
23
23
  };
24
- var __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));
24
+ var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
25
25
  var __objRest = (source, exclude) => {
26
26
  var target = {};
27
27
  for (var prop in source)
@@ -44,13 +44,13 @@ var __export = (target, all) => {
44
44
  for (var name in all)
45
45
  __defProp(target, name, { get: all[name], enumerable: true });
46
46
  };
47
- var __copyProps = (to2, from, except, desc) => {
47
+ var __copyProps = (to, from, except, desc) => {
48
48
  if (from && typeof from === "object" || typeof from === "function") {
49
49
  for (let key of __getOwnPropNames(from))
50
- if (!__hasOwnProp.call(to2, key) && key !== except)
51
- __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
50
+ if (!__hasOwnProp.call(to, key) && key !== except)
51
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
52
52
  }
53
- return to2;
53
+ return to;
54
54
  };
55
55
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
56
56
  // If the importer is in node compatibility mode or this is not an ESM
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
108
108
  var define_process_env_default;
109
109
  var init_define_process_env = __esm({
110
110
  "<define:process.env>"() {
111
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d1851b75-ded9-411c-8b39-0cc99e52e88e", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.3-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_d1851b75-ded9-411c-8b39-0cc99e52e88e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.3-alpha.5", 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.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/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.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19840", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.3-alpha.5", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8359425530", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "3496c48ec04f96f057590bfec0bb8182011a0b02", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "0c4e67d72e7d88c99856fdea969aa038f48122782b4c0fc552af7a5194061e66", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1710940063175-0.49561585595909774:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940062978-0.7197615174263523:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040538-0.7382228335634688:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040357-0.7458450753432382:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d39a5906-941b-4c2d-9239-7d62fbd8b4c5", INVOCATION_ID: "67e126525aec44e1b45f7bf6bdeb6a00", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "486", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 100", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.3-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.5", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "3496c48ec04f96f057590bfec0bb8182011a0b02", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_d1851b75-ded9-411c-8b39-0cc99e52e88e", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_d1851b75-ded9-411c-8b39-0cc99e52e88e", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_d1851b75-ded9-411c-8b39-0cc99e52e88e" };
111
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_982bccf4-4a1d-4bbc-a221-8df3c0a06073", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.3-alpha.7", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_982bccf4-4a1d-4bbc-a221-8df3c0a06073", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.3-alpha.7", 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.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "596", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/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.0-alpha.5", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18303", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.3-alpha.7", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8370062100", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cc984a3923cf9dc6fee242eb9623eba3be5a4a99", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "0fe496c7fcffac636bbdcdda640112924f50d36dfc6f256fa30b9a22068c0a8e", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1710998331677-0.3398687830452809:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710998331480-0.20783780522037532:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710998309881-0.4873148825741791:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710998309703-0.9607485933227449:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_2a93d5c7-c2c0-4a02-bfa3-96891b012ecf", INVOCATION_ID: "31720a793c77488283603c8927940eb5", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "489", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 194", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.3-alpha.7", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.7", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "cc984a3923cf9dc6fee242eb9623eba3be5a4a99", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_982bccf4-4a1d-4bbc-a221-8df3c0a06073", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_982bccf4-4a1d-4bbc-a221-8df3c0a06073", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_982bccf4-4a1d-4bbc-a221-8df3c0a06073" };
112
112
  }
113
113
  });
114
114
 
@@ -2653,7 +2653,7 @@ var init_AudioLevel = __esm({
2653
2653
  init_Layout();
2654
2654
  init_Theme();
2655
2655
  init_audio_level();
2656
- positionValues = new Array(101).fill(0).reduce((acc, _2, index) => {
2656
+ positionValues = new Array(101).fill(0).reduce((acc, _, index) => {
2657
2657
  acc[index] = Math.round(index / 100 * 4) / 4;
2658
2658
  return acc;
2659
2659
  }, {});
@@ -4738,7 +4738,7 @@ var require_lodash = __commonJS({
4738
4738
  return string.match(reUnicodeWord) || [];
4739
4739
  }
4740
4740
  var runInContext = function runInContext2(context) {
4741
- context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
4741
+ context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
4742
4742
  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;
4743
4743
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
4744
4744
  var coreJsData = context["__core-js_shared__"];
@@ -8085,7 +8085,7 @@ var require_lodash = __commonJS({
8085
8085
  function eq(value, other) {
8086
8086
  return value === other || value !== value && other !== other;
8087
8087
  }
8088
- var gt = createRelationalOperation(baseGt);
8088
+ var gt2 = createRelationalOperation(baseGt);
8089
8089
  var gte = createRelationalOperation(function(value, other) {
8090
8090
  return value >= other;
8091
8091
  });
@@ -9224,7 +9224,7 @@ var require_lodash = __commonJS({
9224
9224
  lodash.forOwn = forOwn;
9225
9225
  lodash.forOwnRight = forOwnRight;
9226
9226
  lodash.get = get;
9227
- lodash.gt = gt;
9227
+ lodash.gt = gt2;
9228
9228
  lodash.gte = gte;
9229
9229
  lodash.has = has;
9230
9230
  lodash.hasIn = hasIn;
@@ -9512,17 +9512,17 @@ var require_lodash = __commonJS({
9512
9512
  }
9513
9513
  return lodash;
9514
9514
  };
9515
- var _2 = runInContext();
9515
+ var _ = runInContext();
9516
9516
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
9517
- root._ = _2;
9517
+ root._ = _;
9518
9518
  define(function() {
9519
- return _2;
9519
+ return _;
9520
9520
  });
9521
9521
  } else if (freeModule) {
9522
- (freeModule.exports = _2)._ = _2;
9523
- freeExports._ = _2;
9522
+ (freeModule.exports = _)._ = _;
9523
+ freeExports._ = _;
9524
9524
  } else {
9525
- root._ = _2;
9525
+ root._ = _;
9526
9526
  }
9527
9527
  }).call(exports);
9528
9528
  }
@@ -9737,12 +9737,12 @@ var init_utils2 = __esm({
9737
9737
  const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
9738
9738
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
9739
9739
  };
9740
- compareArrays = (a2, b) => {
9741
- if (a2.length !== b.length)
9740
+ compareArrays = (a2, b2) => {
9741
+ if (a2.length !== b2.length)
9742
9742
  return false;
9743
9743
  else {
9744
9744
  for (var i = 0; i < a2.length; i++) {
9745
- if (a2[i] !== b[i]) {
9745
+ if (a2[i] !== b2[i]) {
9746
9746
  return false;
9747
9747
  }
9748
9748
  }
@@ -13909,8 +13909,8 @@ var init_DesktopOptions = __esm({
13909
13909
  });
13910
13910
 
13911
13911
  // ../../node_modules/reselect/es/index.js
13912
- function defaultEqualityCheck(a2, b) {
13913
- return a2 === b;
13912
+ function defaultEqualityCheck(a2, b2) {
13913
+ return a2 === b2;
13914
13914
  }
13915
13915
  function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
13916
13916
  if (prev === null || next === null || prev.length !== next.length) {
@@ -16215,9 +16215,9 @@ function shimGetUserMedia(window2, browserDetails) {
16215
16215
  }
16216
16216
  constraints = JSON.parse(JSON.stringify(constraints));
16217
16217
  if (constraints && typeof constraints.audio === "object") {
16218
- const remap = function(obj, a2, b) {
16219
- if (a2 in obj && !(b in obj)) {
16220
- obj[b] = obj[a2];
16218
+ const remap = function(obj, a2, b2) {
16219
+ if (a2 in obj && !(b2 in obj)) {
16220
+ obj[b2] = obj[a2];
16221
16221
  delete obj[a2];
16222
16222
  }
16223
16223
  };
@@ -16977,9 +16977,9 @@ function shimGetUserMedia2(window2, browserDetails) {
16977
16977
  navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
16978
16978
  };
16979
16979
  if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
16980
- const remap = function(obj, a2, b) {
16981
- if (a2 in obj && !(b in obj)) {
16982
- obj[b] = obj[a2];
16980
+ const remap = function(obj, a2, b2) {
16981
+ if (a2 in obj && !(b2 in obj)) {
16982
+ obj[b2] = obj[a2];
16983
16983
  delete obj[a2];
16984
16984
  }
16985
16985
  };
@@ -17751,12 +17751,12 @@ var require_sdp = __commonJS({
17751
17751
  return parsed;
17752
17752
  };
17753
17753
  SDPUtils2.writeRtpMap = function(codec) {
17754
- let pt = codec.payloadType;
17754
+ let pt2 = codec.payloadType;
17755
17755
  if (codec.preferredPayloadType !== void 0) {
17756
- pt = codec.preferredPayloadType;
17756
+ pt2 = codec.preferredPayloadType;
17757
17757
  }
17758
17758
  const channels = codec.channels || codec.numChannels || 1;
17759
- return "a=rtpmap:" + pt + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
17759
+ return "a=rtpmap:" + pt2 + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
17760
17760
  };
17761
17761
  SDPUtils2.parseExtmap = function(line) {
17762
17762
  const parts = line.substring(9).split(" ");
@@ -17782,9 +17782,9 @@ var require_sdp = __commonJS({
17782
17782
  };
17783
17783
  SDPUtils2.writeFmtp = function(codec) {
17784
17784
  let line = "";
17785
- let pt = codec.payloadType;
17785
+ let pt2 = codec.payloadType;
17786
17786
  if (codec.preferredPayloadType !== void 0) {
17787
- pt = codec.preferredPayloadType;
17787
+ pt2 = codec.preferredPayloadType;
17788
17788
  }
17789
17789
  if (codec.parameters && Object.keys(codec.parameters).length) {
17790
17790
  const params = [];
@@ -17795,7 +17795,7 @@ var require_sdp = __commonJS({
17795
17795
  params.push(param);
17796
17796
  }
17797
17797
  });
17798
- line += "a=fmtp:" + pt + " " + params.join(";") + "\r\n";
17798
+ line += "a=fmtp:" + pt2 + " " + params.join(";") + "\r\n";
17799
17799
  }
17800
17800
  return line;
17801
17801
  };
@@ -17808,13 +17808,13 @@ var require_sdp = __commonJS({
17808
17808
  };
17809
17809
  SDPUtils2.writeRtcpFb = function(codec) {
17810
17810
  let lines = "";
17811
- let pt = codec.payloadType;
17811
+ let pt2 = codec.payloadType;
17812
17812
  if (codec.preferredPayloadType !== void 0) {
17813
- pt = codec.preferredPayloadType;
17813
+ pt2 = codec.preferredPayloadType;
17814
17814
  }
17815
17815
  if (codec.rtcpFeedback && codec.rtcpFeedback.length) {
17816
17816
  codec.rtcpFeedback.forEach((fb) => {
17817
- lines += "a=rtcp-fb:" + pt + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
17817
+ lines += "a=rtcp-fb:" + pt2 + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
17818
17818
  });
17819
17819
  }
17820
17820
  return lines;
@@ -17942,21 +17942,21 @@ var require_sdp = __commonJS({
17942
17942
  const mline = lines[0].split(" ");
17943
17943
  description.profile = mline[2];
17944
17944
  for (let i = 3; i < mline.length; i++) {
17945
- const pt = mline[i];
17945
+ const pt2 = mline[i];
17946
17946
  const rtpmapline = SDPUtils2.matchPrefix(
17947
17947
  mediaSection,
17948
- "a=rtpmap:" + pt + " "
17948
+ "a=rtpmap:" + pt2 + " "
17949
17949
  )[0];
17950
17950
  if (rtpmapline) {
17951
17951
  const codec = SDPUtils2.parseRtpMap(rtpmapline);
17952
17952
  const fmtps = SDPUtils2.matchPrefix(
17953
17953
  mediaSection,
17954
- "a=fmtp:" + pt + " "
17954
+ "a=fmtp:" + pt2 + " "
17955
17955
  );
17956
17956
  codec.parameters = fmtps.length ? SDPUtils2.parseFmtp(fmtps[0]) : {};
17957
17957
  codec.rtcpFeedback = SDPUtils2.matchPrefix(
17958
17958
  mediaSection,
17959
- "a=rtcp-fb:" + pt + " "
17959
+ "a=rtcp-fb:" + pt2 + " "
17960
17960
  ).map(SDPUtils2.parseRtcpFb);
17961
17961
  description.codecs.push(codec);
17962
17962
  switch (codec.name.toUpperCase()) {
@@ -18421,15 +18421,15 @@ function shimSendThrowTypeError(window2) {
18421
18421
  if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
18422
18422
  return;
18423
18423
  }
18424
- function wrapDcSend(dc2, pc) {
18425
- const origDataChannelSend = dc2.send;
18426
- dc2.send = function send() {
18424
+ function wrapDcSend(dc, pc) {
18425
+ const origDataChannelSend = dc.send;
18426
+ dc.send = function send() {
18427
18427
  const data3 = arguments[0];
18428
18428
  const length = data3.length || data3.size || data3.byteLength;
18429
- if (dc2.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
18429
+ if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
18430
18430
  throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
18431
18431
  }
18432
- return origDataChannelSend.apply(dc2, arguments);
18432
+ return origDataChannelSend.apply(dc, arguments);
18433
18433
  };
18434
18434
  }
18435
18435
  const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
@@ -19426,41 +19426,41 @@ function He(a2, e) {
19426
19426
  if (e)
19427
19427
  for (let r of e.auxiliaryTracks) {
19428
19428
  let s = a2[r];
19429
- Ca(s) && (i = it(s) ? s : i, t = rt(s) ? s : t);
19429
+ Ha(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
19430
19430
  }
19431
19431
  return { video: t, audio: i };
19432
19432
  }
19433
- function it(a2) {
19433
+ function tt(a2) {
19434
19434
  return a2 && a2.type === "audio";
19435
19435
  }
19436
- function rt(a2) {
19436
+ function it(a2) {
19437
19437
  return a2 && a2.type === "video";
19438
19438
  }
19439
- function Ca(a2) {
19439
+ function Ha(a2) {
19440
19440
  return a2 && a2.source === "screen";
19441
19441
  }
19442
19442
  function $t(a2) {
19443
19443
  return a2 && a2.source === "audioplaylist";
19444
19444
  }
19445
- function st(a2) {
19445
+ function rt(a2) {
19446
19446
  return a2 && a2.source === "videoplaylist";
19447
19447
  }
19448
- function Jr(a2) {
19448
+ function jr(a2) {
19449
19449
  return a2 ? !!(a2 != null && a2.degraded) : false;
19450
19450
  }
19451
19451
  function Ue(a2, e) {
19452
19452
  return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
19453
19453
  }
19454
- function at(a2) {
19454
+ function st(a2) {
19455
19455
  var r;
19456
19456
  let e = false, t = false, i = false;
19457
19457
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
19458
19458
  }
19459
- function A(a2) {
19459
+ function b(a2) {
19460
19460
  return (e) => (t) => a2(t, e);
19461
19461
  }
19462
- function $a() {
19463
- if (_ && window) {
19462
+ function Ga() {
19463
+ if (w && window) {
19464
19464
  let a2 = window.location.hostname;
19465
19465
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
19466
19466
  }
@@ -19469,12 +19469,12 @@ function $a() {
19469
19469
  function ie(a2) {
19470
19470
  return a2 != null;
19471
19471
  }
19472
- function nt(a2 = "prod", e) {
19472
+ function ot(a2 = "prod", e) {
19473
19473
  let t = "web", i = Ve !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
19474
19474
  if (Ce)
19475
- return bs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Es, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
19475
+ return Es({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ps, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
19476
19476
  let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = ur(`web_${r.name}`), l = r.version || "", u = ur(`${o.name}_${o.version}`), p = u;
19477
- return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`), bs({ os: n, os_version: l, sdk: t, sdk_version: Es, device_model: p, env: i, domain: Ve, 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 });
19477
+ return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`), Es({ os: n, os_version: l, sdk: t, sdk_version: Ps, device_model: p, env: i, domain: Ve, 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 });
19478
19478
  }
19479
19479
  function ur(a2) {
19480
19480
  return a2.replace(/ /g, "_");
@@ -19489,13 +19489,13 @@ function Jt(a2, e = 300) {
19489
19489
  }, e);
19490
19490
  };
19491
19491
  }
19492
- function dm(a2) {
19492
+ function sm(a2) {
19493
19493
  return (e) => {
19494
19494
  if (e.sessionStore)
19495
19495
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19496
19496
  };
19497
19497
  }
19498
- var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, Pa, Ea, ba, Vt, Wr, Kr, $r, m, v, Xi, Ra, lr, Zi, Ha, qr, er, jr, B, La, Hn, Cn, G, Wt, zr, w, tr, Da, ye, wn, wa, oe, _a7, z, ue, _n, Nn, Z, K, Na, Xr, On, xn, rr, Oa, Bn, Vn, Fn, Gn, $n, Wn, Kn, qn, ot, xa, jn, Y, es, Jn, ne, Qn, Kt, Ua, ts, zn, is, Yn, Xn, Zn, ec, tc, ic, rc, sc, rs, cc, Ba, dc, as, sr, os, ns, cs, ds, ls, us, ps, hs, ms, Va, d, pe, _, Ss, Ce, Ga, Tc, gs, Ts, vs, Ms, Ve, M, f, Wa, h, nr, ys, ce, ks, Es, bs, R, pr, Fe, y, hr, q, mr, Sr, Ls, Ds, ws, gr, xs, Tr, Us, fr, vr, Fs, Gs, ht, ze, Tt, k, Hr, ft, Qs, mo, So, J, Cr, go, To, fo, vo, Mo, Q, cm, um, oi, zs, pm, hm, mm, yo, ko, gm, Ys, Tm, Po, fm, vm, Mm, ym, km, Pm, Xs, Zs, bm, Am, ea, Im, Rm, ta, Hm, Cm, Lm, ia, ra, Eo, bo, Ao, Dm, wm, _m, Nm, Om, sa, jm, Io, Jm, Qm, zm, Ho, Co, Nr, Te, $, Bi, Ji, zo, Yo, Xo, Zo, ya, en, ka, Vr, ve, tn, rn, sn, an, on, nn, cn, dn, ln, un, Fr, pn, hn, mn, Sn, gn, Tn;
19498
+ var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, ka, Pa, Ea, Vt, $r, Wr, Gr, S, v, Xi, Ia, lr, Zi, Ra, Kr, er, qr, B, Ca, Rn, Hn, G, Wt, Qr, D, tr, La, ye, Dn, Da, oe, wa, z, ue, wn, _n, Z, K, _a7, Yr, Nn, On, rr, Na, Un, Bn, Vn, Fn, Gn, $n, Wn, Kn, at, Oa, qn, Y, Zr, jn, ne, Jn, Kt, xa, es, Qn, ts, zn, Yn, Xn, Zn, ec, tc, ic, rc, is, nc, Ua, cc, ss, sr, as, os, ns, cs, ds, ls, us, ps, hs, Ba, d, pe, w, ms, Ce, Fa, gc, Ss, gs, fs, vs, Ve, M, f, $a, m, nr, Ms, ce, ys, Ps, Es, R, y, pr, q, hr, mr, Cs, Ls, Ds, Sr, Os, gr, xs, Tr, fr, Vs, Fs, pt, Qe, gt, k, Rr, Tt, Js, ho, mo, J, Hr, So, go, To, fo, vo, Q, rm, om, oi, Qs, nm, cm, dm, Mo, yo, um, zs, pm, ko, hm, mm, Sm, gm, Tm, fm, Ys, Xs, Mm, ym, Zs, km, Pm, ea, Em, bm, Am, ta, ia, Po, Eo, bo, Im, Rm, Hm, Cm, Lm, ra, Gm, Ao, $m, Wm, Km, Ro, Ho, _r, Te, $, Bi, Ji, Qo, zo, Yo, Xo, Ma, Zo, ya, Br, ve, en, tn, rn, sn, an, on, nn, cn, dn, ln, Vr, un, pn, hn, mn, Sn, gn;
19499
19499
  var init_dist = __esm({
19500
19500
  "../hms-video-store/dist/index.js"() {
19501
19501
  "use strict";
@@ -19523,68 +19523,68 @@ var init_dist = __esm({
19523
19523
  import_uuid9 = require("uuid");
19524
19524
  import_uuid10 = require("uuid");
19525
19525
  init_es();
19526
- Pa = Object.defineProperty;
19527
- Ea = Object.defineProperties;
19528
- ba = Object.getOwnPropertyDescriptors;
19526
+ ka = Object.defineProperty;
19527
+ Pa = Object.defineProperties;
19528
+ Ea = Object.getOwnPropertyDescriptors;
19529
19529
  Vt = Object.getOwnPropertySymbols;
19530
- Wr = Object.prototype.hasOwnProperty;
19531
- Kr = Object.prototype.propertyIsEnumerable;
19532
- $r = (a2, e, t) => e in a2 ? Pa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19533
- m = (a2, e) => {
19530
+ $r = Object.prototype.hasOwnProperty;
19531
+ Wr = Object.prototype.propertyIsEnumerable;
19532
+ Gr = (a2, e, t) => e in a2 ? ka(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19533
+ S = (a2, e) => {
19534
19534
  for (var t in e || (e = {}))
19535
- Wr.call(e, t) && $r(a2, t, e[t]);
19535
+ $r.call(e, t) && Gr(a2, t, e[t]);
19536
19536
  if (Vt)
19537
19537
  for (var t of Vt(e))
19538
- Kr.call(e, t) && $r(a2, t, e[t]);
19538
+ Wr.call(e, t) && Gr(a2, t, e[t]);
19539
19539
  return a2;
19540
19540
  };
19541
- v = (a2, e) => Ea(a2, ba(e));
19541
+ v = (a2, e) => Pa(a2, Ea(e));
19542
19542
  Xi = (a2, e) => {
19543
19543
  var t = {};
19544
19544
  for (var i in a2)
19545
- Wr.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
19545
+ $r.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
19546
19546
  if (a2 != null && Vt)
19547
19547
  for (var i of Vt(a2))
19548
- e.indexOf(i) < 0 && Kr.call(a2, i) && (t[i] = a2[i]);
19548
+ e.indexOf(i) < 0 && Wr.call(a2, i) && (t[i] = a2[i]);
19549
19549
  return t;
19550
19550
  };
19551
- Ra = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19552
- lr = Ra((id, qa) => {
19553
- qa.exports = { version: "0.12.3-alpha.5", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
19551
+ Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19552
+ lr = Ia((td, Ka) => {
19553
+ Ka.exports = { version: "0.12.3-alpha.7", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
19554
19554
  });
19555
19555
  Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
19556
- Ha = ((e) => (e.CHAT = "chat", e))(Ha || {});
19557
- qr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(qr || {});
19556
+ Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
19557
+ Kr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Kr || {});
19558
19558
  er = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(er || {});
19559
- jr = ((t) => (t.audio = "audio", t.video = "video", t))(jr || {});
19559
+ qr = ((t) => (t.audio = "audio", t.video = "video", t))(qr || {});
19560
19560
  B = (a2) => a2.room;
19561
- La = (a2) => a2.errors;
19562
- Hn = createSelector(La, (a2) => a2.length === 0 ? null : a2.at(-1));
19563
- Cn = createSelector(B, (a2) => a2.id);
19561
+ Ca = (a2) => a2.errors;
19562
+ Rn = createSelector(Ca, (a2) => a2.length === 0 ? null : a2.at(-1));
19563
+ Hn = createSelector(B, (a2) => a2.id);
19564
19564
  G = (a2) => a2.peers;
19565
19565
  Wt = (a2) => a2.messages.byID;
19566
- zr = (a2) => a2.messages.allIDs;
19567
- w = (a2) => a2.tracks;
19566
+ Qr = (a2) => a2.messages.allIDs;
19567
+ D = (a2) => a2.tracks;
19568
19568
  tr = (a2) => a2.appData;
19569
- Da = (a2) => a2.speakers;
19569
+ La = (a2) => a2.speakers;
19570
19570
  ye = createSelector([B], (a2) => a2 && a2.isConnected);
19571
- wn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
19572
- wa = (a2) => a2.hideLocalPeer;
19573
- oe = createSelector([B, G, wa], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
19574
- _a7 = createSelector(w, (a2) => Object.values(a2));
19571
+ Dn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
19572
+ Da = (a2) => a2.hideLocalPeer;
19573
+ oe = createSelector([B, G, Da], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
19574
+ wa = createSelector(D, (a2) => Object.values(a2));
19575
19575
  z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
19576
19576
  ue = createSelector(B, (a2) => a2.localPeer);
19577
- _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19578
- Nn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19577
+ wn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19578
+ _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19579
19579
  Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
19580
19580
  K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
19581
- Na = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
19582
- Xr = createSelector([Z, K, Na], (a2, e, t) => {
19581
+ _a7 = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
19582
+ Yr = createSelector([Z, K, _a7], (a2, e, t) => {
19583
19583
  let i = t ? [...t] : [];
19584
19584
  return a2 && i.unshift(a2), e && i.unshift(e), i;
19585
19585
  });
19586
- On = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
19587
- xn = createSelector(G, Da, (a2, e) => {
19586
+ Nn = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
19587
+ On = createSelector(G, La, (a2, e) => {
19588
19588
  let t = Object.entries(e).sort((i, r) => {
19589
19589
  var n, l;
19590
19590
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -19597,11 +19597,11 @@ var init_dist = __esm({
19597
19597
  }
19598
19598
  return null;
19599
19599
  });
19600
- rr = createSelector(z, w, (a2, e) => {
19600
+ rr = createSelector(z, D, (a2, e) => {
19601
19601
  let { video: t, audio: i } = He(e, a2);
19602
19602
  return !!(t || i);
19603
19603
  });
19604
- Oa = createSelector(G, w, (a2, e) => {
19604
+ Na = createSelector(G, D, (a2, e) => {
19605
19605
  let t;
19606
19606
  for (let i in a2) {
19607
19607
  let r = a2[i], { video: s, audio: o } = He(e, r);
@@ -19611,15 +19611,15 @@ var init_dist = __esm({
19611
19611
  }
19612
19612
  return t;
19613
19613
  });
19614
- Bn = createSelector(Oa, (a2) => !!a2);
19615
- Vn = createSelector(G, w, (a2, e) => {
19614
+ Un = createSelector(Na, (a2) => !!a2);
19615
+ Bn = createSelector(G, D, (a2, e) => {
19616
19616
  for (let t in a2) {
19617
19617
  let i = a2[t], { audio: r, video: s } = He(e, i);
19618
19618
  if (!s && r)
19619
19619
  return i;
19620
19620
  }
19621
19621
  });
19622
- Fn = createSelector(G, w, (a2, e) => {
19622
+ Vn = createSelector(G, D, (a2, e) => {
19623
19623
  let t = [], i = [];
19624
19624
  for (let r in a2) {
19625
19625
  let s = a2[r], { video: o, audio: n } = He(e, s);
@@ -19627,77 +19627,77 @@ var init_dist = __esm({
19627
19627
  }
19628
19628
  return t.concat(i);
19629
19629
  });
19630
- Gn = createSelector(G, w, (a2, e) => {
19630
+ Fn = createSelector(G, D, (a2, e) => {
19631
19631
  for (let t in e) {
19632
19632
  let i = e[t];
19633
- if (st(i) && rt(i) && i.peerId)
19633
+ if (rt(i) && it(i) && i.peerId)
19634
19634
  return a2[i.peerId];
19635
19635
  }
19636
19636
  });
19637
- $n = createSelector(G, w, (a2, e) => {
19637
+ Gn = createSelector(G, D, (a2, e) => {
19638
19638
  for (let t in e) {
19639
19639
  let i = e[t];
19640
19640
  if ($t(i) && i.peerId)
19641
19641
  return a2[i.peerId];
19642
19642
  }
19643
19643
  });
19644
- Wn = createSelector(_a7, (a2) => a2.filter(Jr));
19645
- Kn = createSelector(zr, (a2) => a2.length);
19646
- qn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
19647
- ot = createSelector(zr, Wt, (a2, e) => {
19644
+ $n = createSelector(wa, (a2) => a2.filter(jr));
19645
+ Wn = createSelector(Qr, (a2) => a2.length);
19646
+ Kn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
19647
+ at = createSelector(Qr, Wt, (a2, e) => {
19648
19648
  let t = [];
19649
19649
  return a2.forEach((i) => {
19650
19650
  t.push(e[i]);
19651
19651
  }), t;
19652
19652
  });
19653
- xa = createSelector(ot, (a2) => a2.filter((e) => {
19653
+ Oa = createSelector(at, (a2) => a2.filter((e) => {
19654
19654
  var t;
19655
19655
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
19656
19656
  }));
19657
- jn = createSelector(xa, (a2) => a2.filter((e) => !e.read).length);
19657
+ qn = createSelector(Oa, (a2) => a2.filter((e) => !e.read).length);
19658
19658
  Y = createSelector([B], (a2) => a2 && a2.roomState);
19659
- es = createSelector(Y, (a2) => a2 === "Preview");
19660
- Jn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
19659
+ Zr = createSelector(Y, (a2) => a2 === "Preview");
19660
+ jn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
19661
19661
  ne = (a2) => a2.roles;
19662
- Qn = createSelector([ne], (a2) => Object.keys(a2));
19662
+ Jn = createSelector([ne], (a2) => Object.keys(a2));
19663
19663
  Kt = createSelector([z, ne], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
19664
- Ua = (a2) => {
19664
+ xa = (a2) => {
19665
19665
  var e;
19666
19666
  return (e = a2.preview) == null ? void 0 : e.asRole;
19667
19667
  };
19668
- ts = createSelector([Ua, ne], (a2, e) => a2 ? e[a2] : null);
19669
- zn = createSelector([Kt], (a2) => {
19668
+ es = createSelector([xa, ne], (a2, e) => a2 ? e[a2] : null);
19669
+ Qn = createSelector([Kt], (a2) => {
19670
19670
  var e;
19671
19671
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
19672
19672
  });
19673
- is = createSelector(Kt, (a2) => a2 == null ? void 0 : a2.permissions);
19674
- Yn = createSelector(B, (a2) => a2.recording);
19675
- Xn = createSelector(B, (a2) => a2.rtmp);
19676
- Zn = createSelector(B, (a2) => a2.hls);
19677
- ec = createSelector(B, (a2) => a2.sessionId);
19678
- tc = createSelector(B, (a2) => a2.startedAt);
19679
- ic = createSelector(B, (a2) => !!a2.isLargeRoom);
19680
- rc = createSelector(B, (a2) => !!a2.isEffectsEnabled);
19681
- sc = createSelector(B, (a2) => a2.effectsKey);
19682
- rs = (a2) => a2.polls;
19683
- cc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
19684
- Ba = (a2) => a2.whiteboards;
19685
- dc = createSelector(Ba, (a2) => Object.values(a2)[0]);
19686
- as = (a2 = "audio") => (e) => e.playlist[a2].list;
19673
+ ts = createSelector(Kt, (a2) => a2 == null ? void 0 : a2.permissions);
19674
+ zn = createSelector(B, (a2) => a2.recording);
19675
+ Yn = createSelector(B, (a2) => a2.rtmp);
19676
+ Xn = createSelector(B, (a2) => a2.hls);
19677
+ Zn = createSelector(B, (a2) => a2.sessionId);
19678
+ ec = createSelector(B, (a2) => a2.startedAt);
19679
+ tc = createSelector(B, (a2) => !!a2.isLargeRoom);
19680
+ ic = createSelector(B, (a2) => !!a2.isEffectsEnabled);
19681
+ rc = createSelector(B, (a2) => a2.effectsKey);
19682
+ is = (a2) => a2.polls;
19683
+ nc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
19684
+ Ua = (a2) => a2.whiteboards;
19685
+ cc = createSelector(Ua, (a2) => Object.values(a2)[0]);
19686
+ ss = (a2 = "audio") => (e) => e.playlist[a2].list;
19687
19687
  sr = (a2 = "audio") => (e) => e.playlist[a2].selection;
19688
- os = (a2 = "audio") => (e) => e.playlist[a2].progress;
19689
- ns = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
19690
- cs = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
19691
- ds = (a2 = "audio") => (e) => e.playlist[a2].volume;
19692
- ls = (a2 = "audio") => createSelector(as(a2), (e) => Object.values(e));
19693
- us = (a2 = "audio") => createSelector(as(a2), sr(a2), (e, t) => {
19688
+ as = (a2 = "audio") => (e) => e.playlist[a2].progress;
19689
+ os = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
19690
+ ns = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
19691
+ cs = (a2 = "audio") => (e) => e.playlist[a2].volume;
19692
+ ds = (a2 = "audio") => createSelector(ss(a2), (e) => Object.values(e));
19693
+ ls = (a2 = "audio") => createSelector(ss(a2), sr(a2), (e, t) => {
19694
19694
  if (t.id)
19695
19695
  return e[t.id];
19696
19696
  });
19697
- ps = { selection: sr("audio"), progress: os("audio"), currentTime: ns("audio"), playbackRate: cs("audio"), volume: ds("audio"), list: ls("audio"), selectedItem: us("audio") };
19698
- hs = { selection: sr("video"), progress: os("video"), currentTime: ns("video"), playbackRate: cs("video"), volume: ds("video"), list: ls("video"), selectedItem: us("video") };
19699
- ms = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ms || {});
19700
- Va = typeof window != "undefined" && typeof window.expect != "undefined";
19697
+ us = { selection: sr("audio"), progress: as("audio"), currentTime: os("audio"), playbackRate: ns("audio"), volume: cs("audio"), list: ds("audio"), selectedItem: ls("audio") };
19698
+ ps = { selection: sr("video"), progress: as("video"), currentTime: os("video"), playbackRate: ns("video"), volume: cs("video"), list: ds("video"), selectedItem: ls("video") };
19699
+ hs = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(hs || {});
19700
+ Ba = typeof window != "undefined" && typeof window.expect != "undefined";
19701
19701
  d = class {
19702
19702
  static v(e, ...t) {
19703
19703
  this.log(0, e, ...t);
@@ -19763,15 +19763,15 @@ var init_dist = __esm({
19763
19763
  }
19764
19764
  }
19765
19765
  };
19766
- d.level = Va ? 7 : 0;
19766
+ d.level = Ba ? 7 : 0;
19767
19767
  pe = new import_ua_parser_js.UAParser();
19768
- _ = typeof window != "undefined";
19769
- Ce = typeof window == "undefined" && !((Ss = pe.getBrowser().name) != null && Ss.toLowerCase().includes("electron"));
19770
- Ga = () => !Ce;
19771
- Tc = Ga();
19772
- vs = ((Ts = (gs = pe.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
19773
- Ms = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ms || {});
19774
- Ve = $a();
19768
+ w = typeof window != "undefined";
19769
+ Ce = typeof window == "undefined" && !((ms = pe.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
19770
+ Fa = () => !Ce;
19771
+ gc = Fa();
19772
+ fs = ((gs = (Ss = pe.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase()) === "firefox";
19773
+ vs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(vs || {});
19774
+ Ve = Ga();
19775
19775
  M = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
19776
19776
  f = class a extends Error {
19777
19777
  constructor(t, i, r, s, o, n = false) {
@@ -19802,8 +19802,8 @@ var init_dist = __esm({
19802
19802
  }`;
19803
19803
  }
19804
19804
  };
19805
- Wa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
19806
- h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
19805
+ $a = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
19806
+ m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
19807
19807
  return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
19808
19808
  }, WebSocketConnectionLost(a2, e = "") {
19809
19809
  return new f(M.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost ", e);
@@ -19862,7 +19862,7 @@ var init_dist = __esm({
19862
19862
  }, StatsFailed(a2, e = "") {
19863
19863
  return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
19864
19864
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
19865
- return new f(a2, "ServerErrors", e, t, t, Wa.includes(e));
19865
+ return new f(a2, "ServerErrors", e, t, t, $a.includes(e));
19866
19866
  }, AlreadyJoined(a2, e = "") {
19867
19867
  return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
19868
19868
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -19935,11 +19935,11 @@ var init_dist = __esm({
19935
19935
  return this.valuesMap.size;
19936
19936
  }
19937
19937
  };
19938
- ys = () => {
19938
+ Ms = () => {
19939
19939
  try {
19940
- _ && !localStorage && (window.localStorage = new nr());
19940
+ w && !localStorage && (window.localStorage = new nr());
19941
19941
  } catch (a2) {
19942
- d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied());
19942
+ d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
19943
19943
  }
19944
19944
  };
19945
19945
  ce = class {
@@ -19949,9 +19949,9 @@ var init_dist = __esm({
19949
19949
  }
19950
19950
  getStorage() {
19951
19951
  try {
19952
- return _ && !this.storage && (ys(), this.storage = window.localStorage), this.storage;
19952
+ return w && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
19953
19953
  } catch (e) {
19954
- return d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
19954
+ return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
19955
19955
  }
19956
19956
  }
19957
19957
  get() {
@@ -19969,57 +19969,24 @@ var init_dist = __esm({
19969
19969
  (e = this.getStorage()) == null || e.removeItem(this.key);
19970
19970
  }
19971
19971
  };
19972
- ks = () => {
19972
+ ys = () => {
19973
19973
  let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
19974
19974
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
19975
19975
  };
19976
- Es = lr().version;
19977
- bs = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
19976
+ Ps = lr().version;
19977
+ Es = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
19978
19978
  R = class {
19979
19979
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
19980
- this.metadata = { peer: {}, userAgent: nt() };
19981
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = ks();
19980
+ this.metadata = { peer: {}, userAgent: ot() };
19981
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = ys();
19982
19982
  }
19983
19983
  toSignalParams() {
19984
- return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
19985
- }
19986
- };
19987
- pr = class {
19988
- constructor() {
19989
- this.pluginUsage = /* @__PURE__ */ new Map();
19990
- this.pluginLastAddedAt = /* @__PURE__ */ new Map();
19991
- this.getPluginUsage = (e, t) => {
19992
- let i = `${t}-${e}`;
19993
- if (this.pluginUsage.has(i) || this.pluginUsage.set(i, 0), this.pluginLastAddedAt.has(i)) {
19994
- let r = this.pluginLastAddedAt.get(i) || 0, s = r ? Date.now() - r : 0;
19995
- this.pluginUsage.set(i, (this.pluginUsage.get(i) || 0) + s), this.pluginLastAddedAt.delete(i);
19996
- }
19997
- return this.pluginUsage.get(i);
19998
- };
19999
- this.updatePluginUsageData = (e, t) => {
20000
- if (e.name === "transport.leave") {
20001
- this.cleanup(t);
20002
- return;
20003
- }
20004
- let i = e.properties.plugin_name, r = `${t}-${i}`;
20005
- if (e.name === "mediaPlugin.added") {
20006
- let s = e.properties.added_at;
20007
- this.pluginLastAddedAt.set(r, s);
20008
- } else if (e.name === "mediaPlugin.stats") {
20009
- let s = e.properties.duration;
20010
- s > 0 && (this.pluginUsage.set(r, (this.pluginUsage.get(r) || 0) + s * 1e3), this.pluginLastAddedAt.delete(r));
20011
- }
20012
- };
20013
- this.cleanup = (e) => {
20014
- for (let t of this.pluginUsage.keys())
20015
- e.length && t.includes(e) && (this.pluginUsage.delete(t), this.pluginLastAddedAt.delete(t));
20016
- };
19984
+ return { name: this.name, info: v(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
20017
19985
  }
20018
19986
  };
20019
- Fe = new pr();
20020
19987
  y = class {
20021
19988
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
20022
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(v(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
19989
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(v(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
20023
19990
  return new R({ name: o, level: n, properties: l });
20024
19991
  }
20025
19992
  static disconnect(e, t) {
@@ -20033,7 +20000,7 @@ var init_dist = __esm({
20033
20000
  }
20034
20001
  static join(i) {
20035
20002
  var r = i, { error: e } = r, t = Xi(r, ["error"]);
20036
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(v(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
20003
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(v(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
20037
20004
  return new R({ name: s, level: o, properties: n });
20038
20005
  }
20039
20006
  static publish({ devices: e, settings: t, error: i }) {
@@ -20076,7 +20043,7 @@ var init_dist = __esm({
20076
20043
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
20077
20044
  if (!t && e.degradedAt instanceof Date) {
20078
20045
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
20079
- s = v(m({}, s), { duration: n, restoredAt: o });
20046
+ s = v(S({}, s), { duration: n, restoredAt: o });
20080
20047
  }
20081
20048
  return new R({ name: i, level: r, properties: s });
20082
20049
  }
@@ -20094,25 +20061,21 @@ var init_dist = __esm({
20094
20061
  return new R({ name: "subscriber.stats", level: 1, properties: e });
20095
20062
  }
20096
20063
  static getKrispUsage(e) {
20097
- let t = Fe.getPluginUsage("HMSKrispPlugin", e);
20098
- return new R({ name: "krisp.usage", level: 1, properties: { duration: t } });
20099
- }
20100
- static transportLeave() {
20101
- return new R({ name: "transport.leave", level: 1, properties: {} });
20064
+ return new R({ name: "krisp.usage", level: 1, properties: { duration: e } });
20102
20065
  }
20103
20066
  static eventNameFor(e, t) {
20104
20067
  return `${e}.${t ? "success" : "failed"}`;
20105
20068
  }
20106
20069
  static getPropertiesWithError(e, t) {
20107
20070
  let i = this.getErrorProperties(t);
20108
- return e = m(m({}, i), e), e;
20071
+ return e = S(S({}, i), e), e;
20109
20072
  }
20110
20073
  static getErrorProperties(e) {
20111
20074
  return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
20112
20075
  }
20113
20076
  };
20114
20077
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
20115
- hr = class {
20078
+ pr = class {
20116
20079
  constructor() {
20117
20080
  this.storage = new ce("hms-device-selection");
20118
20081
  this.remember = false;
@@ -20146,13 +20109,13 @@ var init_dist = __esm({
20146
20109
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
20147
20110
  }
20148
20111
  };
20149
- q = new hr();
20150
- mr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(mr || {});
20151
- Sr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Sr || {});
20152
- Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
20153
- Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
20154
- ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
20155
- gr = class {
20112
+ q = new pr();
20113
+ hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(hr || {});
20114
+ mr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(mr || {});
20115
+ Cs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Cs || {});
20116
+ Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
20117
+ Ds = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ds || {});
20118
+ Sr = class {
20156
20119
  constructor() {
20157
20120
  this.TAG = "[HMSIntersectionObserverWrapper]";
20158
20121
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -20175,12 +20138,12 @@ var init_dist = __esm({
20175
20138
  this.createObserver();
20176
20139
  }
20177
20140
  isSupported() {
20178
- let e = _ && typeof window.IntersectionObserver != "undefined";
20141
+ let e = w && typeof window.IntersectionObserver != "undefined";
20179
20142
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
20180
20143
  }
20181
20144
  };
20182
- xs = new gr();
20183
- Tr = class {
20145
+ Os = new Sr();
20146
+ gr = class {
20184
20147
  constructor() {
20185
20148
  this.TAG = "[HMSResizeObserverWrapper]";
20186
20149
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -20203,20 +20166,20 @@ var init_dist = __esm({
20203
20166
  this.createObserver();
20204
20167
  }
20205
20168
  isSupported() {
20206
- let e = _ && typeof window.ResizeObserver != "undefined";
20169
+ let e = w && typeof window.ResizeObserver != "undefined";
20207
20170
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
20208
20171
  }
20209
20172
  };
20210
- Us = new Tr();
20211
- fr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(fr || {});
20212
- vr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(vr || {});
20213
- Fs = "https://event.100ms.live/v2/client/report";
20214
- Gs = "https://event-nonprod.100ms.live/v2/client/report";
20215
- ht = Math.pow(2, 31) - 1;
20216
- ze = class {
20217
- };
20218
- ze.makePeerId = () => (0, import_uuid7.v4)();
20219
- Tt = "HMS-Store:";
20173
+ xs = new gr();
20174
+ Tr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Tr || {});
20175
+ fr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(fr || {});
20176
+ Vs = "https://event.100ms.live/v2/client/report";
20177
+ Fs = "https://event-nonprod.100ms.live/v2/client/report";
20178
+ pt = Math.pow(2, 31) - 1;
20179
+ Qe = class {
20180
+ };
20181
+ Qe.makePeerId = () => (0, import_uuid7.v4)();
20182
+ gt = "HMS-Store:";
20220
20183
  k = class {
20221
20184
  static v(e, ...t) {
20222
20185
  this.log(0, e, ...t);
@@ -20246,23 +20209,23 @@ var init_dist = __esm({
20246
20209
  if (!(this.level.valueOf() > e.valueOf()))
20247
20210
  switch (e) {
20248
20211
  case 0: {
20249
- console.log(Tt, ...t);
20212
+ console.log(gt, ...t);
20250
20213
  break;
20251
20214
  }
20252
20215
  case 1: {
20253
- console.debug(Tt, ...t);
20216
+ console.debug(gt, ...t);
20254
20217
  break;
20255
20218
  }
20256
20219
  case 2: {
20257
- console.info(Tt, ...t);
20220
+ console.info(gt, ...t);
20258
20221
  break;
20259
20222
  }
20260
20223
  case 3: {
20261
- console.warn(Tt, ...t);
20224
+ console.warn(gt, ...t);
20262
20225
  break;
20263
20226
  }
20264
20227
  case 6: {
20265
- console.error(Tt, ...t);
20228
+ console.error(gt, ...t);
20266
20229
  break;
20267
20230
  }
20268
20231
  case 4: {
@@ -20283,126 +20246,126 @@ var init_dist = __esm({
20283
20246
  }
20284
20247
  };
20285
20248
  k.level = 0;
20286
- Hr = (a2, e) => e;
20287
- ft = (a2, e) => e;
20288
- Qs = (a2, e) => e;
20249
+ Rr = (a2, e) => e;
20250
+ Tt = (a2, e) => e;
20251
+ Js = (a2, e) => e;
20252
+ ho = (a2, e) => e;
20289
20253
  mo = (a2, e) => e;
20290
- So = (a2, e) => e;
20291
- J = createSelector([G, Hr], (a2, e) => e ? a2[e] : null);
20292
- Cr = createSelector([w, ft], (a2, e) => e ? a2[e] : null);
20293
- go = createSelector([w, ft], (a2, e) => {
20254
+ J = createSelector([G, Rr], (a2, e) => e ? a2[e] : null);
20255
+ Hr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
20256
+ So = createSelector([D, Tt], (a2, e) => {
20294
20257
  if (!e)
20295
20258
  return null;
20296
20259
  let t = a2[e];
20297
20260
  return (t == null ? void 0 : t.type) === "video" ? t : null;
20298
20261
  });
20299
- To = createSelector([w, ft], (a2, e) => {
20262
+ go = createSelector([D, Tt], (a2, e) => {
20300
20263
  if (!e)
20301
20264
  return null;
20302
20265
  let t = a2[e];
20303
20266
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
20304
20267
  });
20305
- fo = createSelector([w, ft], (a2, e) => {
20268
+ To = createSelector([D, Tt], (a2, e) => {
20306
20269
  if (!e)
20307
20270
  return null;
20308
20271
  let t = a2[e];
20309
20272
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20310
20273
  });
20311
- vo = createSelector([w, ft], (a2, e) => {
20274
+ fo = createSelector([D, Tt], (a2, e) => {
20312
20275
  if (!e)
20313
20276
  return null;
20314
20277
  let t = a2[e];
20315
20278
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20316
20279
  });
20317
- Mo = createSelector([rs, So], (a2, e) => e ? a2[e] : null);
20318
- Q = A(J);
20319
- cm = A(createSelector([tr, mo], (a2, e) => {
20280
+ vo = createSelector([is, mo], (a2, e) => e ? a2[e] : null);
20281
+ Q = b(J);
20282
+ rm = b(createSelector([tr, ho], (a2, e) => {
20320
20283
  if (a2)
20321
20284
  return e ? a2[e] : a2;
20322
20285
  }));
20323
- um = A(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
20324
- oi = A(Cr);
20325
- zs = A(go);
20326
- pm = A(To);
20327
- hm = A(fo);
20328
- mm = A(vo);
20329
- yo = A((a2, e) => {
20286
+ om = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
20287
+ oi = b(Hr);
20288
+ Qs = b(So);
20289
+ nm = b(go);
20290
+ cm = b(To);
20291
+ dm = b(fo);
20292
+ Mo = b((a2, e) => {
20330
20293
  let t = J(a2, e);
20331
20294
  if (t && t.videoTrack && t.videoTrack !== "")
20332
20295
  return a2.tracks[t.videoTrack];
20333
20296
  });
20334
- ko = A((a2, e) => {
20297
+ yo = b((a2, e) => {
20335
20298
  let t = J(a2, e);
20336
20299
  if (t && t.audioTrack && t.audioTrack !== "")
20337
20300
  return a2.tracks[t.audioTrack];
20338
20301
  });
20339
- gm = A((a2, e) => {
20302
+ um = b((a2, e) => {
20340
20303
  let t = J(a2, e);
20341
20304
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
20342
20305
  });
20343
- Ys = (a2, e) => e ? a2.speakers[e] : null;
20344
- Tm = A(createSelector(Ys, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20345
- Po = (a2, e) => {
20346
- let t = ko(e)(a2);
20347
- return Ys(a2, t == null ? void 0 : t.id);
20348
- };
20349
- fm = A(createSelector(Po, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20350
- vm = A((a2, e) => {
20306
+ zs = (a2, e) => e ? a2.speakers[e] : null;
20307
+ pm = b(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20308
+ ko = (a2, e) => {
20309
+ let t = yo(e)(a2);
20310
+ return zs(a2, t == null ? void 0 : t.id);
20311
+ };
20312
+ hm = b(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20313
+ mm = b((a2, e) => {
20351
20314
  if (e)
20352
20315
  return a2.connectionQualities[e];
20353
20316
  });
20354
- Mm = A((a2, e) => {
20317
+ Sm = b((a2, e) => {
20355
20318
  let t = J(a2, e);
20356
20319
  if (t) {
20357
- let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => it(a2.tracks[r]));
20320
+ let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
20358
20321
  return i ? a2.tracks[i] : void 0;
20359
20322
  }
20360
20323
  });
20361
- ym = A(createSelector(w, J, (a2, e) => {
20324
+ gm = b(createSelector(D, J, (a2, e) => {
20362
20325
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20363
20326
  let r = a2[i];
20364
- return st(r) && rt(r);
20327
+ return rt(r) && it(r);
20365
20328
  });
20366
20329
  return t ? a2[t] : void 0;
20367
20330
  }));
20368
- km = A(createSelector(w, J, (a2, e) => {
20331
+ Tm = b(createSelector(D, J, (a2, e) => {
20369
20332
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20370
20333
  let r = a2[i];
20371
- return st(r) && it(r);
20334
+ return rt(r) && tt(r);
20372
20335
  });
20373
20336
  return t ? a2[t] : void 0;
20374
20337
  }));
20375
- Pm = A(createSelector(w, J, (a2, e) => {
20338
+ fm = b(createSelector(D, J, (a2, e) => {
20376
20339
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20377
20340
  let r = a2[i];
20378
- return $t(r) && it(r);
20341
+ return $t(r) && tt(r);
20379
20342
  });
20380
20343
  return t ? a2[t] : void 0;
20381
20344
  }));
20382
- Xs = A(createSelector(w, J, (a2, e) => He(a2, e)));
20383
- Zs = (a2) => createSelector(Xs(a2), (e) => e.audio);
20384
- bm = A((a2, e) => {
20345
+ Ys = b(createSelector(D, J, (a2, e) => He(a2, e)));
20346
+ Xs = (a2) => createSelector(Ys(a2), (e) => e.audio);
20347
+ Mm = b((a2, e) => {
20385
20348
  let t = J(a2, e);
20386
20349
  return Ue(a2, t == null ? void 0 : t.audioTrack);
20387
20350
  });
20388
- Am = A((a2, e) => {
20351
+ ym = b((a2, e) => {
20389
20352
  let t = J(a2, e);
20390
20353
  return Ue(a2, t == null ? void 0 : t.videoTrack);
20391
20354
  });
20392
- ea = A((a2, e) => {
20355
+ Zs = b((a2, e) => {
20393
20356
  if (e && a2.tracks[e])
20394
20357
  return a2.tracks[e].volume === 0;
20395
20358
  });
20396
- Im = A((a2, e) => {
20359
+ km = b((a2, e) => {
20397
20360
  let t = J(a2, e);
20398
- return ea(t == null ? void 0 : t.audioTrack)(a2);
20361
+ return Zs(t == null ? void 0 : t.audioTrack)(a2);
20399
20362
  });
20400
- Rm = A((a2, e) => {
20401
- let t = Zs(e)(a2);
20402
- return ea(t == null ? void 0 : t.id)(a2);
20363
+ Pm = b((a2, e) => {
20364
+ let t = Xs(e)(a2);
20365
+ return Zs(t == null ? void 0 : t.id)(a2);
20403
20366
  });
20404
- ta = A((a2, e) => {
20405
- let t = Cr(a2, e);
20367
+ ea = b((a2, e) => {
20368
+ let t = Hr(a2, e);
20406
20369
  if (t) {
20407
20370
  if (t.type !== "audio") {
20408
20371
  k.w("Please pass audio track here");
@@ -20411,16 +20374,16 @@ var init_dist = __esm({
20411
20374
  return t.volume;
20412
20375
  }
20413
20376
  });
20414
- Hm = A((a2, e) => {
20377
+ Em = b((a2, e) => {
20415
20378
  let t = J(a2, e);
20416
- return ta(t == null ? void 0 : t.audioTrack)(a2);
20379
+ return ea(t == null ? void 0 : t.audioTrack)(a2);
20417
20380
  });
20418
- Cm = A((a2, e) => {
20419
- let t = Zs(e)(a2);
20420
- return ta(t == null ? void 0 : t.id)(a2);
20381
+ bm = b((a2, e) => {
20382
+ let t = Xs(e)(a2);
20383
+ return ea(t == null ? void 0 : t.id)(a2);
20421
20384
  });
20422
- Lm = A((a2, e) => {
20423
- let t = Cr(a2, e);
20385
+ Am = b((a2, e) => {
20386
+ let t = Hr(a2, e);
20424
20387
  if (t) {
20425
20388
  if (t.type !== "video") {
20426
20389
  k.w("Please pass video track here");
@@ -20429,49 +20392,49 @@ var init_dist = __esm({
20429
20392
  return t.layer;
20430
20393
  }
20431
20394
  });
20432
- ia = createSelector([ot, ue, Hr], (a2, e, t) => {
20395
+ ta = createSelector([at, ue, Rr], (a2, e, t) => {
20433
20396
  if (t)
20434
20397
  return a2.filter((i) => {
20435
20398
  var r;
20436
20399
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
20437
20400
  });
20438
20401
  });
20439
- ra = createSelector([ot, Qs], (a2, e) => {
20402
+ ia = createSelector([at, Js], (a2, e) => {
20440
20403
  if (e)
20441
20404
  return a2.filter((t) => {
20442
20405
  var i, r;
20443
20406
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
20444
20407
  });
20445
20408
  });
20446
- Eo = createSelector(ot, (a2) => a2.filter((e) => {
20409
+ Po = createSelector(at, (a2) => a2.filter((e) => {
20447
20410
  var t;
20448
20411
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
20449
20412
  }));
20450
- bo = createSelector([ra, Qs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20451
- Ao = createSelector([ia, Hr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20452
- Dm = createSelector(Eo, (a2) => a2.filter((e) => !e.read).length);
20453
- wm = A(ia);
20454
- _m = A(ra);
20455
- Nm = A(bo);
20456
- Om = A(Ao);
20457
- sa = A(Mo);
20458
- jm = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
20413
+ Eo = createSelector([ia, Js], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20414
+ bo = createSelector([ta, Rr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20415
+ Im = createSelector(Po, (a2) => a2.filter((e) => !e.read).length);
20416
+ Rm = b(ta);
20417
+ Hm = b(ia);
20418
+ Cm = b(Eo);
20419
+ Lm = b(bo);
20420
+ ra = b(vo);
20421
+ Gm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
20459
20422
  var r;
20460
20423
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
20461
20424
  }));
20462
- Io = (a2) => a2.roleChangeRequests[0] || null;
20463
- Jm = createSelector([Io, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20464
- Qm = createSelector([Kt], (a2) => at(a2));
20465
- zm = createSelector([ts], (a2) => at(a2));
20466
- Ho = createSelector([K, w], (a2, e) => {
20425
+ Ao = (a2) => a2.roleChangeRequests[0] || null;
20426
+ $m = createSelector([Ao, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20427
+ Wm = createSelector([Kt], (a2) => st(a2));
20428
+ Km = createSelector([es], (a2) => st(a2));
20429
+ Ro = createSelector([K, D], (a2, e) => {
20467
20430
  let t = null;
20468
20431
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
20469
20432
  });
20470
- Co = createSelector([Z, w], (a2, e) => {
20433
+ Ho = createSelector([Z, D], (a2, e) => {
20471
20434
  let t = null;
20472
20435
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
20473
20436
  });
20474
- Nr = class {
20437
+ _r = class {
20475
20438
  constructor() {
20476
20439
  this.TAG = "[HTTPAnalyticsTransport]";
20477
20440
  this.failedEvents = new ce("client-events");
@@ -20490,7 +20453,7 @@ var init_dist = __esm({
20490
20453
  this.addEventToStorage(e);
20491
20454
  return;
20492
20455
  }
20493
- let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Fs : Gs;
20456
+ let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Vs : Fs;
20494
20457
  fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
20495
20458
  if (r.status === 401) {
20496
20459
  this.removeFromStorage(e);
@@ -20516,66 +20479,66 @@ var init_dist = __esm({
20516
20479
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
20517
20480
  }
20518
20481
  };
20519
- Te = new Nr();
20482
+ Te = new _r();
20520
20483
  $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
20521
20484
  Bi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Bi || {});
20522
20485
  Ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ji || {});
20523
- zo = (a2) => a2.localPeer.id;
20524
- Yo = (a2) => a2.localPeer.audioTrack;
20525
- Xo = (a2) => a2.localPeer.videoTrack;
20526
- Zo = (a2, e) => e;
20527
- ya = (a2, e) => e;
20528
- en = (a2) => a2.remoteTrackStats;
20529
- ka = (a2) => a2.peerStats;
20530
- Vr = (a2) => a2.localTrackStats;
20531
- ve = createSelector([ka, zo], (a2, e) => a2[e]);
20532
- tn = createSelector(ve, (a2) => {
20486
+ Qo = (a2) => a2.localPeer.id;
20487
+ zo = (a2) => a2.localPeer.audioTrack;
20488
+ Yo = (a2) => a2.localPeer.videoTrack;
20489
+ Xo = (a2, e) => e;
20490
+ Ma = (a2, e) => e;
20491
+ Zo = (a2) => a2.remoteTrackStats;
20492
+ ya = (a2) => a2.peerStats;
20493
+ Br = (a2) => a2.localTrackStats;
20494
+ ve = createSelector([ya, Qo], (a2, e) => a2[e]);
20495
+ en = createSelector(ve, (a2) => {
20533
20496
  var e;
20534
20497
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
20535
20498
  });
20536
- rn = createSelector(ve, (a2) => {
20499
+ tn = createSelector(ve, (a2) => {
20537
20500
  var e;
20538
20501
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
20539
20502
  });
20540
- sn = createSelector(ve, (a2) => {
20503
+ rn = createSelector(ve, (a2) => {
20541
20504
  var e;
20542
20505
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
20543
20506
  });
20544
- an = createSelector(ve, (a2) => {
20507
+ sn = createSelector(ve, (a2) => {
20545
20508
  var e;
20546
20509
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
20547
20510
  });
20548
- on = createSelector(ve, (a2) => {
20511
+ an = createSelector(ve, (a2) => {
20549
20512
  var e;
20550
20513
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
20551
20514
  });
20552
- nn = createSelector(ve, (a2) => {
20515
+ on = createSelector(ve, (a2) => {
20553
20516
  var e;
20554
20517
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
20555
20518
  });
20556
- cn = createSelector(ve, (a2) => {
20519
+ nn = createSelector(ve, (a2) => {
20557
20520
  var e;
20558
20521
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
20559
20522
  });
20560
- dn = createSelector(ve, (a2) => {
20523
+ cn = createSelector(ve, (a2) => {
20561
20524
  var e;
20562
20525
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
20563
20526
  });
20564
- ln = createSelector([ka, Zo], (a2, e) => e ? a2[e] : void 0);
20565
- un = createSelector([en, ya], (a2, e) => e ? a2[e] : void 0);
20566
- Fr = createSelector([Vr, ya], (a2, e) => e ? a2[e] : void 0);
20567
- pn = A(ln);
20568
- hn = A(un);
20569
- mn = createSelector([Vr, Yo], (a2, e) => {
20527
+ dn = createSelector([ya, Xo], (a2, e) => e ? a2[e] : void 0);
20528
+ ln = createSelector([Zo, Ma], (a2, e) => e ? a2[e] : void 0);
20529
+ Vr = createSelector([Br, Ma], (a2, e) => e ? a2[e] : void 0);
20530
+ un = b(dn);
20531
+ pn = b(ln);
20532
+ hn = createSelector([Br, zo], (a2, e) => {
20570
20533
  var t;
20571
20534
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20572
20535
  });
20573
- Sn = A(createSelector(Fr, (a2) => a2 == null ? void 0 : a2[0]));
20574
- gn = createSelector([Vr, Xo], (a2, e) => {
20536
+ mn = b(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
20537
+ Sn = createSelector([Br, Yo], (a2, e) => {
20575
20538
  var t;
20576
20539
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20577
20540
  });
20578
- Tn = A(createSelector(Fr, (a2) => a2));
20541
+ gn = b(createSelector(Vr, (a2) => a2));
20579
20542
  }
20580
20543
  });
20581
20544
 
@@ -20854,7 +20817,7 @@ var init_StreamActions = __esm({
20854
20817
  };
20855
20818
  RecordingPauseStatus = () => {
20856
20819
  const recording = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectRecordingState);
20857
- if (recording.hls && recording.hls.state === Ls.PAUSED) {
20820
+ if (recording.hls && recording.hls.state === Cs.PAUSED) {
20858
20821
  return /* @__PURE__ */ import_react72.default.createElement(
20859
20822
  Tooltip,
20860
20823
  {
@@ -23650,10 +23613,10 @@ var init_PollsQuizMenu = __esm({
23650
23613
  const sortedPolls = (0, import_react102.useMemo)(
23651
23614
  () => {
23652
23615
  var _a8;
23653
- return (_a8 = polls == null ? void 0 : polls.sort((a2, b) => {
23616
+ return (_a8 = polls == null ? void 0 : polls.sort((a2, b2) => {
23654
23617
  var _a9, _b7;
23655
- return (((_a9 = b.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
23656
- })) == null ? void 0 : _a8.sort((a2, b) => (b.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
23618
+ return (((_a9 = b2.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
23619
+ })) == null ? void 0 : _a8.sort((a2, b2) => (b2.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
23657
23620
  },
23658
23621
  [polls]
23659
23622
  );
@@ -25335,7 +25298,7 @@ var init_usePinnedMessages = __esm({
25335
25298
  if (pinnedMessages[indexToRemove]) {
25336
25299
  yield hmsActions.sessionStore.set(
25337
25300
  "pinnedMessages" /* PINNED_MESSAGES */,
25338
- pinnedMessages.filter((_2, index) => index !== indexToRemove)
25301
+ pinnedMessages.filter((_, index) => index !== indexToRemove)
25339
25302
  ).catch((err) => ToastManager.addToast({ title: err.description }));
25340
25303
  }
25341
25304
  }),
@@ -26832,7 +26795,7 @@ var init_StickIndicator = __esm({
26832
26795
  if (total < 2) {
26833
26796
  return null;
26834
26797
  }
26835
- return /* @__PURE__ */ import_react142.default.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_2, i) => /* @__PURE__ */ import_react142.default.createElement(
26798
+ return /* @__PURE__ */ import_react142.default.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_, i) => /* @__PURE__ */ import_react142.default.createElement(
26836
26799
  Box,
26837
26800
  {
26838
26801
  css: {
@@ -27010,7 +26973,7 @@ var init_Chat = __esm({
27010
26973
  const listRef = (0, import_react144.useRef)(null);
27011
26974
  const hmsActions = (0, import_react_sdk70.useHMSActions)();
27012
26975
  const vanillaStore = (0, import_react_sdk70.useHMSVanillaStore)();
27013
- const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(dm("chatState" /* CHAT_STATE */)) || {};
26976
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(sm("chatState" /* CHAT_STATE */)) || {};
27014
26977
  const isMobile = (0, import_react_use22.useMedia)(config.media.md);
27015
26978
  const isMobileHLSStream = useMobileHLSStream();
27016
26979
  const isLandscapeStream = useLandscapeHLSStream();
@@ -27094,7 +27057,7 @@ var init_Chat = __esm({
27094
27057
  scrollToBottom,
27095
27058
  listRef
27096
27059
  }) => {
27097
- const unreadCount = (0, import_react_sdk70.useHMSStore)(qn);
27060
+ const unreadCount = (0, import_react_sdk70.useHMSStore)(Kn);
27098
27061
  if (!unreadCount || !listRef.current) {
27099
27062
  return null;
27100
27063
  }
@@ -28284,10 +28247,10 @@ var init_VBPicker = __esm({
28284
28247
  const [blurAmount, setBlurAmount] = (0, import_react154.useState)(VBHandler.getBlurAmount() || 0.5);
28285
28248
  const roomState = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectRoomState);
28286
28249
  const isLargeRoom = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectIsLargeRoom);
28287
- const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(rc);
28288
- const effectsKey = (0, import_react_sdk78.useHMSStore)(sc);
28250
+ const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(ic);
28251
+ const effectsKey = (0, import_react_sdk78.useHMSStore)(rc);
28289
28252
  const isPluginAdded = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
28290
- const background = (0, import_react_sdk78.useHMSStore)(cm(APP_DATA.background));
28253
+ const background = (0, import_react_sdk78.useHMSStore)(rm(APP_DATA.background));
28291
28254
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
28292
28255
  const inPreview = roomState === import_react_sdk78.HMSRoomState.Preview;
28293
28256
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -28823,7 +28786,7 @@ var init_PreviewJoin = __esm({
28823
28786
  speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
28824
28787
  },
28825
28788
  captureNetworkQualityInPreview: true,
28826
- handleError: (_2, method) => {
28789
+ handleError: (_, method) => {
28827
28790
  if (method === "preview") {
28828
28791
  setPreviewError(true);
28829
28792
  }
@@ -29255,7 +29218,7 @@ var init_Pagination2 = __esm({
29255
29218
  if (numPages <= 1) {
29256
29219
  return null;
29257
29220
  }
29258
- return /* @__PURE__ */ import_react164.default.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ import_react164.default.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ import_react164.default.createElement(import_react_icons80.ChevronLeftIcon, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ import_react164.default.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_2, i) => /* @__PURE__ */ import_react164.default.createElement(
29221
+ return /* @__PURE__ */ import_react164.default.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ import_react164.default.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ import_react164.default.createElement(import_react_icons80.ChevronLeftIcon, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ import_react164.default.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_, i) => /* @__PURE__ */ import_react164.default.createElement(
29259
29222
  StyledPagination.Dot,
29260
29223
  {
29261
29224
  key: i,
@@ -29374,7 +29337,7 @@ var init_useTileLayout = __esm({
29374
29337
  }
29375
29338
  const maxRows = Math.ceil(noOfTilesInPage / maxCols);
29376
29339
  let index = 0;
29377
- const matrix = new Array(maxRows).fill(null).map((_2, i) => {
29340
+ const matrix = new Array(maxRows).fill(null).map((_, i) => {
29378
29341
  const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
29379
29342
  const rowElements = [];
29380
29343
  for (let j = 0; j < numCols; j++) {
@@ -29395,10 +29358,10 @@ var init_useTileLayout = __esm({
29395
29358
  tileHeight = maxRowHeight;
29396
29359
  } else {
29397
29360
  const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
29398
- for (const h2 of calcHeights) {
29399
- if (h2 < maxRowHeight) {
29400
- if (tileHeight < h2) {
29401
- tileHeight = h2;
29361
+ for (const h of calcHeights) {
29362
+ if (h < maxRowHeight) {
29363
+ if (tileHeight < h) {
29364
+ tileHeight = h;
29402
29365
  }
29403
29366
  }
29404
29367
  }
@@ -30222,7 +30185,7 @@ var init_PeersSorter = __esm({
30222
30185
  this.speaker = void 0;
30223
30186
  this.tilesPerPage = tilesPerPage;
30224
30187
  const peerIds = new Set(peers.map((peer) => peer.id));
30225
- this.peers.forEach((_2, key) => {
30188
+ this.peers.forEach((_, key) => {
30226
30189
  if (!peerIds.has(key)) {
30227
30190
  this.peers.delete(key);
30228
30191
  }
@@ -31073,8 +31036,8 @@ var init_PlayPauseSeekControls = __esm({
31073
31036
  });
31074
31037
 
31075
31038
  // src/Prebuilt/components/HMSVideo/utils.ts
31076
- function getPercentage(a2, b) {
31077
- return a2 / b * 100;
31039
+ function getPercentage(a2, b2) {
31040
+ return a2 / b2 * 100;
31078
31041
  }
31079
31042
  function getDurationFromSeconds2(timeInSeconds) {
31080
31043
  let time = Math.floor(timeInSeconds);
@@ -33507,7 +33470,7 @@ var init_ToastConfig = __esm({
33507
33470
  init_roomLayoutProvider();
33508
33471
  init_useSidepane();
33509
33472
  init_constants();
33510
- ChatAction = import_react213.default.forwardRef((_2, ref) => {
33473
+ ChatAction = import_react213.default.forwardRef((_, ref) => {
33511
33474
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
33512
33475
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
33513
33476
  if (isChatOpen) {
@@ -34201,7 +34164,7 @@ function Notifications() {
34201
34164
  }, []);
34202
34165
  (0, import_react_sdk117.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
34203
34166
  (0, import_react222.useEffect)(() => {
34204
- var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p;
34167
+ var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p;
34205
34168
  if (!notification || isNotificationDisabled) {
34206
34169
  return;
34207
34170
  }
@@ -34242,7 +34205,7 @@ function Notifications() {
34242
34205
  });
34243
34206
  break;
34244
34207
  case import_react_sdk117.HMSNotificationTypes.ROLE_UPDATED: {
34245
- if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
34208
+ if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
34246
34209
  ToastManager.addToast({
34247
34210
  title: `You are now a ${notification.data.roleName}`
34248
34211
  });