@100mslive/roomkit-react 0.3.19-alpha.14 → 0.3.19-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,13 +22,6 @@ var __spreadValues = (a2, b2) => {
22
22
  return a2;
23
23
  };
24
24
  var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
25
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
26
- get: (a2, b2) => (typeof require !== "undefined" ? require : a2)[b2]
27
- }) : x)(function(x) {
28
- if (typeof require !== "undefined")
29
- return require.apply(this, arguments);
30
- throw Error('Dynamic require of "' + x + '" is not supported');
31
- });
32
25
  var __objRest = (source, exclude) => {
33
26
  var target = {};
34
27
  for (var prop in source)
@@ -44,7 +37,7 @@ var __objRest = (source, exclude) => {
44
37
  var __esm = (fn2, res) => function __init() {
45
38
  return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
46
39
  };
47
- var __commonJS = (cb, mod) => function __require2() {
40
+ var __commonJS = (cb, mod) => function __require() {
48
41
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
49
42
  };
50
43
  var __export = (target, all) => {
@@ -114,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
114
107
  var define_process_env_default;
115
108
  var init_define_process_env = __esm({
116
109
  "<define:process.env>"() {
117
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a9231262-c43b-4702-9c0a-e69a900cad5d", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", 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", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.9-alpha.14", 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.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.19-alpha.14", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a9231262-c43b-4702-9c0a-e69a900cad5d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.19-alpha.14", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_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.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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_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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240825.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.6/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:17098", 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__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.19-alpha.14", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10701052357", STATS_VMFE: "true", 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: "99c54d70e77c7d9ccd39fcd222a3c964b39bbd47", 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: "932bff7c9ae0343ffe64dbcd08acc935488cb25b2d3159a3a2fcaf6dcfebf81e", 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--1725450741922-0.19475064438572476:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725450741729-0.8597293028625344:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725450716233-0.9968300638898722:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725450716056-0.4577313543264976:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_1fa375d2-b62a-42e6-a4c9-b093ae1aa7a4", INVOCATION_ID: "03457e51bfa44d3494d3172b765537a3", 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: "657", 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", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 499", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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.19-alpha.14", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-alpha.14", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", 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", GITHUB_SHA: "99c54d70e77c7d9ccd39fcd222a3c964b39bbd47", 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_a9231262-c43b-4702-9c0a-e69a900cad5d", 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_a9231262-c43b-4702-9c0a-e69a900cad5d", 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/27.0.12077973", 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.181+6/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_knip: "^5.11.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/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a9231262-c43b-4702-9c0a-e69a900cad5d" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_699e57f7-4530-4022-9c86-5c592072a7b3", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", 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", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.9-alpha.16", 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.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.19-alpha.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_699e57f7-4530-4022-9c86-5c592072a7b3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.19-alpha.16", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_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.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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: "592", 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_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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240901.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.6/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:17040", 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__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.19-alpha.16", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10716975514", STATS_VMFE: "true", 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: "f4e569ef4919bfe1b7b6bc4f82bb9c3f856a50ce", 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: "0dd81e152645402539edeca8123e560c0a25bd56331af63bbf8077245a0a92c6", 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--1725525921878-0.5582916039352104:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725525921683-0.9977146361046709:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725525895971-0.3226176454249092:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725525895796-0.6961468076648865:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_39648ebf-e148-480a-8f33-18990edf5d65", INVOCATION_ID: "3655178db1e64dd0887086c20a4c7aa8", 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: "659", 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", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 225", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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.19-alpha.16", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-alpha.16", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", 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", GITHUB_SHA: "f4e569ef4919bfe1b7b6bc4f82bb9c3f856a50ce", 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_699e57f7-4530-4022-9c86-5c592072a7b3", 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_699e57f7-4530-4022-9c86-5c592072a7b3", 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/27.0.12077973", 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.181+6/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_knip: "^5.11.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/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_699e57f7-4530-4022-9c86-5c592072a7b3" };
118
111
  }
119
112
  });
120
113
 
@@ -10209,7 +10202,7 @@ var {
10209
10202
  config
10210
10203
  } = HmsStitches;
10211
10204
  var globalStyles = globalCss({
10212
- ["".concat(DEFAULT_PORTAL_CONTAINER, " *")]: {
10205
+ [`${DEFAULT_PORTAL_CONTAINER} *`]: {
10213
10206
  fontFamily: "$sans",
10214
10207
  boxSizing: "border-box"
10215
10208
  },
@@ -10248,7 +10241,7 @@ var createTheme = ({
10248
10241
  throw new Error("Theme type is required");
10249
10242
  }
10250
10243
  const mergedTheme = merge(baseConfig.theme, theme2 || {});
10251
- return createThemeBase(className || "".concat(themeType, "-theme"), mergedTheme);
10244
+ return createThemeBase(className || `${themeType}-theme`, mergedTheme);
10252
10245
  };
10253
10246
 
10254
10247
  // src/Theme/ThemeProvider.tsx
@@ -10340,7 +10333,7 @@ var gapStyles = (value) => {
10340
10333
  return {
10341
10334
  "& > * + *": {
10342
10335
  marginRight: "0",
10343
- marginLeft: "".concat(0.25 * value, "rem")
10336
+ marginLeft: `${0.25 * value}rem`
10344
10337
  }
10345
10338
  };
10346
10339
  };
@@ -10452,48 +10445,48 @@ var textEllipsis = (width) => ({
10452
10445
  var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) => {
10453
10446
  return {
10454
10447
  bg: "transparent",
10455
- border: "solid $space$px $colors".concat(base),
10448
+ border: `solid $space$px $colors${base}`,
10456
10449
  c: text,
10457
10450
  "&[disabled]": {
10458
10451
  c: textDisabled,
10459
10452
  bg: "transparent",
10460
- border: "solid $space$px $colors".concat(disabled),
10453
+ border: `solid $space$px $colors${disabled}`,
10461
10454
  cursor: "not-allowed"
10462
10455
  },
10463
10456
  "&:not([disabled]):hover": {
10464
- border: "solid $space$px $colors".concat(hover),
10457
+ border: `solid $space$px $colors${hover}`,
10465
10458
  bg: "transparent"
10466
10459
  },
10467
10460
  "&:not([disabled]):active": {
10468
- border: "solid $space$px $colors".concat(active),
10461
+ border: `solid $space$px $colors${active}`,
10469
10462
  bg: "transparent"
10470
10463
  },
10471
10464
  "&:not([disabled]):focus-visible": {
10472
- boxShadow: "0 0 0 3px $colors".concat(base)
10465
+ boxShadow: `0 0 0 3px $colors${base}`
10473
10466
  }
10474
10467
  };
10475
10468
  };
10476
10469
  var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
10477
10470
  return {
10478
10471
  bg: base,
10479
- border: "1px solid ".concat(base),
10472
+ border: `1px solid ${base}`,
10480
10473
  c: text,
10481
10474
  "&[disabled]": {
10482
10475
  c: textDisabled,
10483
10476
  cursor: "not-allowed",
10484
10477
  bg: disabled,
10485
- border: "1px solid ".concat(disabled)
10478
+ border: `1px solid ${disabled}`
10486
10479
  },
10487
10480
  "&:not([disabled]):hover": {
10488
10481
  bg: hover,
10489
- border: "1px solid ".concat(hover)
10482
+ border: `1px solid ${hover}`
10490
10483
  },
10491
10484
  "&:not([disabled]):active": {
10492
10485
  bg: active,
10493
- border: "1px solid ".concat(active)
10486
+ border: `1px solid ${active}`
10494
10487
  },
10495
10488
  "&:not([disabled]):focus-visible": {
10496
- boxShadow: "0 0 0 3px ".concat(base)
10489
+ boxShadow: `0 0 0 3px ${base}`
10497
10490
  }
10498
10491
  };
10499
10492
  };
@@ -11010,15 +11003,15 @@ import * as BaseTooltip from "@radix-ui/react-tooltip";
11010
11003
  init_define_process_env();
11011
11004
  var slideDown = (controller) => keyframes({
11012
11005
  from: { height: 0 },
11013
- to: { height: "var(".concat(controller, ")") }
11006
+ to: { height: `var(${controller})` }
11014
11007
  });
11015
11008
  var slideUp = (controller) => keyframes({
11016
- from: { height: "var(".concat(controller, ")") },
11009
+ from: { height: `var(${controller})` },
11017
11010
  to: { height: 0 }
11018
11011
  });
11019
11012
  var translateAcross = ({ xFrom = "0", yFrom = "0", zFrom = "0", xTo = "0", yTo = "0", zTo = "0" }) => keyframes({
11020
- from: { transform: "translate3d(".concat(xFrom, ", ").concat(yFrom, ", ").concat(zFrom, ")") },
11021
- to: { transform: "translate3d(".concat(xTo, ", ").concat(yTo, ", ").concat(zTo) }
11013
+ from: { transform: `translate3d(${xFrom}, ${yFrom}, ${zFrom})` },
11014
+ to: { transform: `translate3d(${xTo}, ${yTo}, ${zTo}` }
11022
11015
  });
11023
11016
  var dialogOpen = keyframes({
11024
11017
  "0%": { opacity: 0, transform: "translate(-50%, -48%) scale(.90)" },
@@ -11029,11 +11022,11 @@ var dialogClose = keyframes({
11029
11022
  "100%": { opacity: 0, transform: "translate(-50%, -48%) scale(.90)" }
11030
11023
  });
11031
11024
  var slideUpAndFade = (start = "2px") => keyframes({
11032
- "0%": { opacity: 0, transform: "translateY(".concat(start, ")") },
11025
+ "0%": { opacity: 0, transform: `translateY(${start})` },
11033
11026
  "100%": { opacity: 1, transform: "translateY(0)" }
11034
11027
  });
11035
11028
  var slideRightAndFade = (start = "-2px") => keyframes({
11036
- "0%": { opacity: 0, transform: "translateX(".concat(start, ")") },
11029
+ "0%": { opacity: 0, transform: `translateX(${start})` },
11037
11030
  "100%": { opacity: 1, transform: "translateX(0)" }
11038
11031
  });
11039
11032
  var sheetSlideIn = keyframes({
@@ -11053,16 +11046,16 @@ var sheetFadeOut = keyframes({
11053
11046
  to: { opacity: "0" }
11054
11047
  });
11055
11048
  var slideDownAndFade = (start = "-2px") => keyframes({
11056
- "0%": { opacity: 0, transform: "translateY(".concat(start, ")") },
11049
+ "0%": { opacity: 0, transform: `translateY(${start})` },
11057
11050
  "100%": { opacity: 1, transform: "translateY(0)" }
11058
11051
  });
11059
11052
  var slideLeftAndFade = (start = "2px") => keyframes({
11060
- "0%": { opacity: 0, transform: "translateX(".concat(start, ")") },
11053
+ "0%": { opacity: 0, transform: `translateX(${start})` },
11061
11054
  "100%": { opacity: 1, transform: "translateX(0)" }
11062
11055
  });
11063
11056
  var slideLeftAndFadeOut = (end = "-100%") => keyframes({
11064
- "0%": { opacity: 1, transform: "translateX(0)" },
11065
- "100%": { opacity: 0, transform: "translateX(".concat(end, ")") }
11057
+ "0%": { opacity: 1, transform: `translateX(0)` },
11058
+ "100%": { opacity: 0, transform: `translateX(${end})` }
11066
11059
  });
11067
11060
  var popoverAnimation = {
11068
11061
  "@media (prefers-reduced-motion: no-preference)": {
@@ -11094,7 +11087,7 @@ var toastAnimation = {
11094
11087
  transition: "transform 200ms ease-out"
11095
11088
  },
11096
11089
  '&[data-swipe="end"]': {
11097
- animation: "".concat(slideLeftAndFadeOut(), " 100ms ease-out forwards")
11090
+ animation: `${slideLeftAndFadeOut()} 100ms ease-out forwards`
11098
11091
  }
11099
11092
  }
11100
11093
  };
@@ -11247,7 +11240,7 @@ var Thumb3 = styled(BaseSlider.Thumb, {
11247
11240
  height: "$8",
11248
11241
  backgroundColor: "$primary_default",
11249
11242
  cursor: "pointer",
11250
- boxShadow: "0 2px 10px $colors$surface_default",
11243
+ boxShadow: `0 2px 10px $colors$surface_default`,
11251
11244
  borderRadius: 10,
11252
11245
  "&:hover": { backgroundColor: "$primary_default" },
11253
11246
  "&:focus": { boxShadow: "none" }
@@ -11311,10 +11304,10 @@ var CustomDialogContent = styled(DialogPrimitive.Content, {
11311
11304
  padding: "$12",
11312
11305
  "@allowMotion": {
11313
11306
  '&[data-state="open"]': {
11314
- animation: "".concat(dialogOpen, " 150ms cubic-bezier(0.16, 1, 0.3, 1)")
11307
+ animation: `${dialogOpen} 150ms cubic-bezier(0.16, 1, 0.3, 1)`
11315
11308
  },
11316
11309
  '&[data-state="closed"]': {
11317
- animation: "".concat(dialogClose, " 150ms cubic-bezier(0.16, 1, 0.3, 1)")
11310
+ animation: `${dialogClose} 150ms cubic-bezier(0.16, 1, 0.3, 1)`
11318
11311
  }
11319
11312
  },
11320
11313
  "&:focus": { outline: "none" }
@@ -12004,7 +11997,7 @@ function useBorderAudioLevel(audioTrackId) {
12004
11997
  const style = {
12005
11998
  transition: "outline 0.4s ease-in-out"
12006
11999
  };
12007
- style["outline"] = level ? "".concat(sigmoid(level) * 4, "px solid ").concat(color) : "0px solid transparent";
12000
+ style["outline"] = level ? `${sigmoid(level) * 4}px solid ${color}` : "0px solid transparent";
12008
12001
  return style;
12009
12002
  },
12010
12003
  [color]
@@ -12058,7 +12051,7 @@ var AudioBar = () => {
12058
12051
  css: {
12059
12052
  width: ".25em",
12060
12053
  height: "1em",
12061
- maskImage: "url(".concat(audio_level_default, ")"),
12054
+ maskImage: `url(${audio_level_default})`,
12062
12055
  "-webkit-mask-repeat": "no-repeat",
12063
12056
  backgroundColor: "$on_primary_high",
12064
12057
  maskSize: "4em 1em"
@@ -12074,10 +12067,10 @@ var AudioLevel = ({ trackId, size }) => {
12074
12067
  if (ref.current) {
12075
12068
  let index = 0;
12076
12069
  for (const child of ref.current.children) {
12077
- const positionX = "-".concat(positionValues[audioLevel] * (index === 1 ? 2.5 : 1.25), "em");
12070
+ const positionX = `-${positionValues[audioLevel] * (index === 1 ? 2.5 : 1.25)}em`;
12078
12071
  child.style["-webkit-mask-position-x"] = positionX;
12079
- child.style["mask-position"] = "".concat(positionX, " 0");
12080
- child.style["animation"] = positionValues[audioLevel] > 0 ? "".concat(barAnimation, " 0.6s steps(3,jump-none) 0s infinite") : "none";
12072
+ child.style["mask-position"] = `${positionX} 0`;
12073
+ child.style["animation"] = positionValues[audioLevel] > 0 ? `${barAnimation} 0.6s steps(3,jump-none) 0s infinite` : "none";
12081
12074
  index++;
12082
12075
  }
12083
12076
  }
@@ -12145,7 +12138,7 @@ import {
12145
12138
  init_define_process_env();
12146
12139
  var formatBytes = (bytes, unit = "B", decimals = 2) => {
12147
12140
  if (bytes === 0) {
12148
- return "0 ".concat(unit);
12141
+ return `0 ${unit}`;
12149
12142
  }
12150
12143
  if (!bytes) {
12151
12144
  return "-";
@@ -12155,7 +12148,7 @@ var formatBytes = (bytes, unit = "B", decimals = 2) => {
12155
12148
  const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
12156
12149
  let i = Math.floor(Math.log(bytes) / Math.log(k));
12157
12150
  i === 0 && i++;
12158
- return "".concat(parseFloat((bytes / Math.pow(k, i)).toFixed(dm2)), " ").concat(sizes[i]);
12151
+ return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm2))} ${sizes[i]}`;
12159
12152
  };
12160
12153
 
12161
12154
  // src/Stats/StyledStats.tsx
@@ -12266,7 +12259,7 @@ function VideoTileStats({ videoTrackID, audioTrackID, peerID, isLocal = false })
12266
12259
  return null;
12267
12260
  }
12268
12261
  const layer = stat.rid ? simulcastMapping[stat.rid] : "";
12269
- return /* @__PURE__ */ React15.createElement(Fragment, { key: "".concat(stat.id).concat(stat.rid) }, layer && /* @__PURE__ */ React15.createElement(StatsRow, { label: layer.toUpperCase(), value: "" }), /* @__PURE__ */ React15.createElement(
12262
+ return /* @__PURE__ */ React15.createElement(Fragment, { key: `${stat.id}${stat.rid}` }, layer && /* @__PURE__ */ React15.createElement(StatsRow, { label: layer.toUpperCase(), value: "" }), /* @__PURE__ */ React15.createElement(
12270
12263
  StatsRow,
12271
12264
  {
12272
12265
  show: isNotNullishAndNot0(stat.frameWidth),
@@ -12285,7 +12278,7 @@ function VideoTileStats({ videoTrackID, audioTrackID, peerID, isLocal = false })
12285
12278
  {
12286
12279
  show: isNotNullishAndNot0(stat.framesPerSecond),
12287
12280
  label: "FPS",
12288
- value: "".concat(stat.framesPerSecond, " ").concat(isNotNullishAndNot0(stat.framesDropped) ? "(".concat(stat.framesDropped, " dropped)") : "")
12281
+ value: `${stat.framesPerSecond} ${isNotNullishAndNot0(stat.framesDropped) ? `(${stat.framesDropped} dropped)` : ""}`
12289
12282
  }
12290
12283
  ), /* @__PURE__ */ React15.createElement(
12291
12284
  StatsRow,
@@ -12314,7 +12307,7 @@ function VideoTileStats({ videoTrackID, audioTrackID, peerID, isLocal = false })
12314
12307
  {
12315
12308
  show: isNotNullishAndNot0(videoTrackStats == null ? void 0 : videoTrackStats.framesPerSecond),
12316
12309
  label: "FPS",
12317
- value: "".concat(videoTrackStats == null ? void 0 : videoTrackStats.framesPerSecond, " ").concat(isNotNullishAndNot0(videoTrackStats == null ? void 0 : videoTrackStats.framesDropped) ? "(".concat(videoTrackStats == null ? void 0 : videoTrackStats.framesDropped, " dropped)") : "")
12310
+ value: `${videoTrackStats == null ? void 0 : videoTrackStats.framesPerSecond} ${isNotNullishAndNot0(videoTrackStats == null ? void 0 : videoTrackStats.framesDropped) ? `(${videoTrackStats == null ? void 0 : videoTrackStats.framesDropped} dropped)` : ""}`
12318
12311
  }
12319
12312
  ), /* @__PURE__ */ React15.createElement(
12320
12313
  StatsRow,
@@ -12360,13 +12353,13 @@ var TrackPacketsLostRow = ({
12360
12353
  stats,
12361
12354
  label
12362
12355
  }) => {
12363
- const packetsLostRate = "".concat((stats == null ? void 0 : stats.packetsLostRate) ? stats.packetsLostRate.toFixed(2) : 0, "/s");
12356
+ const packetsLostRate = `${(stats == null ? void 0 : stats.packetsLostRate) ? stats.packetsLostRate.toFixed(2) : 0}/s`;
12364
12357
  return /* @__PURE__ */ React15.createElement(
12365
12358
  StatsRow,
12366
12359
  {
12367
12360
  show: isNotNullishAndNot0(stats == null ? void 0 : stats.packetsLost),
12368
12361
  label,
12369
- value: "".concat(stats == null ? void 0 : stats.packetsLost, "(").concat(packetsLostRate, ")")
12362
+ value: `${stats == null ? void 0 : stats.packetsLost}(${packetsLostRate})`
12370
12363
  }
12371
12364
  );
12372
12365
  };
@@ -12474,9 +12467,9 @@ var getToastVariant = (base) => {
12474
12467
  top: "-1px",
12475
12468
  left: "-$4",
12476
12469
  width: "$8",
12477
- borderLeft: "solid $space$px ".concat(base),
12478
- borderTop: "solid $space$px ".concat(base),
12479
- borderBottom: "solid $space$px ".concat(base),
12470
+ borderLeft: `solid $space$px ${base}`,
12471
+ borderTop: `solid $space$px ${base}`,
12472
+ borderBottom: `solid $space$px ${base}`,
12480
12473
  borderTopLeftRadius: "$3",
12481
12474
  borderBottomLeftRadius: "$3",
12482
12475
  bg: base,
@@ -12488,7 +12481,7 @@ var getToastVariant = (base) => {
12488
12481
  "&:before": {
12489
12482
  content: "none"
12490
12483
  },
12491
- border: "solid $space$px ".concat(base)
12484
+ border: `solid $space$px ${base}`
12492
12485
  }
12493
12486
  };
12494
12487
  };
@@ -12572,7 +12565,7 @@ var HMSToast = (_a7) => {
12572
12565
  "action",
12573
12566
  "inlineAction"
12574
12567
  ]);
12575
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(ToastRoot, __spreadValues({}, props), /* @__PURE__ */ React16.createElement(ToastTitle, null, /* @__PURE__ */ React16.createElement(Flex, { align: "center", css: { gap: "$4", flex: "1 1 0", minWidth: 0 } }, icon ? /* @__PURE__ */ React16.createElement(Box, { css: { w: "$10", h: "$10", alignSelf: "start", mt: "$2" } }, icon) : null, /* @__PURE__ */ React16.createElement(Text, { variant: "sub1", css: { c: "inherit", wordBreak: "break-word" } }, title)), isClosable ? /* @__PURE__ */ React16.createElement(DefaultClose, null) : null, !isClosable && inlineAction && action ? /* @__PURE__ */ React16.createElement(ToastAction, { altText: "".concat(title, "Action") }, action) : null), description ? /* @__PURE__ */ React16.createElement(ToastDescription, null, /* @__PURE__ */ React16.createElement(Text, { variant: "body1", css: { fontWeight: "$regular", c: "$on_surface_medium" } }, description)) : null, !inlineAction && action ? /* @__PURE__ */ React16.createElement(ToastAction, { altText: "".concat(title, "Action"), css: { mt: "$10" } }, action) : null));
12568
+ return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(ToastRoot, __spreadValues({}, props), /* @__PURE__ */ React16.createElement(ToastTitle, null, /* @__PURE__ */ React16.createElement(Flex, { align: "center", css: { gap: "$4", flex: "1 1 0", minWidth: 0 } }, icon ? /* @__PURE__ */ React16.createElement(Box, { css: { w: "$10", h: "$10", alignSelf: "start", mt: "$2" } }, icon) : null, /* @__PURE__ */ React16.createElement(Text, { variant: "sub1", css: { c: "inherit", wordBreak: "break-word" } }, title)), isClosable ? /* @__PURE__ */ React16.createElement(DefaultClose, null) : null, !isClosable && inlineAction && action ? /* @__PURE__ */ React16.createElement(ToastAction, { altText: `${title}Action` }, action) : null), description ? /* @__PURE__ */ React16.createElement(ToastDescription, null, /* @__PURE__ */ React16.createElement(Text, { variant: "body1", css: { fontWeight: "$regular", c: "$on_surface_medium" } }, description)) : null, !inlineAction && action ? /* @__PURE__ */ React16.createElement(ToastAction, { altText: `${title}Action`, css: { mt: "$10" } }, action) : null));
12576
12569
  };
12577
12570
  var Toast = {
12578
12571
  Provider: ToastPrimitives.Provider,
@@ -12629,10 +12622,10 @@ var StyledContent3 = styled(BaseAccordion.Content, {
12629
12622
  fontFamily: "$sans",
12630
12623
  color: "$on_surface_medium",
12631
12624
  '&[data-state="open"]': {
12632
- animation: "".concat(slideDown("--radix-accordion-content-height"), " 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards")
12625
+ animation: `${slideDown("--radix-accordion-content-height")} 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards`
12633
12626
  },
12634
12627
  '&[data-state="closed"]': {
12635
- animation: "".concat(slideUp("--radix-accordion-content-height"), " 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards")
12628
+ animation: `${slideUp("--radix-accordion-content-height")} 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards`
12636
12629
  }
12637
12630
  });
12638
12631
  var StyledChevron = styled(ChevronUpIcon, {
@@ -12913,10 +12906,10 @@ var CollapsibleContent = styled(Content9, {
12913
12906
  r: "$1",
12914
12907
  overflowY: "auto",
12915
12908
  '&[data-state="open"]': {
12916
- animation: "".concat(slideDown("--radix-collapsible-content-height"), " 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards")
12909
+ animation: `${slideDown("--radix-collapsible-content-height")} 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards`
12917
12910
  },
12918
12911
  '&[data-state="closed"]': {
12919
- animation: "".concat(slideUp("--radix-collapsible-content-height"), " 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards")
12912
+ animation: `${slideUp("--radix-collapsible-content-height")} 300ms cubic-bezier(0.87, 0, 0.13, 1) forwards`
12920
12913
  }
12921
12914
  });
12922
12915
  var Collapsible = {
@@ -13388,7 +13381,7 @@ var useFetchRoomLayout = ({
13388
13381
  try {
13389
13382
  const resp = yield fetchWithRetry(endpoint || "https://api.100ms.live/v2/layouts/ui", {
13390
13383
  headers: {
13391
- Authorization: "Bearer ".concat(authToken)
13384
+ Authorization: `Bearer ${authToken}`
13392
13385
  }
13393
13386
  });
13394
13387
  layoutResp.current = yield resp.json();
@@ -13472,8 +13465,8 @@ var formatTime = (timeInSeconds) => {
13472
13465
  const hours = Math.floor(timeInSeconds / 3600);
13473
13466
  const minutes = Math.floor(timeInSeconds % 3600 / 60);
13474
13467
  const seconds = timeInSeconds % 60;
13475
- const hour = hours !== 0 ? "".concat(hours < 10 ? "0" : "").concat(hours, ":") : "";
13476
- return "".concat(hour).concat(minutes < 10 ? "0" : "").concat(minutes, ":").concat(seconds < 10 ? "0" : "").concat(seconds);
13468
+ const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
13469
+ return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
13477
13470
  };
13478
13471
  var compareArrays = (a2, b2) => {
13479
13472
  if (a2.length !== b2.length)
@@ -13595,7 +13588,7 @@ function useRoomLayoutHeader() {
13595
13588
  var _a8;
13596
13589
  const details2 = [];
13597
13590
  if ((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8["startedAt"]) {
13598
- details2.push("".concat(getFormattedCount(peerCount), " watching"));
13591
+ details2.push(`${getFormattedCount(peerCount)} watching`);
13599
13592
  details2.push(hlsState.variants[0]["startedAt"]);
13600
13593
  } else if (sessionStartedAt) {
13601
13594
  details2.push(sessionStartedAt);
@@ -13898,6 +13891,7 @@ import { HMSRoomState as HMSRoomState2, selectRoomState as selectRoomState2, use
13898
13891
  // src/Prebuilt/components/VirtualBackground/VBHandler.tsx
13899
13892
  init_define_process_env();
13900
13893
  import { HMSVBPlugin, HMSVirtualBackgroundTypes } from "@100mslive/hms-virtual-background/hmsvbplugin";
13894
+ import { parsedUserAgent as parsedUserAgent2 } from "@100mslive/react-sdk";
13901
13895
  var VBPlugin = class {
13902
13896
  constructor() {
13903
13897
  this.initialisePlugin = (effectsSDKKey, onInit) => __async(this, null, function* () {
@@ -13906,7 +13900,7 @@ var VBPlugin = class {
13906
13900
  }
13907
13901
  if (effectsSDKKey) {
13908
13902
  try {
13909
- const effects = yield Promise.resolve().then(() => __toESM(__require("@100mslive/hms-virtual-background/hmseffectsplugin")));
13903
+ const effects = yield import("@100mslive/hms-virtual-background/hmseffectsplugin");
13910
13904
  this.effectsPlugin = new effects.HMSEffectsPlugin(effectsSDKKey, onInit);
13911
13905
  } catch (error) {
13912
13906
  console.error("Failed to initialise HMSEffectsPlugin:", error, "Using HMSVBPlugin");
@@ -13989,6 +13983,17 @@ var VBPlugin = class {
13989
13983
  this.effectsPlugin = void 0;
13990
13984
  this.hmsPlugin = void 0;
13991
13985
  };
13986
+ this.isEffectsSupported = () => {
13987
+ var _a7, _b7;
13988
+ if (!isSafari) {
13989
+ return true;
13990
+ }
13991
+ const browserVersion = ((_b7 = (_a7 = parsedUserAgent2) == null ? void 0 : _a7.getBrowser()) == null ? void 0 : _b7.version) || "16";
13992
+ if (browserVersion && parseInt(browserVersion.split(".")[0]) < 17) {
13993
+ return false;
13994
+ }
13995
+ return true;
13996
+ };
13992
13997
  }
13993
13998
  };
13994
13999
  var VBHandler = new VBPlugin();
@@ -14601,7 +14606,7 @@ var convertError = (error) => {
14601
14606
  body: "We could not find a room code corresponding to this link."
14602
14607
  })).with(["GET_TOKEN", 2003], () => ({
14603
14608
  title: "Endpoint is not reachable",
14604
- body: "Endpoint is not reachable. ".concat(error.description, ".")
14609
+ body: `Endpoint is not reachable. ${error.description}.`
14605
14610
  })).otherwise(
14606
14611
  () => {
14607
14612
  var _a7;
@@ -14926,10 +14931,10 @@ var StyledOverlay = styled(Dialog.Overlay, {
14926
14931
  bottom: 0,
14927
14932
  left: 0,
14928
14933
  '&[data-state="open"]': {
14929
- animation: "".concat(sheetFadeIn, " 150ms cubic-bezier(0.22, 1, 0.36, 1)")
14934
+ animation: `${sheetFadeIn} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
14930
14935
  },
14931
14936
  '&[data-state="closed"]': {
14932
- animation: "".concat(sheetFadeOut, " 150ms cubic-bezier(0.22, 1, 0.36, 1)")
14937
+ animation: `${sheetFadeOut} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
14933
14938
  }
14934
14939
  });
14935
14940
  var StyledContent6 = styled(DialogPrimitive2.Content, {
@@ -14953,10 +14958,10 @@ var StyledContent6 = styled(DialogPrimitive2.Content, {
14953
14958
  },
14954
14959
  "@allowMotion": {
14955
14960
  '&[data-state="open"]': {
14956
- animation: "".concat(sheetSlideIn, " 150ms cubic-bezier(0.22, 1, 0.36, 1)")
14961
+ animation: `${sheetSlideIn} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
14957
14962
  },
14958
14963
  '&[data-state="closed"]': {
14959
- animation: "".concat(sheetSlideOut, " 150ms cubic-bezier(0.22, 1, 0.36, 1)")
14964
+ animation: `${sheetSlideOut} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
14960
14965
  }
14961
14966
  },
14962
14967
  "@ls": {
@@ -15034,7 +15039,7 @@ var DialogDropdownTrigger = React30.forwardRef(({ title, css: css2, open, icon,
15034
15039
  Dropdown.Trigger,
15035
15040
  {
15036
15041
  asChild: true,
15037
- "data-testid": "".concat(title, "_selector"),
15042
+ "data-testid": `${title}_selector`,
15038
15043
  css: __spreadValues({
15039
15044
  border: "1px solid $border_bright",
15040
15045
  bg: "$surface_bright",
@@ -15777,7 +15782,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
15777
15782
  try {
15778
15783
  yield setNoiseCancellationWithPlugin(true);
15779
15784
  ToastManager.addToast({
15780
- title: "Noise Reduction Enabled",
15785
+ title: `Noise Reduction Enabled`,
15781
15786
  variant: "standard",
15782
15787
  duration: 2e3,
15783
15788
  icon: /* @__PURE__ */ React34.createElement(AudioLevelIcon, null)
@@ -15798,7 +15803,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
15798
15803
  hideOptions: hideOptions || !hasAudioDevices,
15799
15804
  onDisabledClick: toggleAudio,
15800
15805
  testid: "audio_toggle_btn",
15801
- tooltipMessage: "Turn ".concat(isLocalAudioEnabled ? "off" : "on", " audio (").concat(isMacOS ? "\u2318" : "ctrl", " + d)"),
15806
+ tooltipMessage: `Turn ${isLocalAudioEnabled ? "off" : "on"} audio (${isMacOS ? "\u2318" : "ctrl"} + d)`,
15802
15807
  icon: !isLocalAudioEnabled ? /* @__PURE__ */ React34.createElement(MicOffIcon, null) : /* @__PURE__ */ React34.createElement(MicOnIcon2, null),
15803
15808
  active: isLocalAudioEnabled,
15804
15809
  onClick: toggleAudio,
@@ -15829,7 +15834,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
15829
15834
  disabled: !toggleVideo,
15830
15835
  hideOptions: hideOptions || !hasVideoDevices,
15831
15836
  onDisabledClick: toggleVideo,
15832
- tooltipMessage: "Turn ".concat(isLocalVideoEnabled ? "off" : "on", " video (").concat(isMacOS ? "\u2318" : "ctrl", " + e)"),
15837
+ tooltipMessage: `Turn ${isLocalVideoEnabled ? "off" : "on"} video (${isMacOS ? "\u2318" : "ctrl"} + e)`,
15833
15838
  testid: "video_toggle_btn",
15834
15839
  icon: !isLocalVideoEnabled ? /* @__PURE__ */ React34.createElement(VideoOffIcon, null) : /* @__PURE__ */ React34.createElement(VideoOnIcon2, null),
15835
15840
  key: "toggleVideo",
@@ -15852,7 +15857,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
15852
15857
  yield actions.switchCamera();
15853
15858
  } catch (e) {
15854
15859
  ToastManager.addToast({
15855
- title: "Error while flipping camera ".concat(e.message || ""),
15860
+ title: `Error while flipping camera ${e.message || ""}`,
15856
15861
  variant: "error"
15857
15862
  });
15858
15863
  }
@@ -15944,7 +15949,7 @@ import { useCallback as useCallback10, useEffect as useEffect14, useMemo as useM
15944
15949
  import { useMedia as useMedia4 } from "react-use";
15945
15950
  import { JoinForm_JoinBtnType as JoinForm_JoinBtnType2 } from "@100mslive/types-prebuilt/elements/join_form";
15946
15951
  import {
15947
- parsedUserAgent as parsedUserAgent2,
15952
+ parsedUserAgent as parsedUserAgent3,
15948
15953
  selectAvailableRoleNames,
15949
15954
  selectIsAllowedToPublish,
15950
15955
  selectIsConnectedToRoom,
@@ -16006,7 +16011,7 @@ var useParticipants = (params) => {
16006
16011
  return { participants: participantList, isConnected, peerCount, rolesWithParticipants };
16007
16012
  };
16008
16013
  var useIsLandscape = () => {
16009
- const isMobile = parsedUserAgent2.getDevice().type === "mobile";
16014
+ const isMobile = parsedUserAgent3.getDevice().type === "mobile";
16010
16015
  const isLandscape = useMedia4(config.media.ls);
16011
16016
  return isMobile && isLandscape;
16012
16017
  };
@@ -16383,7 +16388,7 @@ var DesktopLeaveRoom = ({
16383
16388
  LeaveCard,
16384
16389
  {
16385
16390
  title: showStream ? "Leave Stream" : "Leave Session",
16386
- subtitle: "Others will continue after you leave. You can join the ".concat(showStream ? "stream" : "session", " again."),
16391
+ subtitle: `Others will continue after you leave. You can join the ${showStream ? "stream" : "session"} again.`,
16387
16392
  bg: "",
16388
16393
  titleColor: "$on_surface_high",
16389
16394
  icon: /* @__PURE__ */ React41.createElement(ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
@@ -16408,7 +16413,7 @@ var DesktopLeaveRoom = ({
16408
16413
  LeaveCard,
16409
16414
  {
16410
16415
  title: showStream ? "End Stream" : "End Session",
16411
- subtitle: "The ".concat(showStream ? "stream" : "session", " will end for everyone. You can't undo this action."),
16416
+ subtitle: `The ${showStream ? "stream" : "session"} will end for everyone. You can't undo this action.`,
16412
16417
  bg: "",
16413
16418
  titleColor: "$alert_error_brighter",
16414
16419
  icon: /* @__PURE__ */ React41.createElement(StopIcon, { height: 24, width: 24 }),
@@ -16474,7 +16479,7 @@ var MwebLeaveRoom = ({
16474
16479
  LeaveCard,
16475
16480
  {
16476
16481
  title: showStream ? "Leave Stream" : "Leave Session",
16477
- subtitle: "Others will continue after you leave. You can join the ".concat(showStream ? "stream" : "session", " again."),
16482
+ subtitle: `Others will continue after you leave. You can join the ${showStream ? "stream" : "session"} again.`,
16478
16483
  bg: "$surface_default",
16479
16484
  titleColor: "$on_surface_high",
16480
16485
  icon: /* @__PURE__ */ React42.createElement(ExitIcon2, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
@@ -16487,7 +16492,7 @@ var MwebLeaveRoom = ({
16487
16492
  LeaveCard,
16488
16493
  {
16489
16494
  title: showStream ? "End Stream" : "End Session",
16490
- subtitle: "The will end the ".concat(showStream ? "stream" : "session", " for everyone. You can't undo this action."),
16495
+ subtitle: `The will end the ${showStream ? "stream" : "session"} for everyone. You can't undo this action.`,
16491
16496
  bg: "$alert_error_dim",
16492
16497
  titleColor: "$alert_error_brighter",
16493
16498
  css: { color: "$alert_error_bright", "&:hover": { color: "$alert_error_brighter" } },
@@ -16684,7 +16689,7 @@ var PIPComponent = ({ content = null }) => {
16684
16689
  if (!PictureInPicture.isSupported()) {
16685
16690
  return null;
16686
16691
  }
16687
- return /* @__PURE__ */ React44.createElement(React44.Fragment, null, content ? /* @__PURE__ */ React44.createElement(Flex, { css: { w: "100%" }, onClick: () => onPipToggle(), "data-testid": "pip_btn" }, content) : /* @__PURE__ */ React44.createElement(Tooltip, { title: "".concat(isPipOn ? "Deactivate" : "Activate", " picture in picture view") }, /* @__PURE__ */ React44.createElement(IconButton_default, { active: !isPipOn, key: "pip", onClick: () => onPipToggle(), "data-testid": "pip_btn" }, /* @__PURE__ */ React44.createElement(PipIcon, null))));
16692
+ return /* @__PURE__ */ React44.createElement(React44.Fragment, null, content ? /* @__PURE__ */ React44.createElement(Flex, { css: { w: "100%" }, onClick: () => onPipToggle(), "data-testid": "pip_btn" }, content) : /* @__PURE__ */ React44.createElement(Tooltip, { title: `${isPipOn ? "Deactivate" : "Activate"} picture in picture view` }, /* @__PURE__ */ React44.createElement(IconButton_default, { active: !isPipOn, key: "pip", onClick: () => onPipToggle(), "data-testid": "pip_btn" }, /* @__PURE__ */ React44.createElement(PipIcon, null))));
16688
16693
  };
16689
16694
  var ActivatedPIP = () => {
16690
16695
  const store = useHMSVanillaStore6();
@@ -16859,7 +16864,7 @@ var usePinnedMessages = () => {
16859
16864
  const peerName = vanillaStore.getState(selectPeerNameByID(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
16860
16865
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
16861
16866
  if (message && peerName) {
16862
- newPinnedMessage["text"] = "".concat(peerName, ": ").concat(message.message);
16867
+ newPinnedMessage["text"] = `${peerName}: ${message.message}`;
16863
16868
  } else if (message) {
16864
16869
  newPinnedMessage["text"] = message.message;
16865
16870
  }
@@ -17171,7 +17176,7 @@ var formatTime2 = (date) => {
17171
17176
  const hours = date.getHours();
17172
17177
  const minutes = date.getMinutes();
17173
17178
  const suffix = hours > 11 ? "PM" : "AM";
17174
- return "".concat(hours < 10 ? "0" : "").concat(hours, ":").concat(minutes < 10 ? "0" : "").concat(minutes, " ").concat(suffix);
17179
+ return `${hours < 10 ? "0" : ""}${hours}:${minutes < 10 ? "0" : ""}${minutes} ${suffix}`;
17175
17180
  };
17176
17181
  var CHAT_MESSAGE_LIMIT = 2e3;
17177
17182
 
@@ -17245,10 +17250,10 @@ var MessageType = ({
17245
17250
  const peerName = useHMSStore19(selectPeerNameByID2(receiver));
17246
17251
  const localPeerRoleName = useHMSStore19(selectLocalPeerRoleName);
17247
17252
  if (receiver) {
17248
- return /* @__PURE__ */ React49.createElement(MessageTypeContainer, { left: hasCurrentUserSent ? "".concat(peerName ? "to ".concat(peerName) : "") : "to You", right: "(DM)" });
17253
+ return /* @__PURE__ */ React49.createElement(MessageTypeContainer, { left: hasCurrentUserSent ? `${peerName ? `to ${peerName}` : ""}` : "to You", right: "(DM)" });
17249
17254
  }
17250
17255
  if (roles && roles.length) {
17251
- return /* @__PURE__ */ React49.createElement(MessageTypeContainer, { left: "to ".concat(hasCurrentUserSent ? roles[0] : localPeerRoleName), right: "(Group)" });
17256
+ return /* @__PURE__ */ React49.createElement(MessageTypeContainer, { left: `to ${hasCurrentUserSent ? roles[0] : localPeerRoleName}`, right: "(Group)" });
17252
17257
  }
17253
17258
  return null;
17254
17259
  };
@@ -17389,7 +17394,7 @@ var ChatMessage = React49.memo(
17389
17394
  variant: "sub2",
17390
17395
  css: { color: isOverlay ? "#FFF" : "$on_surface_high", fontWeight: "$semiBold" }
17391
17396
  },
17392
- message.sender === localPeerId ? "".concat(message.senderName, " (You)") : message.senderName
17397
+ message.sender === localPeerId ? `${message.senderName} (You)` : message.senderName
17393
17398
  )),
17394
17399
  /* @__PURE__ */ React49.createElement(
17395
17400
  MessageType,
@@ -17609,7 +17614,7 @@ var PIPChat = () => {
17609
17614
  if (isLocalPeerBlacklisted)
17610
17615
  return "You've been blocked from sending messages";
17611
17616
  if (!isChatEnabled)
17612
- return "Chat has been paused by ".concat(chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName);
17617
+ return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
17613
17618
  return message_placeholder;
17614
17619
  }, [
17615
17620
  chatStateUpdatedBy.peerId,
@@ -17648,7 +17653,7 @@ var PIPChat = () => {
17648
17653
  css: { cursor: "pointer" },
17649
17654
  style: { color: "white", background: "gray", padding: "4px", borderRadius: "4px" }
17650
17655
  },
17651
- unreadMessageCount === 1 ? "New message" : "".concat(unreadMessageCount, " new messages")
17656
+ unreadMessageCount === 1 ? "New message" : `${unreadMessageCount} new messages`
17652
17657
  )
17653
17658
  ) : "",
17654
17659
  filteredMessages.length === 0 ? /* @__PURE__ */ React50.createElement(
@@ -17901,7 +17906,7 @@ var RoleChangeContent = ({
17901
17906
  "data-testid": role,
17902
17907
  key: role,
17903
17908
  onSelect: () => setRole(role),
17904
- css: { w: "".concat((_a8 = triggerRef.current) == null ? void 0 : _a8.clientWidth, "px") }
17909
+ css: { w: `${(_a8 = triggerRef.current) == null ? void 0 : _a8.clientWidth}px` }
17905
17910
  },
17906
17911
  role
17907
17912
  );
@@ -18030,7 +18035,7 @@ var DialogCol = (_a7) => {
18030
18035
  };
18031
18036
  var DialogSelect = (_a7) => {
18032
18037
  var _b7 = _a7, { title, options, keyField, labelField, selected, onChange } = _b7, props = __objRest(_b7, ["title", "options", "keyField", "labelField", "selected", "onChange"]);
18033
- return /* @__PURE__ */ React53.createElement(DialogRow, { breakSm: true }, /* @__PURE__ */ React53.createElement(Label3, null, title), /* @__PURE__ */ React53.createElement(Select.Root, __spreadValues({ "data-testid": "dialog_select_".concat(title), css: { width: "70%", "@sm": { width: "100%" } } }, props), /* @__PURE__ */ React53.createElement(Select.DefaultDownIcon, null), /* @__PURE__ */ React53.createElement(Select.Select, { onChange: (e) => onChange(e.target.value), value: selected, css: { width: "100%" } }, options.map((option) => {
18038
+ return /* @__PURE__ */ React53.createElement(DialogRow, { breakSm: true }, /* @__PURE__ */ React53.createElement(Label3, null, title), /* @__PURE__ */ React53.createElement(Select.Root, __spreadValues({ "data-testid": `dialog_select_${title}`, css: { width: "70%", "@sm": { width: "100%" } } }, props), /* @__PURE__ */ React53.createElement(Select.DefaultDownIcon, null), /* @__PURE__ */ React53.createElement(Select.Select, { onChange: (e) => onChange(e.target.value), value: selected, css: { width: "100%" } }, options.map((option) => {
18034
18039
  const id = keyField ? option[keyField] : option;
18035
18040
  const label = labelField ? option[labelField] : option;
18036
18041
  return /* @__PURE__ */ React53.createElement("option", { value: id, key: id }, label);
@@ -18148,7 +18153,7 @@ var ResolutionInput = ({ onResolutionChange, disabled, tooltipText, css: css2, t
18148
18153
  /* @__PURE__ */ React54.createElement(Flex, { justify: "between", gap: 2 }, /* @__PURE__ */ React54.createElement(Flex, { direction: "column", css: { width: "50%" } }, /* @__PURE__ */ React54.createElement(Text, { variant: "xs" }, "Width"), /* @__PURE__ */ React54.createElement(
18149
18154
  Input,
18150
18155
  {
18151
- "data-testid": "".concat(testId, "_width"),
18156
+ "data-testid": `${testId}_width`,
18152
18157
  css: { width: "100%", mt: "$4" },
18153
18158
  name: "resWidth",
18154
18159
  value: resolution.width,
@@ -18162,7 +18167,7 @@ var ResolutionInput = ({ onResolutionChange, disabled, tooltipText, css: css2, t
18162
18167
  )), /* @__PURE__ */ React54.createElement(Flex, { direction: "column", css: { width: "50%" } }, /* @__PURE__ */ React54.createElement(Text, { variant: "xs" }, "Height"), /* @__PURE__ */ React54.createElement(
18163
18168
  Input,
18164
18169
  {
18165
- "data-testid": "".concat(testId, "_height"),
18170
+ "data-testid": `${testId}_height`,
18166
18171
  css: { width: "100%", mt: "$4" },
18167
18172
  name: "resHeight",
18168
18173
  value: resolution.height,
@@ -18313,7 +18318,7 @@ var StatsForNerds = ({ onOpenChange }) => {
18313
18318
  return /* @__PURE__ */ React56.createElement(
18314
18319
  Dropdown.Item,
18315
18320
  {
18316
- key: "".concat(option.id, "-").concat(option.layer || ""),
18321
+ key: `${option.id}-${option.layer || ""}`,
18317
18322
  onClick: () => {
18318
18323
  setSelectedStat(option);
18319
18324
  },
@@ -18346,7 +18351,7 @@ var useTracksWithLabel = () => {
18346
18351
  id: track.id,
18347
18352
  layer,
18348
18353
  local: true,
18349
- label: "".concat(peerName, " ").concat(track.source, " ").concat(track.type, " - ").concat(layer)
18354
+ label: `${peerName} ${track.source} ${track.type} - ${layer}`
18350
18355
  };
18351
18356
  })
18352
18357
  );
@@ -18355,7 +18360,7 @@ var useTracksWithLabel = () => {
18355
18360
  res.push({
18356
18361
  id: track.id,
18357
18362
  local: isLocalTrack,
18358
- label: "".concat(peerName, " ").concat(track.source, " ").concat(track.type)
18363
+ label: `${peerName} ${track.source} ${track.type}`
18359
18364
  });
18360
18365
  return res;
18361
18366
  }, []),
@@ -18379,7 +18384,7 @@ var LocalPeerStats = () => {
18379
18384
  StatsRow2,
18380
18385
  {
18381
18386
  label: "Round Trip Time",
18382
- value: "".concat((((((_h = stats.publish) == null ? void 0 : _h.currentRoundTripTime) || 0) + (((_i = stats.subscribe) == null ? void 0 : _i.currentRoundTripTime) || 0)) / 2).toFixed(3) * 1e3, " ms")
18387
+ value: `${(((((_h = stats.publish) == null ? void 0 : _h.currentRoundTripTime) || 0) + (((_i = stats.subscribe) == null ? void 0 : _i.currentRoundTripTime) || 0)) / 2).toFixed(3) * 1e3} ms`
18383
18388
  }
18384
18389
  ));
18385
18390
  };
@@ -18406,7 +18411,7 @@ var TrackStats = ({ trackID, layer, local }) => {
18406
18411
  StatsRow2,
18407
18412
  {
18408
18413
  label: "Round Trip Time",
18409
- value: stats.roundTripTime ? "".concat((stats.roundTripTime * 1e3).toFixed(3), " ms") : "-"
18414
+ value: stats.roundTripTime ? `${(stats.roundTripTime * 1e3).toFixed(3)} ms` : "-"
18410
18415
  }
18411
18416
  ));
18412
18417
  };
@@ -18619,7 +18624,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
18619
18624
  });
18620
18625
  setIsCaptionEnabled(false);
18621
18626
  const id2 = ToastManager.replaceToast(toastId, {
18622
- title: "Disabling Closed Caption for everyone.",
18627
+ title: `Disabling Closed Caption for everyone.`,
18623
18628
  variant: "standard",
18624
18629
  duration: DURATION,
18625
18630
  icon: /* @__PURE__ */ React58.createElement(Loading, { color: "currentColor" })
@@ -18632,7 +18637,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
18632
18637
  mode: HMSTranscriptionMode.CAPTION
18633
18638
  });
18634
18639
  const id = ToastManager.replaceToast(toastId, {
18635
- title: "Enabling Closed Caption for everyone.",
18640
+ title: `Enabling Closed Caption for everyone.`,
18636
18641
  variant: "standard",
18637
18642
  duration: DURATION,
18638
18643
  icon: /* @__PURE__ */ React58.createElement(Loading, { color: "currentColor" })
@@ -18640,7 +18645,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
18640
18645
  setToastId(id);
18641
18646
  } catch (err) {
18642
18647
  const id = ToastManager.replaceToast(toastId, {
18643
- title: "Failed to ".concat(isTranscriptionEnabled ? "disable" : "enable", " closed caption"),
18648
+ title: `Failed to ${isTranscriptionEnabled ? "disable" : "enable"} closed caption`,
18644
18649
  variant: "error",
18645
18650
  icon: /* @__PURE__ */ React58.createElement(AlertTriangleIcon5, { style: { marginRight: "0.5rem" } })
18646
18651
  });
@@ -19110,7 +19115,7 @@ var DesktopOptions = ({
19110
19115
  },
19111
19116
  /* @__PURE__ */ React63.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React63.createElement(CheckIcon4, { width: 16, height: 16 }))
19112
19117
  ),
19113
- /* @__PURE__ */ React63.createElement(Flex, { justify: "between", css: { width: "100%" } }, /* @__PURE__ */ React63.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Show HLS Stats"), /* @__PURE__ */ React63.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "".concat(isMacOS ? "\u2318" : "ctrl", " + ]")))
19118
+ /* @__PURE__ */ React63.createElement(Flex, { justify: "between", css: { width: "100%" } }, /* @__PURE__ */ React63.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Show HLS Stats"), /* @__PURE__ */ React63.createElement(Text, { variant: "sm", css: { ml: "$4" } }, `${isMacOS ? "\u2318" : "ctrl"} + ]`))
19114
19119
  );
19115
19120
  }).otherwise(() => /* @__PURE__ */ React63.createElement(
19116
19121
  Dropdown.Item,
@@ -20791,9 +20796,9 @@ function shimGetUserMedia3(window2) {
20791
20796
  };
20792
20797
  }
20793
20798
  if (!navigator2.getUserMedia && navigator2.mediaDevices && navigator2.mediaDevices.getUserMedia) {
20794
- navigator2.getUserMedia = (function getUserMedia(constraints, cb, errcb) {
20799
+ navigator2.getUserMedia = function getUserMedia(constraints, cb, errcb) {
20795
20800
  navigator2.mediaDevices.getUserMedia(constraints).then(cb, errcb);
20796
- }).bind(navigator2);
20801
+ }.bind(navigator2);
20797
20802
  }
20798
20803
  }
20799
20804
  function shimConstraints(constraints) {
@@ -21413,7 +21418,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21413
21418
  n((t = t.apply(a2, e)).next());
21414
21419
  });
21415
21420
  var yr = ro((Dc, ho) => {
21416
- ho.exports = { version: "0.12.19-alpha.14", 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"] };
21421
+ ho.exports = { version: "0.12.19-alpha.16", 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"] };
21417
21422
  });
21418
21423
  var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
21419
21424
  var so = ((e) => (e.CHAT = "chat", e))(so || {});
@@ -21563,34 +21568,42 @@ var f = class a extends Error {
21563
21568
  }
21564
21569
  toString() {
21565
21570
  var t;
21566
- return "{\n code: ".concat(this.code, ";\n name: ").concat(this.name, ";\n action: ").concat(this.action, ";\n message: ").concat(this.message, ";\n description: ").concat(this.description, ";\n isTerminal: ").concat(this.isTerminal, ";\n nativeError: ").concat((t = this.nativeError) == null ? void 0 : t.message, ";\n }");
21571
+ return `{
21572
+ code: ${this.code};
21573
+ name: ${this.name};
21574
+ action: ${this.action};
21575
+ message: ${this.message};
21576
+ description: ${this.description};
21577
+ isTerminal: ${this.isTerminal};
21578
+ nativeError: ${(t = this.nativeError) == null ? void 0 : t.message};
21579
+ }`;
21567
21580
  }
21568
21581
  };
21569
21582
  var uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21570
21583
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21571
- return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, "[WS]: ".concat(e), "[WS]: ".concat(e));
21584
+ return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21572
21585
  }, WebSocketConnectionLost(a2, e = "") {
21573
21586
  return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21574
21587
  }, AbnormalClose(a2, e = "") {
21575
21588
  return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21576
21589
  } }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
21577
- return new f(a2, "ServerErrors", e, "[".concat(e, "]: Server error ").concat(t), t, i);
21590
+ return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21578
21591
  }, EndpointUnreachable(a2, e = "") {
21579
- return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, "Endpoint is not reachable - ".concat(e), e);
21592
+ return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21580
21593
  }, InvalidTokenFormat(a2, e = "") {
21581
- return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, "Token is not in proper JWT format - ".concat(e), e, true);
21594
+ return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21582
21595
  }, InitConfigNotAvailable(a2, e = "") {
21583
- return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, "[INIT]: ".concat(e), "[INIT]: ".concat(e));
21596
+ return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21584
21597
  } }, TracksErrors: { GenericTrack(a2, e = "") {
21585
- return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, "[TRACK]: ".concat(e), "[TRACK]: ".concat(e));
21598
+ return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21586
21599
  }, CantAccessCaptureDevice(a2, e, t = "") {
21587
- return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, "User denied permission to access capture device - ".concat(e), t);
21600
+ return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21588
21601
  }, DeviceNotAvailable(a2, e, t = "") {
21589
- return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, "[TRACK]: Capture device is no longer available - ".concat(e), t);
21602
+ return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21590
21603
  }, DeviceInUse(a2, e, t = "") {
21591
- return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, "[TRACK]: Capture device is in use by another application - ".concat(e), t);
21604
+ return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21592
21605
  }, DeviceLostMidway(a2, e, t = "") {
21593
- return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, "Lost access to capture device midway - ".concat(e), t);
21606
+ return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21594
21607
  }, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
21595
21608
  return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21596
21609
  }, InvalidVideoSettings(a2, e = "") {
@@ -21600,31 +21613,31 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21600
21613
  }, CodecChangeNotPermitted(a2, e = "") {
21601
21614
  return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21602
21615
  }, OverConstrained(a2, e, t = "") {
21603
- return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, "[TRACK]: Requested constraints cannot be satisfied with the device hardware - ".concat(e), t);
21616
+ return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21604
21617
  }, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
21605
21618
  return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21606
21619
  }, SystemDeniedPermission(a2, e, t = "") {
21607
- return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, "Operating System denied permission to access capture device - ".concat(e), t);
21620
+ return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21608
21621
  }, CurrentTabNotShared() {
21609
21622
  return new f(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21610
21623
  }, AudioPlaybackError(a2) {
21611
21624
  return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21612
21625
  }, SelectedDeviceMissing(a2) {
21613
- return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", "Could not detect selected ".concat(a2, " device"), "Please check connection to the ".concat(a2, " device"), false);
21626
+ return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21614
21627
  } }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
21615
- return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, "[".concat(a2.toString(), "]: Failed to create offer. "), e);
21628
+ return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21616
21629
  }, CreateAnswerFailed(a2, e = "") {
21617
- return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, "[".concat(a2.toString(), "]: Failed to create answer. "), e);
21630
+ return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21618
21631
  }, SetLocalDescriptionFailed(a2, e = "") {
21619
- return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, "[".concat(a2.toString(), "]: Failed to set offer. "), e);
21632
+ return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21620
21633
  }, SetRemoteDescriptionFailed(a2, e = "") {
21621
- return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, "[".concat(a2.toString(), "]: Failed to set answer. "), e, true);
21634
+ return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21622
21635
  }, ICEFailure(a2, e = "", t = false) {
21623
- return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, "[".concat(a2.toString(), "]: Ice connection state FAILED"), e, t);
21636
+ return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21624
21637
  }, ICEDisconnected(a2, e = "") {
21625
- return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, "[".concat(a2.toString(), "]: Ice connection state DISCONNECTED"), e);
21638
+ return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21626
21639
  }, StatsFailed(a2, e = "") {
21627
- return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, "Failed to WebRTC get stats - ".concat(e), e);
21640
+ return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21628
21641
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21629
21642
  return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
21630
21643
  }, AlreadyJoined(a2, e = "") {
@@ -21634,13 +21647,13 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21634
21647
  } }, GenericErrors: { NotConnected(a2, e = "") {
21635
21648
  return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21636
21649
  }, Signalling(a2, e) {
21637
- return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, "Unknown signalling error: ".concat(a2.toString(), " ").concat(e, " "), e);
21650
+ return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21638
21651
  }, Unknown(a2, e) {
21639
- return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, "Unknown exception: ".concat(e), e);
21652
+ return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21640
21653
  }, NotReady(a2, e = "") {
21641
21654
  return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21642
21655
  }, JsonParsingFailed(a2, e, t = "") {
21643
- return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, "Failed to parse JSON message - ".concat(e), t);
21656
+ return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21644
21657
  }, TrackMetadataMissing(a2, e = "") {
21645
21658
  return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21646
21659
  }, RTCTrackMissing(a2, e = "") {
@@ -21745,17 +21758,13 @@ function vt(a2 = "prod", e) {
21745
21758
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21746
21759
  if (Be)
21747
21760
  return As({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Is, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21748
- let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = kr("web_".concat(r.name)), d = r.version || "", u = kr("".concat(o.name, "_").concat(o.version)), p = u;
21749
- if (s.type) {
21750
- let m = kr("".concat(s.vendor, "_").concat(s.type));
21751
- p = "".concat(m, "/").concat(u);
21752
- }
21753
- return As({ os: n, os_version: d, sdk: t, sdk_version: Is, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21761
+ let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = kr(`web_${r.name}`), d = r.version || "", u = kr(`${o.name}_${o.version}`), p = u;
21762
+ return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), As({ os: n, os_version: d, sdk: t, sdk_version: Is, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21754
21763
  }
21755
21764
  function kr(a2) {
21756
21765
  return a2.replace(/ /g, "_");
21757
21766
  }
21758
- var As = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => "".concat(t, ":").concat(a2[t])).join(e);
21767
+ var As = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21759
21768
  var H = class {
21760
21769
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21761
21770
  this.metadata = { peer: {}, userAgent: vt() };
@@ -21805,7 +21814,7 @@ var y = class {
21805
21814
  return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
21806
21815
  }
21807
21816
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
21808
- let o = this.eventNameFor(s ? "publish" : "device.".concat(i), s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
21817
+ let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
21809
21818
  return new H({ name: o, level: n, properties: d });
21810
21819
  }
21811
21820
  static performance(e) {
@@ -21851,11 +21860,10 @@ var y = class {
21851
21860
  return new H({ name: "krisp.stop", level: 1 });
21852
21861
  }
21853
21862
  static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
21854
- return new H({ name: "".concat(e ? "interruption.start" : "interruption.stop"), level: 1, properties: h({ reason: i, type: t }, r) });
21863
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ reason: i, type: t }, r) });
21855
21864
  }
21856
21865
  static eventNameFor(e, t) {
21857
- let i = t ? "success" : "failed";
21858
- return "".concat(e, ".").concat(i);
21866
+ return `${e}.${t ? "success" : "failed"}`;
21859
21867
  }
21860
21868
  static getPropertiesWithError(e, t) {
21861
21869
  let i = this.getErrorProperties(t);
@@ -21883,7 +21891,7 @@ var Er = class {
21883
21891
  return;
21884
21892
  let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
21885
21893
  if (!r) {
21886
- l.w(this.TAG, "Could not find device with deviceId: ".concat(t, ", groupId: ").concat(i));
21894
+ l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
21887
21895
  return;
21888
21896
  }
21889
21897
  let s = this.storage.get() || {};
@@ -22413,7 +22421,7 @@ var Xr = class {
22413
22421
  return;
22414
22422
  }
22415
22423
  let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? $s : Ks;
22416
- fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: "Bearer ".concat(e.metadata.token), user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
22424
+ fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
22417
22425
  if (r.status === 401) {
22418
22426
  this.removeFromStorage(e);
22419
22427
  return;
@@ -22448,10 +22456,10 @@ var Vt = class {
22448
22456
  }
22449
22457
  static sendFeedback(s) {
22450
22458
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
22451
- l.d(this.TAG, "sendFeedback: feedbackEndpoint=".concat(t, " peerId=").concat(i.peer.peer_id, " session=").concat(i.peer.session_id, " "));
22459
+ l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
22452
22460
  let o = new URL("v2/client/feedback", t), n = M(h({}, i), { payload: r });
22453
22461
  try {
22454
- let d = yield fetch(o, { headers: { Authorization: "Bearer ".concat(e) }, body: JSON.stringify(n), method: "POST" });
22462
+ let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
22455
22463
  try {
22456
22464
  this.handleError(d);
22457
22465
  return;
@@ -23722,7 +23730,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
23722
23730
  yield requestPermission();
23723
23731
  })
23724
23732
  },
23725
- /* @__PURE__ */ React76.createElement(Tooltip, { title: "".concat(!isVideoScreenshare ? "Start" : "Stop", " screen sharing") }, /* @__PURE__ */ React76.createElement(Box, null, /* @__PURE__ */ React76.createElement(ShareScreenIcon, null)))
23733
+ /* @__PURE__ */ React76.createElement(Tooltip, { title: `${!isVideoScreenshare ? "Start" : "Stop"} screen sharing` }, /* @__PURE__ */ React76.createElement(Box, null, /* @__PURE__ */ React76.createElement(ShareScreenIcon, null)))
23726
23734
  ), /* @__PURE__ */ React76.createElement(ShareScreenOptions, null)));
23727
23735
  };
23728
23736
 
@@ -23778,7 +23786,7 @@ var ChatToggle = ({ onClick }) => {
23778
23786
  position: "relative"
23779
23787
  }
23780
23788
  },
23781
- /* @__PURE__ */ React78.createElement(Tooltip, { key: "chat", title: "".concat(isChatOpen ? "Close" : "Open", " chat") }, /* @__PURE__ */ React78.createElement(
23789
+ /* @__PURE__ */ React78.createElement(Tooltip, { key: "chat", title: `${isChatOpen ? "Close" : "Open"} chat` }, /* @__PURE__ */ React78.createElement(
23782
23790
  IconButton_default,
23783
23791
  {
23784
23792
  onClick: () => onClick ? onClick() : toggleChat(),
@@ -24246,7 +24254,7 @@ var RoleAccordion = ({
24246
24254
  return /* @__PURE__ */ React82.createElement(Accordion.Item, { value: roleName, css: { "&:hover .role_actions": { visibility: "visible" }, mb: "$8" }, ref }, /* @__PURE__ */ React82.createElement(
24247
24255
  Accordion.Header,
24248
24256
  {
24249
- chevronID: "role_accordion_btn_".concat(roleName),
24257
+ chevronID: `role_accordion_btn_${roleName}`,
24250
24258
  iconStyles: { c: "$on_surface_high" },
24251
24259
  css: {
24252
24260
  textTransform: "capitalize",
@@ -24270,7 +24278,7 @@ var RoleAccordion = ({
24270
24278
  },
24271
24279
  roleName,
24272
24280
  " ",
24273
- "(".concat(getFormattedCount(isLargeRoom && isOffStageRole ? total : peerList.length), ")")
24281
+ `(${getFormattedCount(isLargeRoom && isOffStageRole ? total : peerList.length)})`
24274
24282
  ), /* @__PURE__ */ React82.createElement(RoleOptions, { roleName, peerList: peersInAccordion }))
24275
24283
  ), /* @__PURE__ */ React82.createElement(Accordion.Content, { contentStyles: { border: "1px solid $border_default", borderTop: "none" } }, /* @__PURE__ */ React82.createElement(
24276
24284
  FixedSizeList,
@@ -24730,7 +24738,7 @@ var PollsToggle = () => {
24730
24738
  setUnreadPollQuiz(false);
24731
24739
  }
24732
24740
  }, [isPollsOpen, unreadPollQuiz, setUnreadPollQuiz]);
24733
- return /* @__PURE__ */ React84.createElement(Tooltip, { key: "polls", title: "".concat(isPollsOpen ? "Close" : "Open", " polls and quizzes") }, /* @__PURE__ */ React84.createElement(
24741
+ return /* @__PURE__ */ React84.createElement(Tooltip, { key: "polls", title: `${isPollsOpen ? "Close" : "Open"} polls and quizzes` }, /* @__PURE__ */ React84.createElement(
24734
24742
  IconButton_default,
24735
24743
  {
24736
24744
  onClick: () => {
@@ -24760,7 +24768,7 @@ var WhiteboardToggle = () => {
24760
24768
  Tooltip,
24761
24769
  {
24762
24770
  key: "whiteboard",
24763
- title: peerSharing ? "Cannot open whiteboard when viewing a shared screen" : "".concat(open ? "Close" : "Open", " Whiteboard")
24771
+ title: peerSharing ? "Cannot open whiteboard when viewing a shared screen" : `${open ? "Close" : "Open"} Whiteboard`
24764
24772
  },
24765
24773
  /* @__PURE__ */ React85.createElement(
24766
24774
  IconButton_default,
@@ -25002,7 +25010,7 @@ var Container3 = ({ children, rounded = false }) => {
25002
25010
  left: 0,
25003
25011
  bg: "$surface_dim",
25004
25012
  transform: "translateX(10%)",
25005
- animation: "".concat(slideLeftAndFade("10%"), " 100ms ease-out forwards"),
25013
+ animation: `${slideLeftAndFade("10%")} 100ms ease-out forwards`,
25006
25014
  display: "flex",
25007
25015
  flexDirection: "column",
25008
25016
  borderRadius: rounded ? "$2" : "0"
@@ -25142,7 +25150,7 @@ var AddMenu = () => {
25142
25150
  onClick: () => setInteractionType("Quiz" /* QUIZ */),
25143
25151
  active: interactionType === "Quiz" /* QUIZ */
25144
25152
  }
25145
- )), /* @__PURE__ */ React90.createElement(Flex, { direction: "column", css: { mb: "$10" } }, /* @__PURE__ */ React90.createElement(Text, { variant: "body2", css: { mb: "$4" } }, "Name this ".concat(interactionType.toLowerCase())), /* @__PURE__ */ React90.createElement(
25153
+ )), /* @__PURE__ */ React90.createElement(Flex, { direction: "column", css: { mb: "$10" } }, /* @__PURE__ */ React90.createElement(Text, { variant: "body2", css: { mb: "$4" } }, `Name this ${interactionType.toLowerCase()}`), /* @__PURE__ */ React90.createElement(
25146
25154
  Input,
25147
25155
  {
25148
25156
  ref: inputRef,
@@ -25314,7 +25322,7 @@ var OptionInputWithDelete = ({
25314
25322
  return /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(
25315
25323
  Input,
25316
25324
  {
25317
- placeholder: "Option ".concat(index + 1),
25325
+ placeholder: `Option ${index + 1}`,
25318
25326
  css: {
25319
25327
  w: "100%",
25320
25328
  backgroundColor: "$surface_bright",
@@ -25345,7 +25353,7 @@ var VoteProgress = ({ option, totalResponses }) => {
25345
25353
  Progress.Content,
25346
25354
  {
25347
25355
  style: {
25348
- transform: "translateX(-".concat(100 - progressValue, "%)")
25356
+ transform: `translateX(-${100 - progressValue}%)`
25349
25357
  }
25350
25358
  }
25351
25359
  )) : null;
@@ -25376,10 +25384,10 @@ var MultipleChoiceOptions = ({
25376
25384
  };
25377
25385
  return /* @__PURE__ */ React96.createElement(Flex, { direction: "column", css: { gap: "$md", w: "100%", mb: "$md" } }, options.map((option) => {
25378
25386
  var _a7;
25379
- return /* @__PURE__ */ React96.createElement(Flex, { align: "center", key: "".concat(questionIndex, "-").concat(option.index), css: { w: "100%", gap: "$4" } }, !isStopped || !isQuiz ? /* @__PURE__ */ React96.createElement(
25387
+ return /* @__PURE__ */ React96.createElement(Flex, { align: "center", key: `${questionIndex}-${option.index}`, css: { w: "100%", gap: "$4" } }, !isStopped || !isQuiz ? /* @__PURE__ */ React96.createElement(
25380
25388
  Checkbox.Root,
25381
25389
  {
25382
- id: "".concat(questionIndex, "-").concat(option.index),
25390
+ id: `${questionIndex}-${option.index}`,
25383
25391
  disabled: !canRespond,
25384
25392
  checked: (_a7 = localPeerResponse == null ? void 0 : localPeerResponse.options) == null ? void 0 : _a7.includes(option.index),
25385
25393
  onCheckedChange: (checked) => handleCheckedChange(checked, option.index),
@@ -25389,7 +25397,7 @@ var MultipleChoiceOptions = ({
25389
25397
  }
25390
25398
  },
25391
25399
  /* @__PURE__ */ React96.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React96.createElement(CheckIcon5, { width: 16, height: 16 }))
25392
- ) : null, isStopped && (correctOptionIndexes == null ? void 0 : correctOptionIndexes.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Flex, { align: "center", css: { color: "$on_surface_high" } }, /* @__PURE__ */ React96.createElement(CheckCircleIcon, { height: 20, width: 20 })) : null, /* @__PURE__ */ React96.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React96.createElement(Text, { css: { display: "flex", flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Label3, { htmlFor: "".concat(questionIndex, "-").concat(option.index) }, option.text)), showVoteCount && /* @__PURE__ */ React96.createElement(VoteCount, { voteCount: option.voteCount })), showVoteCount && /* @__PURE__ */ React96.createElement(VoteProgress, { option, totalResponses })), isStopped && isQuiz && (localPeerResponse == null ? void 0 : localPeerResponse.options.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", maxWidth: "max-content" } }, "Your Answer") : null);
25400
+ ) : null, isStopped && (correctOptionIndexes == null ? void 0 : correctOptionIndexes.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Flex, { align: "center", css: { color: "$on_surface_high" } }, /* @__PURE__ */ React96.createElement(CheckCircleIcon, { height: 20, width: 20 })) : null, /* @__PURE__ */ React96.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React96.createElement(Text, { css: { display: "flex", flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Label3, { htmlFor: `${questionIndex}-${option.index}` }, option.text)), showVoteCount && /* @__PURE__ */ React96.createElement(VoteCount, { voteCount: option.voteCount })), showVoteCount && /* @__PURE__ */ React96.createElement(VoteProgress, { option, totalResponses })), isStopped && isQuiz && (localPeerResponse == null ? void 0 : localPeerResponse.options.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", maxWidth: "max-content" } }, "Your Answer") : null);
25393
25401
  }));
25394
25402
  };
25395
25403
  var MultipleChoiceOptionInputs = ({ isQuiz, options, selectAnswer, handleOptionTextChange, removeOption }) => {
@@ -25434,7 +25442,7 @@ var SingleChoiceOptions = ({
25434
25442
  localPeerResponse
25435
25443
  }) => {
25436
25444
  return /* @__PURE__ */ React97.createElement(RadioGroup.Root, { value: localPeerResponse == null ? void 0 : localPeerResponse.option, onValueChange: (value) => setAnswer(value) }, /* @__PURE__ */ React97.createElement(Flex, { direction: "column", css: { gap: "$md", w: "100%", mb: "$md" } }, options.map((option) => {
25437
- return /* @__PURE__ */ React97.createElement(Flex, { align: "center", key: "".concat(questionIndex, "-").concat(option.index), css: { w: "100%", gap: "$4" } }, !isStopped || !isQuiz ? /* @__PURE__ */ React97.createElement(
25445
+ return /* @__PURE__ */ React97.createElement(Flex, { align: "center", key: `${questionIndex}-${option.index}`, css: { w: "100%", gap: "$4" } }, !isStopped || !isQuiz ? /* @__PURE__ */ React97.createElement(
25438
25446
  RadioGroup.Item,
25439
25447
  {
25440
25448
  css: {
@@ -25456,7 +25464,7 @@ var SingleChoiceOptions = ({
25456
25464
  },
25457
25465
  disabled: !canRespond,
25458
25466
  value: option.index,
25459
- id: "".concat(questionIndex, "-").concat(option.index)
25467
+ id: `${questionIndex}-${option.index}`
25460
25468
  },
25461
25469
  /* @__PURE__ */ React97.createElement(
25462
25470
  RadioGroup.Indicator,
@@ -25469,13 +25477,13 @@ var SingleChoiceOptions = ({
25469
25477
  }
25470
25478
  }
25471
25479
  )
25472
- ) : null, isStopped && correctOptionIndex === option.index && isQuiz ? /* @__PURE__ */ React97.createElement(Flex, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React97.createElement(CheckCircleIcon2, { height: 20, width: 20 })) : null, /* @__PURE__ */ React97.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ React97.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React97.createElement(Text, { css: { display: "flex", flexGrow: "1", color: "$on_surface_high" } }, /* @__PURE__ */ React97.createElement(Label3, { style: { color: "inherit" }, htmlFor: "".concat(questionIndex, "-").concat(option.index) }, option.text)), showVoteCount && /* @__PURE__ */ React97.createElement(VoteCount, { voteCount: option.voteCount })), showVoteCount && /* @__PURE__ */ React97.createElement(VoteProgress, { option, totalResponses })), isStopped && isQuiz && (localPeerResponse == null ? void 0 : localPeerResponse.option) === option.index ? /* @__PURE__ */ React97.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", maxWidth: "max-content" } }, "Your Answer") : null);
25480
+ ) : null, isStopped && correctOptionIndex === option.index && isQuiz ? /* @__PURE__ */ React97.createElement(Flex, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React97.createElement(CheckCircleIcon2, { height: 20, width: 20 })) : null, /* @__PURE__ */ React97.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ React97.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React97.createElement(Text, { css: { display: "flex", flexGrow: "1", color: "$on_surface_high" } }, /* @__PURE__ */ React97.createElement(Label3, { style: { color: "inherit" }, htmlFor: `${questionIndex}-${option.index}` }, option.text)), showVoteCount && /* @__PURE__ */ React97.createElement(VoteCount, { voteCount: option.voteCount })), showVoteCount && /* @__PURE__ */ React97.createElement(VoteProgress, { option, totalResponses })), isStopped && isQuiz && (localPeerResponse == null ? void 0 : localPeerResponse.option) === option.index ? /* @__PURE__ */ React97.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", maxWidth: "max-content" } }, "Your Answer") : null);
25473
25481
  })));
25474
25482
  };
25475
25483
  var SingleChoiceOptionInputs = ({ isQuiz, options, selectAnswer, handleOptionTextChange, removeOption }) => {
25476
25484
  const correctOptionIndex = options.findIndex((option) => option.isCorrectAnswer);
25477
25485
  return /* @__PURE__ */ React97.createElement(RadioGroup.Root, { value: correctOptionIndex, onValueChange: selectAnswer }, /* @__PURE__ */ React97.createElement(Flex, { direction: "column", css: { gap: "$md", w: "100%", mb: "$md" } }, options.map((option, index) => {
25478
- return /* @__PURE__ */ React97.createElement(Flex, { align: "center", key: "option-".concat(index), css: { w: "100%", gap: "$4" } }, isQuiz && /* @__PURE__ */ React97.createElement(
25486
+ return /* @__PURE__ */ React97.createElement(Flex, { align: "center", key: `option-${index}`, css: { w: "100%", gap: "$4" } }, isQuiz && /* @__PURE__ */ React97.createElement(
25479
25487
  RadioGroup.Item,
25480
25488
  {
25481
25489
  css: {
@@ -25685,7 +25693,7 @@ var QuestionForm = ({
25685
25693
  Tooltip,
25686
25694
  {
25687
25695
  disabled: isValid,
25688
- title: options.length < 2 ? "At least two options must be added" : "Please fill all the fields ".concat(isQuiz ? "and mark the correct answer(s)" : "", " to continue"),
25696
+ title: options.length < 2 ? "At least two options must be added" : `Please fill all the fields ${isQuiz ? "and mark the correct answer(s)" : ""} to continue`,
25689
25697
  boxCss: { maxWidth: "$40" }
25690
25698
  },
25691
25699
  /* @__PURE__ */ React98.createElement(
@@ -25753,7 +25761,7 @@ var SavedQuestion = ({
25753
25761
  }
25754
25762
  return updatedAnswerArray;
25755
25763
  }, [question == null ? void 0 : question.answer]);
25756
- return /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement(Text, { variant: "overline", css: { c: "$on_surface_low", textTransform: "uppercase" } }, "Question ", index + 1, " of ", length, ": ", QUESTION_TYPE_TITLE[question.type]), /* @__PURE__ */ React99.createElement(Text, { variant: "body2", css: { mt: "$4", mb: "$md" } }, question.text), (_a7 = question.options) == null ? void 0 : _a7.map((option, index2) => /* @__PURE__ */ React99.createElement(Flex, { key: "".concat(option.text, "-").concat(index2), css: { alignItems: "center", my: "$xs" } }, /* @__PURE__ */ React99.createElement(Text, { variant: "body2", css: { c: "$on_surface_medium" } }, option.text), (answerArray.includes(index2 + 1) || option.isCorrectAnswer) && /* @__PURE__ */ React99.createElement(Flex, { css: { color: "$alert_success", mx: "$xs" } }, /* @__PURE__ */ React99.createElement(CheckCircleIcon3, { height: 24, width: 24 })))), question.skippable ? /* @__PURE__ */ React99.createElement(Text, { variant: "sm", css: { color: "$on_surface_low", my: "$md" } }, "Not required to answer") : null, /* @__PURE__ */ React99.createElement(Flex, { justify: "end", css: { w: "100%", alignItems: "center" } }, /* @__PURE__ */ React99.createElement(Button, { variant: "standard", css: { fontWeight: "$semiBold" }, onClick: () => convertToDraft(question.draftID) }, "Edit")));
25764
+ return /* @__PURE__ */ React99.createElement(React99.Fragment, null, /* @__PURE__ */ React99.createElement(Text, { variant: "overline", css: { c: "$on_surface_low", textTransform: "uppercase" } }, "Question ", index + 1, " of ", length, ": ", QUESTION_TYPE_TITLE[question.type]), /* @__PURE__ */ React99.createElement(Text, { variant: "body2", css: { mt: "$4", mb: "$md" } }, question.text), (_a7 = question.options) == null ? void 0 : _a7.map((option, index2) => /* @__PURE__ */ React99.createElement(Flex, { key: `${option.text}-${index2}`, css: { alignItems: "center", my: "$xs" } }, /* @__PURE__ */ React99.createElement(Text, { variant: "body2", css: { c: "$on_surface_medium" } }, option.text), (answerArray.includes(index2 + 1) || option.isCorrectAnswer) && /* @__PURE__ */ React99.createElement(Flex, { css: { color: "$alert_success", mx: "$xs" } }, /* @__PURE__ */ React99.createElement(CheckCircleIcon3, { height: 24, width: 24 })))), question.skippable ? /* @__PURE__ */ React99.createElement(Text, { variant: "sm", css: { color: "$on_surface_low", my: "$md" } }, "Not required to answer") : null, /* @__PURE__ */ React99.createElement(Flex, { justify: "end", css: { w: "100%", alignItems: "center" } }, /* @__PURE__ */ React99.createElement(Button, { variant: "standard", css: { fontWeight: "$semiBold" }, onClick: () => convertToDraft(question.draftID) }, "Edit")));
25757
25765
  };
25758
25766
 
25759
25767
  // src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx
@@ -25784,7 +25792,7 @@ function CreateQuestions() {
25784
25792
  try {
25785
25793
  yield actions.sendHLSTimedMetadata([
25786
25794
  {
25787
- payload: "poll:".concat(poll_id),
25795
+ payload: `poll:${poll_id}`,
25788
25796
  duration: 100
25789
25797
  }
25790
25798
  ]);
@@ -25885,15 +25893,15 @@ var getFormattedTime = (milliseconds, precise = true) => {
25885
25893
  const seconds = totalSeconds % 60;
25886
25894
  let formattedTime = "";
25887
25895
  if (hours) {
25888
- formattedTime += "".concat(hours, "h ");
25896
+ formattedTime += `${hours}h `;
25889
25897
  }
25890
25898
  if (minutes || hours) {
25891
- formattedTime += "".concat(minutes, "m ");
25899
+ formattedTime += `${minutes}m `;
25892
25900
  }
25893
25901
  if (!precise && (hours || minutes)) {
25894
25902
  return formattedTime;
25895
25903
  }
25896
- formattedTime += "".concat(precise ? seconds.toFixed(3) : Math.floor(seconds), "s");
25904
+ formattedTime += `${precise ? seconds.toFixed(3) : Math.floor(seconds)}s`;
25897
25905
  return formattedTime;
25898
25906
  };
25899
25907
 
@@ -26009,11 +26017,11 @@ var PeerParticipationSummary = ({ quiz }) => {
26009
26017
  const boxes = isLocalPeerQuizCreator ? [
26010
26018
  {
26011
26019
  title: "Voted",
26012
- value: "".concat(summary.totalUsers ? (100 * summary.votedUsers / summary.totalUsers).toFixed(0) : 0, "% (").concat(summary.votedUsers, "/").concat(summary.totalUsers, ")")
26020
+ value: `${summary.totalUsers ? (100 * summary.votedUsers / summary.totalUsers).toFixed(0) : 0}% (${summary.votedUsers}/${summary.totalUsers})`
26013
26021
  },
26014
26022
  {
26015
26023
  title: "Correct Answers",
26016
- value: "".concat(summary.totalUsers ? (100 * summary.correctUsers / summary.totalUsers).toFixed(0) : 0, "% (").concat(summary.correctUsers, "/").concat(summary.totalUsers, ")")
26024
+ value: `${summary.totalUsers ? (100 * summary.correctUsers / summary.totalUsers).toFixed(0) : 0}% (${summary.correctUsers}/${summary.totalUsers})`
26017
26025
  },
26018
26026
  // Time in ms
26019
26027
  { title: "Avg. Time Taken", value: getFormattedTime(summary.avgTime) },
@@ -26028,7 +26036,7 @@ var PeerParticipationSummary = ({ quiz }) => {
26028
26036
  { title: "Time Taken", value: getFormattedTime(peerEntry == null ? void 0 : peerEntry.duration) },
26029
26037
  {
26030
26038
  title: "Correct Answers",
26031
- value: (peerEntry == null ? void 0 : peerEntry.totalResponses) ? "".concat(peerEntry == null ? void 0 : peerEntry.correctResponses, "/").concat(peerEntry.totalResponses) : "-"
26039
+ value: (peerEntry == null ? void 0 : peerEntry.totalResponses) ? `${peerEntry == null ? void 0 : peerEntry.correctResponses}/${peerEntry.totalResponses}` : "-"
26032
26040
  }
26033
26041
  ];
26034
26042
  return /* @__PURE__ */ React103.createElement(Box, null, /* @__PURE__ */ React103.createElement(Text, { css: { fontWeight: "$semiBold", my: "$8" } }, "Participation Summary"), /* @__PURE__ */ React103.createElement(Box, { css: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "$4" } }, boxes.map((box) => /* @__PURE__ */ React103.createElement(StatisticBox, { key: box.title, title: box.title, value: box.value }))));
@@ -26206,7 +26214,7 @@ var QuestionCard2 = ({
26206
26214
  borderRadius: "$1",
26207
26215
  p: "$md",
26208
26216
  mt: "$md",
26209
- border: respondedToQuiz && !isLive ? "1px solid ".concat(isCorrectAnswer ? "$alert_success" : "$alert_error_default") : "none"
26217
+ border: respondedToQuiz && !isLive ? `1px solid ${isCorrectAnswer ? "$alert_success" : "$alert_error_default"}` : "none"
26210
26218
  }
26211
26219
  },
26212
26220
  /* @__PURE__ */ React105.createElement(Flex, { align: "center", justify: "between" }, /* @__PURE__ */ React105.createElement(
@@ -26316,7 +26324,7 @@ var StandardView = ({
26316
26324
  isQuiz,
26317
26325
  startedBy: poll.startedBy,
26318
26326
  pollState: poll.state,
26319
- key: "".concat(question.text, "-").concat(index),
26327
+ key: `${question.text}-${index}`,
26320
26328
  index: question.index,
26321
26329
  text: question.text,
26322
26330
  type: question.type,
@@ -26671,7 +26679,7 @@ var SelectorItem = ({
26671
26679
  icon,
26672
26680
  value
26673
26681
  ),
26674
- /* @__PURE__ */ React114.createElement(Flex, { align: "center", css: { ml: "auto", color: "$on_primary_high" } }, unreadCount > 0 && /* @__PURE__ */ React114.createElement(Tooltip, { title: "".concat(unreadCount, " unread") }, /* @__PURE__ */ React114.createElement(Box, { css: { mr: active ? "$3" : 0 } }, /* @__PURE__ */ React114.createElement(ChatDotIcon, null))), active && /* @__PURE__ */ React114.createElement(CheckIcon6, { width: 16, height: 16 }))
26682
+ /* @__PURE__ */ React114.createElement(Flex, { align: "center", css: { ml: "auto", color: "$on_primary_high" } }, unreadCount > 0 && /* @__PURE__ */ React114.createElement(Tooltip, { title: `${unreadCount} unread` }, /* @__PURE__ */ React114.createElement(Box, { css: { mr: active ? "$3" : 0 } }, /* @__PURE__ */ React114.createElement(ChatDotIcon, null))), active && /* @__PURE__ */ React114.createElement(CheckIcon6, { width: 16, height: 16 }))
26675
26683
  );
26676
26684
  };
26677
26685
  var SelectorHeader = React114.memo(
@@ -26946,7 +26954,22 @@ var useEmojiPickerStyles = (showing) => {
26946
26954
  var _a7, _b7;
26947
26955
  const root = (_b7 = (_a7 = ref.current) == null ? void 0 : _a7.querySelector("em-emoji-picker")) == null ? void 0 : _b7.shadowRoot;
26948
26956
  const style = document.createElement("style");
26949
- style.textContent = "\n #root {\n --em-rgb-color: var(--hms-ui-colors-on_surface_high);\n --em-rgb-input: var(--hms-ui-colors-on_primary_high);\n --em-color-border: var(--hms-ui-colors-surface_bright);\n --color-b: var(--hms-ui-colors-on_surface_high);\n --rgb-background: transparent;\n color: var(--hms-ui-colors-on_surface_high);\n font-family: var(--hms-ui-fonts-sans);\n }\n .sticky {\n top: 0.25rem;\n background-color: var(--hms-ui-colors-surface_bright);\n margin-top: 0.5rem;\n }\n ";
26957
+ style.textContent = `
26958
+ #root {
26959
+ --em-rgb-color: var(--hms-ui-colors-on_surface_high);
26960
+ --em-rgb-input: var(--hms-ui-colors-on_primary_high);
26961
+ --em-color-border: var(--hms-ui-colors-surface_bright);
26962
+ --color-b: var(--hms-ui-colors-on_surface_high);
26963
+ --rgb-background: transparent;
26964
+ color: var(--hms-ui-colors-on_surface_high);
26965
+ font-family: var(--hms-ui-fonts-sans);
26966
+ }
26967
+ .sticky {
26968
+ top: 0.25rem;
26969
+ background-color: var(--hms-ui-colors-surface_bright);
26970
+ margin-top: 0.5rem;
26971
+ }
26972
+ `;
26950
26973
  root == null ? void 0 : root.appendChild(style);
26951
26974
  }, 0);
26952
26975
  }
@@ -27029,15 +27052,15 @@ var ChatFooter = ({ onSend, children }) => {
27029
27052
  }, [defaultSelection, selectedPeer, selectedRole, setRoleSelector, isMobile, isLandscapeHLSStream, elements == null ? void 0 : elements.chat]);
27030
27053
  const resetInputHeight = useCallback29(() => {
27031
27054
  if (inputRef.current) {
27032
- inputRef.current.style.height = "".concat(Math.max(
27055
+ inputRef.current.style.height = `${Math.max(
27033
27056
  32,
27034
27057
  inputRef.current.value ? Math.min(inputRef.current.scrollHeight, 24 * 4) : 0
27035
- ), "px");
27058
+ )}px`;
27036
27059
  }
27037
27060
  }, []);
27038
27061
  const updateInputHeight = useCallback29(() => {
27039
27062
  if (inputRef.current) {
27040
- inputRef.current.style.height = "".concat(Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4)), "px");
27063
+ inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27041
27064
  }
27042
27065
  }, []);
27043
27066
  const sendMessage = useCallback29(() => __async(void 0, null, function* () {
@@ -27062,7 +27085,7 @@ var ChatFooter = ({ onSend, children }) => {
27062
27085
  } catch (error) {
27063
27086
  const err = error;
27064
27087
  ToastManager.addToast({
27065
- title: err.message.startsWith("Invalid peer") ? "".concat(selectedPeer.name, " is not in this room") : err.message
27088
+ title: err.message.startsWith("Invalid peer") ? `${selectedPeer.name} is not in this room` : err.message
27066
27089
  });
27067
27090
  }
27068
27091
  }), [selectedRole, selectedPeer, hmsActions, onSend]);
@@ -27172,7 +27195,7 @@ var ChatFooter = ({ onSend, children }) => {
27172
27195
  {
27173
27196
  onSelect: (emoji) => {
27174
27197
  if (inputRef.current) {
27175
- inputRef.current.value += " ".concat(emoji.native, " ");
27198
+ inputRef.current.value += ` ${emoji.native} `;
27176
27199
  }
27177
27200
  }
27178
27201
  }
@@ -27644,7 +27667,7 @@ var PaginatedParticipants = ({ roleName, onBack }) => {
27644
27667
  "data-testid": "close_sidepane"
27645
27668
  },
27646
27669
  /* @__PURE__ */ React122.createElement(CrossIcon22, null)
27647
- )), /* @__PURE__ */ React122.createElement(ParticipantSearch, { onSearch: (search2) => setSearch(search2), placeholder: "Search for ".concat(roleName) }), /* @__PURE__ */ React122.createElement(Flex, { direction: "column", css: { border: "1px solid $border_default", borderRadius: "$1", flex: "1 1 0" } }, /* @__PURE__ */ React122.createElement(Flex, { align: "center", css: { height: ROW_HEIGHT, borderBottom: "1px solid $border_default", px: "$8" } }, /* @__PURE__ */ React122.createElement(Text, { css: { fontSize: "$space$7" } }, roleName, "(", getFormattedCount(peers.length), "/", getFormattedCount(total), ")")), /* @__PURE__ */ React122.createElement(Box, { css: { flex: "1 1 0", overflowY: "auto", overflowX: "hidden", mr: "-$10" } }, /* @__PURE__ */ React122.createElement(
27670
+ )), /* @__PURE__ */ React122.createElement(ParticipantSearch, { onSearch: (search2) => setSearch(search2), placeholder: `Search for ${roleName}` }), /* @__PURE__ */ React122.createElement(Flex, { direction: "column", css: { border: "1px solid $border_default", borderRadius: "$1", flex: "1 1 0" } }, /* @__PURE__ */ React122.createElement(Flex, { align: "center", css: { height: ROW_HEIGHT, borderBottom: "1px solid $border_default", px: "$8" } }, /* @__PURE__ */ React122.createElement(Text, { css: { fontSize: "$space$7" } }, roleName, "(", getFormattedCount(peers.length), "/", getFormattedCount(total), ")")), /* @__PURE__ */ React122.createElement(Box, { css: { flex: "1 1 0", overflowY: "auto", overflowX: "hidden", mr: "-$10" } }, /* @__PURE__ */ React122.createElement(
27648
27671
  VariableSizeList2,
27649
27672
  {
27650
27673
  itemSize: (index) => index === filteredPeers.length + 1 ? 16 : ROW_HEIGHT,
@@ -28274,7 +28297,7 @@ var TileMenu = ({
28274
28297
  StyledMenuTile.Trigger,
28275
28298
  {
28276
28299
  "data-testid": "participant_menu_btn",
28277
- css: { bg: "".concat(theme2.colors.background_dim.value, "A3"), p: "$2", w: "unset", h: "unset" },
28300
+ css: { bg: `${theme2.colors.background_dim.value}A3`, p: "$2", w: "unset", h: "unset" },
28278
28301
  onClick: (e) => e.stopPropagation(),
28279
28302
  className: dragClassName
28280
28303
  },
@@ -28293,7 +28316,7 @@ var TileMenu = ({
28293
28316
  borderBottom: "1px solid $border_default"
28294
28317
  }
28295
28318
  },
28296
- /* @__PURE__ */ React127.createElement(Box, null, /* @__PURE__ */ React127.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, peer == null ? void 0 : peer.name, isLocal ? " (You)" : null), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ React127.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
28319
+ /* @__PURE__ */ React127.createElement(Box, null, /* @__PURE__ */ React127.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, peer == null ? void 0 : peer.name, isLocal ? ` (You)` : null), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ React127.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
28297
28320
  /* @__PURE__ */ React127.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ React127.createElement(CrossIcon24, null))
28298
28321
  ), /* @__PURE__ */ React127.createElement(Box, { css: { px: "$8", pb: "$8", maxHeight: "80vh", overflowY: "auto" } }, /* @__PURE__ */ React127.createElement(TileMenuContent, __spreadProps(__spreadValues({}, props), { closeSheetOnClick: () => setOpen(false) }))))) : /* @__PURE__ */ React127.createElement(StyledMenuTile.Content, { side: "top", align: "end", css: { maxHeight: "$80", overflowY: "auto" } }, /* @__PURE__ */ React127.createElement(TileMenuContent, __spreadValues({}, props)))), showNameChangeModal && /* @__PURE__ */ React127.createElement(ChangeNameModal, { onOpenChange: setShowNameChangeModal }), showRoleChangeModal && /* @__PURE__ */ React127.createElement(RoleChangeModal, { peerId: peerID, onOpenChange: setShowRoleChangeModal }));
28299
28322
  };
@@ -28304,11 +28327,11 @@ init_define_process_env();
28304
28327
  var PEER_NAME_PLACEHOLDER = "peerName";
28305
28328
  var labelMap = /* @__PURE__ */ new Map([
28306
28329
  [[true, "screen"].toString(), "Your Screen"],
28307
- [[true, "regular"].toString(), "You (".concat(PEER_NAME_PLACEHOLDER, ")")],
28308
- [[false, "screen"].toString(), "".concat(PEER_NAME_PLACEHOLDER, "'s Screen")],
28330
+ [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28331
+ [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
28309
28332
  [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
28310
- [[true, void 0].toString(), "You (".concat(PEER_NAME_PLACEHOLDER, ")")],
28311
- [[false, void 0].toString(), "".concat(PEER_NAME_PLACEHOLDER)]
28333
+ [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28334
+ [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
28312
28335
  ]);
28313
28336
  var getVideoTileLabel = ({ peerName, isLocal, track }) => {
28314
28337
  const isPeerPresent = peerName !== void 0;
@@ -28320,9 +28343,9 @@ var getVideoTileLabel = ({ peerName, isLocal, track }) => {
28320
28343
  if (label) {
28321
28344
  label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
28322
28345
  } else {
28323
- label = "".concat(peerName, " ").concat(track.source);
28346
+ label = `${peerName} ${track.source}`;
28324
28347
  }
28325
- return "".concat(label).concat(isLocallyMuted ? " (Muted for you)" : "");
28348
+ return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
28326
28349
  };
28327
28350
 
28328
28351
  // src/Prebuilt/components/VideoTile.tsx
@@ -28389,7 +28412,7 @@ var Tile = ({
28389
28412
  width,
28390
28413
  height
28391
28414
  }, rootCSS),
28392
- "data-testid": "participant_tile_".concat(peerName)
28415
+ "data-testid": `participant_tile_${peerName}`
28393
28416
  },
28394
28417
  peerName !== void 0 ? /* @__PURE__ */ React128.createElement(
28395
28418
  StyledVideoTile.Container,
@@ -28460,21 +28483,6 @@ import {
28460
28483
  } from "@100mslive/react-sdk";
28461
28484
  import { BlurPersonHighIcon, CrossCircleIcon as CrossCircleIcon3, CrossIcon as CrossIcon25 } from "@100mslive/react-icons";
28462
28485
 
28463
- // src/Prebuilt/components/VirtualBackground/util.tsx
28464
- init_define_process_env();
28465
- import { parsedUserAgent as parsedUserAgent3 } from "@100mslive/react-sdk";
28466
- var doesBrowserSupportEffectsSDK = () => {
28467
- var _a7, _b7;
28468
- if (!isSafari) {
28469
- return true;
28470
- }
28471
- const browserVersion = ((_b7 = (_a7 = parsedUserAgent3) == null ? void 0 : _a7.getBrowser()) == null ? void 0 : _b7.version) || "16";
28472
- if (browserVersion && parseInt(browserVersion.split(".")[0]) < 17) {
28473
- return false;
28474
- }
28475
- return true;
28476
- };
28477
-
28478
28486
  // src/Prebuilt/components/VirtualBackground/VBCollection.tsx
28479
28487
  init_define_process_env();
28480
28488
  import React130 from "react";
@@ -28499,10 +28507,10 @@ var Root25 = ({
28499
28507
  p: "$5",
28500
28508
  borderRadius: "$1",
28501
28509
  bg: "$surface_bright",
28502
- border: "4px solid ".concat(isActive ? "$primary_default" : "$surface_dim"),
28510
+ border: `4px solid ${isActive ? "$primary_default" : "$surface_dim"}`,
28503
28511
  cursor: "pointer",
28504
28512
  "&:hover": { border: "4px solid $primary_dim" }
28505
- }, mediaURL ? { height: "$20", backgroundImage: 'url("'.concat(mediaURL, '")'), backgroundSize: "cover" } : {}),
28513
+ }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
28506
28514
  onClick: () => __async(void 0, null, function* () {
28507
28515
  yield onClick == null ? void 0 : onClick();
28508
28516
  })
@@ -28535,7 +28543,7 @@ var VBCollection = ({
28535
28543
  VBOption.Root,
28536
28544
  __spreadProps(__spreadValues({
28537
28545
  key: option.value,
28538
- testid: option.value === HMSVirtualBackgroundTypes3.IMAGE ? "virtual_bg_option-".concat(index) : option.value
28546
+ testid: option.value === HMSVirtualBackgroundTypes3.IMAGE ? `virtual_bg_option-${index}` : option.value
28539
28547
  }, option), {
28540
28548
  isActive: activeBackground === option.value
28541
28549
  }),
@@ -28560,7 +28568,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28560
28568
  const [blurAmount, setBlurAmount] = useState56(VBHandler.getBlurAmount() || 0.5);
28561
28569
  const roomState = useHMSStore69(selectRoomState5);
28562
28570
  const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
28563
- const [isBlurSupported, setIsBlurSupported] = useState56(false);
28571
+ const isEffectsSupported = VBHandler.isEffectsSupported();
28564
28572
  const isEffectsEnabled = useHMSStore69(Rm);
28565
28573
  const effectsKey = useHMSStore69(Cm);
28566
28574
  const isMobile = useMedia24(config.media.md);
@@ -28587,8 +28595,6 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28587
28595
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
28588
28596
  return;
28589
28597
  }
28590
- const isEffectsSupported = doesBrowserSupportEffectsSDK();
28591
- setIsBlurSupported(isEffectsSupported);
28592
28598
  try {
28593
28599
  pluginLoadingRef.current = true;
28594
28600
  if (isEffectsEnabled && isEffectsSupported && effectsKey) {
@@ -28628,6 +28634,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28628
28634
  role,
28629
28635
  isPluginAdded,
28630
28636
  isEffectsEnabled,
28637
+ isEffectsSupported,
28631
28638
  effectsKey,
28632
28639
  track == null ? void 0 : track.id,
28633
28640
  background,
@@ -28691,7 +28698,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28691
28698
  yield (_a8 = VBHandler) == null ? void 0 : _a8.setBlur(blurAmount);
28692
28699
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes4.BLUR);
28693
28700
  }),
28694
- supported: isBlurSupported
28701
+ supported: isEffectsSupported && isEffectsEnabled
28695
28702
  }
28696
28703
  ],
28697
28704
  activeBackground: background
@@ -28752,7 +28759,7 @@ var Wrapper3 = styled("div", {
28752
28759
  },
28753
28760
  "@md": {
28754
28761
  p: "$6 $8",
28755
- animation: "".concat(translateAcross({ yFrom: "100%" }), " 150ms cubic-bezier(0.22, 1, 0.36, 1)")
28762
+ animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
28756
28763
  },
28757
28764
  variants: {
28758
28765
  landscapeStream: {
@@ -29028,7 +29035,7 @@ var getParticipantChipContent = (peerCount = 0) => {
29028
29035
  return "You are the first to join";
29029
29036
  }
29030
29037
  const formattedNum = getFormattedCount(peerCount);
29031
- return "".concat(formattedNum, " other").concat(parseInt(formattedNum) === 1 ? "" : "s", " in the session");
29038
+ return `${formattedNum} other${parseInt(formattedNum) === 1 ? "" : "s"} in the session`;
29032
29039
  };
29033
29040
  var useLocalTileAspectRatio = () => {
29034
29041
  const localPeer = useHMSStore71(selectLocalPeer9);
@@ -29116,7 +29123,7 @@ var PreviewJoin = ({
29116
29123
  textColor: "#FFF",
29117
29124
  icon: /* @__PURE__ */ React136.createElement(Box, { css: { h: "$sm", w: "$sm", backgroundColor: "$on_primary_high", borderRadius: "$round" } })
29118
29125
  }
29119
- ) : null, /* @__PURE__ */ React136.createElement(Chip_default, { content: getParticipantChipContent(peerCount), hideIfNoContent: true }))), toggleVideo ? /* @__PURE__ */ React136.createElement(PreviewTile, { name, error: previewError }) : null, /* @__PURE__ */ React136.createElement(Box, { css: { w: "100%", maxWidth: "".concat(Math.max(aspectRatio, 1) * 340, "px") } }, /* @__PURE__ */ React136.createElement(PreviewControls, { hideSettings: !toggleVideo && !toggleAudio, vbEnabled: !!virtual_background }), /* @__PURE__ */ React136.createElement(
29126
+ ) : null, /* @__PURE__ */ React136.createElement(Chip_default, { content: getParticipantChipContent(peerCount), hideIfNoContent: true }))), toggleVideo ? /* @__PURE__ */ React136.createElement(PreviewTile, { name, error: previewError }) : null, /* @__PURE__ */ React136.createElement(Box, { css: { w: "100%", maxWidth: `${Math.max(aspectRatio, 1) * 340}px` } }, /* @__PURE__ */ React136.createElement(PreviewControls, { hideSettings: !toggleVideo && !toggleAudio, vbEnabled: !!virtual_background }), /* @__PURE__ */ React136.createElement(
29120
29127
  PreviewForm_default,
29121
29128
  {
29122
29129
  name,
@@ -29465,7 +29472,7 @@ var InsetTile = ({ peerId }) => {
29465
29472
  const resizeObserver = new ResizeObserver((entries) => {
29466
29473
  entries.forEach((entry) => {
29467
29474
  if (entry.target === node.parentElement) {
29468
- node.style.transform = "translate(0,0)";
29475
+ node.style.transform = `translate(0,0)`;
29469
29476
  }
29470
29477
  });
29471
29478
  });
@@ -29787,12 +29794,12 @@ var SecondarySection = ({
29787
29794
  }
29788
29795
  const gridStyles = hasSidebar ? {
29789
29796
  gridTemplateColumns: "1fr",
29790
- gridTemplateRows: "repeat(".concat(tiles.length, ", minmax(0, 1fr))"),
29797
+ gridTemplateRows: `repeat(${tiles.length}, minmax(0, 1fr))`,
29791
29798
  maxHeight: "100%",
29792
29799
  width: 240
29793
29800
  } : {
29794
29801
  gridTemplateRows: React145.Children.count(children) > 0 ? "136px auto" : "154px",
29795
- gridTemplateColumns: "repeat(".concat(tiles.length, ", minmax(0, 1fr))")
29802
+ gridTemplateColumns: `repeat(${tiles.length}, minmax(0, 1fr))`
29796
29803
  };
29797
29804
  return /* @__PURE__ */ React145.createElement(
29798
29805
  Box,
@@ -29825,7 +29832,7 @@ var SecondarySection = ({
29825
29832
  }, tileLayoutProps)
29826
29833
  );
29827
29834
  }),
29828
- children && /* @__PURE__ */ React145.createElement(Box, { css: { gridColumn: hasSidebar ? 1 : "1/span ".concat(tiles.length) } }, children)
29835
+ children && /* @__PURE__ */ React145.createElement(Box, { css: { gridColumn: hasSidebar ? 1 : `1/span ${tiles.length}` } }, children)
29829
29836
  );
29830
29837
  };
29831
29838
  var ProminenceLayout = {
@@ -30198,7 +30205,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
30198
30205
  isFullScreenSupported && isMouseHovered ? /* @__PURE__ */ React150.createElement(
30199
30206
  StyledVideoTile.FullScreenButton,
30200
30207
  {
30201
- css: { bg: "".concat(theme2.colors.background_dim.value, "A3") },
30208
+ css: { bg: `${theme2.colors.background_dim.value}A3` },
30202
30209
  onClick: () => setFullscreen(!fullscreen)
30203
30210
  },
30204
30211
  isFullscreen ? /* @__PURE__ */ React150.createElement(ShrinkIcon2, null) : /* @__PURE__ */ React150.createElement(ExpandIcon3, null)
@@ -30213,7 +30220,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
30213
30220
  h: "$14",
30214
30221
  right: isFullScreenSupported ? "$17" : "$2",
30215
30222
  zIndex: 5,
30216
- bg: "".concat(theme2.colors.background_dim.value, "A3")
30223
+ bg: `${theme2.colors.background_dim.value}A3`
30217
30224
  }
30218
30225
  },
30219
30226
  /* @__PURE__ */ React150.createElement(LayoutModeSelector, null)
@@ -30311,7 +30318,7 @@ var WhiteboardEmbed = () => {
30311
30318
  }
30312
30319
  }
30313
30320
  },
30314
- /* @__PURE__ */ React152.createElement(Box, { css: { size: "100%" } }, /* @__PURE__ */ React152.createElement(Whiteboard, { token, endpoint: "https://".concat(endpoint), zoomToContent }))
30321
+ /* @__PURE__ */ React152.createElement(Box, { css: { size: "100%" } }, /* @__PURE__ */ React152.createElement(Whiteboard, { token, endpoint: `https://${endpoint}`, zoomToContent }))
30315
30322
  );
30316
30323
  };
30317
30324
  var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
@@ -30597,7 +30604,7 @@ var EmbedComponent = () => {
30597
30604
  } catch (err) {
30598
30605
  resetConfig();
30599
30606
  ToastManager.addToast({
30600
- title: "Error while sharing embed url ".concat(err.message || ""),
30607
+ title: `Error while sharing embed url ${err.message || ""}`,
30601
30608
  variant: "error"
30602
30609
  });
30603
30610
  }
@@ -30657,7 +30664,7 @@ var PDFView = () => {
30657
30664
  } catch (err) {
30658
30665
  resetConfig();
30659
30666
  ToastManager.addToast({
30660
- title: "Error while sharing annotator ".concat(err.message || ""),
30667
+ title: `Error while sharing annotator ${err.message || ""}`,
30661
30668
  variant: "error"
30662
30669
  });
30663
30670
  }
@@ -30948,7 +30955,7 @@ var useCloseScreenshareWhiteboard = () => {
30948
30955
  };
30949
30956
 
30950
30957
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30951
- var HLSView = React157.lazy(() => Promise.resolve().then(() => __toESM(__require("./HLSView-NMEMV6IQ.js"))));
30958
+ var HLSView = React157.lazy(() => import("./HLSView-U7F2BKBY.js"));
30952
30959
  var VideoStreamingSection = ({
30953
30960
  screenType,
30954
30961
  elements,
@@ -31133,7 +31140,7 @@ var CamaraFlipActions = () => {
31133
31140
  yield actions.switchCamera();
31134
31141
  } catch (e) {
31135
31142
  ToastManager.addToast({
31136
- title: "Error while flipping camera ".concat(e.message || ""),
31143
+ title: `Error while flipping camera ${e.message || ""}`,
31137
31144
  variant: "error"
31138
31145
  });
31139
31146
  }
@@ -31179,7 +31186,7 @@ var AudioActions = () => {
31179
31186
  });
31180
31187
  } catch (e) {
31181
31188
  ToastManager.addToast({
31182
- title: "Error while changing audio device ".concat(e.message || ""),
31189
+ title: `Error while changing audio device ${e.message || ""}`,
31183
31190
  variant: "error"
31184
31191
  });
31185
31192
  }
@@ -31383,7 +31390,7 @@ var ConferenceScreen = () => {
31383
31390
  css: {
31384
31391
  h: "$18",
31385
31392
  transition: "margin 0.3s ease-in-out",
31386
- marginTop: hideControlsForStreaming ? "-".concat((_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight, "px") : "none",
31393
+ marginTop: hideControlsForStreaming ? `-${(_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight}px` : "none",
31387
31394
  "@md": {
31388
31395
  h: "$17"
31389
31396
  }
@@ -31427,7 +31434,7 @@ var ConferenceScreen = () => {
31427
31434
  maxHeight: "$24",
31428
31435
  transition: "margin 0.3s ease-in-out",
31429
31436
  bg: "$background_dim",
31430
- marginBottom: hideControlsForStreaming ? "-".concat((_f = footerRef.current) == null ? void 0 : _f.clientHeight, "px") : void 0,
31437
+ marginBottom: hideControlsForStreaming ? `-${(_f = footerRef.current) == null ? void 0 : _f.clientHeight}px` : void 0,
31431
31438
  "@md": {
31432
31439
  maxHeight: "unset",
31433
31440
  bg: screenProps.screenType === "hls_live_streaming" ? "transparent" : "$background_dim"
@@ -31474,7 +31481,7 @@ var ErrorBoundary = class extends Component {
31474
31481
  this.state = { error: null, errorInfo: null, isErrorCopied: false };
31475
31482
  }
31476
31483
  componentDidCatch(error, errorInfo) {
31477
- console.error("react error boundary - ".concat(error.message), error, errorInfo);
31484
+ console.error(`react error boundary - ${error.message}`, error, errorInfo);
31478
31485
  this.setState({
31479
31486
  error: error == null ? void 0 : error.message,
31480
31487
  errorInfo
@@ -31595,7 +31602,7 @@ var Init = () => {
31595
31602
  useEffect62(() => {
31596
31603
  function resetHeight() {
31597
31604
  var _a7;
31598
- document.body.style.height = "".concat(((_a7 = window.visualViewport) == null ? void 0 : _a7.height) || window.innerHeight, "px");
31605
+ document.body.style.height = `${((_a7 = window.visualViewport) == null ? void 0 : _a7.height) || window.innerHeight}px`;
31599
31606
  }
31600
31607
  window.addEventListener("resize", resetHeight);
31601
31608
  resetHeight();
@@ -31910,7 +31917,7 @@ var FeedbackHeader = ({
31910
31917
  gap: "$4"
31911
31918
  },
31912
31919
  onClick: () => onEmojiClicked(index),
31913
- key: "".concat(index)
31920
+ key: `${index}`
31914
31921
  },
31915
31922
  /* @__PURE__ */ React164.createElement(
31916
31923
  Text,
@@ -32002,7 +32009,7 @@ var FeedbackForm = ({
32002
32009
  /* @__PURE__ */ React164.createElement(
32003
32010
  Checkbox.Root,
32004
32011
  {
32005
- id: "".concat(option, "-").concat(index),
32012
+ id: `${option}-${index}`,
32006
32013
  checked: selectedReasons.has(index),
32007
32014
  onCheckedChange: (checked) => handleCheckedChange(checked, index),
32008
32015
  css: {
@@ -32339,7 +32346,7 @@ var ChatNotifications = () => {
32339
32346
  const notification = {
32340
32347
  id: uuid4(),
32341
32348
  icon: chatState.enabled ? /* @__PURE__ */ React170.createElement(ChatUnreadIcon, null) : /* @__PURE__ */ React170.createElement(ChatIcon2, null),
32342
- title: "Chat ".concat(chatState.enabled ? "resumed" : "paused", " by ").concat((_b7 = chatState.updatedBy) == null ? void 0 : _b7.userName)
32349
+ title: `Chat ${chatState.enabled ? "resumed" : "paused"} by ${(_b7 = chatState.updatedBy) == null ? void 0 : _b7.userName}`
32343
32350
  };
32344
32351
  ToastManager.addToast(notification);
32345
32352
  }, [chatState, localPeerId]);
@@ -32428,13 +32435,13 @@ var ToastConfig = {
32428
32435
  single: function(notification) {
32429
32436
  var _a7;
32430
32437
  return {
32431
- title: "".concat((_a7 = notification.data) == null ? void 0 : _a7.name, " joined"),
32438
+ title: `${(_a7 = notification.data) == null ? void 0 : _a7.name} joined`,
32432
32439
  icon: /* @__PURE__ */ React171.createElement(PeopleAddIcon4, null)
32433
32440
  };
32434
32441
  },
32435
32442
  multiple: function(notifications) {
32436
32443
  return {
32437
- title: "".concat(notifications[notifications.length - 1].data.name, " and ").concat(notifications.length - 1, " others joined"),
32444
+ title: `${notifications[notifications.length - 1].data.name} and ${notifications.length - 1} others joined`,
32438
32445
  icon: /* @__PURE__ */ React171.createElement(PeopleAddIcon4, null)
32439
32446
  };
32440
32447
  }
@@ -32443,13 +32450,13 @@ var ToastConfig = {
32443
32450
  single: function(notification) {
32444
32451
  var _a7;
32445
32452
  return {
32446
- title: "".concat((_a7 = notification.data) == null ? void 0 : _a7.name, " left"),
32453
+ title: `${(_a7 = notification.data) == null ? void 0 : _a7.name} left`,
32447
32454
  icon: /* @__PURE__ */ React171.createElement(PeopleRemoveIcon4, null)
32448
32455
  };
32449
32456
  },
32450
32457
  multiple: function(notifications) {
32451
32458
  return {
32452
- title: "".concat(notifications[notifications.length - 1].data.name, " and ").concat(notifications.length - 1, " others left"),
32459
+ title: `${notifications[notifications.length - 1].data.name} and ${notifications.length - 1} others left`,
32453
32460
  icon: /* @__PURE__ */ React171.createElement(PeopleRemoveIcon4, null)
32454
32461
  };
32455
32462
  }
@@ -32458,7 +32465,7 @@ var ToastConfig = {
32458
32465
  single: (notification) => {
32459
32466
  var _a7;
32460
32467
  return {
32461
- title: "".concat((_a7 = notification.data) == null ? void 0 : _a7.name, " raised hand"),
32468
+ title: `${(_a7 = notification.data) == null ? void 0 : _a7.name} raised hand`,
32462
32469
  icon: /* @__PURE__ */ React171.createElement(HandIcon6, null)
32463
32470
  };
32464
32471
  },
@@ -32469,7 +32476,7 @@ var ToastConfig = {
32469
32476
  return (_a8 = notification.data) == null ? void 0 : _a8.id;
32470
32477
  })).size;
32471
32478
  return {
32472
- title: "".concat((_a7 = notifications[notifications.length - 1].data) == null ? void 0 : _a7.name, " ").concat(count > 1 ? "and ".concat(count, " others") : "", " raised hand"),
32479
+ title: `${(_a7 = notifications[notifications.length - 1].data) == null ? void 0 : _a7.name} ${count > 1 ? `and ${count} others` : ""} raised hand`,
32473
32480
  icon: /* @__PURE__ */ React171.createElement(HandIcon6, null)
32474
32481
  };
32475
32482
  }
@@ -32478,7 +32485,7 @@ var ToastConfig = {
32478
32485
  single: (notification) => {
32479
32486
  var _a7, _b7;
32480
32487
  return {
32481
- title: "".concat((_a7 = notification.data) == null ? void 0 : _a7.name, " raised hand"),
32488
+ title: `${(_a7 = notification.data) == null ? void 0 : _a7.name} raised hand`,
32482
32489
  icon: /* @__PURE__ */ React171.createElement(HandIcon6, null),
32483
32490
  action: /* @__PURE__ */ React171.createElement(HandRaiseAction, { id: (_b7 = notification.data) == null ? void 0 : _b7.id })
32484
32491
  };
@@ -32490,7 +32497,7 @@ var ToastConfig = {
32490
32497
  return (_a8 = notification.data) == null ? void 0 : _a8.id;
32491
32498
  })).size;
32492
32499
  return {
32493
- title: "".concat((_a7 = notifications[notifications.length - 1].data) == null ? void 0 : _a7.name, " ").concat(count > 1 ? "and ".concat(count, " others") : "", " raised hand"),
32500
+ title: `${(_a7 = notifications[notifications.length - 1].data) == null ? void 0 : _a7.name} ${count > 1 ? `and ${count} others` : ""} raised hand`,
32494
32501
  icon: /* @__PURE__ */ React171.createElement(HandIcon6, null),
32495
32502
  action: /* @__PURE__ */ React171.createElement(HandRaiseAction, { isSingleHandRaise: false })
32496
32503
  };
@@ -32500,14 +32507,14 @@ var ToastConfig = {
32500
32507
  single: (notification) => {
32501
32508
  var _a7;
32502
32509
  return {
32503
- title: "New message from ".concat((_a7 = notification.data) == null ? void 0 : _a7.senderName),
32510
+ title: `New message from ${(_a7 = notification.data) == null ? void 0 : _a7.senderName}`,
32504
32511
  icon: /* @__PURE__ */ React171.createElement(ChatUnreadIcon2, null),
32505
32512
  action: /* @__PURE__ */ React171.createElement(ChatAction, null)
32506
32513
  };
32507
32514
  },
32508
32515
  multiple: (notifications) => {
32509
32516
  return {
32510
- title: "".concat(notifications.length, " new messages"),
32517
+ title: `${notifications.length} new messages`,
32511
32518
  icon: /* @__PURE__ */ React171.createElement(ChatUnreadIcon2, null),
32512
32519
  action: /* @__PURE__ */ React171.createElement(ChatAction, null)
32513
32520
  };
@@ -32516,7 +32523,7 @@ var ToastConfig = {
32516
32523
  RECONNECTED: {
32517
32524
  single: (online) => {
32518
32525
  return {
32519
- title: "You are now ".concat(online ? "online" : "connected"),
32526
+ title: `You are now ${online ? "online" : "connected"}`,
32520
32527
  icon: /* @__PURE__ */ React171.createElement(ConnectivityIcon, null),
32521
32528
  variant: "success",
32522
32529
  duration: 3e3
@@ -32526,7 +32533,9 @@ var ToastConfig = {
32526
32533
  RECONNECTING: {
32527
32534
  single: (message) => {
32528
32535
  return {
32529
- title: "You are offline for now. while we try to reconnect, please check\n your internet connection. ".concat(message, ".\n "),
32536
+ title: `You are offline for now. while we try to reconnect, please check
32537
+ your internet connection. ${message}.
32538
+ `,
32530
32539
  icon: /* @__PURE__ */ React171.createElement(PoorConnectivityIcon2, null),
32531
32540
  variant: "warning",
32532
32541
  duration: 3e4
@@ -32634,7 +32643,7 @@ var HandRaisedNotifications = () => {
32634
32643
  const peer = vanillaStore.getState(selectPeerByID6(notification.data.id));
32635
32644
  const handRaisedPeers = vanillaStore.getState(selectHandRaisedPeers2);
32636
32645
  if (amIScreenSharing && hasPeerHandRaised) {
32637
- const title = "".concat(peer == null ? void 0 : peer.name, " ").concat(handRaisedPeers.length > 1 ? "and ".concat(handRaisedPeers.length - 1, " others") : "", " raised hand");
32646
+ const title = `${peer == null ? void 0 : peer.name} ${handRaisedPeers.length > 1 ? `and ${handRaisedPeers.length - 1} others` : ""} raised hand`;
32638
32647
  showNotification(title, { icon: logoURL });
32639
32648
  }
32640
32649
  },
@@ -32689,7 +32698,7 @@ var PeerNotifications = () => {
32689
32698
  if (!(notification == null ? void 0 : notification.data)) {
32690
32699
  return;
32691
32700
  }
32692
- console.debug("[".concat(notification.type, "]"), notification);
32701
+ console.debug(`[${notification.type}]`, notification);
32693
32702
  switch (notification.type) {
32694
32703
  case HMSNotificationTypes4.PEER_JOINED:
32695
32704
  if (!isPeerJoinSubscribed) {
@@ -32780,7 +32789,7 @@ var PermissionErrorModal = ({ error }) => {
32780
32789
  ) : null,
32781
32790
  /* @__PURE__ */ React173.createElement(Text, { variant: "h6" }, "We can't access your ", deviceType)
32782
32791
  ),
32783
- /* @__PURE__ */ React173.createElement(Text, { variant: "sm", css: { pt: "$4", pb: "$10", color: "$on_surface_medium" } }, isMobile && isIOS ? 'Enable permissions by reloading this page and clicking "Allow" on the pop-up, or change settings from the address bar.' : null, isMobile && isAndroid ? "To allow other users to see and hear you, click the blocked camera icon in your browser's address bar." : null, !isMobile ? "Access to ".concat(deviceType, " is required. ") : null, isSystemError && !isMobile ? "Enable permissions for ".concat(deviceType).concat(deviceType === "screen" ? "share" : "", " from sytem settings") : null, !isSystemError && !isMobile ? "Enable permissions for ".concat(deviceType).concat(deviceType === "screen" ? "share" : "", " from address bar or browser settings.") : null),
32792
+ /* @__PURE__ */ React173.createElement(Text, { variant: "sm", css: { pt: "$4", pb: "$10", color: "$on_surface_medium" } }, isMobile && isIOS ? 'Enable permissions by reloading this page and clicking "Allow" on the pop-up, or change settings from the address bar.' : null, isMobile && isAndroid ? `To allow other users to see and hear you, click the blocked camera icon in your browser's address bar.` : null, !isMobile ? `Access to ${deviceType} is required. ` : null, isSystemError && !isMobile ? `Enable permissions for ${deviceType}${deviceType === "screen" ? "share" : ""} from sytem settings` : null, !isSystemError && !isMobile ? `Enable permissions for ${deviceType}${deviceType === "screen" ? "share" : ""} from address bar or browser settings.` : null),
32784
32793
  isMobile && isIOS ? /* @__PURE__ */ React173.createElement(React173.Fragment, null, /* @__PURE__ */ React173.createElement(Button, { onClick: () => window.location.reload(), css: { w: "100%", mb: "$6" } }, "Reload"), /* @__PURE__ */ React173.createElement(Button, { outlined: true, variant: "standard", onClick: () => setDeviceType(""), css: { w: "100%" } }, "Continue anyway")) : null,
32785
32794
  isMobile && isAndroid ? /* @__PURE__ */ React173.createElement(React173.Fragment, null, /* @__PURE__ */ React173.createElement(Button, { onClick: () => setDeviceType(""), css: { w: "100%", mb: "$6" } }, "I've allowed access"), /* @__PURE__ */ React173.createElement(Button, { outlined: true, variant: "standard", onClick: () => setDeviceType(""), css: { w: "100%" } }, "Continue anyway")) : null,
32786
32795
  !isMobile ? /* @__PURE__ */ React173.createElement(Flex, { justify: "end", css: { w: "100%" } }, /* @__PURE__ */ React173.createElement(Button, { outlined: true, variant: "standard", onClick: () => setDeviceType("") }, "Dismiss")) : null
@@ -32862,7 +32871,7 @@ var TrackBulkUnmuteModal = () => {
32862
32871
  RequestDialog,
32863
32872
  {
32864
32873
  title: "Unmute request",
32865
- body: "".concat(peer == null ? void 0 : peer.name, " is requesting you to unmute your ").concat(Array.from(types).join(",")),
32874
+ body: `${peer == null ? void 0 : peer.name} is requesting you to unmute your ${Array.from(types).join(",")}`,
32866
32875
  onOpenChange: (value) => !value && setMuteNotification(null),
32867
32876
  onAction: () => {
32868
32877
  tracks.forEach((track) => {
@@ -32889,7 +32898,7 @@ var TrackNotifications = () => {
32889
32898
  const notification = useHMSNotifications8(notificationTypes3);
32890
32899
  useEffect72(() => {
32891
32900
  if (notification) {
32892
- console.debug("[".concat(notification.type, "]"), notification);
32901
+ console.debug(`[${notification.type}]`, notification);
32893
32902
  }
32894
32903
  }, [notification]);
32895
32904
  return null;
@@ -32934,9 +32943,9 @@ var TrackUnmuteModal = () => {
32934
32943
  return /* @__PURE__ */ React175.createElement(
32935
32944
  RequestDialog,
32936
32945
  {
32937
- title: "Unmute your ".concat(track.type, "?"),
32946
+ title: `Unmute your ${track.type}?`,
32938
32947
  onOpenChange: (value) => !value && setMuteNotification(null),
32939
- body: "".concat(peer == null ? void 0 : peer.name, "is requesting you to unmute your ").concat(track == null ? void 0 : track.type, "."),
32948
+ body: `${peer == null ? void 0 : peer.name}is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
32940
32949
  onAction: () => {
32941
32950
  hmsActions.setEnabledTrack(track.id, enabled);
32942
32951
  setMuteNotification(null);
@@ -32959,7 +32968,7 @@ var TranscriptionNotifications = () => {
32959
32968
  if (!(notification == null ? void 0 : notification.data)) {
32960
32969
  return;
32961
32970
  }
32962
- console.debug("[".concat(notification.type, "]"), notification);
32971
+ console.debug(`[${notification.type}]`, notification);
32963
32972
  const transcriptionStates = notification.data;
32964
32973
  if (transcriptionStates.length > 0) {
32965
32974
  let id = "";
@@ -32967,21 +32976,21 @@ var TranscriptionNotifications = () => {
32967
32976
  ({ error }) => !!error,
32968
32977
  () => {
32969
32978
  id = ToastManager.replaceToast(toastId, {
32970
- title: "Failed to enable Closed Caption",
32979
+ title: `Failed to enable Closed Caption`,
32971
32980
  variant: "error",
32972
32981
  icon: /* @__PURE__ */ React176.createElement(AlertTriangleIcon8, { style: { marginRight: "0.5rem" } })
32973
32982
  });
32974
32983
  }
32975
32984
  ).with({ state: HMSTranscriptionState.STARTED }, () => {
32976
32985
  id = ToastManager.replaceToast(toastId, {
32977
- title: "Closed Captioning enabled for everyone",
32986
+ title: `Closed Captioning enabled for everyone`,
32978
32987
  variant: "standard",
32979
32988
  duration: 2e3,
32980
32989
  icon: /* @__PURE__ */ React176.createElement(ClosedCaptionIcon3, { style: { marginRight: "0.5rem" } })
32981
32990
  });
32982
32991
  }).with({ state: HMSTranscriptionState.STOPPED }, () => {
32983
32992
  id = ToastManager.replaceToast(toastId, {
32984
- title: "Closed Captioning disabled for everyone",
32993
+ title: `Closed Captioning disabled for everyone`,
32985
32994
  variant: "standard",
32986
32995
  duration: 2e3,
32987
32996
  icon: /* @__PURE__ */ React176.createElement(OpenCaptionIcon4, { style: { marginRight: "0.5rem" } })
@@ -33012,7 +33021,7 @@ function Notifications() {
33012
33021
  const { pipWindow } = usePIPWindow();
33013
33022
  const handleRoleChangeDenied = useCallback36((request) => {
33014
33023
  ToastManager.addToast({
33015
- title: "".concat(request.peerName, " denied your request to join the ").concat(request.role.name, " role"),
33024
+ title: `${request.peerName} denied your request to join the ${request.role.name} role`,
33016
33025
  variant: "error"
33017
33026
  });
33018
33027
  }, []);
@@ -33030,7 +33039,7 @@ function Notifications() {
33030
33039
  if (((_a8 = notification.data) == null ? void 0 : _a8.isTerminal) && ((_b8 = notification.data) == null ? void 0 : _b8.action) !== "INIT") {
33031
33040
  if ([500, 6008].includes((_c = notification.data) == null ? void 0 : _c.code)) {
33032
33041
  ToastManager.addToast({
33033
- title: "Error: ".concat((_d = notification.data) == null ? void 0 : _d.message)
33042
+ title: `Error: ${(_d = notification.data) == null ? void 0 : _d.message}`
33034
33043
  });
33035
33044
  } else if (((_e = notification.data) == null ? void 0 : _e.message) === "role limit reached") {
33036
33045
  ToastManager.addToast({
@@ -33055,13 +33064,13 @@ function Notifications() {
33055
33064
  if (!subscribedNotifications.ERROR)
33056
33065
  return;
33057
33066
  ToastManager.addToast({
33058
- title: "Error: ".concat((_k = notification.data) == null ? void 0 : _k.message, " - ").concat((_l = notification.data) == null ? void 0 : _l.description)
33067
+ title: `Error: ${(_k = notification.data) == null ? void 0 : _k.message} - ${(_l = notification.data) == null ? void 0 : _l.description}`
33059
33068
  });
33060
33069
  break;
33061
33070
  case HMSNotificationTypes11.ROLE_UPDATED: {
33062
33071
  if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
33063
33072
  ToastManager.addToast({
33064
- title: "You are now a ".concat(notification.data.roleName)
33073
+ title: `You are now a ${notification.data.roleName}`
33065
33074
  });
33066
33075
  updateRoomLayoutForRole == null ? void 0 : updateRoomLayoutForRole(notification.data.roleName);
33067
33076
  }
@@ -33071,14 +33080,16 @@ function Notifications() {
33071
33080
  const track = (_o2 = notification.data) == null ? void 0 : _o2.track;
33072
33081
  if (!notification.data.enabled) {
33073
33082
  ToastManager.addToast({
33074
- title: "Your ".concat(track.source, " ").concat(track.type, " was muted by\n ").concat((_p = notification.data.requestedBy) == null ? void 0 : _p.name, ".")
33083
+ title: `Your ${track.source} ${track.type} was muted by
33084
+ ${(_p = notification.data.requestedBy) == null ? void 0 : _p.name}.`
33075
33085
  });
33076
33086
  }
33077
33087
  break;
33078
33088
  case HMSNotificationTypes11.REMOVED_FROM_ROOM:
33079
33089
  case HMSNotificationTypes11.ROOM_ENDED:
33080
33090
  ToastManager.addToast({
33081
- title: "".concat(notification.message, ". \n ").concat(notification.data.reason && "Reason: ".concat(notification.data.reason))
33091
+ title: `${notification.message}.
33092
+ ${notification.data.reason && `Reason: ${notification.data.reason}`}`
33082
33093
  });
33083
33094
  break;
33084
33095
  case HMSNotificationTypes11.DEVICE_CHANGE_UPDATE:
@@ -33090,7 +33101,7 @@ function Notifications() {
33090
33101
  if (notification.data.startedBy !== localPeerID && screenProps.screenType !== "hls_live_streaming") {
33091
33102
  const pollStartedBy = vanillaStore.getState(selectPeerNameByID7(notification.data.startedBy)) || "Participant";
33092
33103
  const pollToastID = ToastManager.addToast({
33093
- title: "".concat(pollStartedBy, " started a ").concat(notification.data.type, ": ").concat(notification.data.title),
33104
+ title: `${pollStartedBy} started a ${notification.data.type}: ${notification.data.title}`,
33094
33105
  action: /* @__PURE__ */ React177.createElement(
33095
33106
  Button,
33096
33107
  {
@@ -33119,7 +33130,7 @@ function Notifications() {
33119
33130
  break;
33120
33131
  case HMSNotificationTypes11.NEW_MESSAGE:
33121
33132
  if (amIScreenSharing && !((_q = notification.data) == null ? void 0 : _q.ignored) && !pipWindow) {
33122
- showNotification("New message from ".concat(notification.data.senderName), {
33133
+ showNotification(`New message from ${notification.data.senderName}`, {
33123
33134
  body: notification.data.message,
33124
33135
  icon: logoURL
33125
33136
  });
@@ -33344,7 +33355,7 @@ function FlyingEmoji() {
33344
33355
  id,
33345
33356
  emojiId,
33346
33357
  senderName: nameToShow,
33347
- startingPoint: "".concat(startingPoint, "%"),
33358
+ startingPoint: `${startingPoint}%`,
33348
33359
  wiggleType: Math.random() < 0.5 ? 0 : 1
33349
33360
  }
33350
33361
  ];
@@ -33385,7 +33396,7 @@ function FlyingEmoji() {
33385
33396
  alignItems: "center",
33386
33397
  position: "absolute",
33387
33398
  bottom: 0,
33388
- animation: "".concat(flyAndFade(), " 5s forwards, ").concat(emoji.wiggleType === 0 ? wiggleLeftRight() : wiggleRightLeft(), " 1s ease-in-out infinite alternate")
33399
+ animation: `${flyAndFade()} 5s forwards, ${emoji.wiggleType === 0 ? wiggleLeftRight() : wiggleRightLeft()} 1s ease-in-out infinite alternate`
33389
33400
  },
33390
33401
  onAnimationEnd: () => setEmojis(emojis.filter((item) => item.id !== emoji.id))
33391
33402
  },
@@ -33545,7 +33556,11 @@ var HMSPrebuilt = React186.forwardRef(
33545
33556
  screens
33546
33557
  };
33547
33558
  if (!roomCode && !authToken) {
33548
- console.error('\n HMSPrebuilt can be initialised by providing: \n either "roomCode" or "authToken".\n Please check if you are providing the above values for initialising prebuilt.\n ');
33559
+ console.error(`
33560
+ HMSPrebuilt can be initialised by providing:
33561
+ either "roomCode" or "authToken".
33562
+ Please check if you are providing the above values for initialising prebuilt.
33563
+ `);
33549
33564
  throw Error("Incorrect initializing params for HMSPrebuilt component");
33550
33565
  }
33551
33566
  if (!hydrated) {
@@ -33587,12 +33602,12 @@ var HMSPrebuilt = React186.forwardRef(
33587
33602
  const { typography: typography2 } = layout || {};
33588
33603
  let fontFamily = ["sans-serif"];
33589
33604
  if (typography2 == null ? void 0 : typography2.font_family) {
33590
- fontFamily = ["".concat(typography2 == null ? void 0 : typography2.font_family), ...fontFamily];
33605
+ fontFamily = [`${typography2 == null ? void 0 : typography2.font_family}`, ...fontFamily];
33591
33606
  }
33592
33607
  return /* @__PURE__ */ React186.createElement(
33593
33608
  HMSThemeProvider,
33594
33609
  {
33595
- themeType: "".concat(theme2.name, "-").concat(Date.now()),
33610
+ themeType: `${theme2.name}-${Date.now()}`,
33596
33611
  theme: {
33597
33612
  //@ts-ignore: Prebuilt theme to match stiches theme
33598
33613
  colors: theme2.palette,
@@ -33936,7 +33951,7 @@ var MicTest = ({ setError }) => {
33936
33951
  Progress.Content,
33937
33952
  {
33938
33953
  style: {
33939
- transform: "translateX(-".concat(100 - audioLevel, "%)"),
33954
+ transform: `translateX(-${100 - audioLevel}%)`,
33940
33955
  transition: "transform 0.3s"
33941
33956
  }
33942
33957
  }
@@ -34002,79 +34017,79 @@ var operatingSystemIconInfo = {
34002
34017
  tizen: {
34003
34018
  key: "tizen",
34004
34019
  val: "Tizen",
34005
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Tizen_b99350214e/Tizen_b99350214e.svg")
34020
+ icon: `${CMS_MEDIA_SERVER}cms/Tizen_b99350214e/Tizen_b99350214e.svg`
34006
34021
  },
34007
34022
  "mac os": {
34008
34023
  key: "macos",
34009
34024
  val: "Mac OS",
34010
- icon: "".concat(CMS_MEDIA_SERVER, "cms/mac_OS_804456afd8/mac_OS_804456afd8.png")
34025
+ icon: `${CMS_MEDIA_SERVER}cms/mac_OS_804456afd8/mac_OS_804456afd8.png`
34011
34026
  },
34012
34027
  windows: {
34013
34028
  key: "windows",
34014
34029
  val: "Windows",
34015
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Windows_fdfe6749b6/Windows_fdfe6749b6.svg")
34030
+ icon: `${CMS_MEDIA_SERVER}cms/Windows_fdfe6749b6/Windows_fdfe6749b6.svg`
34016
34031
  },
34017
34032
  linux: {
34018
34033
  key: "linux",
34019
34034
  val: "Linux",
34020
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Linux_31f8353a2e/Linux_31f8353a2e.svg")
34035
+ icon: `${CMS_MEDIA_SERVER}cms/Linux_31f8353a2e/Linux_31f8353a2e.svg`
34021
34036
  },
34022
34037
  chromium: {
34023
34038
  key: "chromium",
34024
34039
  val: "Chromium",
34025
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Chromium_3df17710bd/Chromium_3df17710bd.svg")
34040
+ icon: `${CMS_MEDIA_SERVER}cms/Chromium_3df17710bd/Chromium_3df17710bd.svg`
34026
34041
  },
34027
34042
  ubuntu: {
34028
34043
  key: "ubuntu",
34029
34044
  val: "Ubuntu",
34030
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Ubuntu_966dd923c5/Ubuntu_966dd923c5.svg")
34045
+ icon: `${CMS_MEDIA_SERVER}cms/Ubuntu_966dd923c5/Ubuntu_966dd923c5.svg`
34031
34046
  },
34032
34047
  ios: {
34033
34048
  key: "ios",
34034
34049
  val: "iOS",
34035
- icon: "".concat(CMS_MEDIA_SERVER, "cms/i_OS_3cdc9d9b71/i_OS_3cdc9d9b71.svg")
34050
+ icon: `${CMS_MEDIA_SERVER}cms/i_OS_3cdc9d9b71/i_OS_3cdc9d9b71.svg`
34036
34051
  },
34037
34052
  android: {
34038
34053
  key: "android",
34039
34054
  val: "Android",
34040
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Android_49dcfdc934/Android_49dcfdc934.svg")
34055
+ icon: `${CMS_MEDIA_SERVER}cms/Android_49dcfdc934/Android_49dcfdc934.svg`
34041
34056
  }
34042
34057
  };
34043
34058
  var browserTypeIconInfo = {
34044
34059
  brave: {
34045
34060
  key: "brave",
34046
34061
  val: "Brave",
34047
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Brave_7e66131f09/Brave_7e66131f09.svg")
34062
+ icon: `${CMS_MEDIA_SERVER}cms/Brave_7e66131f09/Brave_7e66131f09.svg`
34048
34063
  },
34049
34064
  chrome: {
34050
34065
  key: "chrome",
34051
34066
  val: "Chrome",
34052
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Chrome_7bf77fbdd7/Chrome_7bf77fbdd7.svg")
34067
+ icon: `${CMS_MEDIA_SERVER}cms/Chrome_7bf77fbdd7/Chrome_7bf77fbdd7.svg`
34053
34068
  },
34054
34069
  firefox: {
34055
34070
  key: "firefox",
34056
34071
  val: "Firefox",
34057
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Firefox_30f3976fb8/Firefox_30f3976fb8.svg")
34072
+ icon: `${CMS_MEDIA_SERVER}cms/Firefox_30f3976fb8/Firefox_30f3976fb8.svg`
34058
34073
  },
34059
34074
  safari: {
34060
34075
  key: "safari",
34061
34076
  val: "Safari",
34062
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Safari_254e74ed94/Safari_254e74ed94.svg")
34077
+ icon: `${CMS_MEDIA_SERVER}cms/Safari_254e74ed94/Safari_254e74ed94.svg`
34063
34078
  },
34064
34079
  "mobile safari": {
34065
34080
  key: "safari",
34066
34081
  val: "Safari",
34067
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Safari_254e74ed94/Safari_254e74ed94.svg")
34082
+ icon: `${CMS_MEDIA_SERVER}cms/Safari_254e74ed94/Safari_254e74ed94.svg`
34068
34083
  },
34069
34084
  edge: {
34070
34085
  key: "edge",
34071
34086
  val: "Edge",
34072
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Edge_23add4a83f/Edge_23add4a83f.svg")
34087
+ icon: `${CMS_MEDIA_SERVER}cms/Edge_23add4a83f/Edge_23add4a83f.svg`
34073
34088
  },
34074
34089
  opera: {
34075
34090
  key: "opera",
34076
34091
  val: "Opera",
34077
- icon: "".concat(CMS_MEDIA_SERVER, "cms/Opera_0f3bf4eb19/Opera_0f3bf4eb19.svg")
34092
+ icon: `${CMS_MEDIA_SERVER}cms/Opera_0f3bf4eb19/Opera_0f3bf4eb19.svg`
34078
34093
  }
34079
34094
  };
34080
34095
  var CheckDetails = ({ title, value, iconURL }) => /* @__PURE__ */ React191.createElement(Box, { css: { w: "100%", my: "$10", p: "$10", r: "$1", bg: "$surface_default", "@lg": { w: "auto" } } }, /* @__PURE__ */ React191.createElement(Text, { css: { c: "$on_primary_medium", mb: "$6" } }, title), /* @__PURE__ */ React191.createElement(Flex, { align: "center" }, iconURL && /* @__PURE__ */ React191.createElement(Box, { css: { size: "2rem", r: "$round", bg: "$surface_brighter", mr: "$4" } }, /* @__PURE__ */ React191.createElement("img", { style: { objectFit: "contain", width: "2rem" }, src: iconURL, alt: value })), /* @__PURE__ */ React191.createElement(Text, null, value)));
@@ -34095,14 +34110,14 @@ var BrowserTest = () => {
34095
34110
  {
34096
34111
  title: "Browser",
34097
34112
  iconURL: parsedUserAgent4.getBrowser().name && ((_b7 = browserTypeIconInfo[(_a7 = parsedUserAgent4.getBrowser().name) == null ? void 0 : _a7.toLowerCase()]) == null ? void 0 : _b7.icon),
34098
- value: "".concat(parsedUserAgent4.getBrowser().name, " ").concat(parsedUserAgent4.getBrowser().version)
34113
+ value: `${parsedUserAgent4.getBrowser().name} ${parsedUserAgent4.getBrowser().version}`
34099
34114
  }
34100
34115
  ), /* @__PURE__ */ React191.createElement(
34101
34116
  CheckDetails,
34102
34117
  {
34103
34118
  title: "Operating system",
34104
34119
  iconURL: parsedUserAgent4.getOS().name && ((_d = operatingSystemIconInfo[(_c = parsedUserAgent4.getOS().name) == null ? void 0 : _c.toLowerCase()]) == null ? void 0 : _d.icon),
34105
- value: "".concat(parsedUserAgent4.getOS().name, " ").concat(parsedUserAgent4.getOS().version)
34120
+ value: `${parsedUserAgent4.getOS().name} ${parsedUserAgent4.getOS().version}`
34106
34121
  }
34107
34122
  )), /* @__PURE__ */ React191.createElement(TestFooter, { error, ctaText: "Is your device information correct?" }));
34108
34123
  };
@@ -34190,7 +34205,7 @@ var MediaServerResult = ({ result }) => {
34190
34205
  DetailedInfo,
34191
34206
  {
34192
34207
  title: "Connection Quality Score (CQS)",
34193
- value: "".concat(result.connectionQualityScore.toFixed(2), " (out of 5)")
34208
+ value: `${result.connectionQualityScore.toFixed(2)} (out of 5)`
34194
34209
  }
34195
34210
  ) : null)
34196
34211
  );
@@ -34206,10 +34221,10 @@ var SignallingResult = ({ result }) => {
34206
34221
  ), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Websocket URL", value: (result == null ? void 0 : result.websocketUrl) || "N/A", Icon: LinkIcon })));
34207
34222
  };
34208
34223
  var AudioStats = ({ stats }) => {
34209
- return /* @__PURE__ */ React192.createElement(ConnectivityTestStepResult, { title: "Audio", status: "Received", success: !!(stats == null ? void 0 : stats.bytesSent) }, stats && /* @__PURE__ */ React192.createElement(Flex, { css: { flexWrap: "wrap" } }, /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Sent", value: formatBytes(stats.bytesSent) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Received", value: formatBytes(stats.bytesReceived) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Received", value: stats.packetsReceived.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Lost", value: stats.packetsLost.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Sent", value: formatBytes(stats.bitrateSent, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Received", value: formatBytes(stats.bitrateReceived, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Round Trip Time", value: "".concat(stats.roundTripTime, " ms") })));
34224
+ return /* @__PURE__ */ React192.createElement(ConnectivityTestStepResult, { title: "Audio", status: "Received", success: !!(stats == null ? void 0 : stats.bytesSent) }, stats && /* @__PURE__ */ React192.createElement(Flex, { css: { flexWrap: "wrap" } }, /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Sent", value: formatBytes(stats.bytesSent) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Received", value: formatBytes(stats.bytesReceived) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Received", value: stats.packetsReceived.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Lost", value: stats.packetsLost.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Sent", value: formatBytes(stats.bitrateSent, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Received", value: formatBytes(stats.bitrateReceived, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Round Trip Time", value: `${stats.roundTripTime} ms` })));
34210
34225
  };
34211
34226
  var VideoStats = ({ stats }) => {
34212
- return /* @__PURE__ */ React192.createElement(ConnectivityTestStepResult, { title: "Video", status: "Received", success: !!(stats == null ? void 0 : stats.bytesSent) }, stats && /* @__PURE__ */ React192.createElement(Flex, { css: { flexWrap: "wrap" } }, /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Sent", value: formatBytes(stats.bytesSent) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Received", value: formatBytes(stats.bytesReceived) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Received", value: stats.packetsReceived.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Lost", value: stats.packetsLost.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Sent", value: formatBytes(stats.bitrateSent, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Received", value: formatBytes(stats.bitrateReceived, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Round Trip Time", value: "".concat(stats.roundTripTime, " ms") })));
34227
+ return /* @__PURE__ */ React192.createElement(ConnectivityTestStepResult, { title: "Video", status: "Received", success: !!(stats == null ? void 0 : stats.bytesSent) }, stats && /* @__PURE__ */ React192.createElement(Flex, { css: { flexWrap: "wrap" } }, /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Sent", value: formatBytes(stats.bytesSent) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bytes Received", value: formatBytes(stats.bytesReceived) }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Received", value: stats.packetsReceived.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Packets Lost", value: stats.packetsLost.toString() }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Sent", value: formatBytes(stats.bitrateSent, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Bitrate Received", value: formatBytes(stats.bitrateReceived, "b/s") }), /* @__PURE__ */ React192.createElement(DetailedInfo, { title: "Round Trip Time", value: `${stats.roundTripTime} ms` })));
34213
34228
  };
34214
34229
  var Footer3 = ({
34215
34230
  error,
@@ -34239,7 +34254,7 @@ var ConnectivityTestReport = ({
34239
34254
  variant: "body2",
34240
34255
  css: { c: "$on_primary_medium", mt: "$4" }
34241
34256
  },
34242
- "".concat(ConnectivityStateMessage[progress], "...")
34257
+ `${ConnectivityStateMessage[progress]}...`
34243
34258
  ));
34244
34259
  }
34245
34260
  return null;
@@ -34325,7 +34340,7 @@ var downloadJson = (obj, fileName) => {
34325
34340
  type: "application/json"
34326
34341
  });
34327
34342
  a2.href = URL.createObjectURL(file);
34328
- a2.download = "".concat(fileName, ".json");
34343
+ a2.download = `${fileName}.json`;
34329
34344
  a2.click();
34330
34345
  };
34331
34346
 
@@ -34625,4 +34640,4 @@ object-assign/index.js:
34625
34640
  @license MIT
34626
34641
  *)
34627
34642
  */
34628
- //# sourceMappingURL=chunk-ZDEVOXM2.js.map
34643
+ //# sourceMappingURL=chunk-36E6AAIG.js.map