@100mslive/roomkit-react 0.3.1 → 0.3.2-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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_e8a22aa5-5770-485f-9b21-dcd5938b84a4", 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.21 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.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e8a22aa5-5770-485f-9b21-dcd5938b84a4", 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.1", 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: "598", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240304.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.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:15946", 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.1", 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: "8187337748", 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: "fff51f4e055e089629a9320b0cb6e79e0245180c", 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: "97910cbe5117e1ec3191834e53d71afb46aedd7e10ba9f8a319f3f9ac990c6e0", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/feat/patch-release", 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--1709810797968-0.4626427395364414:/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--1709810797778-0.9325360883824465:/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--1709810776065-0.5816463989246565:/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--1709810775886-0.5990375597520998:/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_fdacee0b-be66-4958-a6b0-c0a2c4337563", INVOCATION_ID: "f3bc2300b9134756bb12bf0175acf900", 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_2", GITHUB_RUN_NUMBER: "473", 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 135", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "feat/patch-release", 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.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.1", 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: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "fff51f4e055e089629a9320b0cb6e79e0245180c", 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/feat/patch-release", 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_e8a22aa5-5770-485f-9b21-dcd5938b84a4", 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_e8a22aa5-5770-485f-9b21-dcd5938b84a4", 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_e8a22aa5-5770-485f-9b21-dcd5938b84a4" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4b037299-3b0b-44cd-9821-371209724b26", 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.21 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.2-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4b037299-3b0b-44cd-9821-371209724b26", 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.2-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: "603", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240304.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.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17250", 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.2-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: "8188029671", 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: "bb718372bf21a6c1945c644902cc208c0fca4a32", 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: "572533de504462440f808949fd809bf30bfb4a9894dcda25f9e970cd35a0c770", 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--1709814295078-0.513546591118083:/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--1709814294880-0.16899459668660377:/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--1709814272578-0.5600659867162328:/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--1709814272398-0.3103307104447173:/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_9c21e862-086e-4f02-a6a0-8905ea9b7b78", INVOCATION_ID: "c90df66756bd4790aea5cffc0b29916a", 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: "474", 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 24", 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.2-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.2-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: "bb718372bf21a6c1945c644902cc208c0fca4a32", 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_4b037299-3b0b-44cd-9821-371209724b26", 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_4b037299-3b0b-44cd-9821-371209724b26", 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_4b037299-3b0b-44cd-9821-371209724b26" };
110
110
  }
111
111
  });
112
112
 
