@100mslive/roomkit-react 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,18 +9,18 @@ var __getProtoOf = Object.getPrototypeOf;
9
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
10
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
11
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
- var __spreadValues = (a2, b2) => {
13
- for (var prop in b2 || (b2 = {}))
14
- if (__hasOwnProp.call(b2, prop))
15
- __defNormalProp(a2, prop, b2[prop]);
12
+ var __spreadValues = (a2, b) => {
13
+ for (var prop in b || (b = {}))
14
+ if (__hasOwnProp.call(b, prop))
15
+ __defNormalProp(a2, prop, b[prop]);
16
16
  if (__getOwnPropSymbols)
17
- for (var prop of __getOwnPropSymbols(b2)) {
18
- if (__propIsEnum.call(b2, prop))
19
- __defNormalProp(a2, prop, b2[prop]);
17
+ for (var prop of __getOwnPropSymbols(b)) {
18
+ if (__propIsEnum.call(b, prop))
19
+ __defNormalProp(a2, prop, b[prop]);
20
20
  }
21
21
  return a2;
22
22
  };
23
- var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
23
+ var __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));
24
24
  var __objRest = (source, exclude) => {
25
25
  var target = {};
26
26
  for (var prop in source)
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_feea2adc-89d5-4c35-85bc-05627bdca4ea", 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", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_feea2adc-89d5-4c35-85bc-05627bdca4ea", 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", 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:19848", 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", 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: "8386897812", 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: "d36c03b7026a62b55165c282de0e616ede74b966", 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: "9b4f885e62e31f67efd75cc365533427fc5a76b47dd5f454feb90aaa29cfee27", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", 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--1711092410307-0.8536825719216057:/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--1711092410108-0.7730415534701605:/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--1711092388295-0.43025398241992585:/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--1711092388120-0.19761617858567893:/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_5d2e7fe9-cb65-4b6c-a622-06c9c6f8eda3", INVOCATION_ID: "a9c4b8d8a942423881a14bbc9386e3dd", 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: "492", 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 235", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_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", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "d36c03b7026a62b55165c282de0e616ede74b966", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "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_feea2adc-89d5-4c35-85bc-05627bdca4ea", 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_feea2adc-89d5-4c35-85bc-05627bdca4ea", 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_feea2adc-89d5-4c35-85bc-05627bdca4ea" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9c29dcb4-e4cc-4e3c-8b54-ad39147e5f93", 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", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9c29dcb4-e4cc-4e3c-8b54-ad39147e5f93", 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", 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.7", 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: "20240324.2.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.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:20585", 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", 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: "8434472780", 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: "7c3e871297668d3dc11759d88a888027967715ac", 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: "5881a7e607be0fbd1fcf5a1777f57e03b6166ac21f68a6bbace5c9151a4cdf5a", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", 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--1711449065758-0.44201724501907647:/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--1711449065565-0.7655674373809525:/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--1711449043575-0.6635057017834785:/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--1711449043398-0.7109108534118918:/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_275be91c-7c85-4eae-b508-4ae09c4a1490", INVOCATION_ID: "d86ebf1fa70142b291f9a4e48bfa4e02", 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: "495", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_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 201", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_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", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.4", 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: "7c3e871297668d3dc11759d88a888027967715ac", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_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_9c29dcb4-e4cc-4e3c-8b54-ad39147e5f93", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9c29dcb4-e4cc-4e3c-8b54-ad39147e5f93", 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_9c29dcb4-e4cc-4e3c-8b54-ad39147e5f93" };
110
110
  }
111
111
  });
112
112
 
@@ -801,7 +801,7 @@ var require_lodash = __commonJS({
801
801
  return string.match(reUnicodeWord) || [];
802
802
  }
803
803
  var runInContext = function runInContext2(context) {
804
- context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
804
+ context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
805
805
  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;
806
806
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
807
807
  var coreJsData = context["__core-js_shared__"];
@@ -5575,17 +5575,17 @@ var require_lodash = __commonJS({
5575
5575
  }
5576
5576
  return lodash;
5577
5577
  };
5578
- var _ = runInContext();
5578
+ var _2 = runInContext();
5579
5579
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5580
- root._ = _;
5580
+ root._ = _2;
5581
5581
  define(function() {
5582
- return _;
5582
+ return _2;
5583
5583
  });
5584
5584
  } else if (freeModule) {
5585
- (freeModule.exports = _)._ = _;
5586
- freeExports._ = _;
5585
+ (freeModule.exports = _2)._ = _2;
5586
+ freeExports._ = _2;
5587
5587
  } else {
5588
- root._ = _;
5588
+ root._ = _2;
5589
5589
  }
5590
5590
  }).call(exports);
