Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
build HLS stream on client and serve directly from s3
Brendan Allan84e58bd53e98
diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rsindex 08f6b0fc7..b056ff8b5 100644--- a/apps/desktop/src-tauri/src/main.rs+++ b/apps/desktop/src-tauri/src/main.rs@@ -10,7 +10,7 @@ use tauri::{CustomMenuItem, Manager, SystemTray, SystemTrayEvent, SystemTrayMenu, SystemTraySubmenu,};use tauri_plugin_positioner::{Position, WindowExt};-use tokio::sync::Mutex;+use tokio::sync::{oneshot, Mutex};use tracing::Level;use tracing_subscriber::prelude::*;use window_shadows::set_shadow;@@ -201,13 +201,10 @@ fn main() {.path_resolver().app_data_dir().unwrap_or_else(|| PathBuf::new());+let recording_state = RecordingState {- media_process: None,- recording_options: None,- shutdown_flag: Arc::new(AtomicBool::new(false)),- video_uploading_finished: Arc::new(AtomicBool::new(false)),- audio_uploading_finished: Arc::new(AtomicBool::new(false)),- data_dir: Some(data_directory),+ active_recording: None,+ data_dir: data_directory,max_screen_width: max_width as usize,max_screen_height: max_height as usize,};diff --git a/apps/desktop/src-tauri/src/media/mod.rs b/apps/desktop/src-tauri/src/media/mod.rsindex d12ee6da2..a3465ee06 100644--- a/apps/desktop/src-tauri/src/media/mod.rs+++ b/apps/desktop/src-tauri/src/media/mod.rs@@ -65,8 +65,7 @@ pub struct MediaRecorder {ffmpeg_stdin: Option<ChildStdin>,device_name: Option<String>,start_time: Option<Instant>,- audio_file_path: Option<PathBuf>,- video_file_path: Option<PathBuf>,+ chunks_dir: PathBuf,audio_pipe_task: Option<JoinHandle<()>>,video_pipe_task: Option<JoinHandle<()>>,}@@ -81,8 +80,7 @@ impl MediaRecorder {&mut self,options: RecordingOptions,screenshot_dir: &Path,- audio_chunks_dir: &Path,- video_chunks_dir: &Path,+ recording_dir: &Path,custom_device: Option<&str>,max_screen_width: usize,max_screen_height: usize,@@ -126,17 +124,15 @@ impl MediaRecorder {video_capturer.start(video_start_time.clone(), screenshot_dir, options_clone);tracing::info!("Starting audio recording and processing...");- let audio_chunk_pattern = audio_chunks_dir.join("audio_recording_%03d.aac");- let video_chunk_pattern = video_chunks_dir.join("video_recording_%03d.ts");- let audio_segment_list_filename = audio_chunks_dir.join("segment_list.txt");- let video_segment_list_filename = video_chunks_dir.join("segment_list.txt");+ let segment_pattern_path = recording_dir.join("segment_%03d.ts");+ let playlist_path = recording_dir.join("stream.m3u8");- let video_pipe_path = video_chunks_dir.join("pipe.pipe");+ let video_pipe_path = recording_dir.join("video.pipe");std::fs::remove_file(&video_pipe_path).ok();create_named_pipe(&video_pipe_path).map_err(|e| e.to_string())?;- let audio_pipe_path = audio_chunks_dir.join("pipe.pipe");+ let audio_pipe_path = recording_dir.join("audio.pipe");std::fs::remove_file(&audio_pipe_path).ok();create_named_pipe(&audio_pipe_path).map_err(|e| e.to_string())?;@@ -167,21 +163,7 @@ impl MediaRecorder {.args(["-f", "rawvideo", "-pix_fmt", "bgra"]).args(["-s", &size, "-r", &fps]).args(["-thread_queue_size", "4096", "-i"])- .arg(&video_pipe_path)- // video out- .args([- "-vf",- &format!("fps={fps},scale=in_range=full:out_range=limited"),- ])- .args(["-c:v", "libx264", "-preset", "ultrafast"])- .args(["-pix_fmt", "yuv420p", "-tune", "zerolatency"])- .args(["-vsync", "1", "-force_key_frames", "expr:gte(t,n_forced*3)"])- .args(["-f", "segment", "-movflags", "frag_keyframe+empty_moov"])- .args(["-reset_timestamps", "1", "-an"])- .args(["-segment_time", "3"])- .args(["-segment_format", "ts"])- .args(["-segment_time_delta", "0.01", "-segment_list"])- .args([&video_segment_list_filename, &video_chunk_pattern]);+ .arg(&video_pipe_path);if self.audio_enabled {if let Some((TimeOffsetTarget::Audio, args)) = &time_offset {@@ -197,19 +179,46 @@ impl MediaRecorder {// audio in.args(["-f", sample_format, "-ar", &sample_rate_str]).args(["-ac", &channels_str, "-thread_queue_size", "4096", "-i"])- .arg(&audio_pipe_path)- // out+ .arg(&audio_pipe_path);+ // out+ // .args(["-f", "hls", "-async", "1"])+ // .args(["-segment_time", "3", "-segment_time_delta", "0.01"])+ // .args(["-reset_timestamps", "1", "-vn", "-segment_list"])+ // .args([&audio_segment_list_filename, &audio_chunk_pattern]);+ }++ ffmpeg_command+ .args(["-f", "hls"])+ .args(["-hls_time", "5", "-hls_playlist_type", "vod"])+ .args(["-hls_flags", "independent_segments"])+ .args(["-master_pl_name", "master.m3u8"])+ .args(["-hls_segment_type", "mpegts"])+ .arg("-hls_segment_filename")+ .arg(&segment_pattern_path)+ // video+ .args(["-codec:v", "libx264", "-preset", "ultrafast"])+ .args(["-pix_fmt", "yuv420p", "-tune", "zerolatency"])+ .args(["-vsync", "1", "-force_key_frames", "expr:gte(t,n_forced*3)"])+ .args(["-movflags", "frag_keyframe+empty_moov"])+ .args([+ "-vf",+ &format!("fps={fps},scale=in_range=full:out_range=limited"),+ ]);++ if self.audio_enabled {+ ffmpeg_command+ // audio+ .args(["-codec:a", "aac", "-b:a", "128k", "-async", "1"]).args(["-af","aresample=async=1:min_hard_comp=0.100000:first_pts=0",- ])- .args(["-codec:a", "aac", "-b:a", "128k"])- .args(["-async", "1", "-f", "segment"])- .args(["-segment_time", "3", "-segment_time_delta", "0.01"])- .args(["-reset_timestamps", "1", "-vn", "-segment_list"])- .args([&audio_segment_list_filename, &audio_chunk_pattern]);+ ]);+ } else {+ ffmpeg_command.args(["-an"]);}+ ffmpeg_command.arg(&playlist_path);+tracing::trace!("Starting FFmpeg process...");let (ffmpeg_child, ffmpeg_stdin) = self@@ -226,8 +235,7 @@ impl MediaRecorder {self.video_pipe_task = Some(tokio::spawn(video_capturer.collect_frames(video_pipe_path)));self.start_time = Some(Instant::now());- self.audio_file_path = Some(audio_chunks_dir.to_path_buf());- self.video_file_path = Some(video_chunks_dir.to_path_buf());+ self.chunks_dir = recording_dir.to_path_buf();self.ffmpeg_process = Some(ffmpeg_child);self.ffmpeg_stdin = Some(ffmpeg_stdin);self.device_name = self.audio_capturer.as_ref().map(|c| c.device_name.clone());diff --git a/apps/desktop/src-tauri/src/media/video.rs b/apps/desktop/src-tauri/src/media/video.rsindex 973da3378..f3419bc5d 100644--- a/apps/desktop/src-tauri/src/media/video.rs+++ b/apps/desktop/src-tauri/src/media/video.rs@@ -1,13 +1,21 @@use image::codecs::jpeg::JpegEncoder;-use image::{ ImageBuffer, Rgba };-use scap::{ capturer::{ Capturer, Options, Resolution }, frame::{ Frame, FrameType } };-use std::{ future::Future, path::{ Path, PathBuf }, sync::Arc, time::Duration };+use image::{ImageBuffer, Rgba};+use scap::{+ capturer::{Capturer, Options, Resolution},+ frame::{Frame, FrameType},+};+use std::{+ future::Future,+ path::{Path, PathBuf},+ sync::Arc,+ time::Duration,+};use tokio::sync::mpsc::error::TrySendError;-use tokio::{ fs::File, io::AsyncWriteExt, sync::mpsc };+use tokio::{fs::File, io::AsyncWriteExt, sync::mpsc};-use super::{ Instant, RecordingOptions, SharedFlag, SharedInstant };+use super::{Instant, RecordingOptions, SharedFlag, SharedInstant};use crate::app::config;-use crate::upload::{ upload_file, FileType };+use crate::upload::{upload_recording_asset, RecordingAssetType};pub struct VideoCapturer {capturer: Option<Capturer>,@@ -47,9 +55,10 @@ impl VideoCapturer {&mut self,start_time: SharedInstant,screenshot_dir: impl AsRef<Path>,- recording_options: RecordingOptions+ recording_options: RecordingOptions,) {- let mut capturer = self.capturer+ let mut capturer = self+ .capturer.take().expect("Video capturing thread has already been started!");let (sender, receiver) = mpsc::channel(2048);@@ -81,22 +90,19 @@ impl VideoCapturer {let width = frame.width;let height = frame.height;let frame_data = match frame.width == 0 && frame.height == 0 {- true =>- match last_frame.take() {- Some(data) => data,- None => {- tracing::error!(- "Somehow got an idle frame before any complete frame"- );- continue;- }+ true => match last_frame.take() {+ Some(data) => data,+ None => {+ tracing::error!(+ "Somehow got an idle frame before any complete frame"+ );+ continue;}+ },false => Arc::new(frame.data),};- if- now - capture_start_time >= take_screenshot_delay &&- !screenshot_captured+ if now - capture_start_time >= take_screenshot_delay && !screenshot_captured{screenshot_captured = true;let mut frame_data_clone = (*frame_data).clone();@@ -109,16 +115,14 @@ impl VideoCapturer {let image: ImageBuffer<Rgba<u8>, Vec<u8>> = ImageBuffer::from_raw(width.try_into().unwrap(),height.try_into().unwrap(),- frame_data_clone- ).expect("Failed to create image buffer");+ frame_data_clone,+ )+ .expect("Failed to create image buffer");- let mut output_file = std::fs::File- ::create(&screenshot_path)+ let mut output_file = std::fs::File::create(&screenshot_path).expect("Failed to create output file");- let mut encoder = JpegEncoder::new_with_quality(- &mut output_file,- 70- );+ let mut encoder =+ JpegEncoder::new_with_quality(&mut output_file, 70);if let Err(e) = encoder.encode_image(&image) {tracing::warn!("Failed to save screenshot: {}", e);@@ -132,27 +136,20 @@ impl VideoCapturer {if !config::is_local_mode() {let rt = tokio::runtime::Runtime::new().unwrap();rt.block_on(async move {- let upload_task = tokio::spawn(- upload_file(- Some(options_clone),- screenshot_path.clone(),- FileType::Screenshot- )- );+ let upload_task = tokio::spawn(upload_recording_asset(+ options_clone,+ screenshot_path.clone(),+ RecordingAssetType::ScreenCapture,+ ));match upload_task.await {- Ok(result) =>- match result {- Ok(_) =>- tracing::info!(- "Screenshot successfully uploaded"- ),- Err(e) => {- tracing::warn!(- "Failed to upload file: {}",- e- )- }+ Ok(result) => match result {+ Ok(_) => tracing::info!(+ "Screenshot successfully uploaded"+ ),+ Err(e) => {+ tracing::warn!("Failed to upload file: {}", e)}+ },Err(e) => {tracing::error!("Failed to join task: {}", e)}@@ -210,7 +207,8 @@ impl VideoCapturer {pub fn collect_frames(&mut self, destination: PathBuf) -> impl Future<Output = ()> + 'static {tracing::trace!("Starting video channel senders...");- let mut receiver = self.frame_receiver+ let mut receiver = self+ .frame_receiver.take().expect("Video frame collection already started!");let should_stop = self.should_stop.clone();@@ -219,7 +217,9 @@ impl VideoCapturer {let mut pipe = File::create(destination).await.unwrap();while let Some(bytes) = receiver.recv().await {- pipe.write_all(&bytes).await.expect("Failed to write video data to FFmpeg stdin");+ pipe.write_all(&bytes)+ .await+ .expect("Failed to write video data to FFmpeg stdin");if should_stop.get() {receiver.close();diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rsindex 2d235c27f..5d1026314 100644--- a/apps/desktop/src-tauri/src/recording.rs+++ b/apps/desktop/src-tauri/src/recording.rs@@ -1,29 +1,30 @@use futures::future::join_all;use serde::{Deserialize, Serialize};use std::collections::HashSet;-use std::fs::File;-use std::io::{self, BufRead, BufReader, ErrorKind};use std::path::{Path, PathBuf};use std::sync::{atomic::{AtomicBool, Ordering},Arc,};use tauri::State;-use tokio::sync::Mutex;+use tokio::sync::{oneshot, Mutex};use tokio::time::Duration;use crate::app::config;-use crate::upload::{self, upload_file};+use crate::upload::{upload_recording_asset, RecordingAssetType};use crate::media::MediaRecorder;-pub struct RecordingState {- pub media_process: Option<MediaRecorder>,- pub recording_options: Option<RecordingOptions>,+pub struct ActiveRecording {+ pub media_process: MediaRecorder,+ pub recording_options: RecordingOptions,pub shutdown_flag: Arc<AtomicBool>,- pub video_uploading_finished: Arc<AtomicBool>,- pub audio_uploading_finished: Arc<AtomicBool>,- pub data_dir: Option<PathBuf>,+ pub uploading_finished: oneshot::Receiver<()>,+}++pub struct RecordingState {+ pub active_recording: Option<ActiveRecording>,+ pub data_dir: PathBuf,pub max_screen_width: usize,pub max_screen_height: usize,}@@ -52,25 +53,23 @@ pub async fn start_dual_recording(options: RecordingOptions,) -> Result<(), String> {tracing::info!("Starting screen recording...");- let mut state_guard = state.lock().await;+ let mut state = state.lock().await;++ if state.active_recording.is_some() {+ return Err("A recording is already in progress.".to_string());+ }let shutdown_flag = Arc::new(AtomicBool::new(false));- let data_dir = state_guard- .data_dir- .as_ref()- .ok_or("Data directory is not set in the recording state".to_string())?- .clone();+ let data_dir = state.data_dir.clone();tracing::debug!("data_dir: {:?}", data_dir);let screenshot_dir = data_dir.join("screenshots");- let audio_chunks_dir = data_dir.join("chunks/audio");- let video_chunks_dir = data_dir.join("chunks/video");+ let recording_dir = data_dir.join("recording");clean_and_create_dir(&screenshot_dir)?;- clean_and_create_dir(&audio_chunks_dir)?;- clean_and_create_dir(&video_chunks_dir)?;+ clean_and_create_dir(&recording_dir)?;let audio_name = if options.audio_name.is_empty() {None@@ -78,56 +77,51 @@ pub async fn start_dual_recording(Some(options.audio_name.clone())};- let media_recording_preparation = prepare_media_recording(+ let media_recording_result = prepare_media_recording(&options,&screenshot_dir,- &audio_chunks_dir,- &video_chunks_dir,+ &recording_dir,audio_name,- state_guard.max_screen_width,- state_guard.max_screen_height,- );- let media_recording_result = media_recording_preparation- .await- .map_err(|e| e.to_string())?;-- state_guard.media_process = Some(media_recording_result);- state_guard.recording_options = Some(options.clone());- state_guard.shutdown_flag = shutdown_flag.clone();- state_guard.video_uploading_finished = Arc::new(AtomicBool::new(false));- state_guard.audio_uploading_finished = Arc::new(AtomicBool::new(false));-- if !config::is_local_mode() {- let video_upload = start_upload_loop(- video_chunks_dir.clone(),- options.clone(),- upload::FileType::Video,- shutdown_flag.clone(),- state_guard.video_uploading_finished.clone(),- );- let audio_upload = start_upload_loop(- audio_chunks_dir,- options.clone(),- upload::FileType::Audio,- shutdown_flag.clone(),- state_guard.audio_uploading_finished.clone(),- );-- drop(state_guard);-- tracing::info!("Starting upload loops...");-- match tokio::try_join!(video_upload, audio_upload) {- Ok(_) => {- tracing::info!("Both upload loops completed successfully.");- }- Err(e) => {- tracing::error!("An error occurred: {}", e);+ state.max_screen_width,+ state.max_screen_height,+ )+ .await+ .map_err(|e| e.to_string())?;++ let uploading_finished = oneshot::channel();++ state.active_recording = Some(ActiveRecording {+ media_process: media_recording_result,+ recording_options: options.clone(),+ shutdown_flag: shutdown_flag.clone(),+ uploading_finished: uploading_finished.1,+ });++ drop(state);++ tokio::spawn(async move {+ if !config::is_local_mode() {+ let video_upload =+ hls_upload_loop(&recording_dir, shutdown_flag.clone(), options.clone());++ tracing::info!("Starting upload loop...");++ match video_upload.await {+ Ok(_) => {+ tracing::info!("Upload loop completed successfully.");+ }+ Err(e) => {+ tracing::error!("An error occurred: {}", e);+ }}+ } else {+ tracing::info!(+ "Skipping upload loops due to NEXT_PUBLIC_LOCAL_MODE being set to 'true'."+ );}- } else {- tracing::info!("Skipping upload loops due to NEXT_PUBLIC_LOCAL_MODE being set to 'true'.");- }++ uploading_finished.0.send(()).ok();+ });Ok(())}@@ -137,26 +131,34 @@ pub async fn start_dual_recording(pub async fn stop_all_recordings(state: State<'_, Arc<Mutex<RecordingState>>>,) -> Result<(), String> {- let mut guard = state.lock().await;-- if let Some(mut media_process) = guard.media_process.take() {- tracing::info!("Stopping media recording...");- media_process- .stop_media_recording()- .await- .expect("Failed to stop media recording");- }+ let mut state = state.lock().await;- guard.shutdown_flag.store(true, Ordering::SeqCst);+ let Some(mut active_recording) = state.active_recording.take() else {+ return Err("No recording is currently in progress.".to_string());+ };- if !config::is_local_mode() {- while !guard.video_uploading_finished.load(Ordering::SeqCst)- || !guard.audio_uploading_finished.load(Ordering::SeqCst)- {- tracing::debug!("Waiting for uploads to finish...");- tokio::time::sleep(Duration::from_millis(50)).await;- }- }+ tracing::info!("Stopping media recording...");+ active_recording+ .media_process+ .stop_media_recording()+ .await+ .expect("Failed to stop media recording");++ tracing::info!("Uploading stream.m3u8");+ upload_recording_asset(+ active_recording.recording_options,+ state.data_dir.join("recording/stream.m3u8"),+ RecordingAssetType::CombinedSourcePlaylist,+ )+ .await+ .ok();++ active_recording.shutdown_flag.store(true, Ordering::SeqCst);++ // if !config::is_local_mode() {+ // tracing::debug!("Waiting for uploads to finish...");+ // active_recording.uploading_finished.await.ok();+ // }tracing::info!("All recordings and uploads stopped.");@@ -170,33 +172,20 @@ fn clean_and_create_dir(dir: &Path) -> Result<(), String> {}std::fs::create_dir_all(dir).map_err(|e| e.to_string())?;- if !dir.to_string_lossy().contains("screenshots") {- let segment_list_path = dir.join("segment_list.txt");- match File::open(&segment_list_path) {- Ok(_) => Ok(()),- Err(ref e) if e.kind() == ErrorKind::NotFound => {- File::create(&segment_list_path).map_err(|e| e.to_string())?;- Ok(())- }- Err(e) => Err(e.to_string()),- }- } else {- Ok(())- }+ Ok(())}-async fn start_upload_loop(- chunks_dir: PathBuf,- options: RecordingOptions,- file_type: upload::FileType,+async fn hls_upload_loop(+ recording_dir: &Path,shutdown_flag: Arc<AtomicBool>,- uploading_finished: Arc<AtomicBool>,+ options: RecordingOptions,) -> Result<(), String> {- let mut watched_segments: HashSet<String> = HashSet::new();+ let mut uploaded_segments: HashSet<PathBuf> = HashSet::new();let mut is_final_loop = false;+ let mut upload_tasks = vec![];+loop {- let mut upload_tasks = vec![];if shutdown_flag.load(Ordering::SeqCst) {if is_final_loop {break;@@ -204,56 +193,54 @@ async fn start_upload_loop(is_final_loop = true;}- let current_segments = load_segment_list(&chunks_dir.join("segment_list.txt"))- .map_err(|e| e.to_string())?- .difference(&watched_segments)- .cloned()- .collect::<HashSet<String>>();-- for segment_filename in ¤t_segments {- let segment_path = chunks_dir.join(segment_filename);- if segment_path.is_file() {- let options_clone = options.clone();- upload_tasks.push(tokio::spawn(async move {- tracing::debug!("Uploading video for {file_type}: {segment_path:?}");- upload_file(Some(options_clone), segment_path, file_type)- .await- .map(|_| ())- }));+ let files = std::fs::read_dir(recording_dir).map_err(|e| e.to_string())?;++ for file in files {+ let file = file.map_err(|e| e.to_string())?;+ let file_path = file.path().to_owned();++ if let Some(ext) = file_path.extension() {+ if ext != "ts" {+ continue;+ }+ } else {+ continue;}- watched_segments.insert(segment_filename.clone());- }- if !upload_tasks.is_empty() {- let _ = join_all(upload_tasks).await;+ if uploaded_segments.contains(&file_path) {+ continue;+ }++ let options = options.clone();++ upload_tasks.push(tokio::spawn(async move {+ tracing::debug!("Uploading segment {:?}", file.path());+ upload_recording_asset(+ options,+ file.path().to_owned(),+ RecordingAssetType::CombinedSourceSegment,+ )+ .await+ .ok();+ }));++ uploaded_segments.insert(file_path);}tokio::time::sleep(Duration::from_millis(50)).await;}- uploading_finished.store(true, Ordering::SeqCst);- Ok(())-}--fn load_segment_list(segment_list_path: &Path) -> io::Result<HashSet<String>> {- let file = File::open(segment_list_path)?;- let reader = BufReader::new(file);- let mut segments = HashSet::new();- for line_result in reader.lines() {- let line = line_result?;- if !line.is_empty() {- segments.insert(line);- }+ if !upload_tasks.is_empty() {+ join_all(upload_tasks).await;}- Ok(segments)+ Ok(())}async fn prepare_media_recording(options: &RecordingOptions,screenshot_dir: &Path,- audio_chunks_dir: &Path,- video_chunks_dir: &Path,+ recording_dir: &Path,audio_name: Option<String>,max_screen_width: usize,max_screen_height: usize,@@ -263,8 +250,7 @@ async fn prepare_media_recording(.start_media_recording(options.clone(),screenshot_dir,- audio_chunks_dir,- video_chunks_dir,+ recording_dir,audio_name.as_ref().map(String::as_str),max_screen_width,max_screen_height,diff --git a/apps/desktop/src-tauri/src/upload.rs b/apps/desktop/src-tauri/src/upload.rsindex 6fd1f9246..7792ee68b 100644--- a/apps/desktop/src-tauri/src/upload.rs+++ b/apps/desktop/src-tauri/src/upload.rs@@ -1,179 +1,215 @@+use core::fmt;use regex::Regex;use reqwest;use serde_json::Value as JsonValue;-use std::path::{ Path, PathBuf };-use std::process::{ Command, Output };+use std::path::{Path, PathBuf};+use std::process::{Command, Output};use std::str;use crate::recording::RecordingOptions;use crate::utils::ffmpeg_path_as_str;+#[derive(serde::Serialize)]+#[serde(rename_all = "camelCase")]+struct S3UploadBody {+ user_id: String,+ file_key: String,+ aws_bucket: String,+ aws_region: String,+}++#[derive(serde::Serialize)]+#[serde(rename_all = "camelCase")]+struct S3VideoUploadBody {+ #[serde(flatten)]+ base: S3UploadBody,+ duration: String,+ resolution: String,+ framerate: String,+ bandwidth: String,+ video_codec: String,+}+#[derive(Clone, Copy, Debug)]-pub enum FileType {- Video,- Audio,- Screenshot,+pub enum RecordingAssetType {+ ScreenCapture,+ CombinedSourceSegment,+ CombinedSourcePlaylist,}-impl std::fmt::Display for FileType {- fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {+impl fmt::Display for RecordingAssetType {+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {match self {- FileType::Video => write!(f, "video"),- FileType::Audio => write!(f, "audio"),- FileType::Screenshot => write!(f, "screenshot"),+ RecordingAssetType::ScreenCapture => write!(f, "ScreenCapture"),+ RecordingAssetType::CombinedSourceSegment => write!(f, "CombinedSourceSegment"),+ RecordingAssetType::CombinedSourcePlaylist => write!(f, "CombinedSourcePlaylist"),}}}#[tracing::instrument]-pub async fn upload_file(- options: Option<RecordingOptions>,+pub async fn upload_recording_asset(+ options: RecordingOptions,file_path: PathBuf,- file_type: FileType+ file_type: RecordingAssetType,) -> Result<String, String> {- if let Some(ref options) = options {- tracing::info!("Uploading video...");-- let duration = get_video_duration(&file_path).map_err(|e|- format!("Failed to get video duration: {}", e)- )?;- let duration_str = duration.to_string();-- let file_name = Path::new(&file_path)- .file_name()- .and_then(|name| name.to_str())- .ok_or("Invalid file path")?- .to_string();-- let file_key = format!("{}/{}/{file_type}/{file_name}", options.user_id, options.video_id);-- let server_url_base: &'static str = dotenvy_macro::dotenv!("NEXT_PUBLIC_URL");- let server_url = format!("{}/api/upload/signed", server_url_base);-- let body = match file_type {- FileType::Video => {- let (codec_name, width, height, frame_rate, bit_rate) = log_video_info(- &file_path- ).map_err(|e| format!("Failed to log video info: {}", e))?;-- serde_json::json!({- "userId": options.user_id,- "fileKey": file_key,- "awsBucket": options.aws_bucket,- "awsRegion": options.aws_region,- "duration": duration_str,- "resolution": format!("{}x{}", width, height),- "framerate": frame_rate,- "bandwidth": bit_rate,- "videoCodec": codec_name,- })- }- FileType::Audio | FileType::Screenshot => {- serde_json::json!({- "userId": options.user_id,- "fileKey": file_key,- "awsBucket": options.aws_bucket,- "awsRegion": options.aws_region,- "duration": duration_str,- })- }- };-- let client = reqwest::Client::new();- let server_response = client- .post(server_url)- .json(&body)- .send().await- .map_err(|e| format!("Failed to send request to Next.js handler: {}", e))?- .text().await- .map_err(|e| format!("Failed to read response from Next.js handler: {}", e))?;-- tracing::info!("Server response: {}", server_response);-- // Deserialize the server response- let presigned_post_data: JsonValue = serde_json- ::from_str(&server_response)- .map_err(|e| format!("Failed to deserialize server response: {}", e))?;-- // Construct the multipart form for the file upload- let fields = presigned_post_data["presignedPostData"]["fields"]- .as_object()- .ok_or("Fields object is missing or not an object")?;-- let mut form = reqwest::multipart::Form::new();-- for (key, value) in fields.iter() {- let value_str = value- .as_str()- .ok_or(format!("Value for key '{}' is not a string", key))?;- form = form.text(key.to_string(), value_str.to_owned());+ tracing::info!("Uploading recording asset {file_type}...");++ let file_name = file_path+ .file_name()+ .and_then(|name| name.to_str())+ .ok_or("Invalid file path")?+ .to_string();++ let file_key_base = format!("{}/{}", options.user_id, options.video_id);+ let file_key = match file_type {+ RecordingAssetType::ScreenCapture => {+ format!("{file_key_base}/screenshot/screen-capture.jpg")}+ RecordingAssetType::CombinedSourceSegment => {+ format!("{file_key_base}/combined-source/{}", file_name)+ }+ RecordingAssetType::CombinedSourcePlaylist => {+ format!("{file_key_base}/combined-source/stream.m3u8")+ }+ };- tracing::info!("Uploading file: {file_path:?}");-- let mime_type = match file_path.extension() {- Some(ext) if ext == "aac" => "audio/aac",- Some(ext) if ext == "mp3" => "audio/mpeg",- Some(ext) if ext == "webm" => "audio/webm",- _ => "video/mp2t",- };+ tracing::info!("File key: {file_key}");- let file_bytes = tokio::fs- ::read(&file_path).await- .map_err(|e| format!("Failed to read file: {}", e))?;- let file_part = reqwest::multipart::Part- ::bytes(file_bytes)- .file_name(file_name.clone())- .mime_str(mime_type)- .map_err(|e| format!("Error setting MIME type: {}", e))?;+ let server_url_base: &'static str = dotenvy_macro::dotenv!("NEXT_PUBLIC_URL");+ let server_url = format!("{}/api/upload/signed", server_url_base);- form = form.part("file", file_part);+ let body = S3UploadBody {+ user_id: options.user_id,+ file_key: file_key.clone(),+ aws_bucket: options.aws_bucket,+ aws_region: options.aws_region,+ };- let post_url = presigned_post_data["presignedPostData"]["url"]- .as_str()- .ok_or("URL is missing or not a string")?;-- tracing::info!("Uploading file to: {}", post_url);-- let response = client.post(post_url).multipart(form).send().await;-- match response {- Ok(response) if response.status().is_success() => {- tracing::info!("File uploaded successfully");- }- Ok(response) => {- let status = response.status();- let error_body = response- .text().await- .unwrap_or_else(|_| "<no response body>".to_string());- tracing::error!("Failed to upload file. Status: {}. Body: {}", status, error_body);- return Err(- format!("Failed to upload file. Status: {}. Body: {}", status, error_body)- );- }- Err(e) => {- return Err(format!("Failed to send upload file request: {}", e));- }+ let body_json = match file_type {+ RecordingAssetType::ScreenCapture | RecordingAssetType::CombinedSourcePlaylist => {+ serde_json::json!(body)+ }+ RecordingAssetType::CombinedSourceSegment => {+ let (codec_name, width, height, frame_rate, bit_rate) = log_video_info(&file_path)+ .map_err(|e| format!("Failed to log video info: {}", e))?;++ let duration = get_video_duration(&file_path)+ .map_err(|e| format!("Failed to get video duration: {}", e))?;++ serde_json::json!(S3VideoUploadBody {+ base: body,+ duration: duration.to_string(),+ resolution: format!("{}x{}", width, height),+ framerate: frame_rate,+ bandwidth: bit_rate,+ video_codec: codec_name,+ })}+ };++ let client = reqwest::Client::new();+ let server_response = client+ .post(server_url)+ .json(&body_json)+ .send()+ .await+ .map_err(|e| format!("Failed to send request to Next.js handler: {}", e))?+ .text()+ .await+ .map_err(|e| format!("Failed to read response from Next.js handler: {}", e))?;++ tracing::info!("Server response: {}", server_response);++ // Deserialize the server response+ let presigned_post_data: JsonValue = serde_json::from_str(&server_response)+ .map_err(|e| format!("Failed to deserialize server response: {}", e))?;++ // Construct the multipart form for the file upload+ let fields = presigned_post_data["presignedPostData"]["fields"]+ .as_object()+ .ok_or("Fields object is missing or not an object")?;++ let mut form = reqwest::multipart::Form::new();++ for (key, value) in fields.iter() {+ let value_str = value+ .as_str()+ .ok_or(format!("Value for key '{}' is not a string", key))?;+ form = form.text(key.to_string(), value_str.to_owned());+ }++ tracing::info!("Uploading file: {file_path:?}");- tracing::info!("Removing file after upload: {file_path:?}");- let remove_result = tokio::fs::remove_file(&file_path).await;- match &remove_result {- Ok(_) => tracing::info!("File removed successfully"),- Err(e) => tracing::info!("Failed to remove file after upload: {}", e),+ let mime_type = match file_path.extension() {+ Some(ext) if ext == "aac" => "audio/aac",+ Some(ext) if ext == "mp3" => "audio/mpeg",+ Some(ext) if ext == "webm" => "audio/webm",+ Some(ext) if ext == "m3u8" => "application/x-mpegURL",+ _ => "video/mp2t",+ };++ let file_bytes = tokio::fs::read(&file_path)+ .await+ .map_err(|e| format!("Failed to read file: {}", e))?;+ let file_part = reqwest::multipart::Part::bytes(file_bytes)+ .file_name(file_name.clone())+ .mime_str(mime_type)+ .map_err(|e| format!("Error setting MIME type: {}", e))?;++ form = form.part("file", file_part);++ let post_url = presigned_post_data["presignedPostData"]["url"]+ .as_str()+ .ok_or("URL is missing or not a string")?;++ tracing::info!("Uploading file to: {}", post_url);++ let response = client.post(post_url).multipart(form).send().await;++ match response {+ Ok(response) if response.status().is_success() => {+ tracing::info!("File uploaded successfully");}- remove_result.map_err(|e| format!("Failed to remove file after upload: {}", e))?;+ Ok(response) => {+ let status = response.status();+ let error_body = response+ .text()+ .await+ .unwrap_or_else(|_| "<no response body>".to_string());+ tracing::error!(+ "Failed to upload file. Status: {}. Body: {}",+ status,+ error_body+ );+ return Err(format!(+ "Failed to upload file. Status: {}. Body: {}",+ status, error_body+ ));+ }+ Err(e) => {+ return Err(format!("Failed to send upload file request: {}", e));+ }+ }- Ok(file_key)- } else {- return Err("No recording options provided".to_string());+ tracing::info!("Removing file after upload: {file_path:?}");+ let remove_result = tokio::fs::remove_file(&file_path).await;+ match &remove_result {+ Ok(_) => tracing::info!("File removed successfully"),+ Err(e) => tracing::info!("Failed to remove file after upload: {}", e),}+ remove_result.map_err(|e| format!("Failed to remove file after upload: {}", e))?;++ Ok(file_key)}pub fn get_video_duration(file_path: &Path) -> Result<f64, std::io::Error> {let ffmpeg_binary_path_str = ffmpeg_path_as_str().unwrap().to_owned();- let output = Command::new(ffmpeg_binary_path_str).arg("-i").arg(file_path).output()?;+ let output = Command::new(ffmpeg_binary_path_str)+ .arg("-i")+ .arg(file_path)+ .output()?;let output_str = str::from_utf8(&output.stderr).unwrap();let duration_regex = Regex::new(r"Duration: (\d{2}):(\d{2}):(\d{2})\.(\d{2})").unwrap();@@ -206,12 +242,10 @@ fn log_video_info(file_path: &Path) -> Result<(String, String, String, String, S.map_err(|e| format!("Failed to run ffprobe: {}", e))?;if !output.status.success() {- return Err(- format!(- "ffprobe exited with non-zero status: {}",- String::from_utf8_lossy(&output.stderr)- )- );+ return Err(format!(+ "ffprobe exited with non-zero status: {}",+ String::from_utf8_lossy(&output.stderr)+ ));}let info = String::from_utf8_lossy(&output.stdout);diff --git a/apps/desktop/src/components/windows/inner/Recorder.tsx b/apps/desktop/src/components/windows/inner/Recorder.tsxindex e35620fc1..cc4b52d4c 100644--- a/apps/desktop/src/components/windows/inner/Recorder.tsx+++ b/apps/desktop/src/components/windows/inner/Recorder.tsx@@ -1,7 +1,11 @@"use client";import { useState, useEffect } from "react";-import { Device, DeviceKind, useMediaDevices } from "@/utils/recording/MediaDeviceContext";+import {+ Device,+ DeviceKind,+ useMediaDevices,+} from "@/utils/recording/MediaDeviceContext";import { Video } from "@/components/icons/Video";import { Microphone } from "@/components/icons/Microphone";import { Screen } from "@/components/icons/Screen";@@ -53,35 +57,47 @@ export const Recorder = () => {const proCheckPromise = isUserPro();const [proCheck, setProCheck] = useState<boolean>(false);const [limitReached, setLimitReached] = useState(false);- const [lastSelectedAudioDevice, setLastSelectedAudioDevice] = useState<Device | null>(null);- const [lastSelectedVideoDevice, setLastSelectedVideoDevice] = useState<Device | null>(null);+ const [lastSelectedAudioDevice, setLastSelectedAudioDevice] =+ useState<Device | null>(null);+ const [lastSelectedVideoDevice, setLastSelectedVideoDevice] =+ useState<Device | null>(null);useEffect(() => {proCheckPromise.then((result) => setProCheck(Boolean(result)));}, [proCheckPromise]);- const selectDevice = (kind: DeviceKind, device: Device | null) => emit(- "change-device", { type: kind, device: device }- ).catch((error) => console.log("Failed to emit change-device event:", error));-+ const selectDevice = (kind: DeviceKind, device: Device | null) =>+ emit("change-device", { type: kind, device: device }).catch((error) =>+ console.log("Failed to emit change-device event:", error)+ );+const createDeviceMenuOptions = (kind: DeviceKind) => [- { value: "_", label: `Select ${kind === "videoinput" ? "Video" : "Microphone"}`, disabled: true },+ {+ value: "_",+ label: `Select ${kind === "videoinput" ? "Video" : "Microphone"}`,+ disabled: true,+ },{ value: "none", label: `No ${kind === "videoinput" ? "Video" : "Audio"}` },- ...devices.filter((device) => device.kind === kind).map(({ label }) => ({ value: label, label }))- ]+ ...devices+ .filter((device) => device.kind === kind)+ .map(({ label }) => ({ value: label, label })),+ ];const handleSelectInputDevice = async (kind: DeviceKind, label: string) => {let device: Device | null = null;if (label !== "none")- device = devices.find((device) => device.kind === kind && device.label === label) || null;+ device =+ devices.find(+ (device) => device.kind === kind && device.label === label+ ) || null;selectDevice(kind, device);- }+ };const prepareVideoData = async () => {const session = JSON.parse(localStorage.getItem("session"));const token = session?.token;const res = await authFetch(- `${process.env.NEXT_PUBLIC_URL}/api/desktop/video/create?origin=${window.location.origin}`,+ `${process.env.NEXT_PUBLIC_URL}/api/desktop/video/create?origin=${window.location.origin}&recordingMode=hls`,{method: "GET",credentials: "include",@@ -194,6 +210,7 @@ export const Recorder = () => {const handleStartAllRecordings = async () => {try {+ console.log("bruh");setStartingRecording(true);const videoData =process.env.NEXT_PUBLIC_LOCAL_MODE &&@@ -250,8 +267,8 @@ export const Recorder = () => {const url =process.env.NEXT_PUBLIC_ENVIRONMENT === "development"- ? `${process.env.NEXT_PUBLIC_URL}/s/${await getLatestVideoId()}`- : `https://cap.link/${await getLatestVideoId()}`;+ ? `${process.env.NEXT_PUBLIC_URL}/s/${getLatestVideoId()}`+ : `https://cap.link/${getLatestVideoId()}`;const audio = new Audio("/recording-end.mp3");await audio.play();@@ -406,27 +423,37 @@ export const Recorder = () => {options={createDeviceMenuOptions("videoinput")}onStatusClick={(status) => {setLastSelectedVideoDevice(selectedVideoDevice);- selectDevice("videoinput", status === "on" ? null : lastSelectedVideoDevice);+ selectDevice(+ "videoinput",+ status === "on" ? null : lastSelectedVideoDevice+ );}}showStatus={true}status={selectedVideoDevice === null ? "off" : "on"}iconEnabled={<Video className="w-5 h-5" />}iconDisabled={<VideoOff className="w-5 h-5" />}selectedValue={selectedVideoDevice?.label}- onSelect={(value) => handleSelectInputDevice("videoinput", value as string)}+ onSelect={(value) =>+ handleSelectInputDevice("videoinput", value as string)+ }/><ActionSelectoptions={createDeviceMenuOptions("audioinput")}onStatusClick={(status) => {setLastSelectedAudioDevice(selectedAudioDevice);- selectDevice("audioinput", status === "on" ? null : lastSelectedAudioDevice);+ selectDevice(+ "audioinput",+ status === "on" ? null : lastSelectedAudioDevice+ );}}showStatus={true}status={selectedAudioDevice === null ? "off" : "on"}iconEnabled={<Microphone className="w-5 h-5" />}iconDisabled={<MicrophoneOff className="w-5 h-5" />}selectedValue={selectedAudioDevice?.label}- onSelect={(value) => handleSelectInputDevice("audioinput", value as string)}+ onSelect={(value) =>+ handleSelectInputDevice("audioinput", value as string)+ }/></div></div>diff --git a/apps/embed/app/view/[videoId]/_components/ShareVideo.tsx b/apps/embed/app/view/[videoId]/_components/ShareVideo.tsxindex 98204c36a..e7a1ba088 100644--- a/apps/embed/app/view/[videoId]/_components/ShareVideo.tsx+++ b/apps/embed/app/view/[videoId]/_components/ShareVideo.tsx@@ -406,9 +406,13 @@ export const ShareVideo = ({<VideoPlayerref={videoRef}videoSrc={- data.skipProcessing === true || data.jobStatus !== "COMPLETE"+ data.skipProcessing === true ||+ (data.jobStatus !== "COMPLETE" &&+ data.source.type === "MediaConvert")? `${process.env.NEXT_PUBLIC_URL}/api/playlist?userId=${data.ownerId}&videoId=${data.id}&videoType=master`- : `https://v.cap.so/${data.ownerId}/${data.id}/output/video_recording_000.m3u8`+ : data.source.type === "MediaConvert"+ ? `https://v.cap.so/${data.ownerId}/${data.id}/output/video_recording_000.m3u8`+ : `https://v.cap.so/${data.ownerId}/${data.id}/combined-source/stream.m3u8`}/></div>diff --git a/apps/embed/app/view/[videoId]/page.tsx b/apps/embed/app/view/[videoId]/page.tsxindex e0cf92f3e..004963325 100644--- a/apps/embed/app/view/[videoId]/page.tsx+++ b/apps/embed/app/view/[videoId]/page.tsx@@ -60,7 +60,11 @@ export default async function ShareVideoPage(props: Props) {const video = query[0];- if (video.jobId === null && video.skipProcessing === false) {+ if (+ video.jobId === null &&+ video.skipProcessing === false &&+ video.source.type === "MediaConvert"+ ) {const res = await fetch(`${process.env.NEXT_PUBLIC_URL}/api/upload/mux/create?videoId=${videoId}&userId=${video.ownerId}`,{@@ -84,7 +88,11 @@ export default async function ShareVideoPage(props: Props) {);}- if (video.jobStatus !== "COMPLETE" && video.skipProcessing === false) {+ if (+ video.jobStatus !== "COMPLETE" &&+ video.skipProcessing === false &&+ video.source.type === "MediaConvert"+ ) {fetch(`${process.env.NEXT_PUBLIC_URL}/api/upload/mux/status?videoId=${videoId}&userId=${video.ownerId}`,{diff --git a/apps/web/app/api/desktop/video/create/route.ts b/apps/web/app/api/desktop/video/create/route.tsindex fa65d9794..e77cd05db 100644--- a/apps/web/app/api/desktop/video/create/route.ts+++ b/apps/web/app/api/desktop/video/create/route.ts@@ -54,6 +54,7 @@ export async function GET(req: NextRequest) {const params = req.nextUrl.searchParams;const origin = params.get("origin") || null;const originalOrigin = req.nextUrl.origin;+ const recordingMode: "hls" | null = params.get("recordingMode") as any;console.log("cookies:", cookies().getAll());@@ -86,6 +87,13 @@ export async function GET(req: NextRequest) {ownerId: user.id,awsRegion: awsRegion,awsBucket: awsBucket,+ source:+ recordingMode === "hls"+ ? {+ type: "local",+ HLSPlaylistS3Path: `${user.id}/${id}/m3u8/stream.m3u8`,+ }+ : undefined,});if (diff --git a/apps/web/app/api/playlist/route.ts b/apps/web/app/api/playlist/route.tsindex ec39fa7ab..f87e46770 100644--- a/apps/web/app/api/playlist/route.ts+++ b/apps/web/app/api/playlist/route.ts@@ -81,6 +81,62 @@ export async function GET(request: NextRequest) {const audioPrefix = `${userId}/${videoId}/audio/`;try {+ const s3Client = new S3Client({+ region: process.env.CAP_AWS_REGION || "",+ credentials: {+ accessKeyId: process.env.CAP_AWS_ACCESS_KEY || "",+ secretAccessKey: process.env.CAP_AWS_SECRET_KEY || "",+ },+ });++ if (video.source.type === "local") {+ const objects = await s3Client.send(+ new ListObjectsV2Command({+ Bucket: bucket,+ Prefix: `${userId}/${videoId}/combined-source`,+ })+ );++ const segments = (objects.Contents || []).filter((s) =>+ s.Key?.endsWith(".ts")+ );++ const chunksUrls = await Promise.all(+ segments.map(async (object) => {+ const url = await getSignedUrl(+ s3Client,+ new GetObjectCommand({+ Bucket: bucket,+ Key: object.Key,+ }),+ { expiresIn: 3600 }+ );+ const metadata = await s3Client.send(+ new HeadObjectCommand({+ Bucket: bucket,+ Key: object.Key,+ })+ );++ return {+ url: url,+ duration: metadata?.Metadata?.duration ?? "",+ bandwidth: metadata?.Metadata?.bandwidth ?? "",+ resolution: metadata?.Metadata?.resolution ?? "",+ videoCodec: metadata?.Metadata?.videocodec ?? "",+ audioCodec: metadata?.Metadata?.audiocodec ?? "",+ };+ })+ );++ const generatedPlaylist = generateM3U8Playlist(chunksUrls);++ return new Response(generatedPlaylist, {+ status: 200,+ headers: getHeaders(origin),+ });+ }+// Handle screen, video, and now audio typeslet objectsCommand, prefix;switch (videoType) {@@ -103,14 +159,6 @@ export async function GET(request: NextRequest) {);}- const s3Client = new S3Client({- region: process.env.CAP_AWS_REGION || "",- credentials: {- accessKeyId: process.env.CAP_AWS_ACCESS_KEY || "",- secretAccessKey: process.env.CAP_AWS_SECRET_KEY || "",- },- });-if (prefix === null) {const videoSegmentCommand = new ListObjectsV2Command({Bucket: bucket,diff --git a/apps/web/app/api/upload/signed/route.ts b/apps/web/app/api/upload/signed/route.tsindex 33dc55698..306ee1ef2 100644--- a/apps/web/app/api/upload/signed/route.ts+++ b/apps/web/app/api/upload/signed/route.ts@@ -46,6 +46,8 @@ export async function POST(request: NextRequest) {? "video/mp4": fileKey.endsWith(".mp3")? "audio/mpeg"+ : fileKey.endsWith(".m3u8")+ ? "application/x-mpegURL": "video/mp2t";const Fields = {diff --git a/apps/web/app/s/[videoId]/_components/ShareVideo.tsx b/apps/web/app/s/[videoId]/_components/ShareVideo.tsxindex 756b9486c..1ee1d5669 100644--- a/apps/web/app/s/[videoId]/_components/ShareVideo.tsx+++ b/apps/web/app/s/[videoId]/_components/ShareVideo.tsx@@ -324,6 +324,21 @@ export const ShareVideo = ({);}+ let videoSrc: string;++ if (+ // v.cap.so is only available in prod+ process.env.NODE_ENV === "development" ||+ ((data.skipProcessing === true || data.jobStatus !== "COMPLETE") &&+ data.source.type === "MediaConvert")+ ) {+ videoSrc = `${process.env.NEXT_PUBLIC_URL}/api/playlist?userId=${data.ownerId}&videoId=${data.id}&videoType=master`;+ } else if (data.source.type === "MediaConvert") {+ videoSrc = `https://v.cap.so/${data.ownerId}/${data.id}/output/video_recording_000.m3u8`;+ } else {+ videoSrc = `https://v.cap.so/${data.ownerId}/${data.id}/combined-source/stream.m3u8`;+ }+return (<divclassName="relative flex h-full w-full overflow-hidden shadow-lg rounded-lg group"@@ -369,14 +384,7 @@ export const ShareVideo = ({</div></div>)}- <VideoPlayer- ref={videoRef}- videoSrc={- data.skipProcessing === true || data.jobStatus !== "COMPLETE"- ? `${process.env.NEXT_PUBLIC_URL}/api/playlist?userId=${data.ownerId}&videoId=${data.id}&videoType=master`- : `https://v.cap.so/${data.ownerId}/${data.id}/output/video_recording_000.m3u8`- }- />+ <VideoPlayer ref={videoRef} videoSrc={videoSrc} /></div><div className="absolute bottom-0 z-20 w-full text-white bg-black bg-opacity-50 opacity-0 group-hover:opacity-100 transition-all"><divdiff --git a/apps/web/app/s/[videoId]/page.tsx b/apps/web/app/s/[videoId]/page.tsxindex e0cf92f3e..f8781512e 100644--- a/apps/web/app/s/[videoId]/page.tsx+++ b/apps/web/app/s/[videoId]/page.tsx@@ -60,7 +60,11 @@ export default async function ShareVideoPage(props: Props) {const video = query[0];- if (video.jobId === null && video.skipProcessing === false) {+ if (+ video.jobId === null &&+ video.skipProcessing === false &&+ video.source.type === "MediaConvert"+ ) {const res = await fetch(`${process.env.NEXT_PUBLIC_URL}/api/upload/mux/create?videoId=${videoId}&userId=${video.ownerId}`,{@@ -84,7 +88,11 @@ export default async function ShareVideoPage(props: Props) {);}- if (video.jobStatus !== "COMPLETE" && video.skipProcessing === false) {+ if (+ video.jobStatus !== "COMPLETE" &&+ video.skipProcessing === false &&+ video.source.type === "MediaConvert"+ ) {fetch(`${process.env.NEXT_PUBLIC_URL}/api/upload/mux/status?videoId=${videoId}&userId=${video.ownerId}`,{@@ -95,10 +103,8 @@ export default async function ShareVideoPage(props: Props) {);}- if (video.public === false) {- if (video.public === false && userId !== video.ownerId) {- return <p>This video is private</p>;- }+ if (video.public === false && userId !== video.ownerId) {+ return <p>This video is private</p>;}const commentsQuery = await dbdiff --git a/apps/web/utils/video/ffmpeg/helpers.ts b/apps/web/utils/video/ffmpeg/helpers.tsindex 0da770861..3734d4b76 100644--- a/apps/web/utils/video/ffmpeg/helpers.ts+++ b/apps/web/utils/video/ffmpeg/helpers.ts@@ -134,7 +134,7 @@ export const playlistToMp4 = async (return mp4Blob;};-export async function generateM3U8Playlist(+export function generateM3U8Playlist(urls: {url: string;duration: string;diff --git a/packages/database/index.ts b/packages/database/index.tsindex 25166107c..96a1e3053 100644--- a/packages/database/index.ts+++ b/packages/database/index.ts@@ -3,21 +3,21 @@ import { Client, Config } from "@planetscale/database";const URL = process.env.DATABASE_URL!;-let fetchHandler: Config["fetch"] = undefined;+let fetchHandler: Promise<Config["fetch"]> | undefined = undefined;++if (+ process.env.NEXT_PUBLIC_ENVIRONMENT === "development" &&+ URL.startsWith("mysql://")+) {+ fetchHandler = import("@mattrax/mysql-planetscale").then((m) =>+ m.createFetchHandler(URL)+ );+}export const connection = new Client({url: URL,fetch: async (input, init) => {- if (- process.env.NEXT_PUBLIC_ENVIRONMENT === "development" &&- URL.startsWith("mysql://")- ) {- fetchHandler = (- await import("@mattrax/mysql-planetscale")- ).createFetchHandler(URL);- }-- return await (fetchHandler || fetch)(input, init);+ return await ((await fetchHandler) || fetch)(input, init);},});diff --git a/packages/database/package.json b/packages/database/package.jsonindex 3fa5ab64b..e0e44eb8d 100644--- a/packages/database/package.json+++ b/packages/database/package.json@@ -11,7 +11,7 @@"db:drop": "drizzle-kit drop --config=drizzle.config.ts"},"dependencies": {- "@mattrax/mysql-planetscale": "^0.0.2",+ "@mattrax/mysql-planetscale": "^0.0.3","@paralleldrive/cuid2": "^2.2.2","@planetscale/database": "^1.13.0","@react-email/components": "^0.0.13",diff --git a/packages/database/schema.ts b/packages/database/schema.tsindex 6a5018ed2..dddb9f7ae 100644--- a/packages/database/schema.ts+++ b/packages/database/schema.ts@@ -11,6 +11,7 @@ import {uniqueIndex,varchar,float,+ mysqlEnum,} from "drizzle-orm/mysql-core";import { relations } from "drizzle-orm/relations";import { nanoIdLength } from "./helpers";@@ -154,6 +155,12 @@ export const videos = mysqlTable(transcriptionStatus: varchar("transcriptionStatus", { length: 255 }),createdAt: timestamp("createdAt").notNull().defaultNow(),updatedAt: timestamp("updatedAt").notNull().defaultNow().onUpdateNow(),+ source: json("source")+ .$type<+ { type: "MediaConvert" } | { type: "local"; HLSPlaylistS3Path?: string }+ >()+ .notNull()+ .default({ type: "MediaConvert" }),},(table) => ({idIndex: index("id_idx").on(table.id),diff --git a/packages/s3/README.md b/packages/s3/README.mdnew file mode 100644index 000000000..2bd4ef27d--- /dev/null+++ b/packages/s3/README.md@@ -0,0 +1,22 @@+```+/{userId}/{videoId}+ /transcription.vtt - Transcription file+ /screenshot/screen-capture.jpg - Screen capture+ /output+ /video_recording_000.m3u8 - Master playlist+ /video_recording_000_output.m3u8 - MediaConvert playlist+ /video_recording_000_output_x.ts - MediaConvert video segments+ /video+ /video_recording_x.ts - Uploaded MPEG-TS video segments+ /audio+ /audio_recording_x.aac - Uploaded aac audio segments++ /transcription.vtt+ /screenshot/screen-capture.jpg+ /combined-source+ /stream.m3u8 - Client-generated m3u8 file+ /segment_x.ts - Client-generated HLS segment+ /generated+ /all-audio.mp3 - All audio in one mp3 file for transcription+ /everything.mp4 - Everything together for downloading+```diff --git a/packages/utils/src/helpers.ts b/packages/utils/src/helpers.tsindex d9becb541..8f43c3cdd 100644--- a/packages/utils/src/helpers.ts+++ b/packages/utils/src/helpers.ts@@ -26,7 +26,7 @@ export const saveLatestVideoId = (videoId: string) => {}};-export const getLatestVideoId = async () => {+export const getLatestVideoId = () => {if (typeof navigator !== "undefined" && typeof window !== "undefined") {return window.localStorage.getItem("latestVideoId") || "";}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 2b7803bc0..770f10744 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -40,13 +40,13 @@ importers:version: 8.5.1'@sentry/nextjs':specifier: ^7.105.0- version: 7.105.0([email protected])([email protected])+ version: 7.105.0([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected])'@tauri-apps/api':specifier: ^1.5.3version: 1.5.3'@tensorflow-models/body-pix':specifier: ^2.2.1- version: 2.2.1(@tensorflow/[email protected])(@tensorflow/[email protected])(@tensorflow/[email protected])+ version: 2.2.1(@tensorflow/[email protected](@tensorflow/[email protected]))(@tensorflow/[email protected](@tensorflow/[email protected]))(@tensorflow/[email protected])'@tensorflow/tfjs':specifier: ^4.17.0version: 4.17.0([email protected])@@ -67,10 +67,10 @@ importers:version: 2.6.4next:specifier: ^14.2.3+ version: 14.2.3(@babel/[email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.5+ version: 4.24.5([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])postcss:specifier: ^8.4.31version: 8.4.33@@ -82,13 +82,13 @@ importers:version: 18.2.0([email protected])react-hot-toast:specifier: ^2.4.1react-router-dom:specifier: ^6.18.0- version: 6.21.2([email protected])([email protected])tailwindcss:specifier: ^3.3.4- version: 3.4.1tauri-plugin-context-menu:specifier: ^0.5.0version: 0.5.0@@ -122,7 +122,7 @@ importers:version: link:../../packages/utils'@headlessui/react':specifier: ^1.7.17- version: 1.7.18([email protected])([email protected])clsx:specifier: ^2.0.0version: 2.1.0@@ -134,7 +134,7 @@ importers:version: 16.4.5drizzle-orm:specifier: 0.30.9- version: 0.30.9(@planetscale/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 0.30.9(@planetscale/[email protected])(@types/[email protected])([email protected])([email protected])hls.js:specifier: ^1.5.3version: 1.5.3@@ -152,10 +152,10 @@ importers:version: 3.9.7next:specifier: 14.2.3+ version: 14.2.3(@babel/[email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.5+ version: 4.24.5([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])react:specifier: ^18.2.0version: 18.2.0@@ -164,19 +164,19 @@ importers:version: 18.2.0([email protected])react-hls-player:specifier: ^3.0.7- version: 3.0.7([email protected])([email protected])react-hot-toast:specifier: ^2.4.1react-player:specifier: ^2.14.1version: 2.14.1([email protected])react-rnd:specifier: ^10.4.1- version: 10.4.1([email protected])([email protected])react-tooltip:specifier: ^5.26.3- version: 5.26.3([email protected])([email protected])server-only:specifier: ^0.0.1version: 0.0.1@@ -210,7 +210,7 @@ importers:version: 8.4.33tailwindcss:specifier: ^3- version: 3.4.1typescript:specifier: ^5.3.2version: 5.4.5@@ -265,7 +265,7 @@ importers:devDependencies:'@typescript-eslint/eslint-plugin':specifier: ^7.6.0+ version: 7.13.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])'@typescript-eslint/parser':specifier: ^7.6.0version: 7.13.1([email protected])([email protected])@@ -274,16 +274,16 @@ importers:version: 8.57.0eslint-config-airbnb-typescript:specifier: ^18.0.0- version: 18.0.0(@typescript-eslint/[email protected])(@typescript-eslint/[email protected])([email protected])([email protected])+ version: 18.0.0(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])eslint-import-resolver-typescript:specifier: ^3.6.1+ version: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])eslint-plugin-import:specifier: ^2.29.1+ version: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])jest:specifier: ^29.7.0- version: 29.7.0(@types/[email protected])([email protected])+ version: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))nodemon:specifier: ^3.1.0version: 3.1.3@@ -292,7 +292,7 @@ importers:version: 6.3.4ts-jest:specifier: ^29.1.2+ version: 29.1.5(@babel/[email protected])(@jest/[email protected])(@jest/[email protected])([email protected](@babel/[email protected]))([email protected](@types/[email protected])([email protected](@types/[email protected])([email protected])))([email protected])apps/web:dependencies:@@ -331,10 +331,10 @@ importers:version: 0.12.1'@headlessui/react':specifier: ^1.7.17- version: 1.7.18([email protected])([email protected])'@hookform/resolvers':specifier: ^3.3.2- version: 3.3.4([email protected])+ version: 3.3.4([email protected]([email protected]))'@mux/mux-node':specifier: ^8.5.1version: 8.5.1@@ -355,7 +355,7 @@ importers:version: 5.51.11([email protected])'@tanstack/react-store':specifier: ^0.5.5- version: 0.5.5([email protected])([email protected])'@tanstack/store':specifier: ^0.5.5version: 0.5.5@@ -376,7 +376,7 @@ importers:version: 16.3.1drizzle-orm:specifier: 0.30.9- version: 0.30.9(@planetscale/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 0.30.9(@planetscale/[email protected])(@types/[email protected])([email protected])([email protected])dub:specifier: ^0.33.1version: 0.33.1([email protected])@@ -400,16 +400,16 @@ importers:version: 3.9.7next:specifier: 14.2.3+ version: 14.2.3(@babel/[email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.5+ version: 4.24.5([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])next-mdx-remote:specifier: ^4.4.1- version: 4.4.1([email protected])([email protected])nextjs-cors:specifier: ^2.2.0- version: 2.2.0([email protected])posthog-js:specifier: ^1.129.0version: 1.129.0@@ -424,25 +424,25 @@ importers:version: 1.10.1react-hls-player:specifier: ^3.0.7- version: 3.0.7([email protected])([email protected])react-hook-form:specifier: ^7.49.2version: 7.49.3([email protected])react-hot-toast:specifier: ^2.4.1react-player:specifier: ^2.14.1version: 2.14.1([email protected])react-rnd:specifier: ^10.4.1- version: 10.4.1([email protected])([email protected])react-scroll-parallax:specifier: ^3.4.5- version: 3.4.5([email protected])([email protected])react-tooltip:specifier: ^5.26.3- version: 5.26.3([email protected])([email protected])resend:specifier: 1.1.0version: 1.1.0@@ -485,7 +485,7 @@ importers:version: 8.4.33tailwindcss:specifier: ^3- version: 3.4.1typescript:specifier: ^5.3.2version: 5.3.3@@ -494,20 +494,20 @@ importers:dependencies:'@vitejs/plugin-react':specifier: ^4.0.3- version: 4.2.1([email protected])+ version: 4.2.1([email protected](@types/[email protected]))vite:specifier: ^4.4.5version: 4.5.1(@types/[email protected])vite-tsconfig-paths:specifier: ^4.2.0- version: 4.3.1([email protected])([email protected])devDependencies:'@types/node':specifier: ^20.4.5version: 20.11.5'@typescript-eslint/eslint-plugin':specifier: ^5.59.6+ version: 5.62.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])'@typescript-eslint/parser':specifier: ^5.59.6version: 5.62.0([email protected])([email protected])@@ -525,7 +525,7 @@ importers:version: 1.11.3([email protected])eslint-plugin-prettier:specifier: ^4.2.1eslint-plugin-react:specifier: ^7.32.2version: 7.33.2([email protected])@@ -534,7 +534,7 @@ importers:version: 4.6.0([email protected])eslint-plugin-tailwindcss:specifier: ^3.12.0- version: 3.14.0([email protected])+ version: 3.14.0([email protected]([email protected](@types/[email protected])([email protected])))eslint-utils:specifier: ^3.0.0version: 3.0.0([email protected])@@ -542,8 +542,8 @@ importers:packages/database:dependencies:'@mattrax/mysql-planetscale':- specifier: ^0.0.2- version: 0.0.2+ specifier: ^0.0.3+ version: 0.0.3'@paralleldrive/cuid2':specifier: ^2.2.2version: 2.2.2@@ -567,10 +567,10 @@ importers:version: 5.0.4next:specifier: 14.1.0- version: 14.1.0([email protected])([email protected])next-auth:specifier: ^4.24.5+ version: 4.24.5([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])react-email:specifier: ^1.10.1version: 1.10.1@@ -610,7 +610,7 @@ importers:version: 18.2.0([email protected])react-router-dom:specifier: ^6.18.0- version: 6.21.2([email protected])([email protected])tsconfig:specifier: workspace:*version: link:../tsconfig@@ -627,31 +627,31 @@ importers:version: link:../utils'@radix-ui/react-dialog':specifier: ^1.0.5- version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-dropdown-menu':specifier: ^2.0.6- version: 2.0.6(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 2.0.6(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-label':specifier: ^2.0.2- version: 2.0.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-navigation-menu':specifier: ^1.1.4- version: 1.1.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 1.1.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-popover':specifier: ^1.0.7- version: 1.0.7(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ version: 1.0.7(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot':specifier: ^1.0.2version: 1.0.2(@types/[email protected])([email protected])'@tailwindcss/typography':specifier: ^0.5.9- version: 0.5.12([email protected])+ version: 0.5.12([email protected]([email protected](@types/[email protected])([email protected])))class-variance-authority:specifier: ^0.7.0version: 0.7.0cmdk:specifier: ^0.2.0lucide-react:specifier: ^0.294.0version: 0.294.0([email protected])@@ -676,7 +676,7 @@ importers:version: 18.2.18'@vitejs/plugin-react':specifier: ^4.0.3- version: 4.2.1([email protected])+ version: 4.2.1([email protected](@types/[email protected]))autoprefixer:specifier: ^10.4.16version: 10.4.17([email protected])@@ -694,13 +694,13 @@ importers:version: 18.2.0([email protected])react-router-dom:specifier: ^6.18.0- version: 6.21.2([email protected])([email protected])tailwindcss:specifier: ^3.3.3- version: 3.4.1tailwindcss-animate:specifier: ^1.0.6- version: 1.0.7([email protected])tauri-plugin-context-menu:specifier: ^0.5.0version: 0.5.0@@ -718,7 +718,7 @@ importers:version: 4.5.1(@types/[email protected])vite-tsconfig-paths:specifier: ^4.2.1- version: 4.3.1([email protected])([email protected])packages/utils:dependencies:@@ -740,7 +740,7 @@ importers:version: 18.2.0([email protected])react-router-dom:specifier: ^6.18.0- version: 6.21.2([email protected])([email protected])tsconfig:specifier: workspace:*version: link:../tsconfig@@ -2050,8 +2050,8 @@ packages:resolution: {integrity: sha512-SkAyKAByB9l93Slyg8AUHGuM2kjvWioUTCckT/03J09jYnfEzMO/wSXmEhnKGYs6qx9De8TH4yJCl0Y9lRgnyQ==}engines: {node: '>=14.18.0'}- '@mattrax/[email protected]':- resolution: {integrity: sha512-wrbsQ8c5FOcicJV1VgV791MWRDkNOpMZapmKAUzXWRMfZrmm7msHZ8IcL78BtTBSUXKf+VvE9zN+qg4p/LafWw==}+ '@mattrax/[email protected]':+ resolution: {integrity: sha512-A6M1qF1RxlwAWLY7ETKH/t3yaH6FVHlr5YkYfjNPMKL+c7T9HDtYyI05/0j7HeEwTOtsltedRVLl7yAQSHSU7Q==}'@mdx-js/[email protected]':resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==}@@ -4165,6 +4165,10 @@ packages:resolution: {integrity: sha512-TV82tdvYDioEHeCLEOjPWdW83EU1RhXmZZcRZDqstZdDg5SX4ixhuPU4JspGV+wy6zHqE5/rv3G21LiBPjfvdg==}engines: {node: '>= 10.0.0'}+ resolution: {integrity: sha512-+H+kuK34PfMaI9PNU/NSjBKL5hh/KDM9J72kwYeYEm0A8B1AC4fuCy3qsjnA7lxklgyXsB68yn8Z2xoZEjgwCQ==}+ engines: {node: '>= 6.0.0'}+resolution: {integrity: sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==}engines: {node: '>=4'}@@ -6586,6 +6590,10 @@ packages:resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}+ resolution: {integrity: sha512-J9phbsXGvTOcRVPR95YedzVSxJecpW5A5+cQ57rhHIFXteTP10HCs+VBjS7DHIKfEaI1zQ5tlVrquCd64A6YvA==}+ engines: {node: '>= 8.0'}+resolution: {integrity: sha512-KnJT8vYRcNAZv73uf9zpXqNbvBG7DJrs+1nACsjZP1HMJ1TgXEy8wnNilXAn/5i57JizXKtrUtwDB7HxT9DDpw==}engines: {node: '>= 8.0'}@@ -8613,7 +8621,7 @@ snapshots:'@aws-crypto/sha256-js': 5.2.0'@aws-sdk/client-sts': 3.598.0(@aws-sdk/[email protected])'@aws-sdk/core': 3.598.0- '@aws-sdk/credential-provider-node': 3.598.0(@aws-sdk/[email protected])(@aws-sdk/[email protected])+ '@aws-sdk/credential-provider-node': 3.598.0(@aws-sdk/[email protected])(@aws-sdk/[email protected](@aws-sdk/[email protected]))'@aws-sdk/middleware-host-header': 3.598.0'@aws-sdk/middleware-logger': 3.598.0'@aws-sdk/middleware-recursion-detection': 3.598.0@@ -8831,7 +8839,7 @@ snapshots:'@aws-crypto/sha256-js': 5.2.0'@aws-sdk/client-sso-oidc': 3.598.0'@aws-sdk/core': 3.598.0- '@aws-sdk/credential-provider-node': 3.598.0(@aws-sdk/[email protected])(@aws-sdk/[email protected])+ '@aws-sdk/credential-provider-node': 3.598.0(@aws-sdk/[email protected])(@aws-sdk/[email protected](@aws-sdk/[email protected]))'@aws-sdk/middleware-host-header': 3.598.0'@aws-sdk/middleware-logger': 3.598.0'@aws-sdk/middleware-recursion-detection': 3.598.0@@ -8977,14 +8985,14 @@ snapshots:- '@aws-sdk/client-sso-oidc'- aws-crt+ '@aws-sdk/[email protected](@aws-sdk/[email protected])(@aws-sdk/[email protected](@aws-sdk/[email protected]))':dependencies:'@aws-sdk/client-sts': 3.598.0(@aws-sdk/[email protected])'@aws-sdk/credential-provider-env': 3.598.0'@aws-sdk/credential-provider-http': 3.598.0'@aws-sdk/credential-provider-process': 3.598.0'@aws-sdk/credential-provider-sso': 3.598.0(@aws-sdk/[email protected])- '@aws-sdk/credential-provider-web-identity': 3.598.0(@aws-sdk/[email protected])+ '@aws-sdk/credential-provider-web-identity': 3.598.0(@aws-sdk/[email protected](@aws-sdk/[email protected]))'@aws-sdk/types': 3.598.0'@smithy/credential-provider-imds': 3.1.1'@smithy/property-provider': 3.1.1@@ -9030,14 +9038,14 @@ snapshots:- '@aws-sdk/client-sts'- aws-crt+ '@aws-sdk/[email protected](@aws-sdk/[email protected])(@aws-sdk/[email protected](@aws-sdk/[email protected]))':dependencies:'@aws-sdk/credential-provider-env': 3.598.0'@aws-sdk/credential-provider-http': 3.598.0- '@aws-sdk/credential-provider-ini': 3.598.0(@aws-sdk/[email protected])(@aws-sdk/[email protected])+ '@aws-sdk/credential-provider-ini': 3.598.0(@aws-sdk/[email protected])(@aws-sdk/[email protected](@aws-sdk/[email protected]))'@aws-sdk/credential-provider-process': 3.598.0'@aws-sdk/credential-provider-sso': 3.598.0(@aws-sdk/[email protected])- '@aws-sdk/credential-provider-web-identity': 3.598.0(@aws-sdk/[email protected])+ '@aws-sdk/credential-provider-web-identity': 3.598.0(@aws-sdk/[email protected](@aws-sdk/[email protected]))'@aws-sdk/types': 3.598.0'@smithy/credential-provider-imds': 3.1.1'@smithy/property-provider': 3.1.1@@ -9126,7 +9134,7 @@ snapshots:'@smithy/types': 2.12.0tslib: 2.6.2- '@aws-sdk/[email protected](@aws-sdk/[email protected])':dependencies:'@aws-sdk/client-sts': 3.598.0(@aws-sdk/[email protected])'@aws-sdk/types': 3.598.0@@ -10164,7 +10172,7 @@ snapshots:'@floating-ui/core': 1.5.3'@floating-ui/utils': 0.2.1dependencies:'@floating-ui/dom': 1.5.4react: 18.2.0@@ -10172,9 +10180,9 @@ snapshots:'@floating-ui/[email protected]': {}dependencies:- '@tanstack/react-virtual': 3.0.2([email protected])([email protected])client-only: 0.0.1react: 18.2.0react-dom: 18.2.0([email protected])@@ -10186,7 +10194,7 @@ snapshots:hono: 4.4.7zod: 3.22.4- '@hookform/[email protected]([email protected])':dependencies:react-hook-form: 7.49.3([email protected])@@ -10240,7 +10248,7 @@ snapshots:jest-util: 29.7.0slash: 3.0.0- '@jest/[email protected]([email protected])':dependencies:'@jest/console': 29.7.0'@jest/reporters': 29.7.0@@ -10254,7 +10262,7 @@ snapshots:exit: 0.1.2graceful-fs: 4.2.11jest-changed-files: 29.7.0- jest-config: 29.7.0(@types/[email protected])([email protected])+ jest-config: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))jest-haste-map: 29.7.0jest-message-util: 29.7.0jest-regex-util: 29.6.3@@ -10441,10 +10449,10 @@ snapshots:jju: 1.4.0read-yaml-file: 1.1.0- '@mattrax/[email protected]':+ '@mattrax/[email protected]':dependencies:'@planetscale/database': 1.18.0- mysql2: 3.9.7+ mysql2: 3.11.0'@mdx-js/[email protected]':dependencies:@@ -10737,26 +10745,28 @@ snapshots:dependencies:'@babel/runtime': 7.23.8- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18'@radix-ui/[email protected]([email protected])':dependencies:@@ -10766,8 +10776,9 @@ snapshots:dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48'@radix-ui/[email protected]([email protected])':dependencies:@@ -10777,22 +10788,23 @@ snapshots:dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48+ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.0'@radix-ui/react-compose-refs': 1.0.0([email protected])'@radix-ui/react-context': 1.0.0([email protected])- '@radix-ui/react-dismissable-layer': 1.0.0([email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.0([email protected]([email protected]))([email protected])'@radix-ui/react-focus-guards': 1.0.0([email protected])- '@radix-ui/react-focus-scope': 1.0.0([email protected])([email protected])'@radix-ui/react-id': 1.0.0([email protected])- '@radix-ui/react-portal': 1.0.0([email protected])([email protected])- '@radix-ui/react-presence': 1.0.0([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])'@radix-ui/react-slot': 1.0.0([email protected])'@radix-ui/react-use-controllable-state': 1.0.0([email protected])aria-hidden: 1.2.3@@ -10802,72 +10814,76 @@ snapshots:transitivePeerDependencies:- '@types/react'- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-portal': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.0'@radix-ui/react-compose-refs': 1.0.0([email protected])- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])'@radix-ui/react-use-callback-ref': 1.0.0([email protected])'@radix-ui/react-use-escape-keydown': 1.0.0([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-escape-keydown': 1.0.3(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.0.6(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-menu': 2.0.6(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18'@radix-ui/[email protected]([email protected])':dependencies:@@ -10877,28 +10893,30 @@ snapshots:dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-compose-refs': 1.0.0([email protected])- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])'@radix-ui/react-use-callback-ref': 1.0.0([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18'@radix-ui/[email protected]([email protected])':dependencies:@@ -10910,124 +10928,131 @@ snapshots:dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.1.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-popper': 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.1.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-portal': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-popper': 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18aria-hidden: 1.2.3react: 18.2.0react-dom: 18.2.0([email protected])react-remove-scroll: 2.5.5(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8- '@floating-ui/react-dom': 2.0.6([email protected])([email protected])- '@radix-ui/react-arrow': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-arrow': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-rect': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])'@radix-ui/rect': 1.0.1- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18dependencies:'@babel/runtime': 7.23.8- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-compose-refs': 1.0.0([email protected])@@ -11035,48 +11060,51 @@ snapshots:react: 18.2.0react-dom: 18.2.0([email protected])- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-slot': 1.0.0([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8'@radix-ui/primitive': 1.0.1- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18'@radix-ui/[email protected]([email protected])':dependencies:@@ -11088,8 +11116,9 @@ snapshots:dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48'@radix-ui/[email protected]([email protected])':dependencies:@@ -11099,8 +11128,9 @@ snapshots:dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48'@radix-ui/[email protected]([email protected])':dependencies:@@ -11112,8 +11142,9 @@ snapshots:dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48'@radix-ui/[email protected]([email protected])':dependencies:@@ -11125,8 +11156,9 @@ snapshots:dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48'@radix-ui/[email protected]([email protected])':dependencies:@@ -11136,37 +11168,42 @@ snapshots:dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48dependencies:'@babel/runtime': 7.23.8- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48dependencies:'@babel/runtime': 7.23.8'@radix-ui/rect': 1.0.1- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48dependencies:'@babel/runtime': 7.23.8'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.48react: 18.2.0+ optionalDependencies:+ '@types/react': 18.2.48- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])':+ '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.23.8- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])- '@types/react': 18.2.48- '@types/react-dom': 18.2.18+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])+ optionalDependencies:+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.18'@radix-ui/[email protected]':dependencies:@@ -11286,6 +11323,7 @@ snapshots:glob: 8.1.0is-reference: 1.2.1magic-string: 0.27.0+ optionalDependencies:rollup: 2.78.0'@rollup/[email protected]([email protected])':@@ -11293,6 +11331,7 @@ snapshots:'@types/estree': 1.0.5estree-walker: 2.0.2picomatch: 2.3.1+ optionalDependencies:rollup: 2.78.0'@rushstack/[email protected]': {}@@ -11360,7 +11399,7 @@ snapshots:'@sentry/utils': 7.105.0localforage: 1.10.0+ '@sentry/[email protected]([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected])':dependencies:'@rollup/plugin-commonjs': 24.0.0([email protected])'@sentry/core': 7.105.0@@ -11372,7 +11411,7 @@ snapshots:'@sentry/vercel-edge': 7.105.0'@sentry/webpack-plugin': 1.21.0chalk: 3.0.0react: 18.2.0resolve: 1.22.8rollup: 2.78.0@@ -12268,13 +12307,13 @@ snapshots:'@swc/counter': 0.1.3tslib: 2.6.2- '@tailwindcss/[email protected]([email protected])':+ '@tailwindcss/[email protected]([email protected]([email protected](@types/[email protected])([email protected])))':dependencies:lodash.castarray: 4.4.0lodash.isplainobject: 4.0.6lodash.merge: 4.6.2postcss-selector-parser: 6.0.10- tailwindcss: 3.4.1'@tanstack/[email protected]': {}@@ -12283,14 +12322,14 @@ snapshots:'@tanstack/query-core': 5.51.9react: 18.2.0dependencies:'@tanstack/store': 0.5.5react: 18.2.0react-dom: 18.2.0([email protected])use-sync-external-store: 1.2.2([email protected])dependencies:'@tanstack/virtual-core': 3.0.0react: 18.2.0@@ -12345,7 +12384,7 @@ snapshots:'@tauri-apps/cli-win32-ia32-msvc': 1.5.11'@tauri-apps/cli-win32-x64-msvc': 1.5.11- '@tensorflow-models/[email protected](@tensorflow/[email protected])(@tensorflow/[email protected])(@tensorflow/[email protected])':+ '@tensorflow-models/[email protected](@tensorflow/[email protected](@tensorflow/[email protected]))(@tensorflow/[email protected](@tensorflow/[email protected]))(@tensorflow/[email protected])':dependencies:'@tensorflow/tfjs-backend-webgl': 4.17.0(@tensorflow/[email protected])'@tensorflow/tfjs-converter': 4.17.0(@tensorflow/[email protected])@@ -12685,7 +12724,7 @@ snapshots:dependencies:'@types/yargs-parser': 21.0.3- '@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected])':+ '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:'@eslint-community/regexpp': 4.10.0'@typescript-eslint/parser': 5.62.0([email protected])([email protected])@@ -12699,11 +12738,12 @@ snapshots:natural-compare-lite: 1.4.0semver: 7.5.4tsutils: 3.21.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected])':+ '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:'@eslint-community/regexpp': 4.10.0'@typescript-eslint/parser': 7.13.1([email protected])([email protected])@@ -12716,6 +12756,7 @@ snapshots:ignore: 5.3.1natural-compare: 1.4.0ts-api-utils: 1.3.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12727,6 +12768,7 @@ snapshots:'@typescript-eslint/typescript-estree': 5.62.0([email protected])debug: 4.3.4([email protected])eslint: 8.56.0+ optionalDependencies:typescript: 5.3.3transitivePeerDependencies:- supports-color@@ -12738,6 +12780,7 @@ snapshots:'@typescript-eslint/typescript-estree': 5.62.0([email protected])debug: 4.3.4([email protected])eslint: 8.56.0+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12749,6 +12792,7 @@ snapshots:'@typescript-eslint/typescript-estree': 5.62.0([email protected])debug: 4.3.4([email protected])eslint: 8.57.0+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12761,6 +12805,7 @@ snapshots:'@typescript-eslint/visitor-keys': 7.13.1debug: 4.3.4([email protected])eslint: 8.57.0+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12782,6 +12827,7 @@ snapshots:debug: 4.3.4([email protected])eslint: 8.56.0tsutils: 3.21.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12793,6 +12839,7 @@ snapshots:debug: 4.3.4([email protected])eslint: 8.57.0ts-api-utils: 1.3.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12810,6 +12857,7 @@ snapshots:is-glob: 4.0.3semver: 7.6.2tsutils: 3.21.0([email protected])+ optionalDependencies:typescript: 5.3.3transitivePeerDependencies:- supports-color@@ -12823,6 +12871,7 @@ snapshots:is-glob: 4.0.3semver: 7.6.2tsutils: 3.21.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12837,6 +12886,7 @@ snapshots:minimatch: 9.0.4semver: 7.6.2ts-api-utils: 1.3.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- supports-color@@ -12879,7 +12929,7 @@ snapshots:'@ungap/[email protected]': {}- '@vitejs/[email protected]([email protected])':dependencies:'@babel/core': 7.23.7'@babel/plugin-transform-react-jsx-self': 7.23.3(@babel/[email protected])@@ -13107,6 +13157,8 @@ snapshots:uuid: 8.0.0xml2js: 0.5.0+ [email protected]: {}+@@ -13427,9 +13479,9 @@ snapshots:+ [email protected](@types/[email protected])([email protected]([email protected]))([email protected]):dependencies:+ '@radix-ui/react-dialog': 1.0.0(@types/[email protected])([email protected]([email protected]))([email protected])command-score: 0.1.2react: 18.2.0react-dom: 18.2.0([email protected])@@ -13527,13 +13579,13 @@ snapshots:object-assign: 4.1.1vary: 1.1.2+ [email protected](@types/[email protected])([email protected](@types/[email protected])([email protected])):dependencies:'@jest/types': 29.6.3chalk: 4.1.2exit: 0.1.2graceful-fs: 4.2.11- jest-config: 29.7.0(@types/[email protected])([email protected])+ jest-config: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))jest-util: 29.7.0prompts: 2.4.2transitivePeerDependencies:@@ -13589,6 +13641,7 @@ snapshots:dependencies:ms: 2.1.2+ optionalDependencies:supports-color: 5.5.0@@ -13764,12 +13817,19 @@ snapshots:- supports-color[email protected](@planetscale/[email protected])(@types/[email protected])([email protected])([email protected]):- dependencies:+ optionalDependencies:'@planetscale/database': 1.13.0'@types/react': 18.2.48mysql2: 3.9.7react: 18.2.0+ [email protected](@planetscale/[email protected])(@types/[email protected])([email protected])([email protected]):+ optionalDependencies:+ '@planetscale/database': 1.18.0+ '@types/react': 18.2.48+ mysql2: 3.9.7+ react: 18.2.0+dependencies:zod: 3.22.4@@ -14026,21 +14086,21 @@ snapshots:optionalDependencies:source-map: 0.6.1+ [email protected]([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected]):dependencies:confusing-browser-globals: 1.0.11eslint: 8.57.0- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])object.assign: 4.1.5object.entries: 1.1.7semver: 6.3.1- [email protected](@typescript-eslint/[email protected])(@typescript-eslint/[email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected]):dependencies:- '@typescript-eslint/eslint-plugin': 7.13.1(@typescript-eslint/[email protected])([email protected])([email protected])+ '@typescript-eslint/eslint-plugin': 7.13.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])'@typescript-eslint/parser': 7.13.1([email protected])([email protected])eslint: 8.57.0- eslint-config-airbnb-base: 15.0.0([email protected])([email protected])+ eslint-config-airbnb-base: 15.0.0([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])transitivePeerDependencies:- eslint-plugin-import@@ -14051,11 +14111,12 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])eslint-plugin-jsx-a11y: 6.8.0([email protected])eslint-plugin-react: 7.33.2([email protected])eslint-plugin-react-hooks: 4.6.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- eslint-import-resolver-webpack@@ -14068,11 +14129,12 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])eslint-plugin-jsx-a11y: 6.8.0([email protected])eslint-plugin-react: 7.33.2([email protected])eslint-plugin-react-hooks: 4.6.0([email protected])+ optionalDependencies:typescript: 5.3.3transitivePeerDependencies:- eslint-import-resolver-webpack@@ -14085,11 +14147,12 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])eslint-plugin-jsx-a11y: 6.8.0([email protected])eslint-plugin-react: 7.33.2([email protected])eslint-plugin-react-hooks: 4.6.0([email protected])+ optionalDependencies:typescript: 5.4.5transitivePeerDependencies:- eslint-import-resolver-webpack@@ -14112,13 +14175,13 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]):dependencies:debug: 4.3.4([email protected])enhanced-resolve: 5.15.0eslint: 8.56.0- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])fast-glob: 3.3.2get-tsconfig: 4.7.2is-core-module: 2.13.1@@ -14129,13 +14192,30 @@ snapshots:- eslint-import-resolver-webpack- supports-color- [email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]):+ dependencies:+ debug: 4.3.4([email protected])+ enhanced-resolve: 5.15.0+ eslint: 8.56.0+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])+ fast-glob: 3.3.2+ get-tsconfig: 4.7.2+ is-core-module: 2.13.1+ is-glob: 4.0.3+ transitivePeerDependencies:+ - '@typescript-eslint/parser'+ - eslint-import-resolver-node+ - eslint-import-resolver-webpack+ - supports-color++ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:debug: 4.3.4([email protected])enhanced-resolve: 5.15.0eslint: 8.57.0- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])fast-glob: 3.3.2get-tsconfig: 4.7.2is-core-module: 2.13.1@@ -14146,13 +14226,13 @@ snapshots:- eslint-import-resolver-webpack- supports-color+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):dependencies:debug: 4.3.4([email protected])enhanced-resolve: 5.15.0eslint: 8.57.0- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])fast-glob: 3.3.2get-tsconfig: 4.7.2is-core-module: 2.13.1@@ -14163,48 +14243,52 @@ snapshots:- eslint-import-resolver-webpack- supports-color- [email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected]):dependencies:- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])debug: 3.2.7+ optionalDependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected]):dependencies:- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])debug: 3.2.7- eslint: 8.57.0+ optionalDependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])+ eslint: 8.56.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected]):dependencies:- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])debug: 3.2.7- eslint: 8.56.0+ optionalDependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])+ eslint: 8.57.0eslint-import-resolver-node: 0.3.9+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected]):dependencies:- '@typescript-eslint/parser': 7.13.1([email protected])([email protected])debug: 3.2.7+ optionalDependencies:+ '@typescript-eslint/parser': 7.13.1([email protected])([email protected])eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])transitivePeerDependencies:- supports-color+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):dependencies:- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])array-includes: 3.1.7array.prototype.findlastindex: 1.2.3array.prototype.flat: 1.3.2@@ -14213,7 +14297,7 @@ snapshots:doctrine: 2.1.0eslint: 8.56.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected])hasown: 2.0.0is-core-module: 2.13.1is-glob: 4.0.3@@ -14223,23 +14307,24 @@ snapshots:object.values: 1.1.7semver: 6.3.1tsconfig-paths: 3.15.0+ optionalDependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])transitivePeerDependencies:- eslint-import-resolver-typescript- eslint-import-resolver-webpack- supports-color+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):dependencies:- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])array-includes: 3.1.7array.prototype.findlastindex: 1.2.3array.prototype.flat: 1.3.2array.prototype.flatmap: 1.3.2debug: 3.2.7doctrine: 2.1.0- eslint: 8.57.0+ eslint: 8.56.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]))([email protected])hasown: 2.0.0is-core-module: 2.13.1is-glob: 4.0.3@@ -14249,23 +14334,24 @@ snapshots:object.values: 1.1.7semver: 6.3.1tsconfig-paths: 3.15.0+ optionalDependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])transitivePeerDependencies:- eslint-import-resolver-typescript- eslint-import-resolver-webpack- supports-color+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):dependencies:- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])array-includes: 3.1.7array.prototype.findlastindex: 1.2.3array.prototype.flat: 1.3.2array.prototype.flatmap: 1.3.2debug: 3.2.7doctrine: 2.1.0- eslint: 8.56.0+ eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])hasown: 2.0.0is-core-module: 2.13.1is-glob: 4.0.3@@ -14275,14 +14361,15 @@ snapshots:object.values: 1.1.7semver: 6.3.1tsconfig-paths: 3.15.0+ optionalDependencies:+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])transitivePeerDependencies:- eslint-import-resolver-typescript- eslint-import-resolver-webpack- supports-color+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):dependencies:- '@typescript-eslint/parser': 7.13.1([email protected])([email protected])array-includes: 3.1.7array.prototype.findlastindex: 1.2.3array.prototype.flat: 1.3.2@@ -14291,7 +14378,7 @@ snapshots:doctrine: 2.1.0eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])hasown: 2.0.0is-core-module: 2.13.1is-glob: 4.0.3@@ -14301,6 +14388,8 @@ snapshots:object.values: 1.1.7semver: 6.3.1tsconfig-paths: 3.15.0+ optionalDependencies:+ '@typescript-eslint/parser': 7.13.1([email protected])([email protected])transitivePeerDependencies:- eslint-import-resolver-typescript- eslint-import-resolver-webpack@@ -14346,12 +14435,13 @@ snapshots:object.entries: 1.1.7object.fromentries: 2.0.7dependencies:eslint: 8.56.0- eslint-config-prettier: 8.10.0([email protected])prettier: 2.8.8prettier-linter-helpers: 1.0.0+ optionalDependencies:+ eslint-config-prettier: 8.10.0([email protected])dependencies:@@ -14401,11 +14491,11 @@ snapshots:semver: 6.3.1string.prototype.matchall: 4.0.10+ [email protected]([email protected]([email protected](@types/[email protected])([email protected]))):dependencies:fast-glob: 3.3.2postcss: 8.4.33- tailwindcss: 3.4.1dependencies:@@ -15528,16 +15618,16 @@ snapshots:- babel-plugin-macros- supports-color+ [email protected](@types/[email protected])([email protected](@types/[email protected])([email protected])):dependencies:- '@jest/core': 29.7.0([email protected])'@jest/test-result': 29.7.0'@jest/types': 29.6.3chalk: 4.1.2- create-jest: 29.7.0(@types/[email protected])([email protected])+ create-jest: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))exit: 0.1.2import-local: 3.1.0- jest-config: 29.7.0(@types/[email protected])([email protected])+ jest-config: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))jest-util: 29.7.0jest-validate: 29.7.0yargs: 17.7.2@@ -15547,12 +15637,11 @@ snapshots:- supports-color- ts-node+ [email protected](@types/[email protected])([email protected](@types/[email protected])([email protected])):dependencies:'@babel/core': 7.23.7'@jest/test-sequencer': 29.7.0'@jest/types': 29.6.3- '@types/node': 20.14.2babel-jest: 29.7.0(@babel/[email protected])chalk: 4.1.2ci-info: 3.9.0@@ -15572,6 +15661,8 @@ snapshots:pretty-format: 29.7.0slash: 3.0.0strip-json-comments: 3.1.1+ optionalDependencies:+ '@types/node': 20.14.2ts-node: 10.9.2(@types/[email protected])([email protected])transitivePeerDependencies:- babel-plugin-macros@@ -15654,7 +15745,7 @@ snapshots:jest-util: 29.7.0- dependencies:+ optionalDependencies:jest-resolve: 29.7.0@@ -15792,12 +15883,12 @@ snapshots:merge-stream: 2.0.0supports-color: 8.1.1+ [email protected](@types/[email protected])([email protected](@types/[email protected])([email protected])):dependencies:- '@jest/core': 29.7.0([email protected])'@jest/types': 29.6.3import-local: 3.1.0- jest-cli: 29.7.0(@types/[email protected])([email protected])+ jest-cli: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))transitivePeerDependencies:- '@types/node'- babel-plugin-macros@@ -16445,6 +16536,18 @@ snapshots:+ dependencies:+ aws-ssl-profiles: 1.1.1+ denque: 2.1.0+ generate-function: 2.3.1+ iconv-lite: 0.6.3+ long: 5.2.3+ lru-cache: 8.0.5+ named-placeholders: 1.1.3+ seq-queue: 0.0.5+ sqlstring: 2.3.3+dependencies:denque: 2.1.0@@ -16480,14 +16583,13 @@ snapshots:+ [email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:'@babel/runtime': 7.23.8'@panva/hkdf': 1.1.1cookie: 0.5.0jose: 4.15.4- next: 14.1.0([email protected])([email protected])- nodemailer: 6.9.8oauth: 0.9.15openid-client: 5.6.4preact: 10.19.3@@ -16495,14 +16597,16 @@ snapshots:react: 18.2.0react-dom: 18.2.0([email protected])uuid: 8.3.2+ optionalDependencies:+ nodemailer: 6.9.8+ [email protected]([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:'@babel/runtime': 7.23.8'@panva/hkdf': 1.1.1cookie: 0.5.0jose: 4.15.4oauth: 0.9.15openid-client: 5.6.4preact: 10.19.3@@ -16510,8 +16614,10 @@ snapshots:react: 18.2.0react-dom: 18.2.0([email protected])uuid: 8.3.2+ optionalDependencies:+ nodemailer: 6.9.8dependencies:'@mdx-js/mdx': 2.3.0'@mdx-js/react': 2.3.0([email protected])@@ -16524,7 +16630,7 @@ snapshots:dependencies:'@next/env': 14.1.0'@swc/helpers': 0.5.2@@ -16549,7 +16655,7 @@ snapshots:- '@babel/core'- babel-plugin-macros+ [email protected](@babel/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 14.2.3'@swc/helpers': 0.5.5@@ -16574,10 +16680,10 @@ snapshots:- '@babel/core'- babel-plugin-macrosdependencies:cors: 2.8.5dependencies:@@ -16902,11 +17008,37 @@ snapshots:camelcase-css: 2.0.1postcss: 8.4.33+ [email protected]([email protected])([email protected](@types/[email protected])([email protected])):dependencies:lilconfig: 3.0.0+ yaml: 2.3.4+ optionalDependencies:postcss: 8.4.33+ ts-node: 10.9.2(@types/[email protected])([email protected])++ [email protected]([email protected])([email protected](@types/[email protected])([email protected])):+ dependencies:+ lilconfig: 3.0.0yaml: 2.3.4+ optionalDependencies:+ postcss: 8.4.33+ ts-node: 10.9.2(@types/[email protected])([email protected])++ [email protected]([email protected])([email protected](@types/[email protected])([email protected])):+ dependencies:+ lilconfig: 3.0.0+ yaml: 2.3.4+ optionalDependencies:+ postcss: 8.4.33+ ts-node: 10.9.2(@types/[email protected])([email protected])++ [email protected]([email protected])([email protected](@types/[email protected])([email protected])):+ dependencies:+ lilconfig: 3.0.0+ yaml: 2.3.4+ optionalDependencies:+ postcss: 8.4.33+ ts-node: 10.9.2(@types/[email protected])([email protected])dependencies:@@ -17046,7 +17178,7 @@ snapshots:minimist: 1.2.8strip-json-comments: 2.0.1dependencies:fast-memoize: 2.5.2react: 18.2.0@@ -17058,7 +17190,7 @@ snapshots:react: 18.2.0scheduler: 0.23.0dependencies:clsx: 1.2.1prop-types: 15.8.1@@ -17088,7 +17220,7 @@ snapshots:dependencies:hls.js: 0.14.17react: 18.2.0@@ -17098,7 +17230,7 @@ snapshots:dependencies:react: 18.2.0dependencies:goober: 2.1.14([email protected])react: 18.2.0@@ -17127,40 +17259,43 @@ snapshots:dependencies:- '@types/react': 18.2.48react: 18.2.0react-style-singleton: 2.2.1(@types/[email protected])([email protected])tslib: 2.6.2+ optionalDependencies:+ '@types/react': 18.2.48dependencies:- '@types/react': 18.2.48react: 18.2.0react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])react-style-singleton: 2.2.1(@types/[email protected])([email protected])tslib: 2.6.2use-callback-ref: 1.3.1(@types/[email protected])([email protected])use-sidecar: 1.1.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 18.2.48dependencies:- '@types/react': 18.2.48react: 18.2.0react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])react-style-singleton: 2.2.1(@types/[email protected])([email protected])tslib: 2.6.2use-callback-ref: 1.3.1(@types/[email protected])([email protected])use-sidecar: 1.1.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 18.2.48dependencies:- re-resizable: 6.9.6([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- react-draggable: 4.4.5([email protected])([email protected])tslib: 2.3.1dependencies:'@remix-run/router': 1.14.2react: 18.2.0@@ -17172,7 +17307,7 @@ snapshots:'@remix-run/router': 1.14.2react: 18.2.0dependencies:parallax-controller: 1.7.1react: 18.2.0@@ -17180,13 +17315,14 @@ snapshots:dependencies:- '@types/react': 18.2.48get-nonce: 1.0.1invariant: 2.2.4react: 18.2.0tslib: 2.6.2+ optionalDependencies:+ '@types/react': 18.2.48dependencies:'@floating-ui/dom': 1.6.3classnames: 2.5.1@@ -17677,9 +17813,10 @@ snapshots:dependencies:- '@babel/core': 7.23.7client-only: 0.0.1react: 18.2.0+ optionalDependencies:+ '@babel/core': 7.23.7@@ -17752,11 +17889,11 @@ snapshots:dependencies:'@babel/runtime': 7.23.8+ [email protected]([email protected]([email protected](@types/[email protected])([email protected]))):dependencies:- tailwindcss: 3.4.1dependencies:'@alloc/quick-lru': 5.2.0arg: 5.0.2@@ -17775,7 +17912,88 @@ snapshots:postcss: 8.4.33postcss-import: 15.1.0([email protected])postcss-js: 4.0.1([email protected])- postcss-load-config: 4.0.2([email protected])+ postcss-load-config: 4.0.2([email protected])([email protected](@types/[email protected])([email protected]))+ postcss-nested: 6.0.1([email protected])+ postcss-selector-parser: 6.0.15+ resolve: 1.22.8+ sucrase: 3.35.0+ transitivePeerDependencies:+ - ts-node++ dependencies:+ '@alloc/quick-lru': 5.2.0+ arg: 5.0.2+ chokidar: 3.5.3+ didyoumean: 1.2.2+ dlv: 1.1.3+ fast-glob: 3.3.2+ glob-parent: 6.0.2+ is-glob: 4.0.3+ jiti: 1.21.0+ lilconfig: 2.1.0+ micromatch: 4.0.5+ normalize-path: 3.0.0+ object-hash: 3.0.0+ picocolors: 1.0.0+ postcss: 8.4.33+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.0.1([email protected])+ postcss-load-config: 4.0.2([email protected])([email protected](@types/[email protected])([email protected]))+ postcss-nested: 6.0.1([email protected])+ postcss-selector-parser: 6.0.15+ resolve: 1.22.8+ sucrase: 3.35.0+ transitivePeerDependencies:+ - ts-node++ dependencies:+ '@alloc/quick-lru': 5.2.0+ arg: 5.0.2+ chokidar: 3.5.3+ didyoumean: 1.2.2+ dlv: 1.1.3+ fast-glob: 3.3.2+ glob-parent: 6.0.2+ is-glob: 4.0.3+ jiti: 1.21.0+ lilconfig: 2.1.0+ micromatch: 4.0.5+ normalize-path: 3.0.0+ object-hash: 3.0.0+ picocolors: 1.0.0+ postcss: 8.4.33+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.0.1([email protected])+ postcss-load-config: 4.0.2([email protected])([email protected](@types/[email protected])([email protected]))+ postcss-nested: 6.0.1([email protected])+ postcss-selector-parser: 6.0.15+ resolve: 1.22.8+ sucrase: 3.35.0+ transitivePeerDependencies:+ - ts-node++ dependencies:+ '@alloc/quick-lru': 5.2.0+ arg: 5.0.2+ chokidar: 3.5.3+ didyoumean: 1.2.2+ dlv: 1.1.3+ fast-glob: 3.3.2+ glob-parent: 6.0.2+ is-glob: 4.0.3+ jiti: 1.21.0+ lilconfig: 2.1.0+ micromatch: 4.0.5+ normalize-path: 3.0.0+ object-hash: 3.0.0+ picocolors: 1.0.0+ postcss: 8.4.33+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.0.1([email protected])+ postcss-load-config: 4.0.2([email protected])([email protected](@types/[email protected])([email protected]))postcss-nested: 6.0.1([email protected])postcss-selector-parser: 6.0.15resolve: 1.22.8@@ -17867,12 +18085,11 @@ snapshots:+ [email protected](@babel/[email protected])(@jest/[email protected])(@jest/[email protected])([email protected](@babel/[email protected]))([email protected](@types/[email protected])([email protected](@types/[email protected])([email protected])))([email protected]):dependencies:- '@babel/core': 7.24.7bs-logger: 0.2.6fast-json-stable-stringify: 2.1.0- jest: 29.7.0(@types/[email protected])([email protected])+ jest: 29.7.0(@types/[email protected])([email protected](@types/[email protected])([email protected]))jest-util: 29.7.0json5: 2.2.3lodash.memoize: 4.1.2@@ -17880,6 +18097,68 @@ snapshots:semver: 7.5.4typescript: 5.4.5yargs-parser: 21.1.1+ optionalDependencies:+ '@babel/core': 7.23.7+ '@jest/transform': 29.7.0+ '@jest/types': 29.6.3+ babel-jest: 29.7.0(@babel/[email protected])++ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.9+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.4+ '@types/node': 20.11.5+ acorn: 8.11.3+ acorn-walk: 8.3.2+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 5.3.3+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1+ optional: true++ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.9+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.4+ '@types/node': 20.11.5+ acorn: 8.11.3+ acorn-walk: 8.3.2+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 5.4.5+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1+ optional: true++ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.9+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.4+ '@types/node': 20.14.2+ acorn: 8.11.3+ acorn-walk: 8.3.2+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 5.3.3+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1+ optional: truedependencies:@@ -17900,11 +18179,11 @@ snapshots:yn: 3.1.1- dependencies:+ optionalDependencies:typescript: 5.3.3- dependencies:+ optionalDependencies:typescript: 5.4.5@@ -18124,16 +18403,18 @@ snapshots:dependencies:- '@types/react': 18.2.48react: 18.2.0tslib: 2.6.2+ optionalDependencies:+ '@types/react': 18.2.48dependencies:- '@types/react': 18.2.48detect-node-es: 1.1.0react: 18.2.0tslib: 2.6.2+ optionalDependencies:+ '@types/react': 18.2.48dependencies:@@ -18207,21 +18488,23 @@ snapshots:unist-util-stringify-position: 3.0.3vfile-message: 3.1.4dependencies:debug: 4.3.4([email protected])globrex: 0.1.2tsconfck: 3.0.1([email protected])+ optionalDependencies:vite: 4.5.1(@types/[email protected])transitivePeerDependencies:- supports-color- typescriptdependencies:debug: 4.3.4([email protected])globrex: 0.1.2tsconfck: 3.0.1([email protected])+ optionalDependencies:vite: 4.5.1(@types/[email protected])transitivePeerDependencies:- supports-color@@ -18229,11 +18512,11 @@ snapshots:[email protected](@types/[email protected]):dependencies:- '@types/node': 20.11.5esbuild: 0.18.20postcss: 8.4.33rollup: 3.29.4optionalDependencies:+ '@types/node': 20.11.5fsevents: 2.3.3