@@ -14079,7 +14079,7 @@ var useDropdownList = ({ name, open }) => {
14079
14079
 
14080
14080
  // src/Prebuilt/common/hooks.ts
14081
14081
  init_define_process_env();
14082
- import { useEffect as useEffect12, useRef as useRef8, useState as useState11 } from "react";
14082
+ import { useCallback as useCallback8, useEffect as useEffect12, useRef as useRef8, useState as useState11 } from "react";
14083
14083
  import { useMedia as useMedia4 } from "react-use";
14084
14084
  import { JoinForm_JoinBtnType as JoinForm_JoinBtnType2 } from "@100mslive/types-prebuilt/elements/join_form";
14085
14085
  import {
@@ -14153,6 +14153,29 @@ var useMobileHLSStream = () => {
14153
14153
  const { screenType } = useRoomLayoutConferencingScreen();
14154
14154
  return isMobile && screenType === "hls_live_streaming";
14155
14155
  };
14156
+ var useKeyboardHandler = (isPaused, hlsPlayer) => {
14157
+ const handleKeyEvent = useCallback8(
14158
+ (event) => __async(void 0, null, function* () {
14159
+ switch (event.key) {
14160
+ case " ":
14161
+ if (isPaused) {
14162
+ yield hlsPlayer == null ? void 0 : hlsPlayer.play();
14163
+ } else {
14164
+ hlsPlayer == null ? void 0 : hlsPlayer.pause();
14165
+ }
14166
+ break;
14167
+ case "ArrowRight":
14168
+ hlsPlayer == null ? void 0 : hlsPlayer.seekTo((hlsPlayer == null ? void 0 : hlsPlayer.getVideoElement().currentTime) + 10);
14169
+ break;
14170
+ case "ArrowLeft":
14171
+ hlsPlayer == null ? void 0 : hlsPlayer.seekTo((hlsPlayer == null ? void 0 : hlsPlayer.getVideoElement().currentTime) - 10);
14172
+ break;
14173
+ }
14174
+ }),
14175
+ [hlsPlayer, isPaused]
14176
+ );
14177
+ return handleKeyEvent;
14178
+ };
14156
14179
 
14157
14180
  // src/Prebuilt/components/EmojiReaction.jsx
14158
14181
  init({ data });
@@ -14622,7 +14645,7 @@ import React42 from "react";
14622
14645
 
14623
14646
  // src/Prebuilt/components/PIP/PIPComponent.jsx
14624
14647
  init_define_process_env();
14625
- import React41, { useCallback as useCallback8, useEffect as useEffect13, useState as useState15 } from "react";
14648
+ import React41, { useCallback as useCallback9, useEffect as useEffect13, useState as useState15 } from "react";
14626
14649
  import { selectPeers as selectPeers2, selectTracksMap, useHMSActions as useHMSActions9, useHMSStore as useHMSStore14, useHMSVanillaStore as useHMSVanillaStore5 } from "@100mslive/react-sdk";
14627
14650
  import { PipIcon } from "@100mslive/react-icons";
14628
14651
 
@@ -15084,7 +15107,7 @@ var PIPComponent = ({ content = null }) => {
15084
15107
  const [isPipOn, setIsPipOn] = useState15(PictureInPicture.isOn());
15085
15108
  const hmsActions = useHMSActions9();
15086
15109
  const store = useHMSVanillaStore5();
15087
- const onPipToggle = useCallback8(() => {
15110
+ const onPipToggle = useCallback9(() => {
15088
15111
  if (!isPipOn) {
15089
15112
  PictureInPicture.start(hmsActions, setIsPipOn).catch((err) => console.error("error in starting pip", err));
15090
15113
  MediaSession.setup(hmsActions, store);
@@ -15267,7 +15290,7 @@ import { AlertTriangleIcon as AlertTriangleIcon3 } from "@100mslive/react-icons"
15267
15290
 
15268
15291
  // src/Prebuilt/components/Streaming/ResolutionInput.jsx
15269
15292
  init_define_process_env();
15270
- import React45, { useCallback as useCallback9, useState as useState17 } from "react";
15293
+ import React45, { useCallback as useCallback10, useState as useState17 } from "react";
15271
15294
  import { InfoIcon } from "@100mslive/react-icons";
15272
15295
 
15273
15296
  // src/Prebuilt/primitives/DialogContent.jsx
@@ -15429,7 +15452,7 @@ var DialogInputFile = (_a8) => {
15429
15452
  // src/Prebuilt/components/Streaming/ResolutionInput.jsx
15430
15453
  var ResolutionInput = ({ onResolutionChange, disabled, tooltipText, css: css2, testId }) => {
15431
15454
  const [resolution, setResolution] = useState17(RTMP_RECORD_DEFAULT_RESOLUTION);
15432
- const resolutionChangeHandler = useCallback9(
15455
+ const resolutionChangeHandler = useCallback10(
15433
15456
  (event) => {
15434
15457
  const { name, value } = event.target;
15435
15458
  let width = name === "resWidth" ? Number(value) : resolution.width;
@@ -15778,7 +15801,7 @@ var formatBytes2 = (bytes, unit = "B", decimals = 2) => {
15778
15801
 
15779
15802
  // src/Prebuilt/components/MoreSettings/BulkRoleChangeModal.jsx
15780
15803
  init_define_process_env();
15781
- import React48, { useCallback as useCallback10, useRef as useRef12, useState as useState20 } from "react";
15804
+ import React48, { useCallback as useCallback11, useRef as useRef12, useState as useState20 } from "react";
15782
15805
  import { useHMSActions as useHMSActions12 } from "@100mslive/react-sdk";
15783
15806
  import { AlertTriangleIcon as AlertTriangleIcon4, ChangeRoleIcon, CheckIcon as CheckIcon4 } from "@100mslive/react-icons";
15784
15807
  var BulkRoleChangeModal = ({ onOpenChange }) => {
@@ -15793,7 +15816,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
15793
15816
  const [roleDialog, setRoleDialog] = useState20(false);
15794
15817
  const [errorMessage, setErrorMessage] = useState20("");
15795
15818
  const [isSubmiting, setIsSubmiting] = useState20(false);
15796
- const changeBulkRole = useCallback10(() => __async(void 0, null, function* () {
15819
+ const changeBulkRole = useCallback11(() => __async(void 0, null, function* () {
15797
15820
  if (selectedBulkRole.length > 0 && selectedRole) {
15798
15821
  try {
15799
15822
  setIsSubmiting(true);
@@ -15891,11 +15914,11 @@ import { ExpandIcon } from "@100mslive/react-icons";
15891
15914
 
15892
15915
  // src/Prebuilt/components/hooks/useFullscreen.ts
15893
15916
  init_define_process_env();
15894
- import { useCallback as useCallback11, useEffect as useEffect15, useState as useState21 } from "react";
15917
+ import { useCallback as useCallback12, useEffect as useEffect15, useState as useState21 } from "react";
15895
15918
  import screenfull from "screenfull";
15896
15919
  var useFullscreen = () => {
15897
15920
  const [isFullScreenEnabled, setIsFullScreenEnabled] = useState21(screenfull.isFullscreen);
15898
- const toggle = useCallback11(() => __async(void 0, null, function* () {
15921
+ const toggle = useCallback12(() => __async(void 0, null, function* () {
15899
15922
  if (!screenfull.isEnabled) {
15900
15923
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
15901
15924
  return;
@@ -15952,7 +15975,7 @@ var FullScreenItem = () => {
15952
15975
 
15953
15976
  // src/Prebuilt/components/MoreSettings/MuteAllModal.tsx
15954
15977
  init_define_process_env();
15955
- import React51, { useCallback as useCallback12, useState as useState22 } from "react";
15978
+ import React51, { useCallback as useCallback13, useState as useState22 } from "react";
15956
15979
  import {
15957
15980
  selectAvailableRoleNames as selectAvailableRoleNames3,
15958
15981
  useHMSActions as useHMSActions13,
@@ -16028,7 +16051,7 @@ var MuteAllModal = ({
16028
16051
  const [trackType, setTrackType] = useState22();
16029
16052
  const [selectedRole, setRole] = useState22();
16030
16053
  const [selectedSource, setSource] = useState22();
16031
- const muteAll = useCallback12(() => __async(void 0, null, function* () {
16054
+ const muteAll = useCallback13(() => __async(void 0, null, function* () {
16032
16055
  yield hmsActions.setRemoteTracksEnabled({
16033
16056
  enabled,
16034
16057
  type: trackType,
@@ -16058,7 +16081,7 @@ var MuteAllModal = ({
16058
16081
 
16059
16082
  // src/Prebuilt/components/hooks/useMetadata.jsx
16060
16083
  init_define_process_env();
16061
- import { useCallback as useCallback13 } from "react";
16084
+ import { useCallback as useCallback14 } from "react";
16062
16085
  import {
16063
16086
  selectHasPeerHandRaised,
16064
16087
  selectLocalPeerID as selectLocalPeerID3,
@@ -16082,7 +16105,7 @@ var useMyMetadata = () => {
16082
16105
  console.error("failed to update metadata ", updatedFields);
16083
16106
  }
16084
16107
  });
16085
- const toggleHandRaise = useCallback13(() => __async(void 0, null, function* () {
16108
+ const toggleHandRaise = useCallback14(() => __async(void 0, null, function* () {
16086
16109
  if (isHandRaised) {
16087
16110
  yield hmsActions.lowerLocalPeerHand();
16088
16111
  } else {
@@ -16090,7 +16113,7 @@ var useMyMetadata = () => {
16090
16113
  yield update({ isBRBOn: false });
16091
16114
  }
16092
16115
  }), [isHandRaised]);
16093
- const toggleBRB = useCallback13(() => __async(void 0, null, function* () {
16116
+ const toggleBRB = useCallback14(() => __async(void 0, null, function* () {
16094
16117
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
16095
16118
  yield update({ isBRBOn: newValue });
16096
16119
  if (newValue) {
@@ -16256,7 +16279,7 @@ import {
16256
16279
 
16257
16280
  // src/Prebuilt/components/Header/StreamActions.tsx
16258
16281
  init_define_process_env();
16259
- import React54, { useCallback as useCallback16, useEffect as useEffect16, useRef as useRef13, useState as useState25 } from "react";
16282
+ import React54, { useCallback as useCallback17, useEffect as useEffect16, useRef as useRef13, useState as useState25 } from "react";
16260
16283
  import { useMedia as useMedia7 } from "react-use";
16261
16284
 
16262
16285
  // ../hms-video-store/dist/index.js
@@ -18478,7 +18501,7 @@ var Yi = (a2, e) => {
18478
18501
  };
18479
18502
  var ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18480
18503
  var dr = ba((Xc, $a) => {
18481
- $a.exports = { version: "0.12.1", 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"] };
18504
+ $a.exports = { version: "0.12.2-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"] };
18482
18505
  });
18483
18506
  var Xi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Xi || {});
18484
18507
  var Aa = ((e) => (e.CHAT = "chat", e))(Aa || {});
@@ -19570,7 +19593,7 @@ import {
19570
19593
 
19571
19594
  // src/Prebuilt/components/hooks/usePlaylistMusic.js
19572
19595
  init_define_process_env();
19573
- import { useCallback as useCallback14 } from "react";
19596
+ import { useCallback as useCallback15 } from "react";
19574
19597
  import {
19575
19598
  selectAudioPlaylist,
19576
19599
  selectAudioPlaylistTrackByPeerID,
@@ -19583,16 +19606,16 @@ var usePlaylistMusic = () => {
19583
19606
  const track = useHMSStore22(selectAudioPlaylistTrackByPeerID(peer == null ? void 0 : peer.id));
19584
19607
  const selection = useHMSStore22(selectAudioPlaylist.selectedItem);
19585
19608
  const hmsActions = useHMSActions16();
19586
- const play = useCallback14(
19609
+ const play = useCallback15(
19587
19610
  (selectedId) => __async(void 0, null, function* () {
19588
19611
  yield hmsActions.audioPlaylist.play(selectedId);
19589
19612
  }),
19590
19613
  [hmsActions]
19591
19614
  );
19592
- const pause = useCallback14(() => {
19615
+ const pause = useCallback15(() => {
19593
19616
  hmsActions.audioPlaylist.pause();
19594
19617
  }, [hmsActions]);
19595
- const setVolume = useCallback14(
19618
+ const setVolume = useCallback15(
19596
19619
  (value) => {
19597
19620
  hmsActions.setVolume(value, track == null ? void 0 : track.id);
19598
19621
  },
@@ -19603,7 +19626,7 @@ var usePlaylistMusic = () => {
19603
19626
 
19604
19627
  // src/Prebuilt/components/hooks/useScreenshareAudio.js
19605
19628
  init_define_process_env();
19606
- import { useCallback as useCallback15 } from "react";
19629
+ import { useCallback as useCallback16 } from "react";
19607
19630
  import {
19608
19631
  selectPeerSharingAudio,
19609
19632
  selectScreenShareAudioByPeerID,
@@ -19614,7 +19637,7 @@ var useScreenshareAudio = () => {
19614
19637
  const hmsActions = useHMSActions17();
19615
19638
  const peer = useHMSStore23(selectPeerSharingAudio);
19616
19639
  const track = useHMSStore23(selectScreenShareAudioByPeerID(peer == null ? void 0 : peer.id));
19617
- const handleMute = useCallback15(() => {
19640
+ const handleMute = useCallback16(() => {
19618
19641
  if (!peer.isLocal) {
19619
19642
  hmsActions.setVolume(!track.volume ? 100 : 0, track.id);
19620
19643
  } else {
@@ -19733,7 +19756,7 @@ var LiveStatus = () => {
19733
19756
  const intervalRef = useRef13(null);
19734
19757
  const { screenType } = useRoomLayoutConferencingScreen();
19735
19758
  const [liveTime, setLiveTime] = useState25(0);
19736
- const startTimer = useCallback16(() => {
19759
+ const startTimer = useCallback17(() => {
19737
19760
  intervalRef.current = setInterval(() => {
19738
19761
  var _a9;
19739
19762
  const timeStamp = (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9[screenType === "hls_live_streaming" ? "startedAt" : "initialisedAt"];
@@ -20142,7 +20165,7 @@ var ChangeNameModal = ({
20142
20165
 
20143
20166
  // src/Prebuilt/components/AppData/useSheet.ts
20144
20167
  init_define_process_env();
20145
- import { useCallback as useCallback17 } from "react";
20168
+ import { useCallback as useCallback18 } from "react";
20146
20169
  import { selectAppData as selectAppData4, useHMSActions as useHMSActions20, useHMSStore as useHMSStore27, useHMSVanillaStore as useHMSVanillaStore7 } from "@100mslive/react-sdk";
20147
20170
  var useIsSheetTypeOpen = (sheetType) => {
20148
20171
  if (!sheetType) {
@@ -20153,7 +20176,7 @@ var useIsSheetTypeOpen = (sheetType) => {
20153
20176
  var useSheetToggle = (sheetType) => {
20154
20177
  const hmsActions = useHMSActions20();
20155
20178
  const vanillaStore = useHMSVanillaStore7();
20156
- const toggleSheet = useCallback17(() => {
20179
+ const toggleSheet = useCallback18(() => {
20157
20180
  const isOpen = vanillaStore.getState(selectAppData4(APP_DATA.sheet)) === sheetType;
20158
20181
  hmsActions.setAppData(APP_DATA.sheet, !isOpen ? sheetType : "");
20159
20182
  }, [vanillaStore, hmsActions, sheetType]);
@@ -21003,7 +21026,7 @@ var ChatToggle = () => {
21003
21026
 
21004
21027
  // src/Prebuilt/components/Footer/ParticipantList.tsx
21005
21028
  init_define_process_env();
21006
- import React74, { Fragment as Fragment9, useCallback as useCallback18, useState as useState32 } from "react";
21029
+ import React74, { Fragment as Fragment9, useCallback as useCallback19, useState as useState32 } from "react";
21007
21030
  import { useDebounce, useMedia as useMedia10 } from "react-use";
21008
21031
  import {
21009
21032
  selectHandRaisedPeers,
@@ -21454,7 +21477,7 @@ var ParticipantList = ({
21454
21477
  }
21455
21478
  });
21456
21479
  }
21457
- const onSearch = useCallback18((value) => {
21480
+ const onSearch = useCallback19((value) => {
21458
21481
  setFilter((filterValue) => {
21459
21482
  if (!filterValue) {
21460
21483
  filterValue = {};
@@ -21877,7 +21900,7 @@ var Footer2 = ({
21877
21900
 
21878
21901
  // src/Prebuilt/components/Notifications/HLSFailureModal.tsx
21879
21902
  init_define_process_env();
21880
- import React78, { useCallback as useCallback19, useState as useState33 } from "react";
21903
+ import React78, { useCallback as useCallback20, useState as useState33 } from "react";
21881
21904
  import { selectHLSState as selectHLSState5, useHMSActions as useHMSActions25, useHMSStore as useHMSStore38, useRecordingStreaming as useRecordingStreaming8 } from "@100mslive/react-sdk";
21882
21905
  function HLSFailureModal() {
21883
21906
  const hlsError = useHMSStore38(selectHLSState5).error || false;
@@ -21885,7 +21908,7 @@ function HLSFailureModal() {
21885
21908
  const hmsActions = useHMSActions25();
21886
21909
  const { isRTMPRunning } = useRecordingStreaming8();
21887
21910
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
21888
- const startHLS = useCallback19(() => __async(this, null, function* () {
21911
+ const startHLS = useCallback20(() => __async(this, null, function* () {
21889
21912
  try {
21890
21913
  if (isHLSStarted || isRTMPRunning) {
21891
21914
  return;
@@ -21938,7 +21961,7 @@ import {
21938
21961
 
21939
21962
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
21940
21963
  init_define_process_env();
21941
- import React131, { Fragment as Fragment12, useCallback as useCallback31, useEffect as useEffect34, useMemo as useMemo11, useState as useState55 } from "react";
21964
+ import React131, { Fragment as Fragment12, useCallback as useCallback32, useEffect as useEffect34, useMemo as useMemo11, useState as useState55 } from "react";
21942
21965
  import { useMeasure as useMeasure4, useMedia as useMedia24 } from "react-use";
21943
21966
  import {
21944
21967
  HMSRoomState as HMSRoomState5,
@@ -22174,7 +22197,7 @@ var AddMenu = () => {
22174
22197
  type: "text",
22175
22198
  placeholder: "Enter a name to continue",
22176
22199
  value: title,
22177
- onChange: (event) => setTitle(event.target.value),
22200
+ onChange: (event) => setTitle(event.target.value.trimStart()),
22178
22201
  css: {
22179
22202
  backgroundColor: "$surface_bright",
22180
22203
  border: "1px solid $border_default"
@@ -22258,7 +22281,7 @@ import { AddCircleIcon as AddCircleIcon2 } from "@100mslive/react-icons";
22258
22281
 
22259
22282
  // src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx
22260
22283
  init_define_process_env();
22261
- import React89, { useCallback as useCallback20, useRef as useRef16, useState as useState35 } from "react";
22284
+ import React89, { useCallback as useCallback21, useRef as useRef16, useState as useState35 } from "react";
22262
22285
  import { AddCircleIcon, TrashIcon as TrashIcon3 } from "@100mslive/react-icons";
22263
22286
 
22264
22287
  // src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx
@@ -22347,7 +22370,7 @@ var OptionInputWithDelete = ({
22347
22370
  },
22348
22371
  value: (option == null ? void 0 : option.text) || "",
22349
22372
  key: index,
22350
- onChange: (event) => handleOptionTextChange(index, event.target.value)
22373
+ onChange: (event) => handleOptionTextChange(index, event.target.value.trimStart())
22351
22374
  }
22352
22375
  ), /* @__PURE__ */ React84.createElement(IconButton_default, { onClick: () => removeOption(index), css: { bg: "transparent", border: "none" } }, /* @__PURE__ */ React84.createElement(TrashIcon2, null)));
22353
22376
  };
@@ -22568,13 +22591,13 @@ var QuestionForm = ({
22568
22591
  weight,
22569
22592
  isQuiz
22570
22593
  });
22571
- const handleOptionTextChange = useCallback20(
22594
+ const handleOptionTextChange = useCallback21(
22572
22595
  (index2, text2) => {
22573
22596
  setOptions((options2) => [...options2.slice(0, index2), __spreadProps(__spreadValues({}, options2[index2]), { text: text2 }), ...options2.slice(index2 + 1)]);
22574
22597
  },
22575
22598
  [setOptions]
22576
22599
  );
22577
- const removeOption = useCallback20(
22600
+ const removeOption = useCallback21(
22578
22601
  (index2) => setOptions((options2) => {
22579
22602
  const newOptions = [...options2];
22580
22603
  newOptions.splice(index2, 1);
@@ -22582,7 +22605,7 @@ var QuestionForm = ({
22582
22605
  }),
22583
22606
  [setOptions]
22584
22607
  );
22585
- const selectSingleChoiceAnswer = useCallback20(
22608
+ const selectSingleChoiceAnswer = useCallback21(
22586
22609
  (answerIndex) => {
22587
22610
  if (!isQuiz) {
22588
22611
  return;
@@ -22595,7 +22618,7 @@ var QuestionForm = ({
22595
22618
  },
22596
22619
  [setOptions, isQuiz]
22597
22620
  );
22598
- const selectMultipleChoiceAnswer = useCallback20(
22621
+ const selectMultipleChoiceAnswer = useCallback21(
22599
22622
  (checked, index2) => {
22600
22623
  if (!isQuiz) {
22601
22624
  return;
@@ -22646,7 +22669,7 @@ var QuestionForm = ({
22646
22669
  maxHeight: "$32"
22647
22670
  },
22648
22671
  value: text,
22649
- onChange: (event) => setText(event.target.value)
22672
+ onChange: (event) => setText(event.target.value.trimStart())
22650
22673
  }
22651
22674
  ), /* @__PURE__ */ React89.createElement(Text, { variant: "xs", css: { color: "$on_surface_medium", textAlign: "end", mt: "$4" } }, (text == null ? void 0 : text.length) || 0, "/1024"), /* @__PURE__ */ React89.createElement(Line, null), type === "single-choice" /* SINGLE_CHOICE */ || type === "multiple-choice" /* MULTIPLE_CHOICE */ ? /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(Text, { variant: "body2", css: { mb: "$6", c: "$on_surface_medium" } }, "Options"), isQuiz && /* @__PURE__ */ React89.createElement(Text, { variant: "xs", css: { c: "$on_surface_medium", mb: "$md" } }, type === "single-choice" /* SINGLE_CHOICE */ ? "Use the radio buttons to indicate the correct answer" : "Use the checkboxes to indicate the correct answer(s)"), type === "single-choice" /* SINGLE_CHOICE */ && /* @__PURE__ */ React89.createElement(
22652
22675
  SingleChoiceOptionInputs,
@@ -23131,7 +23154,7 @@ import React97 from "react";
23131
23154
 
23132
23155
  // src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
23133
23156
  init_define_process_env();
23134
- import React96, { useCallback as useCallback21, useMemo as useMemo7, useRef as useRef17, useState as useState39 } from "react";
23157
+ import React96, { useCallback as useCallback22, useMemo as useMemo7, useRef as useRef17, useState as useState39 } from "react";
23135
23158
  import { match as match6 } from "ts-pattern";
23136
23159
  import { selectLocalPeer, selectLocalPeerRoleName as selectLocalPeerRoleName2, useHMSActions as useHMSActions29, useHMSStore as useHMSStore45 } from "@100mslive/react-sdk";
23137
23160
  import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon5, CrossCircleIcon } from "@100mslive/react-icons";
@@ -23179,7 +23202,7 @@ var QuestionCard2 = ({
23179
23202
  return multipleOptionAnswer.size > 0;
23180
23203
  }
23181
23204
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
23182
- const handleVote = useCallback21(() => __async(void 0, null, function* () {
23205
+ const handleVote = useCallback22(() => __async(void 0, null, function* () {
23183
23206
  if (!isValidVote) {
23184
23207
  return;
23185
23208
  }
@@ -23585,7 +23608,7 @@ import { CrossIcon as CrossIcon19 } from "@100mslive/react-icons";
23585
23608
 
23586
23609
  // src/Prebuilt/components/Chat/Chat.tsx
23587
23610
  init_define_process_env();
23588
- import React116, { useCallback as useCallback29, useRef as useRef21 } from "react";
23611
+ import React116, { useCallback as useCallback30, useRef as useRef21 } from "react";
23589
23612
  import { useMedia as useMedia18 } from "react-use";
23590
23613
  import { match as match7 } from "ts-pattern";
23591
23614
  import { selectHMSMessagesCount, useHMSActions as useHMSActions38, useHMSStore as useHMSStore58, useHMSVanillaStore as useHMSVanillaStore10 } from "@100mslive/react-sdk";
@@ -23593,7 +23616,7 @@ import { ChevronDownIcon as ChevronDownIcon8 } from "@100mslive/react-icons";
23593
23616
 
23594
23617
  // src/Prebuilt/components/Chat/ChatBody.tsx
23595
23618
  init_define_process_env();
23596
- import React108, { Fragment as Fragment10, useCallback as useCallback25, useEffect as useEffect26, useLayoutEffect, useMemo as useMemo8, useRef as useRef18, useState as useState45 } from "react";
23619
+ import React108, { Fragment as Fragment10, useCallback as useCallback26, useEffect as useEffect26, useLayoutEffect, useMemo as useMemo8, useRef as useRef18, useState as useState45 } from "react";
23597
23620
  import { useMedia as useMedia13 } from "react-use";
23598
23621
  import AutoSizer from "react-virtualized-auto-sizer";
23599
23622
  import { VariableSizeList } from "react-window";
@@ -23613,7 +23636,7 @@ import { SolidPinIcon } from "@100mslive/react-icons";
23613
23636
 
23614
23637
  // src/Prebuilt/components/Chat/ChatActions.tsx
23615
23638
  init_define_process_env();
23616
- import React106, { useCallback as useCallback24, useState as useState43 } from "react";
23639
+ import React106, { useCallback as useCallback25, useState as useState43 } from "react";
23617
23640
  import { selectLocalPeerName as selectLocalPeerName2, selectPermissions as selectPermissions15, useHMSActions as useHMSActions33, useHMSStore as useHMSStore50 } from "@100mslive/react-sdk";
23618
23641
  import {
23619
23642
  CopyIcon as CopyIcon2,
@@ -23641,12 +23664,12 @@ var MwebChatOption = ({
23641
23664
 
23642
23665
  // src/Prebuilt/components/hooks/useChatBlacklist.ts
23643
23666
  init_define_process_env();
23644
- import { useCallback as useCallback22 } from "react";
23667
+ import { useCallback as useCallback23 } from "react";
23645
23668
  import { selectLocalPeer as selectLocalPeer2, selectSessionStore as selectSessionStore2, useHMSActions as useHMSActions31, useHMSStore as useHMSStore49 } from "@100mslive/react-sdk";
23646
23669
  var useChatBlacklist = (sessionStoreKey) => {
23647
23670
  const hmsActions = useHMSActions31();
23648
23671
  const blacklistedIDs = useHMSStore49(selectSessionStore2(sessionStoreKey));
23649
- const blacklistItem = useCallback22(
23672
+ const blacklistItem = useCallback23(
23650
23673
  (blacklistID) => __async(void 0, null, function* () {
23651
23674
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
23652
23675
  }),
@@ -23662,7 +23685,7 @@ var useIsPeerBlacklisted = ({ local = false, peerCustomerUserId = "" }) => {
23662
23685
 
23663
23686
  // src/Prebuilt/components/hooks/usePinnedMessages.ts
23664
23687
  init_define_process_env();
23665
- import { useCallback as useCallback23 } from "react";
23688
+ import { useCallback as useCallback24 } from "react";
23666
23689
  import {
23667
23690
  selectPeerNameByID as selectPeerNameByID2,
23668
23691
  selectSessionStore as selectSessionStore3,
@@ -23672,7 +23695,7 @@ import {
23672
23695
  var usePinnedMessages = () => {
23673
23696
  const hmsActions = useHMSActions32();
23674
23697
  const vanillaStore = useHMSVanillaStore8();
23675
- const setPinnedMessages = useCallback23(
23698
+ const setPinnedMessages = useCallback24(
23676
23699
  (message, pinnedBy) => __async(void 0, null, function* () {
23677
23700
  const peerName = vanillaStore.getState(selectPeerNameByID2(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
23678
23701
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
@@ -23688,7 +23711,7 @@ var usePinnedMessages = () => {
23688
23711
  }),
23689
23712
  [hmsActions, vanillaStore]
23690
23713
  );
23691
- const removePinnedMessage = useCallback23(
23714
+ const removePinnedMessage = useCallback24(
23692
23715
  (indexToRemove) => __async(void 0, null, function* () {
23693
23716
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
23694
23717
  if (pinnedMessages[indexToRemove]) {
@@ -23700,7 +23723,7 @@ var usePinnedMessages = () => {
23700
23723
  }),
23701
23724
  [hmsActions, vanillaStore]
23702
23725
  );
23703
- const unpinBlacklistedMessages = useCallback23(
23726
+ const unpinBlacklistedMessages = useCallback24(
23704
23727
  (blacklistedMessageIDSet) => __async(void 0, null, function* () {
23705
23728
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
23706
23729
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
@@ -23747,14 +23770,14 @@ var ChatActions = ({
23747
23770
  "chatMessageBlacklist" /* CHAT_MESSAGE_BLACKLIST */
23748
23771
  );
23749
23772
  const isSenderBlocked = useIsPeerBlacklisted({ peerCustomerUserId: message.senderUserId });
23750
- const updatePinnedMessages = useCallback24(
23773
+ const updatePinnedMessages = useCallback25(
23751
23774
  (messageID = "") => {
23752
23775
  const blacklistedMessageIDSet = /* @__PURE__ */ new Set([...blacklistedMessageIDs || [], messageID]);
23753
23776
  unpinBlacklistedMessages(blacklistedMessageIDSet);
23754
23777
  },
23755
23778
  [blacklistedMessageIDs, unpinBlacklistedMessages]
23756
23779
  );
23757
- const copyMessageContent = useCallback24(() => {
23780
+ const copyMessageContent = useCallback25(() => {
23758
23781
  try {
23759
23782
  navigator == null ? void 0 : navigator.clipboard.writeText(message.message);
23760
23783
  ToastManager.addToast({
@@ -24263,7 +24286,7 @@ var MessageWrapper = React108.memo(
24263
24286
  );
24264
24287
  var VirtualizedChatMessages = React108.forwardRef(({ messages, scrollToBottom }, listRef) => {
24265
24288
  const hmsActions = useHMSActions34();
24266
- const itemKey2 = useCallback25((index, data3) => {
24289
+ const itemKey2 = useCallback26((index, data3) => {
24267
24290
  return data3[index].id;
24268
24291
  }, []);
24269
24292
  useEffect26(() => {
@@ -24364,7 +24387,7 @@ var PinnedBy = ({
24364
24387
 
24365
24388
  // src/Prebuilt/components/Chat/ChatFooter.tsx
24366
24389
  init_define_process_env();
24367
- import React111, { useCallback as useCallback27, useEffect as useEffect28, useRef as useRef20, useState as useState48 } from "react";
24390
+ import React111, { useCallback as useCallback28, useEffect as useEffect28, useRef as useRef20, useState as useState48 } from "react";
24368
24391
  import { useMedia as useMedia16 } from "react-use";
24369
24392
  import data2 from "@emoji-mart/data";
24370
24393
  import Picker from "@emoji-mart/react";
@@ -24667,7 +24690,7 @@ var ChatSelectorContainer = () => {
24667
24690
 
24668
24691
  // src/Prebuilt/components/AppData/useChatState.js
24669
24692
  init_define_process_env();
24670
- import { useCallback as useCallback26 } from "react";
24693
+ import { useCallback as useCallback27 } from "react";
24671
24694
  import { selectAppData as selectAppData5, useHMSActions as useHMSActions35, useHMSStore as useHMSStore54 } from "@100mslive/react-sdk";
24672
24695
  var useChatDraftMessage = () => {
24673
24696
  const hmsActions = useHMSActions35();
@@ -24675,7 +24698,7 @@ var useChatDraftMessage = () => {
24675
24698
  if (chatDraftMessage === void 0 || chatDraftMessage === null) {
24676
24699
  chatDraftMessage = "";
24677
24700
  }
24678
- const setDraftMessage = useCallback26(
24701
+ const setDraftMessage = useCallback27(
24679
24702
  (message) => {
24680
24703
  hmsActions.setAppData(APP_DATA.chatDraft, message, true);
24681
24704
  },
@@ -24792,7 +24815,7 @@ var ChatFooter = ({ onSend, children }) => {
24792
24815
  }
24793
24816
  }
24794
24817
  }, [defaultSelection, selectedPeer, selectedRole, setRoleSelector, isMobile, isLandscapeHLSStream, elements == null ? void 0 : elements.chat]);
24795
- const sendMessage = useCallback27(() => __async(void 0, null, function* () {
24818
+ const sendMessage = useCallback28(() => __async(void 0, null, function* () {
24796
24819
  var _a9;
24797
24820
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
24798
24821
  if (!message || !message.trim().length) {
@@ -24952,7 +24975,7 @@ var ChatFooter = ({ onSend, children }) => {
24952
24975
 
24953
24976
  // src/Prebuilt/components/Chat/ChatStates.tsx
24954
24977
  init_define_process_env();
24955
- import React112, { useCallback as useCallback28 } from "react";
24978
+ import React112, { useCallback as useCallback29 } from "react";
24956
24979
  import { selectLocalPeer as selectLocalPeer4, selectSessionStore as selectSessionStore6, useHMSActions as useHMSActions37, useHMSStore as useHMSStore56 } from "@100mslive/react-sdk";
24957
24980
  var ChatPaused = () => {
24958
24981
  var _a8, _b7;
@@ -24961,7 +24984,7 @@ var ChatPaused = () => {
24961
24984
  const can_disable_chat = !!((_b7 = (_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.real_time_controls) == null ? void 0 : _b7.can_disable_chat);
24962
24985
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = useHMSStore56(selectSessionStore6("chatState" /* CHAT_STATE */)) || {};
24963
24986
  const localPeer = useHMSStore56(selectLocalPeer4);
24964
- const unPauseChat = useCallback28(
24987
+ const unPauseChat = useCallback29(
24965
24988
  () => __async(void 0, null, function* () {
24966
24989
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
24967
24990
  enabled: true,
@@ -25067,7 +25090,7 @@ var StickIndicator = ({ total, index }) => {
25067
25090
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
25068
25091
  var PINNED_MESSAGE_LENGTH = 75;
25069
25092
  var PinnedMessage = () => {
25070
- var _a8, _b7, _c;
25093
+ var _a8, _b7, _c, _d;
25071
25094
  const pinnedMessages = useHMSStore57(selectSessionStore7("pinnedMessages" /* PINNED_MESSAGES */));
25072
25095
  const [pinnedMessageIndex, setPinnedMessageIndex] = useState49(0);
25073
25096
  const { removePinnedMessage } = usePinnedMessages();
@@ -25113,13 +25136,14 @@ var PinnedMessage = () => {
25113
25136
  {
25114
25137
  css: {
25115
25138
  p: "$4",
25116
- color: "$on_surface_medium",
25117
- bg: isMobile ? "rgba(0, 0, 0, 0.64)" : "$surface_default",
25139
+ color: "$on_surface_high",
25140
+ bg: isMobile && ((_c = elements == null ? void 0 : elements.chat) == null ? void 0 : _c.is_overlay) ? "rgba(0, 0, 0, 0.64)" : "$surface_brighter",
25118
25141
  r: "$1",
25119
25142
  gap: "$4",
25120
25143
  mb: "$8",
25121
25144
  mt: "$8",
25122
- flexGrow: 1
25145
+ flexGrow: 1,
25146
+ border: "1px solid $border_bright"
25123
25147
  },
25124
25148
  align: "center",
25125
25149
  justify: "between"
@@ -25143,9 +25167,9 @@ var PinnedMessage = () => {
25143
25167
  Text,
25144
25168
  __spreadProps(__spreadValues({
25145
25169
  variant: "sm",
25146
- css: { color: "$on_surface_medium" }
25170
+ css: { color: "$on_surface_high" }
25147
25171
  }, swipeHandlers), {
25148
- title: (_c = pinnedMessages[pinnedMessageIndex]) == null ? void 0 : _c.text
25172
+ title: (_d = pinnedMessages[pinnedMessageIndex]) == null ? void 0 : _d.text
25149
25173
  }),
25150
25174
  /* @__PURE__ */ React115.createElement(
25151
25175
  AnnotisedMessage,
@@ -25190,7 +25214,7 @@ var Chat = () => {
25190
25214
  const isMobile = useMedia18(config.media.md);
25191
25215
  const isMobileHLSStream = useMobileHLSStream();
25192
25216
  const isLandscapeStream = useLandscapeHLSStream();
25193
- const scrollToBottom = useCallback29(
25217
+ const scrollToBottom = useCallback30(
25194
25218
  (unreadCount = 0) => {
25195
25219
  var _a9;
25196
25220
  if (listRef.current && listRef.current.scrollToItem && unreadCount > 0) {
@@ -25593,7 +25617,7 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
25593
25617
 
25594
25618
  // src/Prebuilt/components/VideoTile.tsx
25595
25619
  init_define_process_env();
25596
- import React123, { useCallback as useCallback30, useMemo as useMemo10, useState as useState53 } from "react";
25620
+ import React123, { useCallback as useCallback31, useMemo as useMemo10, useState as useState53 } from "react";
25597
25621
  import { useMeasure as useMeasure3 } from "react-use";
25598
25622
  import {
25599
25623
  selectAudioTrackByPeerID as selectAudioTrackByPeerID2,
@@ -26079,7 +26103,7 @@ var Tile = ({
26079
26103
  track,
26080
26104
  isLocal
26081
26105
  });
26082
- const onHoverHandler = useCallback30((event) => {
26106
+ const onHoverHandler = useCallback31((event) => {
26083
26107
  setIsMouseHovered(event.type === "mouseenter");
26084
26108
  }, []);
26085
26109
  const [ref, { width: calculatedWidth, height: calculatedHeight }] = useMeasure3();
@@ -26632,6 +26656,7 @@ var SidePane = ({
26632
26656
  return null;
26633
26657
  });
26634
26658
  if (!trackId && !SidepaneComponent) {
26659
+ console.log("sidepane not rendered", { trackId, SidepaneComponent });
26635
26660
  return null;
26636
26661
  }
26637
26662
  return /* @__PURE__ */ React127.createElement(
@@ -26825,7 +26850,7 @@ var PreviewJoin = ({
26825
26850
  asRole
26826
26851
  });
26827
26852
  const roomState = useHMSStore68(selectRoomState5);
26828
- const savePreferenceAndJoin = useCallback31(() => {
26853
+ const savePreferenceAndJoin = useCallback32(() => {
26829
26854
  setPreviewPreference({
26830
26855
  name
26831
26856
  });
@@ -27481,6 +27506,7 @@ var SecondarySection = ({
27481
27506
  hasSidebar
27482
27507
  }) => {
27483
27508
  const tileLayoutProps = useVideoTileContext();
27509
+ console.log("secondary section", { tilesLength: tiles == null ? void 0 : tiles.length });
27484
27510
  if (!(tiles == null ? void 0 : tiles.length)) {
27485
27511
  return null;
27486
27512
  }
@@ -27969,6 +27995,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
27969
27995
  setActiveScreenSharePeer("");
27970
27996
  };
27971
27997
  }, [activeSharePeer == null ? void 0 : activeSharePeer.id, isMobile, setActiveScreenSharePeer]);
27998
+ console.log({ activeSharePeer, secondaryPeers });
27972
27999
  return /* @__PURE__ */ React145.createElement(ProminenceLayout.Root, { edgeToEdge, hasSidebar }, /* @__PURE__ */ React145.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React145.createElement(ScreenshareTile_default, { peerId: (_a8 = peersSharing[page]) == null ? void 0 : _a8.id }), !edgeToEdge && /* @__PURE__ */ React145.createElement(Pagination, { page, onPageChange: setPage, numPages: peersSharing.length })), /* @__PURE__ */ React145.createElement(
27973
28000
  SecondaryTiles,
27974
28001
  {
@@ -28424,7 +28451,7 @@ var useCloseScreenshareWhiteboard = () => {
28424
28451
  };
28425
28452
 
28426
28453
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28427
- var HLSView = React151.lazy(() => import("./HLSView-7WNDXOED.js"));
28454
+ var HLSView = React151.lazy(() => import("./HLSView-C5XHK2VY.js"));
28428
28455
  var VideoStreamingSection = ({
28429
28456
  screenType,
28430
28457
  elements,
@@ -29161,10 +29188,10 @@ import { HMSRoomState as HMSRoomState8, selectRoomState as selectRoomState8, use
29161
29188
 
29162
29189
  // src/Prebuilt/components/hooks/useRedirectToLeave.tsx
29163
29190
  init_define_process_env();
29164
- import { useCallback as useCallback32 } from "react";
29191
+ import { useCallback as useCallback33 } from "react";
29165
29192
  var useRedirectToLeave = () => {
29166
29193
  const { onLeave } = useHMSPrebuiltContext();
29167
- const redirect = useCallback32(
29194
+ const redirect = useCallback33(
29168
29195
  (timeout = 0) => {
29169
29196
  setTimeout(() => {
29170
29197
  PictureInPicture.stop().catch(() => console.error("stopping pip"));
@@ -29319,7 +29346,7 @@ init_define_process_env();
29319
29346
 
29320
29347
  // src/Prebuilt/components/Notifications/Notifications.tsx
29321
29348
  init_define_process_env();
29322
- import React169, { useCallback as useCallback34, useEffect as useEffect65 } from "react";
29349
+ import React169, { useCallback as useCallback35, useEffect as useEffect65 } from "react";
29323
29350
  import {
29324
29351
  HMSNotificationTypes as HMSNotificationTypes10,
29325
29352
  HMSRoomState as HMSRoomState10,
@@ -29414,7 +29441,7 @@ init_define_process_env();
29414
29441
 
29415
29442
  // src/Prebuilt/components/Toast/ToastConfig.jsx
29416
29443
  init_define_process_env();
29417
- import React163, { useCallback as useCallback33 } from "react";
29444
+ import React163, { useCallback as useCallback34 } from "react";
29418
29445
  import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions48, useHMSStore as useHMSStore86 } from "@100mslive/react-sdk";
29419
29446
  import {
29420
29447
  ChatUnreadIcon as ChatUnreadIcon2,
@@ -29445,7 +29472,7 @@ var HandRaiseAction = React163.forwardRef(({ id = "", isSingleHandRaise = true }
29445
29472
  off_stage_roles = [],
29446
29473
  skip_preview_for_role_change = false
29447
29474
  } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.conferencing) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements.on_stage_exp) || {};
29448
- const onClickHandler = useCallback33(() => __async(void 0, null, function* () {
29475
+ const onClickHandler = useCallback34(() => __async(void 0, null, function* () {
29449
29476
  if (isSingleHandRaise) {
29450
29477
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
29451
29478
  if (skip_preview_for_role_change) {
@@ -30031,7 +30058,7 @@ function Notifications() {
30031
30058
  const { showNotification } = useAwayNotifications2();
30032
30059
  const amIScreenSharing = useHMSStore88(selectIsLocalScreenShared2);
30033
30060
  const logoURL = (_b7 = (_a8 = useRoomLayout()) == null ? void 0 : _a8.logo) == null ? void 0 : _b7.url;
30034
- const handleRoleChangeDenied = useCallback34((request) => {
30061
+ const handleRoleChangeDenied = useCallback35((request) => {
30035
30062
  ToastManager.addToast({
30036
30063
  title: `${request.peerName} denied your request to join the ${request.role.name} role`,
30037
30064
  variant: "error"
@@ -30266,7 +30293,7 @@ var Sheet2 = () => {
30266
30293
 
30267
30294
  // src/Prebuilt/plugins/FlyingEmoji.jsx
30268
30295
  init_define_process_env();
30269
- import React175, { useCallback as useCallback35, useEffect as useEffect67, useMemo as useMemo19, useState as useState72 } from "react";
30296
+ import React175, { useCallback as useCallback36, useEffect as useEffect67, useMemo as useMemo19, useState as useState72 } from "react";
30270
30297
  import { useMedia as useMedia38 } from "react-use";
30271
30298
  import {
30272
30299
  selectLocalPeerID as selectLocalPeerID17,
@@ -30304,7 +30331,7 @@ function FlyingEmoji() {
30304
30331
  const [emojis, setEmojis] = useState72([]);
30305
30332
  const isMobile = useMedia38(config.media.md);
30306
30333
  const startingPoints = useMemo19(() => getStartingPoints(isMobile), [isMobile]);
30307
- const showFlyingEmoji = useCallback35(
30334
+ const showFlyingEmoji = useCallback36(
30308
30335
  ({ emojiId, senderId }) => {
30309
30336
  if (!emojiId || !senderId || document.hidden) {
30310
30337
  return;
@@ -30397,11 +30424,11 @@ function FlyingEmoji() {
30397
30424
 
30398
30425
  // src/Prebuilt/plugins/RemoteStopScreenshare.jsx
30399
30426
  init_define_process_env();
30400
- import React176, { useCallback as useCallback36 } from "react";
30427
+ import React176, { useCallback as useCallback37 } from "react";
30401
30428
  import { useCustomEvent as useCustomEvent6, useHMSActions as useHMSActions51 } from "@100mslive/react-sdk";
30402
30429
  function RemoteStopScreenshare() {
30403
30430
  const actions = useHMSActions51();
30404
- const onRemoteStopScreenshare = useCallback36(() => __async(this, null, function* () {
30431
+ const onRemoteStopScreenshare = useCallback37(() => __async(this, null, function* () {
30405
30432
  yield actions.setScreenShareEnabled(false);
30406
30433
  }), [actions]);
30407
30434
  useCustomEvent6({
@@ -30413,7 +30440,7 @@ function RemoteStopScreenshare() {
30413
30440
 
30414
30441
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
30415
30442
  init_define_process_env();
30416
- import { useCallback as useCallback37, useEffect as useEffect68, useRef as useRef26 } from "react";
30443
+ import { useCallback as useCallback38, useEffect as useEffect68, useRef as useRef26 } from "react";
30417
30444
  import {
30418
30445
  selectIsConnectedToRoom as selectIsConnectedToRoom12,
30419
30446
  selectPermissions as selectPermissions18,
@@ -30429,7 +30456,7 @@ var useAutoStartStreaming = () => {
30429
30456
  const isConnected = useHMSStore92(selectIsConnectedToRoom12);
30430
30457
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
30431
30458
  const streamStartedRef = useRef26(false);
30432
- const startHLS = useCallback37(() => __async(void 0, null, function* () {
30459
+ const startHLS = useCallback38(() => __async(void 0, null, function* () {
30433
30460
  try {
30434
30461
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
30435
30462
  return;
@@ -30773,6 +30800,7 @@ export {
30773
30800
  Sheet,
30774
30801
  ToastManager,
30775
30802
  useIsLandscape,
30803
+ useKeyboardHandler,
30776
30804
  LeaveRoom,
30777
30805
  DialogContent,
30778
30806
  DialogRow,
@@ -30795,4 +30823,4 @@ lodash/lodash.js:
30795
30823
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
30796
30824
  *)
30797
30825
  */
30798
- //# sourceMappingURL=chunk-3OCZREZ3.js.map
30826
+ //# sourceMappingURL=chunk-E7AEJ446.js.map