5591
5591
  }
@@ -6826,18 +6826,18 @@ var require_ua_parser = __commonJS({
6826
6826
  window2.UAParser = UAParser;
6827
6827
  }
6828
6828
  }
6829
- var $2 = typeof window2 !== UNDEF_TYPE && (window2.jQuery || window2.Zepto);
6830
- if ($2 && !$2.ua) {
6829
+ var $ = typeof window2 !== UNDEF_TYPE && (window2.jQuery || window2.Zepto);
6830
+ if ($ && !$.ua) {
6831
6831
  var parser = new UAParser();
6832
- $2.ua = parser.getResult();
6833
- $2.ua.get = function() {
6832
+ $.ua = parser.getResult();
6833
+ $.ua.get = function() {
6834
6834
  return parser.getUA();
6835
6835
  };
6836
- $2.ua.set = function(ua) {
6836
+ $.ua.set = function(ua) {
6837
6837
  parser.setUA(ua);
6838
6838
  var result = parser.getResult();
6839
6839
  for (var prop in result) {
6840
- $2.ua[prop] = result[prop];
6840
+ $.ua[prop] = result[prop];
6841
6841
  }
6842
6842
  };
6843
6843
  }
@@ -11051,7 +11051,7 @@ import { selectTrackAudioByID, useHMSVanillaStore } from "@100mslive/react-sdk";
11051
11051
  var audio_level_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABABAMAAAAHc7SNAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAtUExURQAAAP///////////////////////////////////////////////////////6FIq5sAAAAOdFJOUwA/QJqbnJ2euLnc3d7+2IFKrQAAAa9JREFUaN7dmcFRxDAMRXNgW4AbV24ZSkgrlAAFUAqlpITtgT0QnB22BnY3iWXHSlYz5H/NoJNO8bP8JTlyVW1k923/MveYdnc623PuUe3jsux37tEDcN24eFR7HJb9TD2qvQ/LfqUexR7a41Xx7bDsMfWo2j+NlnpU7TsBiOKdAOqoeCcAUTwFYFK8pn0GgFLttWVxAEq1pwJo1Z4KoFV7KoBW7YEAT0uK729pfxuAZcX/3Fr2TwAx05cVDwWIu11RPBQg7lZ0XlR7JIDsdkXxCIDp5GXf2v0GBxBP3pTfAIB48qb83h7AWtlhANbKDgOwVnYYgLWywwCsn/u/AO5HMIqwcwOovdNwLESNG8BQioNfKa52YwBsakC04/MF9C1Rw4HdjhU1SCyKqOCvZCGLhXgMgKgGiUWRI9hr+aSG+bU8sP4LyliIxwW4xOI1j8pKZlB/Tjt794ANpKzdAzOgaOzdAzKiCVpmkACWM4MEIFVCyQzfQWXnPao9eA+rG+dxfXB8L1jNB4pN+bCfd4re59Gqoz9alflQ+zzb7ZROwTWlUziEIO8UZCs7hc1+AbiVW6XSE8knAAAAAElFTkSuQmCC";
11052
11052
 
11053
11053
  // src/AudioLevel/AudioLevel.tsx
11054
- var positionValues = new Array(101).fill(0).reduce((acc, _, index) => {
11054
+ var positionValues = new Array(101).fill(0).reduce((acc, _2, index) => {
11055
11055
  acc[index] = Math.round(index / 100 * 4) / 4;
11056
11056
  return acc;
11057
11057
  }, {});
@@ -12418,12 +12418,12 @@ var formatTime = (timeInSeconds) => {
12418
12418
  const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
12419
12419
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12420
12420
  };
12421
- var compareArrays = (a2, b2) => {
12422
- if (a2.length !== b2.length)
12421
+ var compareArrays = (a2, b) => {
12422
+ if (a2.length !== b.length)
12423
12423
  return false;
12424
12424
  else {
12425
12425
  for (var i = 0; i < a2.length; i++) {
12426
- if (a2[i] !== b2[i]) {
12426
+ if (a2[i] !== b[i]) {
12427
12427
  return false;
12428
12428
  }
12429
12429
  }
@@ -16278,8 +16278,8 @@ init_define_process_env();
16278
16278
 
16279
16279
  // ../../node_modules/reselect/es/index.js
16280
16280
  init_define_process_env();
16281
- function defaultEqualityCheck(a2, b2) {
16282
- return a2 === b2;
16281
+ function defaultEqualityCheck(a2, b) {
16282
+ return a2 === b;
16283
16283
  }
16284
16284
  function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
16285
16285
  if (prev === null || next === null || prev.length !== next.length) {
@@ -16357,7 +16357,7 @@ var createSelector = createSelectorCreator(defaultMemoize);
16357
16357
  var import_ua_parser_js = __toESM(require_ua_parser());
16358
16358
  var import_lodash3 = __toESM(require_lodash2());
16359
16359
  import { v4 as qa } from "uuid";
16360
- import { v4 as Wa } from "uuid";
16360
+ import { v4 as $a } from "uuid";
16361
16361
 
16362
16362
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
16363
16363
  init_define_process_env();
@@ -16647,9 +16647,9 @@ function shimGetUserMedia(window2, browserDetails) {
16647
16647
  }
16648
16648
  constraints = JSON.parse(JSON.stringify(constraints));
16649
16649
  if (constraints && typeof constraints.audio === "object") {
16650
- const remap = function(obj, a2, b2) {
16651
- if (a2 in obj && !(b2 in obj)) {
16652
- obj[b2] = obj[a2];
16650
+ const remap = function(obj, a2, b) {
16651
+ if (a2 in obj && !(b in obj)) {
16652
+ obj[b] = obj[a2];
16653
16653
  delete obj[a2];
16654
16654
  }
16655
16655
  };
@@ -17391,9 +17391,9 @@ function shimGetUserMedia2(window2, browserDetails) {
17391
17391
  navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
17392
17392
  };
17393
17393
  if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
17394
- const remap = function(obj, a2, b2) {
17395
- if (a2 in obj && !(b2 in obj)) {
17396
- obj[b2] = obj[a2];
17394
+ const remap = function(obj, a2, b) {
17395
+ if (a2 in obj && !(b in obj)) {
17396
+ obj[b] = obj[a2];
17397
17397
  delete obj[a2];
17398
17398
  }
17399
17399
  };
@@ -18458,9 +18458,9 @@ import { v4 as io } from "uuid";
18458
18458
  import { v4 as oo } from "uuid";
18459
18459
  import { v4 as uo } from "uuid";
18460
18460
  import { EventEmitter2 as po } from "eventemitter2";
18461
- var Dt = __toESM(require_lib());
18461
+ var wt = __toESM(require_lib());
18462
18462
  import { EventEmitter2 as Co } from "eventemitter2";
18463
- import { v4 as wo } from "uuid";
18463
+ import { v4 as Do } from "uuid";
18464
18464
  import { EventEmitter2 as _o } from "eventemitter2";
18465
18465
  import No from "eventemitter2";
18466
18466
  import { v4 as Oo } from "uuid";
@@ -18469,30 +18469,30 @@ var ka = Object.defineProperty;
18469
18469
  var Pa = Object.defineProperties;
18470
18470
  var Ea = Object.getOwnPropertyDescriptors;
18471
18471
  var Vt = Object.getOwnPropertySymbols;
18472
- var $r = Object.prototype.hasOwnProperty;
18473
- var Wr = Object.prototype.propertyIsEnumerable;
18472
+ var Wr = Object.prototype.hasOwnProperty;
18473
+ var $r = Object.prototype.propertyIsEnumerable;
18474
18474
  var Gr = (a2, e, t) => e in a2 ? ka(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18475
18475
  var S = (a2, e) => {
18476
18476
  for (var t in e || (e = {}))
18477
- $r.call(e, t) && Gr(a2, t, e[t]);
18477
+ Wr.call(e, t) && Gr(a2, t, e[t]);
18478
18478
  if (Vt)
18479
18479
  for (var t of Vt(e))
18480
- Wr.call(e, t) && Gr(a2, t, e[t]);
18480
+ $r.call(e, t) && Gr(a2, t, e[t]);
18481
18481
  return a2;
18482
18482
  };
18483
18483
  var v = (a2, e) => Pa(a2, Ea(e));
18484
18484
  var Xi = (a2, e) => {
18485
18485
  var t = {};
18486
18486
  for (var i in a2)
18487
- $r.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
18487
+ Wr.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
18488
18488
  if (a2 != null && Vt)
18489
18489
  for (var i of Vt(a2))
18490
- e.indexOf(i) < 0 && Wr.call(a2, i) && (t[i] = a2[i]);
18490
+ e.indexOf(i) < 0 && $r.call(a2, i) && (t[i] = a2[i]);
18491
18491
  return t;
18492
18492
  };
18493
18493
  var Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18494
18494
  var lr = Ia((td, Ka) => {
18495
- Ka.exports = { version: "0.12.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
18495
+ Ka.exports = { version: "0.12.4", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "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"] };
18496
18496
  });
18497
18497
  var Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
18498
18498
  var Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
@@ -18517,7 +18517,7 @@ function it(a2) {
18517
18517
  function Ha(a2) {
18518
18518
  return a2 && a2.source === "screen";
18519
18519
  }
18520
- function $t(a2) {
18520
+ function Wt(a2) {
18521
18521
  return a2 && a2.source === "audioplaylist";
18522
18522
  }
18523
18523
  function rt(a2) {
@@ -18539,19 +18539,19 @@ var Ca = (a2) => a2.errors;
18539
18539
  var Rn = createSelector(Ca, (a2) => a2.length === 0 ? null : a2.at(-1));
18540
18540
  var Hn = createSelector(B, (a2) => a2.id);
18541
18541
  var G = (a2) => a2.peers;
18542
- var Wt = (a2) => a2.messages.byID;
18542
+ var $t = (a2) => a2.messages.byID;
18543
18543
  var Qr = (a2) => a2.messages.allIDs;
18544
18544
  var D = (a2) => a2.tracks;
18545
18545
  var tr = (a2) => a2.appData;
18546
18546
  var La = (a2) => a2.speakers;
18547
18547
  var ye = createSelector([B], (a2) => a2 && a2.isConnected);
18548
- var 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));
18549
- var Da = (a2) => a2.hideLocalPeer;
18550
- var 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]));
18551
- var wa = createSelector(D, (a2) => Object.values(a2));
18548
+ var 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));
18549
+ var wa = (a2) => a2.hideLocalPeer;
18550
+ var 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]));
18551
+ var Da = createSelector(D, (a2) => Object.values(a2));
18552
18552
  var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
18553
18553
  var ue = createSelector(B, (a2) => a2.localPeer);
18554
- var wn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
18554
+ var Dn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
18555
18555
  var _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
18556
18556
  var Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
18557
18557
  var K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
@@ -18614,14 +18614,14 @@ var Fn = createSelector(G, D, (a2, e) => {
18614
18614
  var Gn = createSelector(G, D, (a2, e) => {
18615
18615
  for (let t in e) {
18616
18616
  let i = e[t];
18617
- if ($t(i) && i.peerId)
18617
+ if (Wt(i) && i.peerId)
18618
18618
  return a2[i.peerId];
18619
18619
  }
18620
18620
  });
18621
- var $n = createSelector(wa, (a2) => a2.filter(jr));
18622
- var Wn = createSelector(Qr, (a2) => a2.length);
18623
- var Kn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
18624
- var at = createSelector(Qr, Wt, (a2, e) => {
18621
+ var Wn = createSelector(Da, (a2) => a2.filter(jr));
18622
+ var $n = createSelector(Qr, (a2) => a2.length);
18623
+ var Kn = createSelector($t, (a2) => Object.values(a2).filter((e) => !e.read).length);
18624
+ var at = createSelector(Qr, $t, (a2, e) => {
18625
18625
  let t = [];
18626
18626
  return a2.forEach((i) => {
18627
18627
  t.push(e[i]);
@@ -18673,7 +18673,7 @@ var ls = (a2 = "audio") => createSelector(ss(a2), sr(a2), (e, t) => {
18673
18673
  });
18674
18674
  var us = { selection: sr("audio"), progress: as("audio"), currentTime: os("audio"), playbackRate: ns("audio"), volume: cs("audio"), list: ds("audio"), selectedItem: ls("audio") };
18675
18675
  var ps = { selection: sr("video"), progress: as("video"), currentTime: os("video"), playbackRate: ns("video"), volume: cs("video"), list: ds("video"), selectedItem: ls("video") };
18676
- function b(a2) {
18676
+ function I(a2) {
18677
18677
  return (e) => (t) => a2(t, e);
18678
18678
  }
18679
18679
  var 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 || {});
@@ -18745,7 +18745,7 @@ var d = class {
18745
18745
  };
18746
18746
  d.level = Ba ? 7 : 0;
18747
18747
  var pe = new import_ua_parser_js.UAParser();
18748
- var w = typeof window != "undefined";
18748
+ var _ = typeof window != "undefined";
18749
18749
  var ms;
18750
18750
  var Ce = typeof window == "undefined" && !((ms = pe.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
18751
18751
  var Fa = () => !Ce;
@@ -18755,7 +18755,7 @@ var gs;
18755
18755
  var fs = ((gs = (Ss = pe.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase()) === "firefox";
18756
18756
  var vs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(vs || {});
18757
18757
  function Ga() {
18758
- if (w && window) {
18758
+ if (_ && window) {
18759
18759
  let a2 = window.location.hostname;
18760
18760
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
18761
18761
  }
@@ -18792,7 +18792,7 @@ var f = class a extends Error {
18792
18792
  }`;
18793
18793
  }
18794
18794
  };
18795
- var $a = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
18795
+ var Wa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
18796
18796
  var m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18797
18797
  return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
18798
18798
  }, WebSocketConnectionLost(a2, e = "") {
@@ -18852,7 +18852,7 @@ var m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18852
18852
  }, StatsFailed(a2, e = "") {
18853
18853
  return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
18854
18854
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
18855
- return new f(a2, "ServerErrors", e, t, t, $a.includes(e));
18855
+ return new f(a2, "ServerErrors", e, t, t, Wa.includes(e));
18856
18856
  }, AlreadyJoined(a2, e = "") {
18857
18857
  return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
18858
18858
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -18927,7 +18927,7 @@ var nr = class {
18927
18927
  };
18928
18928
  var Ms = () => {
18929
18929
  try {
18930
- w && !localStorage && (window.localStorage = new nr());
18930
+ _ && !localStorage && (window.localStorage = new nr());
18931
18931
  } catch (a2) {
18932
18932
  d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
18933
18933
  }
@@ -18939,7 +18939,7 @@ var ce = class {
18939
18939
  }
18940
18940
  getStorage() {
18941
18941
  try {
18942
- return w && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
18942
+ return _ && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
18943
18943
  } catch (e) {
18944
18944
  return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
18945
18945
  }
@@ -18961,7 +18961,7 @@ var ce = class {
18961
18961
  };
18962
18962
  var ys = () => {
18963
18963
  let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
18964
- return t ? a2 = t : (a2 = Wa(), e.set(a2)), a2;
18964
+ return t ? a2 = t : (a2 = $a(), e.set(a2)), a2;
18965
18965
  };
18966
18966
  function ie(a2) {
18967
18967
  return a2 != null;
@@ -19127,7 +19127,7 @@ function Jt(a2, e = 300) {
19127
19127
  }
19128
19128
  var 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 || {});
19129
19129
  var Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
19130
- var Ds = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ds || {});
19130
+ var ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
19131
19131
  var Sr = class {
19132
19132
  constructor() {
19133
19133
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -19151,7 +19151,7 @@ var Sr = class {
19151
19151
  this.createObserver();
19152
19152
  }
19153
19153
  isSupported() {
19154
- let e = w && typeof window.IntersectionObserver != "undefined";
19154
+ let e = _ && typeof window.IntersectionObserver != "undefined";
19155
19155
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
19156
19156
  }
19157
19157
  };
@@ -19179,7 +19179,7 @@ var gr = class {
19179
19179
  this.createObserver();
19180
19180
  }
19181
19181
  isSupported() {
19182
- let e = w && typeof window.ResizeObserver != "undefined";
19182
+ let e = _ && typeof window.ResizeObserver != "undefined";
19183
19183
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
19184
19184
  }
19185
19185
  };
@@ -19291,8 +19291,8 @@ var fo = createSelector([D, Tt], (a2, e) => {
19291
19291
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19292
19292
  });
19293
19293
  var vo = createSelector([is, mo], (a2, e) => e ? a2[e] : null);
19294
- var Q = b(J);
19295
- var rm = b(createSelector([tr, ho], (a2, e) => {
19294
+ var Q = I(J);
19295
+ var rm = I(createSelector([tr, ho], (a2, e) => {
19296
19296
  if (a2)
19297
19297
  return e ? a2[e] : a2;
19298
19298
  }));
@@ -19302,88 +19302,88 @@ function sm(a2) {
19302
19302
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19303
19303
  };
19304
19304
  }
19305
- var om = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19306
- var oi = b(Hr);
19307
- var Qs = b(So);
19308
- var nm = b(go);
19309
- var cm = b(To);
19310
- var dm = b(fo);
19311
- var Mo = b((a2, e) => {
19305
+ var om = I(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19306
+ var oi = I(Hr);
19307
+ var Qs = I(So);
19308
+ var nm = I(go);
19309
+ var cm = I(To);
19310
+ var dm = I(fo);
19311
+ var Mo = I((a2, e) => {
19312
19312
  let t = J(a2, e);
19313
19313
  if (t && t.videoTrack && t.videoTrack !== "")
19314
19314
  return a2.tracks[t.videoTrack];
19315
19315
  });
19316
- var yo = b((a2, e) => {
19316
+ var yo = I((a2, e) => {
19317
19317
  let t = J(a2, e);
19318
19318
  if (t && t.audioTrack && t.audioTrack !== "")
19319
19319
  return a2.tracks[t.audioTrack];
19320
19320
  });
19321
- var um = b((a2, e) => {
19321
+ var um = I((a2, e) => {
19322
19322
  let t = J(a2, e);
19323
19323
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
19324
19324
  });
19325
19325
  var zs = (a2, e) => e ? a2.speakers[e] : null;
19326
- var pm = b(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19326
+ var pm = I(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19327
19327
  var ko = (a2, e) => {
19328
19328
  let t = yo(e)(a2);
19329
19329
  return zs(a2, t == null ? void 0 : t.id);
19330
19330
  };
19331
- var hm = b(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19332
- var mm = b((a2, e) => {
19331
+ var hm = I(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19332
+ var mm = I((a2, e) => {
19333
19333
  if (e)
19334
19334
  return a2.connectionQualities[e];
19335
19335
  });
19336
- var Sm = b((a2, e) => {
19336
+ var Sm = I((a2, e) => {
19337
19337
  let t = J(a2, e);
19338
19338
  if (t) {
19339
19339
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
19340
19340
  return i ? a2.tracks[i] : void 0;
19341
19341
  }
19342
19342
  });
19343
- var gm = b(createSelector(D, J, (a2, e) => {
19343
+ var gm = I(createSelector(D, J, (a2, e) => {
19344
19344
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19345
19345
  let r = a2[i];
19346
19346
  return rt(r) && it(r);
19347
19347
  });
19348
19348
  return t ? a2[t] : void 0;
19349
19349
  }));
19350
- var Tm = b(createSelector(D, J, (a2, e) => {
19350
+ var Tm = I(createSelector(D, J, (a2, e) => {
19351
19351
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19352
19352
  let r = a2[i];
19353
19353
  return rt(r) && tt(r);
19354
19354
  });
19355
19355
  return t ? a2[t] : void 0;
19356
19356
  }));
19357
- var fm = b(createSelector(D, J, (a2, e) => {
19357
+ var fm = I(createSelector(D, J, (a2, e) => {
19358
19358
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19359
19359
  let r = a2[i];
19360
- return $t(r) && tt(r);
19360
+ return Wt(r) && tt(r);
19361
19361
  });
19362
19362
  return t ? a2[t] : void 0;
19363
19363
  }));
19364
- var Ys = b(createSelector(D, J, (a2, e) => He(a2, e)));
19364
+ var Ys = I(createSelector(D, J, (a2, e) => He(a2, e)));
19365
19365
  var Xs = (a2) => createSelector(Ys(a2), (e) => e.audio);
19366
- var Mm = b((a2, e) => {
19366
+ var Mm = I((a2, e) => {
19367
19367
  let t = J(a2, e);
19368
19368
  return Ue(a2, t == null ? void 0 : t.audioTrack);
19369
19369
  });
19370
- var ym = b((a2, e) => {
19370
+ var ym = I((a2, e) => {
19371
19371
  let t = J(a2, e);
19372
19372
  return Ue(a2, t == null ? void 0 : t.videoTrack);
19373
19373
  });
19374
- var Zs = b((a2, e) => {
19374
+ var Zs = I((a2, e) => {
19375
19375
  if (e && a2.tracks[e])
19376
19376
  return a2.tracks[e].volume === 0;
19377
19377
  });
19378
- var km = b((a2, e) => {
19378
+ var km = I((a2, e) => {
19379
19379
  let t = J(a2, e);
19380
19380
  return Zs(t == null ? void 0 : t.audioTrack)(a2);
19381
19381
  });
19382
- var Pm = b((a2, e) => {
19382
+ var Pm = I((a2, e) => {
19383
19383
  let t = Xs(e)(a2);
19384
19384
  return Zs(t == null ? void 0 : t.id)(a2);
19385
19385
  });
19386
- var ea = b((a2, e) => {
19386
+ var ea = I((a2, e) => {
19387
19387
  let t = Hr(a2, e);
19388
19388
  if (t) {
19389
19389
  if (t.type !== "audio") {
@@ -19393,15 +19393,15 @@ var ea = b((a2, e) => {
19393
19393
  return t.volume;
19394
19394
  }
19395
19395
  });
19396
- var Em = b((a2, e) => {
19396
+ var Em = I((a2, e) => {
19397
19397
  let t = J(a2, e);
19398
19398
  return ea(t == null ? void 0 : t.audioTrack)(a2);
19399
19399
  });
19400
- var bm = b((a2, e) => {
19400
+ var bm = I((a2, e) => {
19401
19401
  let t = Xs(e)(a2);
19402
19402
  return ea(t == null ? void 0 : t.id)(a2);
19403
19403
  });
19404
- var Am = b((a2, e) => {
19404
+ var Am = I((a2, e) => {
19405
19405
  let t = Hr(a2, e);
19406
19406
  if (t) {
19407
19407
  if (t.type !== "video") {
@@ -19432,18 +19432,18 @@ var Po = createSelector(at, (a2) => a2.filter((e) => {
19432
19432
  var Eo = createSelector([ia, Js], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19433
19433
  var bo = createSelector([ta, Rr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19434
19434
  var Im = createSelector(Po, (a2) => a2.filter((e) => !e.read).length);
19435
- var Rm = b(ta);
19436
- var Hm = b(ia);
19437
- var Cm = b(Eo);
19438
- var Lm = b(bo);
19439
- var ra = b(vo);
19435
+ var Rm = I(ta);
19436
+ var Hm = I(ia);
19437
+ var Cm = I(Eo);
19438
+ var Lm = I(bo);
19439
+ var ra = I(vo);
19440
19440
  var Gm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
19441
19441
  var r;
19442
19442
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
19443
19443
  }));
19444
19444
  var Ao = (a2) => a2.roleChangeRequests[0] || null;
19445
- var $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);
19446
- var Wm = createSelector([Kt], (a2) => st(a2));
19445
+ var 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);
19446
+ var $m = createSelector([Kt], (a2) => st(a2));
19447
19447
  var Km = createSelector([es], (a2) => st(a2));
19448
19448
  var Ro = createSelector([K, D], (a2, e) => {
19449
19449
  let t = null;
@@ -19499,7 +19499,7 @@ var _r = class {
19499
19499
  }
19500
19500
  };
19501
19501
  var Te = new _r();
19502
- var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
19502
+ var 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 || {});
19503
19503
  var 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 || {});
19504
19504
  var Ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ji || {});
19505
19505
  var Qo = (a2) => a2.localPeer.id;
@@ -19546,18 +19546,18 @@ var cn = createSelector(ve, (a2) => {
19546
19546
  var dn = createSelector([ya, Xo], (a2, e) => e ? a2[e] : void 0);
19547
19547
  var ln = createSelector([Zo, Ma], (a2, e) => e ? a2[e] : void 0);
19548
19548
  var Vr = createSelector([Br, Ma], (a2, e) => e ? a2[e] : void 0);
19549
- var un = b(dn);
19550
- var pn = b(ln);
19549
+ var un = I(dn);
19550
+ var pn = I(ln);
19551
19551
  var hn = createSelector([Br, zo], (a2, e) => {
19552
19552
  var t;
19553
19553
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19554
19554
  });
19555
- var mn = b(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
19555
+ var mn = I(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
19556
19556
  var Sn = createSelector([Br, Yo], (a2, e) => {
19557
19557
  var t;
19558
19558
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19559
19559
  });
19560
- var gn = b(createSelector(Vr, (a2) => a2));
19560
+ var gn = I(createSelector(Vr, (a2) => a2));
19561
19561
 
19562
19562
  // src/Prebuilt/components/Header/StreamActions.tsx
19563
19563
  import {
@@ -22349,10 +22349,10 @@ var PrevMenu = () => {
22349
22349
  const sortedPolls = useMemo5(
22350
22350
  () => {
22351
22351
  var _a8;
22352
- return (_a8 = polls == null ? void 0 : polls.sort((a2, b2) => {
22352
+ return (_a8 = polls == null ? void 0 : polls.sort((a2, b) => {
22353
22353
  var _a9, _b7;
22354
- return (((_a9 = b2.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
22355
- })) == null ? void 0 : _a8.sort((a2, b2) => (b2.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
22354
+ return (((_a9 = b.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
22355
+ })) == null ? void 0 : _a8.sort((a2, b) => (b.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
22356
22356
  },
22357
22357
  [polls]
22358
22358
  );
@@ -23854,7 +23854,7 @@ var usePinnedMessages = () => {
23854
23854
  if (pinnedMessages[indexToRemove]) {
23855
23855
  yield hmsActions.sessionStore.set(
23856
23856
  "pinnedMessages" /* PINNED_MESSAGES */,
23857
- pinnedMessages.filter((_, index) => index !== indexToRemove)
23857
+ pinnedMessages.filter((_2, index) => index !== indexToRemove)
23858
23858
  ).catch((err) => ToastManager.addToast({ title: err.description }));
23859
23859
  }
23860
23860
  }),
@@ -25219,7 +25219,7 @@ var StickIndicator = ({ total, index }) => {
25219
25219
  if (total < 2) {
25220
25220
  return null;
25221
25221
  }
25222
- return /* @__PURE__ */ React114.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_, i) => /* @__PURE__ */ React114.createElement(
25222
+ return /* @__PURE__ */ React114.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_2, i) => /* @__PURE__ */ React114.createElement(
25223
25223
  Box,
25224
25224
  {
25225
25225
  css: {
@@ -26985,7 +26985,7 @@ var PreviewJoin = ({
26985
26985
  speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
26986
26986
  },
26987
26987
  captureNetworkQualityInPreview: true,
26988
- handleError: (_, method) => {
26988
+ handleError: (_2, method) => {
26989
26989
  if (method === "preview") {
26990
26990
  setPreviewError(true);
26991
26991
  }
@@ -27399,7 +27399,7 @@ var Pagination = ({
27399
27399
  if (numPages <= 1) {
27400
27400
  return null;
27401
27401
  }
27402
- return /* @__PURE__ */ React136.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ React136.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ React136.createElement(ChevronLeftIcon7, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ React136.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_, i) => /* @__PURE__ */ React136.createElement(
27402
+ return /* @__PURE__ */ React136.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ React136.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ React136.createElement(ChevronLeftIcon7, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ React136.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_2, i) => /* @__PURE__ */ React136.createElement(
27403
27403
  StyledPagination.Dot,
27404
27404
  {
27405
27405
  key: i,
@@ -27506,7 +27506,7 @@ var useTileLayout = ({
27506
27506
  }
27507
27507
  const maxRows = Math.ceil(noOfTilesInPage / maxCols);
27508
27508
  let index = 0;
27509
- const matrix = new Array(maxRows).fill(null).map((_, i) => {
27509
+ const matrix = new Array(maxRows).fill(null).map((_2, i) => {
27510
27510
  const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
27511
27511
  const rowElements = [];
27512
27512
  for (let j = 0; j < numCols; j++) {
@@ -27538,10 +27538,10 @@ var useTileLayout = ({
27538
27538
  tileHeight = maxRowHeight;
27539
27539
  const calcWidths = aspectRatios.map((aR) => tileHeight * aR);
27540
27540
  tileWidth = 0;
27541
- for (const w2 of calcWidths) {
27542
- if (w2 < width) {
27543
- if (tileWidth < w2) {
27544
- tileWidth = w2;
27541
+ for (const w of calcWidths) {
27542
+ if (w < width) {
27543
+ if (tileWidth < w) {
27544
+ tileWidth = w;
27545
27545
  }
27546
27546
  }
27547
27547
  }
@@ -28233,7 +28233,7 @@ var PeersSorter = class {
28233
28233
  this.speaker = void 0;
28234
28234
  this.tilesPerPage = tilesPerPage;
28235
28235
  const peerIds = new Set(peers.map((peer) => peer.id));
28236
- this.peers.forEach((_, key) => {
28236
+ this.peers.forEach((_2, key) => {
28237
28237
  if (!peerIds.has(key)) {
28238
28238
  this.peers.delete(key);
28239
28239
  }
@@ -28638,7 +28638,7 @@ var useCloseScreenshareWhiteboard = () => {
28638
28638
  };
28639
28639
 
28640
28640
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28641
- var HLSView = React151.lazy(() => import("./HLSView-6TQXAQY6.js"));
28641
+ var HLSView = React151.lazy(() => import("./HLSView-6NEUUQBX.js"));
28642
28642
  var VideoStreamingSection = ({
28643
28643
  screenType,
28644
28644
  elements,
@@ -29632,7 +29632,7 @@ import {
29632
29632
  PeopleRemoveIcon as PeopleRemoveIcon4,
29633
29633
  PoorConnectivityIcon as PoorConnectivityIcon2
29634
29634
  } from "@100mslive/react-icons";
29635
- var ChatAction = React163.forwardRef((_, ref) => {
29635
+ var ChatAction = React163.forwardRef((_2, ref) => {
29636
29636
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
29637
29637
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
29638
29638
  if (isChatOpen) {
@@ -31005,4 +31005,4 @@ lodash/lodash.js:
31005
31005
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
31006
31006
  *)
31007
31007
  */
31008
- //# sourceMappingURL=chunk-5Q4HY6QQ.js.map
31008
+ //# sourceMappingURL=chunk-JF6QG5V5.js.map