@100mslive/roomkit-react 0.3.3-alpha.9 → 0.3.4-alpha.0

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, b2) => {
14
- for (var prop in b2 || (b2 = {}))
15
- if (__hasOwnProp.call(b2, prop))
16
- __defNormalProp(a2, prop, b2[prop]);
13
+ var __spreadValues = (a2, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a2, prop, b[prop]);
17
17
  if (__getOwnPropSymbols)
18
- for (var prop of __getOwnPropSymbols(b2)) {
19
- if (__propIsEnum.call(b2, prop))
20
- __defNormalProp(a2, prop, b2[prop]);
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a2, prop, b[prop]);
21
21
  }
22
22
  return a2;
23
23
  };
24
- var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
24
+ var __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));
25
25
  var __objRest = (source, exclude) => {
26
26
  var target = {};
27
27
  for (var prop in source)
@@ -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_5d7c947d-9717-4024-b789-a994660e5979", 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.9", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5d7c947d-9717-4024-b789-a994660e5979", 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.9", 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.7", 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: "590", 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:2892", 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.9", 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: "8386124605", 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: "8e809b083ba0c8ad44ceb7373dc05cb68402b605", 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: "cb5736bf7b8dcee75f2cc677b63999187a74d04d6401d1e9f98b7cccae374673", 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--1711087000237-0.5009400917388984:/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--1711087000042-0.6881686698608918:/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--1711086978120-0.5180482635996997:/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--1711086977942-0.936420539458859:/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_7e214b0a-f9b3-4b3b-bb72-aef2d71ba949", INVOCATION_ID: "c862e98ccf5c4eb0b3a3e40cb8e0db91", 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: "491", 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 322", 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.9", 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.9", 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: "8e809b083ba0c8ad44ceb7373dc05cb68402b605", 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_5d7c947d-9717-4024-b789-a994660e5979", 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_5d7c947d-9717-4024-b789-a994660e5979", 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_5d7c947d-9717-4024-b789-a994660e5979" };
111
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bb6e45f2-45d8-4b35-8d5a-0cbc1ee395ef", 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.4-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_bb6e45f2-45d8-4b35-8d5a-0cbc1ee395ef", 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.4-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", 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:19494", 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.4-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8388836657", 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: "9d71fb326cd5235a5ddb8093703f69653d46949d", 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: "fa518fc1243fdc631cf301deaeaea18a5c75a3b87c88b11012e1609ec2fa4edb", 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--1711103047358-0.7858728781841655:/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--1711103047161-0.827107582849052:/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--1711103025330-0.8882070894724197:/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--1711103025151-0.10163398347508479:/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_2a9c0953-2639-48be-bc5e-f3805cfc4ed9", INVOCATION_ID: "5270cd8244fc4347b66a8ab66973d0ef", 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: "494", 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 461", 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.4-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.4-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_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: "9d71fb326cd5235a5ddb8093703f69653d46949d", 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_bb6e45f2-45d8-4b35-8d5a-0cbc1ee395ef", 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_bb6e45f2-45d8-4b35-8d5a-0cbc1ee395ef", 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_bb6e45f2-45d8-4b35-8d5a-0cbc1ee395ef" };
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, _, index) => {
2656
+ positionValues = new Array(101).fill(0).reduce((acc, _2, 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 : _.defaults(root.Object(), context, _.pick(root, contextProps));
4741
+ context = context == null ? root : _2.defaults(root.Object(), context, _2.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__"];
@@ -9512,17 +9512,17 @@ var require_lodash = __commonJS({
9512
9512
  }
9513
9513
  return lodash;
9514
9514
  };
9515
- var _ = runInContext();
9515
+ var _2 = runInContext();
9516
9516
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
9517
- root._ = _;
9517
+ root._ = _2;
9518
9518
  define(function() {
9519
- return _;
9519
+ return _2;
9520
9520
  });
9521
9521
  } else if (freeModule) {
9522
- (freeModule.exports = _)._ = _;
9523
- freeExports._ = _;
9522
+ (freeModule.exports = _2)._ = _2;
9523
+ freeExports._ = _2;
9524
9524
  } else {
9525
- root._ = _;
9525
+ root._ = _2;
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, b2) => {
9741
- if (a2.length !== b2.length)
9740
+ compareArrays = (a2, b) => {
9741
+ if (a2.length !== b.length)
9742
9742
  return false;
9743
9743
  else {
9744
9744
  for (var i = 0; i < a2.length; i++) {
9745
- if (a2[i] !== b2[i]) {
9745
+ if (a2[i] !== b[i]) {
9746
9746
  return false;
9747
9747
  }
9748
9748
  }
@@ -13914,8 +13914,8 @@ var init_DesktopOptions = __esm({
13914
13914
  });
13915
13915
 
13916
13916
  // ../../node_modules/reselect/es/index.js
13917
- function defaultEqualityCheck(a2, b2) {
13918
- return a2 === b2;
13917
+ function defaultEqualityCheck(a2, b) {
13918
+ return a2 === b;
13919
13919
  }
13920
13920
  function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
13921
13921
  if (prev === null || next === null || prev.length !== next.length) {
@@ -15230,18 +15230,18 @@ var require_ua_parser = __commonJS({
15230
15230
  window2.UAParser = UAParser;
15231
15231
  }
15232
15232
  }
15233
- var $2 = typeof window2 !== UNDEF_TYPE && (window2.jQuery || window2.Zepto);
15234
- if ($2 && !$2.ua) {
15233
+ var $ = typeof window2 !== UNDEF_TYPE && (window2.jQuery || window2.Zepto);
15234
+ if ($ && !$.ua) {
15235
15235
  var parser = new UAParser();
15236
- $2.ua = parser.getResult();
15237
- $2.ua.get = function() {
15236
+ $.ua = parser.getResult();
15237
+ $.ua.get = function() {
15238
15238
  return parser.getUA();
15239
15239
  };
15240
- $2.ua.set = function(ua) {
15240
+ $.ua.set = function(ua) {
15241
15241
  parser.setUA(ua);
15242
15242
  var result = parser.getResult();
15243
15243
  for (var prop in result) {
15244
- $2.ua[prop] = result[prop];
15244
+ $.ua[prop] = result[prop];
15245
15245
  }
15246
15246
  };
15247
15247
  }
@@ -16220,9 +16220,9 @@ function shimGetUserMedia(window2, browserDetails) {
16220
16220
  }
16221
16221
  constraints = JSON.parse(JSON.stringify(constraints));
16222
16222
  if (constraints && typeof constraints.audio === "object") {
16223
- const remap = function(obj, a2, b2) {
16224
- if (a2 in obj && !(b2 in obj)) {
16225
- obj[b2] = obj[a2];
16223
+ const remap = function(obj, a2, b) {
16224
+ if (a2 in obj && !(b in obj)) {
16225
+ obj[b] = obj[a2];
16226
16226
  delete obj[a2];
16227
16227
  }
16228
16228
  };
@@ -16982,9 +16982,9 @@ function shimGetUserMedia2(window2, browserDetails) {
16982
16982
  navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
16983
16983
  };
16984
16984
  if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
16985
- const remap = function(obj, a2, b2) {
16986
- if (a2 in obj && !(b2 in obj)) {
16987
- obj[b2] = obj[a2];
16985
+ const remap = function(obj, a2, b) {
16986
+ if (a2 in obj && !(b in obj)) {
16987
+ obj[b] = obj[a2];
16988
16988
  delete obj[a2];
16989
16989
  }
16990
16990
  };
@@ -19444,7 +19444,7 @@ function it(a2) {
19444
19444
  function Ha(a2) {
19445
19445
  return a2 && a2.source === "screen";
19446
19446
  }
19447
- function $t(a2) {
19447
+ function Wt(a2) {
19448
19448
  return a2 && a2.source === "audioplaylist";
19449
19449
  }
19450
19450
  function rt(a2) {
@@ -19461,11 +19461,11 @@ function st(a2) {
19461
19461
  let e = false, t = false, i = false;
19462
19462
  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 };
19463
19463
  }
19464
- function b(a2) {
19464
+ function I(a2) {
19465
19465
  return (e) => (t) => a2(t, e);
19466
19466
  }
19467
19467
  function Ga() {
19468
- if (w && window) {
19468
+ if (_ && window) {
19469
19469
  let a2 = window.location.hostname;
19470
19470
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
19471
19471
  }
@@ -19500,7 +19500,7 @@ function sm(a2) {
19500
19500
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19501
19501
  };
19502
19502
  }
19503
- 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;
19503
+ 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, wt, import_eventemitter24, import_uuid9, import_uuid10, ka, Pa, Ea, Vt, Wr, $r, Gr, S, v, Xi, Ia, lr, Zi, Ra, Kr, er, qr, B, Ca, Rn, Hn, G, $t, Qr, D, tr, La, ye, wn, wa, oe, Da, z, ue, Dn, _n, Z, K, _a7, Yr, Nn, On, rr, Na, Un, Bn, Vn, Fn, Gn, Wn, $n, 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, _, ms, Ce, Fa, gc, Ss, gs, fs, vs, Ve, M, f, Wa, m, nr, Ms, ce, ys, Ps, Es, R, y, pr, q, hr, mr, Cs, Ls, ws, 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, Wm, $m, Km, Ro, Ho, _r, Te, W, 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;
19504
19504
  var init_dist = __esm({
19505
19505
  "../hms-video-store/dist/index.js"() {
19506
19506
  "use strict";
@@ -19523,7 +19523,7 @@ var init_dist = __esm({
19523
19523
  import_eventemitter22 = require("eventemitter2");
19524
19524
  import_uuid8 = require("uuid");
19525
19525
  import_eventemitter23 = require("eventemitter2");
19526
- Dt = __toESM(require_lib());
19526
+ wt = __toESM(require_lib());
19527
19527
  import_eventemitter24 = __toESM(require("eventemitter2"));
19528
19528
  import_uuid9 = require("uuid");
19529
19529
  import_uuid10 = require("uuid");
@@ -19532,30 +19532,30 @@ var init_dist = __esm({
19532
19532
  Pa = Object.defineProperties;
19533
19533
  Ea = Object.getOwnPropertyDescriptors;
19534
19534
  Vt = Object.getOwnPropertySymbols;
19535
- $r = Object.prototype.hasOwnProperty;
19536
- Wr = Object.prototype.propertyIsEnumerable;
19535
+ Wr = Object.prototype.hasOwnProperty;
19536
+ $r = Object.prototype.propertyIsEnumerable;
19537
19537
  Gr = (a2, e, t) => e in a2 ? ka(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19538
19538
  S = (a2, e) => {
19539
19539
  for (var t in e || (e = {}))
19540
- $r.call(e, t) && Gr(a2, t, e[t]);
19540
+ Wr.call(e, t) && Gr(a2, t, e[t]);
19541
19541
  if (Vt)
19542
19542
  for (var t of Vt(e))
19543
- Wr.call(e, t) && Gr(a2, t, e[t]);
19543
+ $r.call(e, t) && Gr(a2, t, e[t]);
19544
19544
  return a2;
19545
19545
  };
19546
19546
  v = (a2, e) => Pa(a2, Ea(e));
19547
19547
  Xi = (a2, e) => {
19548
19548
  var t = {};
19549
19549
  for (var i in a2)
19550
- $r.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
19550
+ Wr.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
19551
19551
  if (a2 != null && Vt)
19552
19552
  for (var i of Vt(a2))
19553
- e.indexOf(i) < 0 && Wr.call(a2, i) && (t[i] = a2[i]);
19553
+ e.indexOf(i) < 0 && $r.call(a2, i) && (t[i] = a2[i]);
19554
19554
  return t;
19555
19555
  };
19556
19556
  Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19557
19557
  lr = Ia((td, Ka) => {
19558
- Ka.exports = { version: "0.12.3-alpha.9", 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"] };
19558
+ Ka.exports = { version: "0.12.4-alpha.0", 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"] };
19559
19559
  });
19560
19560
  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 || {});
19561
19561
  Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
@@ -19567,19 +19567,19 @@ var init_dist = __esm({
19567
19567
  Rn = createSelector(Ca, (a2) => a2.length === 0 ? null : a2.at(-1));
19568
19568
  Hn = createSelector(B, (a2) => a2.id);
19569
19569
  G = (a2) => a2.peers;
19570
- Wt = (a2) => a2.messages.byID;
19570
+ $t = (a2) => a2.messages.byID;
19571
19571
  Qr = (a2) => a2.messages.allIDs;
19572
19572
  D = (a2) => a2.tracks;
19573
19573
  tr = (a2) => a2.appData;
19574
19574
  La = (a2) => a2.speakers;
19575
19575
  ye = createSelector([B], (a2) => a2 && a2.isConnected);
19576
- 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));
19577
- Da = (a2) => a2.hideLocalPeer;
19578
- 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]));
19579
- wa = createSelector(D, (a2) => Object.values(a2));
19576
+ 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));
19577
+ wa = (a2) => a2.hideLocalPeer;
19578
+ 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]));
19579
+ Da = createSelector(D, (a2) => Object.values(a2));
19580
19580
  z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
19581
19581
  ue = createSelector(B, (a2) => a2.localPeer);
19582
- wn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19582
+ Dn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19583
19583
  _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19584
19584
  Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
19585
19585
  K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
@@ -19642,14 +19642,14 @@ var init_dist = __esm({
19642
19642
  Gn = createSelector(G, D, (a2, e) => {
19643
19643
  for (let t in e) {
19644
19644
  let i = e[t];
19645
- if ($t(i) && i.peerId)
19645
+ if (Wt(i) && i.peerId)
19646
19646
  return a2[i.peerId];
19647
19647
  }
19648
19648
  });
19649
- $n = createSelector(wa, (a2) => a2.filter(jr));
19650
- Wn = createSelector(Qr, (a2) => a2.length);
19651
- Kn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
19652
- at = createSelector(Qr, Wt, (a2, e) => {
19649
+ Wn = createSelector(Da, (a2) => a2.filter(jr));
19650
+ $n = createSelector(Qr, (a2) => a2.length);
19651
+ Kn = createSelector($t, (a2) => Object.values(a2).filter((e) => !e.read).length);
19652
+ at = createSelector(Qr, $t, (a2, e) => {
19653
19653
  let t = [];
19654
19654
  return a2.forEach((i) => {
19655
19655
  t.push(e[i]);
@@ -19770,7 +19770,7 @@ var init_dist = __esm({
19770
19770
  };
19771
19771
  d.level = Ba ? 7 : 0;
19772
19772
  pe = new import_ua_parser_js.UAParser();
19773
- w = typeof window != "undefined";
19773
+ _ = typeof window != "undefined";
19774
19774
  Ce = typeof window == "undefined" && !((ms = pe.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
19775
19775
  Fa = () => !Ce;
19776
19776
  gc = Fa();
@@ -19807,7 +19807,7 @@ var init_dist = __esm({
19807
19807
  }`;
19808
19808
  }
19809
19809
  };
19810
- $a = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
19810
+ Wa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
19811
19811
  m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
19812
19812
  return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
19813
19813
  }, WebSocketConnectionLost(a2, e = "") {
@@ -19867,7 +19867,7 @@ var init_dist = __esm({
19867
19867
  }, StatsFailed(a2, e = "") {
19868
19868
  return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
19869
19869
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
19870
- return new f(a2, "ServerErrors", e, t, t, $a.includes(e));
19870
+ return new f(a2, "ServerErrors", e, t, t, Wa.includes(e));
19871
19871
  }, AlreadyJoined(a2, e = "") {
19872
19872
  return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
19873
19873
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -19942,7 +19942,7 @@ var init_dist = __esm({
19942
19942
  };
19943
19943
  Ms = () => {
19944
19944
  try {
19945
- w && !localStorage && (window.localStorage = new nr());
19945
+ _ && !localStorage && (window.localStorage = new nr());
19946
19946
  } catch (a2) {
19947
19947
  d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
19948
19948
  }
@@ -19954,7 +19954,7 @@ var init_dist = __esm({
19954
19954
  }
19955
19955
  getStorage() {
19956
19956
  try {
19957
- return w && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
19957
+ return _ && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
19958
19958
  } catch (e) {
19959
19959
  return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
19960
19960
  }
@@ -20119,7 +20119,7 @@ var init_dist = __esm({
20119
20119
  mr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(mr || {});
20120
20120
  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 || {});
20121
20121
  Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
20122
- Ds = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ds || {});
20122
+ ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
20123
20123
  Sr = class {
20124
20124
  constructor() {
20125
20125
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -20143,7 +20143,7 @@ var init_dist = __esm({
20143
20143
  this.createObserver();
20144
20144
  }
20145
20145
  isSupported() {
20146
- let e = w && typeof window.IntersectionObserver != "undefined";
20146
+ let e = _ && typeof window.IntersectionObserver != "undefined";
20147
20147
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
20148
20148
  }
20149
20149
  };
@@ -20171,7 +20171,7 @@ var init_dist = __esm({
20171
20171
  this.createObserver();
20172
20172
  }
20173
20173
  isSupported() {
20174
- let e = w && typeof window.ResizeObserver != "undefined";
20174
+ let e = _ && typeof window.ResizeObserver != "undefined";
20175
20175
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
20176
20176
  }
20177
20177
  };
@@ -20283,93 +20283,93 @@ var init_dist = __esm({
20283
20283
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20284
20284
  });
20285
20285
  vo = createSelector([is, mo], (a2, e) => e ? a2[e] : null);
20286
- Q = b(J);
20287
- rm = b(createSelector([tr, ho], (a2, e) => {
20286
+ Q = I(J);
20287
+ rm = I(createSelector([tr, ho], (a2, e) => {
20288
20288
  if (a2)
20289
20289
  return e ? a2[e] : a2;
20290
20290
  }));
20291
- om = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
20292
- oi = b(Hr);
20293
- Qs = b(So);
20294
- nm = b(go);
20295
- cm = b(To);
20296
- dm = b(fo);
20297
- Mo = b((a2, e) => {
20291
+ om = I(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
20292
+ oi = I(Hr);
20293
+ Qs = I(So);
20294
+ nm = I(go);
20295
+ cm = I(To);
20296
+ dm = I(fo);
20297
+ Mo = I((a2, e) => {
20298
20298
  let t = J(a2, e);
20299
20299
  if (t && t.videoTrack && t.videoTrack !== "")
20300
20300
  return a2.tracks[t.videoTrack];
20301
20301
  });
20302
- yo = b((a2, e) => {
20302
+ yo = I((a2, e) => {
20303
20303
  let t = J(a2, e);
20304
20304
  if (t && t.audioTrack && t.audioTrack !== "")
20305
20305
  return a2.tracks[t.audioTrack];
20306
20306
  });
20307
- um = b((a2, e) => {
20307
+ um = I((a2, e) => {
20308
20308
  let t = J(a2, e);
20309
20309
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
20310
20310
  });
20311
20311
  zs = (a2, e) => e ? a2.speakers[e] : null;
20312
- pm = b(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20312
+ pm = I(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20313
20313
  ko = (a2, e) => {
20314
20314
  let t = yo(e)(a2);
20315
20315
  return zs(a2, t == null ? void 0 : t.id);
20316
20316
  };
20317
- hm = b(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20318
- mm = b((a2, e) => {
20317
+ hm = I(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20318
+ mm = I((a2, e) => {
20319
20319
  if (e)
20320
20320
  return a2.connectionQualities[e];
20321
20321
  });
20322
- Sm = b((a2, e) => {
20322
+ Sm = I((a2, e) => {
20323
20323
  let t = J(a2, e);
20324
20324
  if (t) {
20325
20325
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
20326
20326
  return i ? a2.tracks[i] : void 0;
20327
20327
  }
20328
20328
  });
20329
- gm = b(createSelector(D, J, (a2, e) => {
20329
+ gm = I(createSelector(D, J, (a2, e) => {
20330
20330
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20331
20331
  let r = a2[i];
20332
20332
  return rt(r) && it(r);
20333
20333
  });
20334
20334
  return t ? a2[t] : void 0;
20335
20335
  }));
20336
- Tm = b(createSelector(D, J, (a2, e) => {
20336
+ Tm = I(createSelector(D, J, (a2, e) => {
20337
20337
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20338
20338
  let r = a2[i];
20339
20339
  return rt(r) && tt(r);
20340
20340
  });
20341
20341
  return t ? a2[t] : void 0;
20342
20342
  }));
20343
- fm = b(createSelector(D, J, (a2, e) => {
20343
+ fm = I(createSelector(D, J, (a2, e) => {
20344
20344
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20345
20345
  let r = a2[i];
20346
- return $t(r) && tt(r);
20346
+ return Wt(r) && tt(r);
20347
20347
  });
20348
20348
  return t ? a2[t] : void 0;
20349
20349
  }));
20350
- Ys = b(createSelector(D, J, (a2, e) => He(a2, e)));
20350
+ Ys = I(createSelector(D, J, (a2, e) => He(a2, e)));
20351
20351
  Xs = (a2) => createSelector(Ys(a2), (e) => e.audio);
20352
- Mm = b((a2, e) => {
20352
+ Mm = I((a2, e) => {
20353
20353
  let t = J(a2, e);
20354
20354
  return Ue(a2, t == null ? void 0 : t.audioTrack);
20355
20355
  });
20356
- ym = b((a2, e) => {
20356
+ ym = I((a2, e) => {
20357
20357
  let t = J(a2, e);
20358
20358
  return Ue(a2, t == null ? void 0 : t.videoTrack);
20359
20359
  });
20360
- Zs = b((a2, e) => {
20360
+ Zs = I((a2, e) => {
20361
20361
  if (e && a2.tracks[e])
20362
20362
  return a2.tracks[e].volume === 0;
20363
20363
  });
20364
- km = b((a2, e) => {
20364
+ km = I((a2, e) => {
20365
20365
  let t = J(a2, e);
20366
20366
  return Zs(t == null ? void 0 : t.audioTrack)(a2);
20367
20367
  });
20368
- Pm = b((a2, e) => {
20368
+ Pm = I((a2, e) => {
20369
20369
  let t = Xs(e)(a2);
20370
20370
  return Zs(t == null ? void 0 : t.id)(a2);
20371
20371
  });
20372
- ea = b((a2, e) => {
20372
+ ea = I((a2, e) => {
20373
20373
  let t = Hr(a2, e);
20374
20374
  if (t) {
20375
20375
  if (t.type !== "audio") {
@@ -20379,15 +20379,15 @@ var init_dist = __esm({
20379
20379
  return t.volume;
20380
20380
  }
20381
20381
  });
20382
- Em = b((a2, e) => {
20382
+ Em = I((a2, e) => {
20383
20383
  let t = J(a2, e);
20384
20384
  return ea(t == null ? void 0 : t.audioTrack)(a2);
20385
20385
  });
20386
- bm = b((a2, e) => {
20386
+ bm = I((a2, e) => {
20387
20387
  let t = Xs(e)(a2);
20388
20388
  return ea(t == null ? void 0 : t.id)(a2);
20389
20389
  });
20390
- Am = b((a2, e) => {
20390
+ Am = I((a2, e) => {
20391
20391
  let t = Hr(a2, e);
20392
20392
  if (t) {
20393
20393
  if (t.type !== "video") {
@@ -20418,18 +20418,18 @@ var init_dist = __esm({
20418
20418
  Eo = createSelector([ia, Js], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20419
20419
  bo = createSelector([ta, Rr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20420
20420
  Im = createSelector(Po, (a2) => a2.filter((e) => !e.read).length);
20421
- Rm = b(ta);
20422
- Hm = b(ia);
20423
- Cm = b(Eo);
20424
- Lm = b(bo);
20425
- ra = b(vo);
20421
+ Rm = I(ta);
20422
+ Hm = I(ia);
20423
+ Cm = I(Eo);
20424
+ Lm = I(bo);
20425
+ ra = I(vo);
20426
20426
  Gm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
20427
20427
  var r;
20428
20428
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
20429
20429
  }));
20430
20430
  Ao = (a2) => a2.roleChangeRequests[0] || null;
20431
- $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);
20432
- Wm = createSelector([Kt], (a2) => st(a2));
20431
+ Wm = createSelector([Ao, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20432
+ $m = createSelector([Kt], (a2) => st(a2));
20433
20433
  Km = createSelector([es], (a2) => st(a2));
20434
20434
  Ro = createSelector([K, D], (a2, e) => {
20435
20435
  let t = null;
@@ -20485,7 +20485,7 @@ var init_dist = __esm({
20485
20485
  }
20486
20486
  };
20487
20487
  Te = new _r();
20488
- $ = ((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))($ || {});
20488
+ W = ((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))(W || {});
20489
20489
  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 || {});
20490
20490
  Ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ji || {});
20491
20491
  Qo = (a2) => a2.localPeer.id;
@@ -20532,18 +20532,18 @@ var init_dist = __esm({
20532
20532
  dn = createSelector([ya, Xo], (a2, e) => e ? a2[e] : void 0);
20533
20533
  ln = createSelector([Zo, Ma], (a2, e) => e ? a2[e] : void 0);
20534
20534
  Vr = createSelector([Br, Ma], (a2, e) => e ? a2[e] : void 0);
20535
- un = b(dn);
20536
- pn = b(ln);
20535
+ un = I(dn);
20536
+ pn = I(ln);
20537
20537
  hn = createSelector([Br, zo], (a2, e) => {
20538
20538
  var t;
20539
20539
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20540
20540
  });
20541
- mn = b(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
20541
+ mn = I(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
20542
20542
  Sn = createSelector([Br, Yo], (a2, e) => {
20543
20543
  var t;
20544
20544
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
20545
20545
  });
20546
- gn = b(createSelector(Vr, (a2) => a2));
20546
+ gn = I(createSelector(Vr, (a2) => a2));
20547
20547
  }
20548
20548
  });
20549
20549
 
@@ -23618,10 +23618,10 @@ var init_PollsQuizMenu = __esm({
23618
23618
  const sortedPolls = (0, import_react102.useMemo)(
23619
23619
  () => {
23620
23620
  var _a8;
23621
- return (_a8 = polls == null ? void 0 : polls.sort((a2, b2) => {
23621
+ return (_a8 = polls == null ? void 0 : polls.sort((a2, b) => {
23622
23622
  var _a9, _b7;
23623
- return (((_a9 = b2.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
23624
- })) == null ? void 0 : _a8.sort((a2, b2) => (b2.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
23623
+ return (((_a9 = b.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
23624
+ })) == null ? void 0 : _a8.sort((a2, b) => (b.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
23625
23625
  },
23626
23626
  [polls]
23627
23627
  );
@@ -25303,7 +25303,7 @@ var init_usePinnedMessages = __esm({
25303
25303
  if (pinnedMessages[indexToRemove]) {
25304
25304
  yield hmsActions.sessionStore.set(
25305
25305
  "pinnedMessages" /* PINNED_MESSAGES */,
25306
- pinnedMessages.filter((_, index) => index !== indexToRemove)
25306
+ pinnedMessages.filter((_2, index) => index !== indexToRemove)
25307
25307
  ).catch((err) => ToastManager.addToast({ title: err.description }));
25308
25308
  }
25309
25309
  }),
@@ -26802,7 +26802,7 @@ var init_StickIndicator = __esm({
26802
26802
  if (total < 2) {
26803
26803
  return null;
26804
26804
  }
26805
- return /* @__PURE__ */ import_react142.default.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_, i) => /* @__PURE__ */ import_react142.default.createElement(
26805
+ return /* @__PURE__ */ import_react142.default.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_2, i) => /* @__PURE__ */ import_react142.default.createElement(
26806
26806
  Box,
26807
26807
  {
26808
26808
  css: {
@@ -28793,7 +28793,7 @@ var init_PreviewJoin = __esm({
28793
28793
  speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
28794
28794
  },
28795
28795
  captureNetworkQualityInPreview: true,
28796
- handleError: (_, method) => {
28796
+ handleError: (_2, method) => {
28797
28797
  if (method === "preview") {
28798
28798
  setPreviewError(true);
28799
28799
  }
@@ -29225,7 +29225,7 @@ var init_Pagination2 = __esm({
29225
29225
  if (numPages <= 1) {
29226
29226
  return null;
29227
29227
  }
29228
- 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(
29228
+ 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(
29229
29229
  StyledPagination.Dot,
29230
29230
  {
29231
29231
  key: i,
@@ -29344,7 +29344,7 @@ var init_useTileLayout = __esm({
29344
29344
  }
29345
29345
  const maxRows = Math.ceil(noOfTilesInPage / maxCols);
29346
29346
  let index = 0;
29347
- const matrix = new Array(maxRows).fill(null).map((_, i) => {
29347
+ const matrix = new Array(maxRows).fill(null).map((_2, i) => {
29348
29348
  const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
29349
29349
  const rowElements = [];
29350
29350
  for (let j = 0; j < numCols; j++) {
@@ -29376,10 +29376,10 @@ var init_useTileLayout = __esm({
29376
29376
  tileHeight = maxRowHeight;
29377
29377
  const calcWidths = aspectRatios.map((aR) => tileHeight * aR);
29378
29378
  tileWidth = 0;
29379
- for (const w2 of calcWidths) {
29380
- if (w2 < width) {
29381
- if (tileWidth < w2) {
29382
- tileWidth = w2;
29379
+ for (const w of calcWidths) {
29380
+ if (w < width) {
29381
+ if (tileWidth < w) {
29382
+ tileWidth = w;
29383
29383
  }
29384
29384
  }
29385
29385
  }
@@ -30192,7 +30192,7 @@ var init_PeersSorter = __esm({
30192
30192
  this.speaker = void 0;
30193
30193
  this.tilesPerPage = tilesPerPage;
30194
30194
  const peerIds = new Set(peers.map((peer) => peer.id));
30195
- this.peers.forEach((_, key) => {
30195
+ this.peers.forEach((_2, key) => {
30196
30196
  if (!peerIds.has(key)) {
30197
30197
  this.peers.delete(key);
30198
30198
  }
@@ -31043,8 +31043,8 @@ var init_PlayPauseSeekControls = __esm({
31043
31043
  });
31044
31044
 
31045
31045
  // src/Prebuilt/components/HMSVideo/utils.ts
31046
- function getPercentage(a2, b2) {
31047
- return a2 / b2 * 100;
31046
+ function getPercentage(a2, b) {
31047
+ return a2 / b * 100;
31048
31048
  }
31049
31049
  function getDurationFromSeconds2(timeInSeconds) {
31050
31050
  let time = Math.floor(timeInSeconds);
@@ -33479,7 +33479,7 @@ var init_ToastConfig = __esm({
33479
33479
  init_roomLayoutProvider();
33480
33480
  init_useSidepane();
33481
33481
  init_constants();
33482
- ChatAction = import_react213.default.forwardRef((_, ref) => {
33482
+ ChatAction = import_react213.default.forwardRef((_2, ref) => {
33483
33483
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
33484
33484
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
33485
33485
  if (isChatOpen) {