Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
wip: Dual video recording (screen + device)
Richie McIlroy09c4858f0db5
diff --git a/.env.example b/.env.exampleindex 9757e2428..444a34722 100644--- a/.env.example+++ b/.env.example@@ -22,10 +22,12 @@ SUPABASE_SERVICE_ROLE_KEY=NEXT_PUBLIC_ENVIRONMENT=developmentNEXT_PUBLIC_URL=http://localhost:3000-## For use with Cloudflare R2, and the Cloudflare API to upload recordings-CLOUDFLARE_ACCESS_KEY=-CLOUDFLARE_SECRET_KEY=-CLOUDFLARE_R2_ENDPOINT=+## For use with AWS S3, to upload recorded caps. You can retrieve these credentials from your own AWS account.+AWS_ACCESS_KEY=+AWS_SECRET_KEY=+AWS_REGION=+VITE_AWS_BUCKET=+VITE_AWS_REGION=# - MISC, NOT REQUIRED FOR DEV ****************diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex b03e49430..687dd5e7a 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -1,8 +1,7 @@{"name": "desktop","private": true,- "version": "0.0.0",- "type": "module",+ "version": "0.1.0","scripts": {"dev": "tauri dev","build": "tsc && vite build",@@ -30,7 +29,7 @@"@types/react": "^18.2.15","@types/react-dom": "latest","@vitejs/plugin-react": "^4.0.3",- "typescript": "^5.0.2",- "vite": "^4.4.4"+ "typescript": "^5.3.2",+ "vite": "^5.0.11"}}diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lockindex 04fcf881f..64d2772fc 100644--- a/apps/desktop/src-tauri/Cargo.lock+++ b/apps/desktop/src-tauri/Cargo.lock@@ -77,16 +77,10 @@ dependencies = ["objc_id","parking_lot","thiserror",- "winapi 0.3.9",+ "winapi","x11rb",]-[[package]]-name = "ascii"-version = "1.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"-[[package]]name = "async-broadcast"version = "0.5.1"@@ -144,7 +138,7 @@ checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af"dependencies = ["async-lock 2.8.0","autocfg",- "cfg-if 1.0.0",+ "cfg-if","concurrent-queue","futures-lite 1.13.0","log",@@ -163,7 +157,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7"dependencies = ["async-lock 3.2.0",- "cfg-if 1.0.0",+ "cfg-if","concurrent-queue","futures-io","futures-lite 2.1.0",@@ -205,7 +199,7 @@ dependencies = ["async-lock 2.8.0","async-signal","blocking",- "cfg-if 1.0.0",+ "cfg-if","event-listener 3.1.0","futures-lite 1.13.0","rustix 0.38.28",@@ -232,7 +226,7 @@ dependencies = ["async-io 2.2.2","async-lock 2.8.0","atomic-waker",- "cfg-if 1.0.0",+ "cfg-if","futures-core","futures-io","rustix 0.38.28",@@ -288,52 +282,12 @@ version = "1.1.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"-[[package]]-name = "attohttpc"-version = "0.26.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0f77d243921b0979fbbd728dd2d5162e68ac8252976797c24eb5b3a6af9090dc"-dependencies = [- "http",- "log",- "native-tls",- "serde",- "serde_json",- "url",-]-[[package]]name = "autocfg"version = "1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"-[[package]]-name = "aws-creds"-version = "0.36.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "390ad3b77f3e21e01a4a0355865853b681daf1988510b0b15e31c0c4ae7eb0f6"-dependencies = [- "attohttpc",- "home",- "log",- "quick-xml 0.30.0",- "rust-ini",- "serde",- "thiserror",- "time",- "url",-]--[[package]]-name = "aws-region"-version = "0.25.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "42fed2b9fca70f2908268d057a607f2a906f47edbf856ea8587de9038d264e22"-dependencies = [- "thiserror",-]-[[package]]name = "backtrace"version = "0.3.69"@@ -342,7 +296,7 @@ checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"dependencies = ["addr2line","cc",- "cfg-if 1.0.0",+ "cfg-if","libc","miniz_oxide","object",@@ -496,37 +450,20 @@ dependencies = [name = "cap"version = "0.0.0"dependencies = [- "capture",- "dotenvy",- "dotenvy_macro","ffmpeg-sidecar",- "image",- "qoi",- "rust-s3",+ "reqwest","serde","serde_json",- "shuteye","tauri","tauri-build",- "tauri-invoke-http","tauri-plugin-context-menu","tauri-plugin-positioner",+ "thiserror","tokio","uuid",- "warp","which",]-[[package]]-name = "capture"-version = "0.0.1"-dependencies = [- "block",- "cfg-if 0.1.10",- "libc",- "winapi 0.2.8",-]-[[package]]name = "cargo_toml"version = "0.15.3"@@ -582,12 +519,6 @@ dependencies = ["target-lexicon",]-[[package]]-name = "cfg-if"-version = "0.1.10"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"-[[package]]name = "cfg-if"version = "1.0.0"@@ -607,12 +538,6 @@ dependencies = ["windows-targets 0.48.5",]-[[package]]-name = "chunked_transfer"-version = "1.5.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6e4de3bc4ea267985becf712dc6d9eed8b04c953b3fcfb339ebc87acd9804901"-[[package]]name = "clipboard-win"version = "4.5.0"@@ -621,7 +546,7 @@ checksum = "7191c27c2357d9b7ef96baac1773290d4ca63b24205b82a3fd8a0637afcf0362"dependencies = ["error-code","str-buf",- "winapi 0.3.9",+ "winapi",][[package]]@@ -679,26 +604,6 @@ dependencies = ["crossbeam-utils",]-[[package]]-name = "const-random"-version = "0.1.17"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a"-dependencies = [- "const-random-macro",-]--[[package]]-name = "const-random-macro"-version = "0.1.16"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"-dependencies = [- "getrandom 0.2.11",- "once_cell",- "tiny-keccak",-]-[[package]]name = "convert_case"version = "0.4.0"@@ -760,7 +665,7 @@ version = "1.3.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"dependencies = [- "cfg-if 1.0.0",+ "cfg-if",][[package]]@@ -769,7 +674,7 @@ version = "0.5.10"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "82a9b73a36529d9c47029b9fb3a6f0ea3cc916a261195352ba19e770fc1748b2"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","crossbeam-utils",]@@ -779,7 +684,7 @@ version = "0.8.4"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","crossbeam-epoch","crossbeam-utils",]@@ -791,7 +696,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d"dependencies = ["autocfg",- "cfg-if 1.0.0",+ "cfg-if","crossbeam-utils",]@@ -801,7 +706,7 @@ version = "0.8.18"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c"dependencies = [- "cfg-if 1.0.0",+ "cfg-if",][[package]]@@ -892,12 +797,6 @@ dependencies = ["syn 2.0.46",]-[[package]]-name = "data-encoding"-version = "2.5.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"-[[package]]name = "deranged"version = "0.3.11"@@ -940,7 +839,6 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"dependencies = ["block-buffer","crypto-common",- "subtle",][[package]]@@ -949,7 +847,7 @@ version = "2.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","dirs-sys-next",]@@ -961,7 +859,7 @@ checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"dependencies = ["libc","redox_users",- "winapi 0.3.9",+ "winapi",][[package]]@@ -970,33 +868,6 @@ version = "0.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b"-[[package]]-name = "dlv-list"-version = "0.5.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f"-dependencies = [- "const-random",-]--[[package]]-name = "dotenvy"-version = "0.15.7"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"--[[package]]-name = "dotenvy_macro"-version = "0.15.7"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cb0235d912a8c749f4e0c9f18ca253b4c28cfefc1d2518096016d6e3230b6424"-dependencies = [- "dotenvy",- "proc-macro2",- "quote",- "syn 1.0.109",-]-[[package]]name = "dtoa"version = "1.0.9"@@ -1049,7 +920,7 @@ version = "0.8.33"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"dependencies = [- "cfg-if 1.0.0",+ "cfg-if",][[package]]@@ -1199,7 +1070,7 @@ version = "0.2.23"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","libc","redox_syscall","windows-sys 0.52.0",@@ -1264,21 +1135,6 @@ dependencies = ["new_debug_unreachable",]-[[package]]-name = "futures"-version = "0.3.30"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"-dependencies = [- "futures-channel",- "futures-core",- "futures-executor",- "futures-io",- "futures-sink",- "futures-task",- "futures-util",-]-[[package]]name = "futures-channel"version = "0.3.30"@@ -1286,7 +1142,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"dependencies = ["futures-core",- "futures-sink",][[package]]@@ -1369,7 +1224,6 @@ version = "0.3.30"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"dependencies = [- "futures-channel","futures-core","futures-io","futures-macro",@@ -1506,7 +1360,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "bb65d4ba3173c56a500b555b532f72c42e8d1fe64962b518897f8959fae2c177"dependencies = ["libc",- "winapi 0.3.9",+ "winapi",][[package]]@@ -1515,7 +1369,7 @@ version = "0.1.16"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","libc","wasi 0.9.0+wasi-snapshot-preview1",]@@ -1526,7 +1380,7 @@ version = "0.2.11"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","libc","wasi 0.11.0+wasi-snapshot-preview1",]@@ -1574,7 +1428,7 @@ dependencies = ["gobject-sys","libc","system-deps 6.2.0",- "winapi 0.3.9",+ "winapi",][[package]]@@ -1741,42 +1595,12 @@ version = "0.12.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"-[[package]]-name = "hashbrown"-version = "0.13.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"-[[package]]name = "hashbrown"version = "0.14.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"-[[package]]-name = "headers"-version = "0.3.9"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"-dependencies = [- "base64 0.21.5",- "bytes",- "headers-core",- "http",- "httpdate",- "mime",- "sha1",-]--[[package]]-name = "headers-core"-version = "0.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"-dependencies = [- "http",-]-[[package]]name = "heck"version = "0.3.3"@@ -1804,15 +1628,6 @@ version = "0.4.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"-[[package]]-name = "hmac"-version = "0.12.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"-dependencies = [- "digest",-]-[[package]]name = "home"version = "0.5.9"@@ -2034,7 +1849,7 @@ version = "0.1.12"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"dependencies = [- "cfg-if 1.0.0",+ "cfg-if",][[package]]@@ -2200,8 +2015,8 @@ version = "0.7.4"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"dependencies = [- "cfg-if 1.0.0",- "winapi 0.3.9",+ "cfg-if",+ "winapi",][[package]]@@ -2258,7 +2073,7 @@ version = "0.5.6"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","generator","scoped-tls","serde",@@ -2324,23 +2139,6 @@ version = "0.1.10"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"-[[package]]-name = "maybe-async"-version = "0.2.7"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0f1b8c13cb1f814b634a96b2c725449fe7ed464a7b8781de8688be5ffbd3f305"-dependencies = [- "proc-macro2",- "quote",- "syn 1.0.109",-]--[[package]]-name = "md5"-version = "0.7.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"-[[package]]name = "memchr"version = "2.7.1"@@ -2381,15 +2179,6 @@ dependencies = ["unicase",]-[[package]]-name = "minidom"-version = "0.15.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f45614075738ce1b77a1768912a60c0227525971b03e09122a05b8a34a2a6278"-dependencies = [- "rxml",-]-[[package]]name = "miniz_oxide"version = "0.7.1"@@ -2411,24 +2200,6 @@ dependencies = ["windows-sys 0.48.0",]-[[package]]-name = "multer"-version = "2.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2"-dependencies = [- "bytes",- "encoding_rs",- "futures-util",- "http",- "httparse",- "log",- "memchr",- "mime",- "spin",- "version_check",-]-[[package]]name = "native-tls"version = "0.2.11"@@ -2488,7 +2259,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"dependencies = ["bitflags 1.3.2",- "cfg-if 1.0.0",+ "cfg-if","libc","memoffset 0.7.1",]@@ -2519,7 +2290,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"dependencies = ["overload",- "winapi 0.3.9",+ "winapi",][[package]]@@ -2654,7 +2425,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8cde4d2d9200ad5909f8dac647e29482e07c3a35de8a13fce7c9c7747ad9f671"dependencies = ["bitflags 2.4.1",- "cfg-if 1.0.0",+ "cfg-if","foreign-types","libc","once_cell",@@ -2691,16 +2462,6 @@ dependencies = ["vcpkg",]-[[package]]-name = "ordered-multimap"-version = "0.6.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e"-dependencies = [- "dlv-list",- "hashbrown 0.13.2",-]-[[package]]name = "ordered-stream"version = "0.2.0"@@ -2719,7 +2480,7 @@ checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e"dependencies = ["log","serde",- "winapi 0.3.9",+ "winapi",][[package]]@@ -2785,7 +2546,7 @@ version = "0.9.9"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","libc","redox_syscall","smallvec",@@ -2938,26 +2699,6 @@ dependencies = ["siphasher",]-[[package]]-name = "pin-project"-version = "1.1.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"-dependencies = [- "pin-project-internal",-]--[[package]]-name = "pin-project-internal"-version = "1.1.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.46",-]-[[package]]name = "pin-project-lite"version = "0.2.13"@@ -3022,7 +2763,7 @@ checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce"dependencies = ["autocfg","bitflags 1.3.2",- "cfg-if 1.0.0",+ "cfg-if","concurrent-queue","libc","log",@@ -3036,7 +2777,7 @@ version = "3.3.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","concurrent-queue","pin-project-lite","rustix 0.38.28",@@ -3044,15 +2785,6 @@ dependencies = ["windows-sys 0.52.0",]-[[package]]-name = "portpicker"-version = "0.1.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9"-dependencies = [- "rand 0.8.5",-]-[[package]]name = "powerfmt"version = "0.2.0"@@ -3136,7 +2868,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956"dependencies = ["memchr",- "serde",][[package]]@@ -3348,6 +3079,7 @@ dependencies = ["js-sys","log","mime",+ "mime_guess","native-tls","once_cell","percent-encoding",@@ -3392,53 +3124,6 @@ dependencies = ["windows 0.37.0",]-[[package]]-name = "rust-ini"-version = "0.19.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091"-dependencies = [- "cfg-if 1.0.0",- "ordered-multimap",-]--[[package]]-name = "rust-s3"-version = "0.34.0-rc4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0533896b025761b23147ca1a168c436e1b87d14e460b1f19a6442882d2a3e07f"-dependencies = [- "async-trait",- "aws-creds",- "aws-region",- "base64 0.21.5",- "bytes",- "cfg-if 1.0.0",- "futures",- "hex",- "hmac",- "http",- "hyper",- "hyper-tls",- "log",- "maybe-async",- "md5",- "minidom",- "native-tls",- "percent-encoding",- "quick-xml 0.30.0",- "serde",- "serde_derive",- "serde_json",- "sha2",- "thiserror",- "time",- "tokio",- "tokio-native-tls",- "tokio-stream",- "url",-]-[[package]]name = "rustc-demangle"version = "0.1.23"@@ -3481,38 +3166,12 @@ dependencies = ["windows-sys 0.52.0",]-[[package]]-name = "rustls-pemfile"-version = "1.0.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"-dependencies = [- "base64 0.21.5",-]-[[package]]name = "rustversion"version = "1.0.14"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"-[[package]]-name = "rxml"-version = "0.9.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a98f186c7a2f3abbffb802984b7f1dfd65dac8be1aafdaabbca4137f53f0dff7"-dependencies = [- "bytes",- "rxml_validation",- "smartstring",-]--[[package]]-name = "rxml_validation"-version = "0.9.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "22a197350ece202f19a166d1ad6d9d6de145e1d2a8ef47db299abe164dbd7530"-[[package]]name = "ryu"version = "1.0.16"@@ -3737,7 +3396,7 @@ version = "0.10.6"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","cpufeatures","digest",]@@ -3748,7 +3407,7 @@ version = "0.10.8"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","cpufeatures","digest",]@@ -3769,16 +3428,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b0d94659ad3c2137fef23ae75b03d5241d633f8acded53d672decfa0e6e0caef"dependencies = ["libc",- "winapi 0.3.9",-]--[[package]]-name = "shuteye"-version = "0.3.3"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2ca27229f5eb21ea854a551c24b268c824949a01c41652b6d423c141539252cf"-dependencies = [- "libc",+ "winapi",][[package]]@@ -3817,17 +3467,6 @@ version = "1.11.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970"-[[package]]-name = "smartstring"-version = "1.0.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29"-dependencies = [- "autocfg",- "static_assertions",- "version_check",-]-[[package]]name = "socket2"version = "0.4.10"@@ -3835,7 +3474,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d"dependencies = ["libc",- "winapi 0.3.9",+ "winapi",][[package]]@@ -3944,12 +3583,6 @@ version = "0.10.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"-[[package]]-name = "subtle"-version = "2.5.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"-[[package]]name = "syn"version = "1.0.109"@@ -4209,17 +3842,6 @@ dependencies = ["walkdir",]-[[package]]-name = "tauri-invoke-http"-version = "0.0.0"-source = "git+https://github.com/tauri-apps/tauri-invoke-http?branch=dev#ab1fb56cf96c2e8863e775a6ad4abd44dcb8e846"-dependencies = [- "portpicker",- "serde_json",- "tauri",- "tiny_http",-]-[[package]]name = "tauri-macros"version = "1.4.3"@@ -4248,7 +3870,7 @@ dependencies = ["objc","serde","tauri",- "winapi 0.3.9",+ "winapi",][[package]]@@ -4361,7 +3983,7 @@ version = "3.9.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","fastrand 2.0.1","redox_syscall","rustix 0.38.28",@@ -4411,7 +4033,7 @@ version = "1.1.7"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","once_cell",]@@ -4455,27 +4077,6 @@ dependencies = ["time-core",]-[[package]]-name = "tiny-keccak"-version = "2.0.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"-dependencies = [- "crunchy",-]--[[package]]-name = "tiny_http"-version = "0.12.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "389915df6413a2e74fb181895f933386023c71110878cd0825588928e64cdc82"-dependencies = [- "ascii",- "chunked_transfer",- "httpdate",- "log",-]-[[package]]name = "tinyvec"version = "1.6.0"@@ -4531,29 +4132,6 @@ dependencies = ["tokio",]-[[package]]-name = "tokio-stream"-version = "0.1.14"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"-dependencies = [- "futures-core",- "pin-project-lite",- "tokio",-]--[[package]]-name = "tokio-tungstenite"-version = "0.20.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c"-dependencies = [- "futures-util",- "log",- "tokio",- "tungstenite",-]-[[package]]name = "tokio-util"version = "0.7.10"@@ -4648,7 +4226,6 @@ version = "0.1.40"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"dependencies = [- "log","pin-project-lite","tracing-attributes","tracing-core",@@ -4719,25 +4296,6 @@ version = "0.2.5"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"-[[package]]-name = "tungstenite"-version = "0.20.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9"-dependencies = [- "byteorder",- "bytes",- "data-encoding",- "http",- "httparse",- "log",- "rand 0.8.5",- "sha1",- "thiserror",- "url",- "utf-8",-]-[[package]]name = "typenum"version = "1.17.0"@@ -4752,7 +4310,7 @@ checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9"dependencies = ["memoffset 0.9.0","tempfile",- "winapi 0.3.9",+ "winapi",][[package]]@@ -4893,37 +4451,6 @@ dependencies = ["try-lock",]-[[package]]-name = "warp"-version = "0.3.6"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c1e92e22e03ff1230c03a1a8ee37d2f89cd489e2e541b7550d6afad96faed169"-dependencies = [- "bytes",- "futures-channel",- "futures-util",- "headers",- "http",- "hyper",- "log",- "mime",- "mime_guess",- "multer",- "percent-encoding",- "pin-project",- "rustls-pemfile",- "scoped-tls",- "serde",- "serde_json",- "serde_urlencoded",- "tokio",- "tokio-stream",- "tokio-tungstenite",- "tokio-util",- "tower-service",- "tracing",-]-[[package]]name = "wasi"version = "0.9.0+wasi-snapshot-preview1"@@ -4942,7 +4469,7 @@ version = "0.2.89"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","wasm-bindgen-macro",]@@ -4967,7 +4494,7 @@ version = "0.4.39"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","js-sys","wasm-bindgen","web-sys",@@ -5128,12 +4655,6 @@ dependencies = ["rustix 0.38.28",]-[[package]]-name = "winapi"-version = "0.2.8"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"-[[package]]name = "winapi"version = "0.3.9"@@ -5156,7 +4677,7 @@ version = "0.1.6"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"dependencies = [- "winapi 0.3.9",+ "winapi",][[package]]@@ -5165,7 +4686,7 @@ version = "0.1.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "44c17110f57155602a80dca10be03852116403c9ff3cd25b079d666f2aa3df6e"dependencies = [- "winapi 0.3.9",+ "winapi",][[package]]@@ -5567,7 +5088,7 @@ version = "0.50.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","windows-sys 0.48.0",]@@ -5577,7 +5098,7 @@ version = "0.51.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "937f3df7948156640f46aacef17a70db0de5917bda9c92b0f751f3a955b588fc"dependencies = [- "cfg-if 1.0.0",+ "cfg-if","windows-sys 0.48.0",]@@ -5648,7 +5169,7 @@ checksum = "b1641b26d4dec61337c35a1b1aaf9e3cba8f46f0b43636c609ab0291a648040a"dependencies = ["gethostname","nix",- "winapi 0.3.9",+ "winapi","winapi-wsapoll","x11rb-protocol",]@@ -5680,7 +5201,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "2769203cd13a0c6015d515be729c526d041e9cf2c0cc478d57faee85f40c6dcd"dependencies = ["nix",- "winapi 0.3.9",+ "winapi",][[package]]@@ -5717,7 +5238,7 @@ dependencies = ["static_assertions","tracing","uds_windows",- "winapi 0.3.9",+ "winapi","xdg-home","zbus_macros","zbus_names",diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.tomlindex 137dc84b9..c0596d194 100644--- a/apps/desktop/src-tauri/Cargo.toml+++ b/apps/desktop/src-tauri/Cargo.toml@@ -18,21 +18,12 @@ serde = { version = "1.0", features = ["derive"] }serde_json = "1.0"tauri-plugin-context-menu = "0.5.0"tauri-plugin-positioner = { version = "1.0.4", features = ["system-tray"] }-image = "0.24.7"ffmpeg-sidecar = "0.5.1"which = "4.2.2"-rust-s3 = "0.34.0-rc3"-dotenvy = "0.15.7"-dotenvy_macro = "0.15.7"tokio = { version = "1", features = ["full"] }-capture = { path = "./src/capture" }+reqwest = { version = "0.11", features = ["json", "multipart"] }uuid = { version = "1.0", features = ["v4"] }-tauri-invoke-http = { git = "https://github.com/tauri-apps/tauri-invoke-http", branch = "dev" }-warp = "0.3"--[dev-dependencies]-shuteye = "0.3.3"-qoi = "^0.4.1"+thiserror = "1.0.56"[features]# this feature is used for production builds or when `devPath` points to the filesystemdiff --git a/apps/desktop/src-tauri/src/capture/Cargo.lock b/apps/desktop/src-tauri/src/capture/Cargo.lockdeleted file mode 100644index b469c2469..000000000--- a/apps/desktop/src-tauri/src/capture/Cargo.lock+++ /dev/null@@ -1,37 +0,0 @@-# This file is automatically @generated by Cargo.-# It is not intended for manual editing.-version = 3--[[package]]-name = "block"-version = "0.1.6"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"--[[package]]-name = "capture"-version = "0.0.1"-dependencies = [- "block",- "cfg-if",- "libc",- "winapi",-]--[[package]]-name = "cfg-if"-version = "0.1.10"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"--[[package]]-name = "libc"-version = "0.2.151"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"--[[package]]-name = "winapi"-version = "0.2.8"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"diff --git a/apps/desktop/src-tauri/src/capture/Cargo.toml b/apps/desktop/src-tauri/src/capture/Cargo.tomldeleted file mode 100644index 40c4537ee..000000000--- a/apps/desktop/src-tauri/src/capture/Cargo.toml+++ /dev/null@@ -1,10 +0,0 @@-[package]-name = "capture"-description = "Adapted version of Scrap crate."-version = "0.0.1"--[dependencies]-block = "0.1"-cfg-if = "0.1"-libc = "0.2"-winapi = "0.2"\ No newline at end of filediff --git a/apps/desktop/src-tauri/src/capture/build.rs b/apps/desktop/src-tauri/src/capture/build.rsdeleted file mode 100644index 04fa2aa91..000000000--- a/apps/desktop/src-tauri/src/capture/build.rs+++ /dev/null@@ -1,12 +0,0 @@-fn main() {- if cfg!(windows) {- // The first choice is Windows because DXGI is amazing.- println!("cargo:rustc-cfg=dxgi");- } else if cfg!(target_os="macos") {- // Quartz is second because macOS is the (annoying) exception.- println!("cargo:rustc-cfg=quartz");- } else if cfg!(unix) {- // On UNIX we pray that X11 (with XCB) is available.- println!("cargo:rustc-cfg=x11");- }-}\ No newline at end of filediff --git a/apps/desktop/src-tauri/src/capture/src/common/dxgi.rs b/apps/desktop/src-tauri/src/capture/src/common/dxgi.rsdeleted file mode 100644index 12b8f9aa1..000000000--- a/apps/desktop/src-tauri/src/capture/src/common/dxgi.rs+++ /dev/null@@ -1,71 +0,0 @@-use dxgi;-use std::{io, ops};-use std::io::ErrorKind::{WouldBlock, TimedOut, NotFound};--pub struct Capturer {- inner: dxgi::Capturer,- width: usize,- height: usize-}--impl Capturer {- pub fn new(display: Display) -> io::Result<Capturer> {- let width = display.width();- let height = display.height();- let inner = dxgi::Capturer::new(&display.0)?;- Ok(Capturer { inner, width, height })- }-- pub fn width(&self) -> usize {- self.width- }-- pub fn height(&self) -> usize {- self.height- }-- pub fn frame<'a>(&'a mut self) -> io::Result<Frame<'a>> {- const MILLISECONDS_PER_FRAME: u32 = 0;- match self.inner.frame(MILLISECONDS_PER_FRAME) {- Ok(frame) => Ok(Frame(frame)),- Err(ref error) if error.kind() == TimedOut => {- Err(WouldBlock.into())- },- Err(error) => Err(error)- }- }-}--pub struct Frame<'a>(&'a [u8]);--impl<'a> ops::Deref for Frame<'a> {- type Target = [u8];- fn deref(&self) -> &[u8] {- self.0- }-}--pub struct Display(dxgi::Display);--impl Display {- pub fn primary() -> io::Result<Display> {- match dxgi::Displays::new()?.next() {- Some(inner) => Ok(Display(inner)),- None => Err(NotFound.into())- }- }-- pub fn all() -> io::Result<Vec<Display>> {- Ok(dxgi::Displays::new()?- .map(Display)- .collect::<Vec<_>>())- }-- pub fn width(&self) -> usize {- self.0.width() as usize- }-- pub fn height(&self) -> usize {- self.0.height() as usize- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/common/mod.rs b/apps/desktop/src-tauri/src/capture/src/common/mod.rsdeleted file mode 100644index 210793326..000000000--- a/apps/desktop/src-tauri/src/capture/src/common/mod.rs+++ /dev/null@@ -1,14 +0,0 @@-cfg_if! {- if #[cfg(quartz)] {- mod quartz;- pub use self::quartz::*;- } else if #[cfg(x11)] {- mod x11;- pub use self::x11::*;- } else if #[cfg(dxgi)] {- mod dxgi;- pub use self::dxgi::*;- } else {- //TODO: Fallback implementation.- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/common/quartz.rs b/apps/desktop/src-tauri/src/capture/src/common/quartz.rsdeleted file mode 100644index 8a115f831..000000000--- a/apps/desktop/src-tauri/src/capture/src/common/quartz.rs+++ /dev/null@@ -1,100 +0,0 @@-use quartz;-use std::{io, ops, mem};-use std::marker::PhantomData;-use std::sync::{Arc, Mutex, TryLockError};--pub struct Capturer {- inner: quartz::Capturer,- frame: Arc<Mutex<Option<quartz::Frame>>>-}--impl Capturer {- pub fn new(display: Display) -> io::Result<Capturer> {- let frame = Arc::new(Mutex::new(None));-- let f = frame.clone();- let inner = quartz::Capturer::new(- display.0,- display.width(),- display.height(),- quartz::PixelFormat::Argb8888,- Default::default(),- move |inner| {- if let Ok(mut f) = f.lock() {- *f = Some(inner);- }- }- ).map_err(|_| io::Error::from(io::ErrorKind::Other))?;-- Ok(Capturer { inner, frame })- }-- pub fn width(&self) -> usize {- self.inner.width()- }-- pub fn height(&self) -> usize {- self.inner.height()- }-- pub fn frame<'a>(&'a mut self) -> io::Result<Frame<'a>> {- match self.frame.try_lock() {- Ok(mut handle) => {- let mut frame = None;- mem::swap(&mut frame, &mut handle);-- match frame {- Some(frame) =>- Ok(Frame(frame, PhantomData)),-- None =>- Err(io::ErrorKind::WouldBlock.into())- }- }-- Err(TryLockError::WouldBlock) =>- Err(io::ErrorKind::WouldBlock.into()),-- Err(TryLockError::Poisoned(..)) =>- Err(io::ErrorKind::Other.into())- }- }-}--pub struct Frame<'a>(- quartz::Frame,- PhantomData<&'a [u8]>-);--impl<'a> ops::Deref for Frame<'a> {- type Target = [u8];- fn deref(&self) -> &[u8] {- &*self.0- }-}--pub struct Display(quartz::Display);--impl Display {- pub fn primary() -> io::Result<Display> {- Ok(Display(quartz::Display::primary()))- }-- pub fn all() -> io::Result<Vec<Display>> {- Ok(- quartz::Display::online()- .map_err(|_| io::Error::from(io::ErrorKind::Other))?- .into_iter()- .map(Display)- .collect()- )- }-- pub fn width(&self) -> usize {- self.0.width()- }-- pub fn height(&self) -> usize {- self.0.height()- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/common/x11.rs b/apps/desktop/src-tauri/src/capture/src/common/x11.rsdeleted file mode 100644index 342a171cd..000000000--- a/apps/desktop/src-tauri/src/capture/src/common/x11.rs+++ /dev/null@@ -1,71 +0,0 @@-use x11;-use std::{io, ops};-use std::rc::Rc;--pub struct Capturer(x11::Capturer);--impl Capturer {- pub fn new(display: Display) -> io::Result<Capturer> {- x11::Capturer::new(display.0).map(Capturer)- }-- pub fn width(&self) -> usize {- self.0.display().rect().w as usize- }-- pub fn height(&self) -> usize {- self.0.display().rect().h as usize- }-- pub fn frame<'a>(&'a mut self) -> io::Result<Frame<'a>> {- Ok(Frame(self.0.frame()))- }-}--pub struct Frame<'a>(&'a [u8]);--impl<'a> ops::Deref for Frame<'a> {- type Target = [u8];- fn deref(&self) -> &[u8] {- self.0- }-}--pub struct Display(x11::Display);--impl Display {- pub fn primary() -> io::Result<Display> {- let server = Rc::new(match x11::Server::default() {- Ok(server) => server,- Err(_) => return Err(io::ErrorKind::ConnectionRefused.into())- });-- let mut displays = x11::Server::displays(server);- let mut best = displays.next();- if best.as_ref().map(|x| x.is_default()) == Some(false) {- best = displays.find(|x| x.is_default()).or(best);- }-- match best {- Some(best) => Ok(Display(best)),- None => Err(io::ErrorKind::NotFound.into())- }- }-- pub fn all() -> io::Result<Vec<Display>> {- let server = Rc::new(match x11::Server::default() {- Ok(server) => server,- Err(_) => return Err(io::ErrorKind::ConnectionRefused.into())- });-- Ok(x11::Server::displays(server).map(Display).collect())- }-- pub fn width(&self) -> usize {- self.0.rect().w as usize- }-- pub fn height(&self) -> usize {- self.0.rect().h as usize- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/dxgi/ffi.rs b/apps/desktop/src-tauri/src/capture/src/dxgi/ffi.rsdeleted file mode 100644index 5bfe317d0..000000000--- a/apps/desktop/src-tauri/src/capture/src/dxgi/ffi.rs+++ /dev/null@@ -1,65 +0,0 @@-use winapi::{- GUID,- HRESULT,- REFIID,- IDXGIFactory1,- IDXGIAdapter,- D3D_DRIVER_TYPE,- HMODULE,- UINT,- ID3D11Device,- D3D_FEATURE_LEVEL,- ID3D11DeviceContext-};--pub const DXGI_MAP_READ: UINT = 1;--pub const IID_IDXGIFACTORY1: GUID = GUID {- Data1: 0x770aae78,- Data2: 0xf26f,- Data3: 0x4dba,- Data4: [0xa8, 0x29, 0x25, 0x3c, 0x83, 0xd1, 0xb3, 0x87]-};--pub const IID_IDXGIOUTPUT1: GUID = GUID {- Data1: 0x00cddea8,- Data2: 0x939b,- Data3: 0x4b83,- Data4: [0xa3, 0x40, 0xa6, 0x85, 0x22, 0x66, 0x66, 0xcc]-};--pub const IID_IDXGISURFACE: GUID = GUID {- Data1: 3405559148,- Data2: 27331,- Data3: 18569,- Data4: [191, 71, 158, 35, 187, 210, 96, 236]-};--pub const IID_ID3D11TEXTURE2D: GUID = GUID {- Data1: 1863690994,- Data2: 53768,- Data3: 20105,- Data4: [154, 180, 72, 149, 53, 211, 79, 156]-};--#[link(name="dxgi")]-#[link(name="d3d11")]-extern "system" {- pub fn CreateDXGIFactory1(- id: REFIID,- pp_factory: *mut *mut IDXGIFactory1- ) -> HRESULT;-- pub fn D3D11CreateDevice(- pAdapter: *mut IDXGIAdapter,- DriverType: D3D_DRIVER_TYPE,- Software: HMODULE,- Flags: UINT,- pFeatureLevels: *mut D3D_FEATURE_LEVEL,- FeatureLevels: UINT,- SDKVersion: UINT,- ppDevice: *mut *mut ID3D11Device,- pFeatureLevel: *mut D3D_FEATURE_LEVEL,- ppImmediateContext: *mut *mut ID3D11DeviceContext- ) -> HRESULT;-}diff --git a/apps/desktop/src-tauri/src/capture/src/dxgi/mod.rs b/apps/desktop/src-tauri/src/capture/src/dxgi/mod.rsdeleted file mode 100644index b2ad8a116..000000000--- a/apps/desktop/src-tauri/src/capture/src/dxgi/mod.rs+++ /dev/null@@ -1,433 +0,0 @@-use self::ffi::*;-use std::{io, mem, ptr, slice};-use winapi::{- HRESULT,- IDXGIAdapter1,- IDXGIFactory1,- IDXGIOutput1,- S_OK,- UINT,- DXGI_OUTPUT_DESC,- LONG,- DXGI_MODE_ROTATION,- ID3D11Device,- ID3D11DeviceContext,- IDXGIOutputDuplication,- D3D11_SDK_VERSION,- D3D_DRIVER_TYPE_UNKNOWN,- D3D_FEATURE_LEVEL_9_1,- DXGI_ERROR_ACCESS_LOST,- DXGI_ERROR_WAIT_TIMEOUT,- DXGI_ERROR_INVALID_CALL,- E_ACCESSDENIED,- DXGI_ERROR_UNSUPPORTED,- ID3D11Texture2D,- DXGI_ERROR_NOT_CURRENTLY_AVAILABLE,- DXGI_ERROR_SESSION_DISCONNECTED,- TRUE,- IDXGISurface,- IDXGIResource,- DXGI_RESOURCE_PRIORITY_MAXIMUM,- D3D11_CPU_ACCESS_READ,- D3D11_USAGE_STAGING-};--mod ffi;--//TODO: Split up into files.--pub struct Capturer {- device: *mut ID3D11Device,- context: *mut ID3D11DeviceContext,- duplication: *mut IDXGIOutputDuplication,- fastlane: bool, surface: *mut IDXGISurface,- data: *mut u8, len: usize,- height: usize,-}--impl Capturer {- pub fn new(display: &Display) -> io::Result<Capturer> {- let mut device = ptr::null_mut();- let mut context = ptr::null_mut();- let mut duplication = ptr::null_mut();- let mut desc = unsafe { mem::uninitialized() };-- if unsafe {- D3D11CreateDevice(- &mut **display.adapter,- D3D_DRIVER_TYPE_UNKNOWN,- ptr::null_mut(), // No software rasterizer.- 0, // No device flags.- ptr::null_mut(), // Feature levels.- 0, // Feature levels' length.- D3D11_SDK_VERSION,- &mut device,- &mut D3D_FEATURE_LEVEL_9_1,- &mut context- )- } != S_OK {- // Unknown error.- return Err(io::ErrorKind::Other.into());- }-- let res = wrap_hresult(unsafe {- (*display.inner).DuplicateOutput(- &mut **device,- &mut duplication- )- });-- if let Err(err) = res {- unsafe {- (*device).Release();- (*context).Release();- }- return Err(err);- }-- unsafe {- (*duplication).GetDesc(&mut desc);- }-- Ok(unsafe {- let mut capturer = Capturer {- device, context, duplication,- fastlane: desc.DesktopImageInSystemMemory == TRUE,- surface: ptr::null_mut(),- height: display.height() as usize,- data: ptr::null_mut(),- len: 0- };- let _ = capturer.load_frame(0);- capturer- })- }-- unsafe fn load_frame(&mut self, timeout: UINT) -> io::Result<()> {- let mut frame = ptr::null_mut();- let mut info = mem::uninitialized();- self.data = ptr::null_mut();-- wrap_hresult((*self.duplication).AcquireNextFrame(- timeout,- &mut info,- &mut frame- ))?;-- if self.fastlane {- let mut rect = mem::uninitialized();- let res = wrap_hresult(- (*self.duplication).MapDesktopSurface(&mut rect)- );-- (*frame).Release();-- if let Err(err) = res {- Err(err)- } else {- self.data = rect.pBits;- self.len = self.height * rect.Pitch as usize;- Ok(())- }- } else {- self.surface = ptr::null_mut();- self.surface = self.ohgodwhat(frame)?;-- let mut rect = mem::uninitialized();- wrap_hresult((*self.surface).Map(- &mut rect,- DXGI_MAP_READ- ))?;-- self.data = rect.pBits;- self.len = self.height * rect.Pitch as usize;- Ok(())- }- }-- unsafe fn ohgodwhat(- &mut self,- frame: *mut IDXGIResource- ) -> io::Result<*mut IDXGISurface> {- let mut texture: *mut ID3D11Texture2D = ptr::null_mut();- (*frame).QueryInterface(- &IID_ID3D11TEXTURE2D,- &mut texture as *mut *mut _ as *mut *mut _- );-- let mut texture_desc = mem::uninitialized();- (*texture).GetDesc(&mut texture_desc);-- texture_desc.Usage = D3D11_USAGE_STAGING;- texture_desc.BindFlags = 0;- texture_desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ.0;- texture_desc.MiscFlags = 0;-- let mut readable = ptr::null_mut();- let res = wrap_hresult((*self.device).CreateTexture2D(- &mut texture_desc,- ptr::null(),- &mut readable- ));-- if let Err(err) = res {- (*frame).Release();- (*texture).Release();- (*readable).Release();- Err(err)- } else {- (*readable).SetEvictionPriority(DXGI_RESOURCE_PRIORITY_MAXIMUM);-- let mut surface = ptr::null_mut();- (*readable).QueryInterface(- &IID_IDXGISURFACE,- &mut surface as *mut *mut _ as *mut *mut _- );-- (*self.context).CopyResource(- &mut **readable,- &mut **texture- );-- (*frame).Release();- (*texture).Release();- (*readable).Release();- Ok(surface)- }- }-- pub fn frame<'a>(&'a mut self, timeout: UINT) -> io::Result<&'a [u8]> {- unsafe {- // Release last frame.- // No error checking needed because we don't care.- // None of the errors crash anyway.-- if self.fastlane {- (*self.duplication).UnMapDesktopSurface();- } else {- if !self.surface.is_null() {- (*self.surface).Unmap();- (*self.surface).Release();- self.surface = ptr::null_mut();- }- }-- (*self.duplication).ReleaseFrame();-- // Get next frame.-- self.load_frame(timeout)?;- Ok(slice::from_raw_parts(self.data, self.len))- }- }-}--impl Drop for Capturer {- fn drop(&mut self) {- unsafe {- if !self.surface.is_null() {- (*self.surface).Unmap();- (*self.surface).Release();- }- (*self.duplication).Release();- (*self.device).Release();- (*self.context).Release();- }- }-}--pub struct Displays {- factory: *mut IDXGIFactory1,- adapter: *mut IDXGIAdapter1,- /// Index of the CURRENT adapter.- nadapter: UINT,- /// Index of the NEXT display to fetch.- ndisplay: UINT-}--impl Displays {- pub fn new() -> io::Result<Displays> {- let mut factory = ptr::null_mut();- wrap_hresult(unsafe {- CreateDXGIFactory1(&IID_IDXGIFACTORY1, &mut factory)- })?;-- let mut adapter = ptr::null_mut();- unsafe {- // On error, our adapter is null, so it's fine.- (*factory).EnumAdapters1(0, &mut adapter);- };-- Ok(Displays {- factory,- adapter,- nadapter: 0,- ndisplay: 0- })- }-- // No Adapter => Some(None)- // Non-Empty Adapter => Some(Some(OUTPUT))- // End of Adapter => None- fn read_and_invalidate(&mut self) -> Option<Option<Display>> {- // If there is no adapter, there is nothing left for us to do.-- if self.adapter.is_null() {- return Some(None);- }-- // Otherwise, we get the next output of the current adapter.-- let output = unsafe {- let mut output = ptr::null_mut();- (*self.adapter).EnumOutputs(self.ndisplay, &mut output);- output- };-- // If the current adapter is done, we free it.- // We return None so the caller gets the next adapter and tries again.-- if output.is_null() {- unsafe {- (*self.adapter).Release();- self.adapter = ptr::null_mut();- }- return None;- }-- // Advance to the next display.-- self.ndisplay += 1;-- // We get the display's details.-- let desc = unsafe {- let mut desc = mem::uninitialized();- (*output).GetDesc(&mut desc);- desc- };-- // We cast it up to the version needed for desktop duplication.-- let mut inner = ptr::null_mut();- unsafe {- (*output).QueryInterface(- &IID_IDXGIOUTPUT1,- &mut inner as *mut *mut _ as *mut *mut _- );- (*output).Release();- }-- // If it's null, we have an error.- // So we act like the adapter is done.-- if inner.is_null() {- unsafe {- (*self.adapter).Release();- self.adapter = ptr::null_mut();- }- return None;- }-- unsafe {- (*self.adapter).AddRef();- }-- Some(Some(Display { inner, adapter: self.adapter, desc }))- }-}--impl Iterator for Displays {- type Item = Display;- fn next(&mut self) -> Option<Display> {- if let Some(res) = self.read_and_invalidate() {- res- } else {- // We need to replace the adapter.-- self.ndisplay = 0;- self.nadapter += 1;-- self.adapter = unsafe {- let mut adapter = ptr::null_mut();- (*self.factory).EnumAdapters1(- self.nadapter,- &mut adapter- );- adapter- };-- if let Some(res) = self.read_and_invalidate() {- res- } else {- // All subsequent adapters will also be empty.- None- }- }- }-}--impl Drop for Displays {- fn drop(&mut self) {- unsafe {- (*self.factory).Release();- if !self.adapter.is_null() {- (*self.adapter).Release();- }- }- }-}--pub struct Display {- inner: *mut IDXGIOutput1,- adapter: *mut IDXGIAdapter1,- desc: DXGI_OUTPUT_DESC-}--impl Display {- pub fn width(&self) -> LONG {- self.desc.DesktopCoordinates.right -- self.desc.DesktopCoordinates.left- }-- pub fn height(&self) -> LONG {- self.desc.DesktopCoordinates.bottom -- self.desc.DesktopCoordinates.top- }-- pub fn rotation(&self) -> DXGI_MODE_ROTATION {- self.desc.Rotation- }-- pub fn name(&self) -> &[u16] {- let s = &self.desc.DeviceName;- let i = s.iter()- .position(|&x| x == 0)- .unwrap_or(s.len());- &s[..i]- }-}--impl Drop for Display {- fn drop(&mut self) {- unsafe {- (*self.inner).Release();- (*self.adapter).Release();- }- }-}--fn wrap_hresult(x: HRESULT) -> io::Result<()> {- use std::io::ErrorKind::*;- Err((match x {- S_OK => return Ok(()),- DXGI_ERROR_ACCESS_LOST => ConnectionReset,- DXGI_ERROR_WAIT_TIMEOUT => TimedOut,- DXGI_ERROR_INVALID_CALL => InvalidData,- E_ACCESSDENIED => PermissionDenied,- DXGI_ERROR_UNSUPPORTED => ConnectionRefused,- DXGI_ERROR_NOT_CURRENTLY_AVAILABLE => Interrupted,- DXGI_ERROR_SESSION_DISCONNECTED => ConnectionAborted,- _ => Other- }).into())-}diff --git a/apps/desktop/src-tauri/src/capture/src/lib.rs b/apps/desktop/src-tauri/src/capture/src/lib.rsdeleted file mode 100644index 115c6e0f6..000000000--- a/apps/desktop/src-tauri/src/capture/src/lib.rs+++ /dev/null@@ -1,14 +0,0 @@-#[macro_use]-extern crate cfg_if;-extern crate libc;--#[cfg(quartz)] extern crate block;-#[cfg(quartz)] pub mod quartz;--#[cfg(x11)] pub mod x11;--#[cfg(dxgi)] extern crate winapi;-#[cfg(dxgi)] pub mod dxgi;--mod common;-pub use common::*;\ No newline at end of filediff --git a/apps/desktop/src-tauri/src/capture/src/quartz/capturer.rs b/apps/desktop/src-tauri/src/capture/src/quartz/capturer.rsdeleted file mode 100644index 61330b9c1..000000000--- a/apps/desktop/src-tauri/src/capture/src/quartz/capturer.rs+++ /dev/null@@ -1,81 +0,0 @@-use block::{Block, ConcreteBlock};-use libc::c_void;-use super::ffi::*;-use super::config::Config;-use super::display::Display;-use super::frame::Frame;-use std::ptr;--pub struct Capturer {- stream: CGDisplayStreamRef,- queue: DispatchQueue,-- width: usize,- height: usize,- format: PixelFormat,- display: Display-}--impl Capturer {- pub fn new<F: Fn(Frame) + 'static>(- display: Display,- width: usize,- height: usize,- format: PixelFormat,- config: Config,- handler: F- ) -> Result<Capturer, CGError> {- let handler: FrameAvailableHandler =- ConcreteBlock::new(move |status, _, surface, _| {- use self::CGDisplayStreamFrameStatus::*;- if status == FrameComplete {- handler(unsafe { Frame::new(surface) });- }- }).copy();-- let queue = unsafe {- dispatch_queue_create(- b"quadrupleslap.scrap\0".as_ptr() as *const i8,- ptr::null_mut()- )- };-- let stream = unsafe {- let config = config.build();- let stream = CGDisplayStreamCreateWithDispatchQueue(- display.id(),- width,- height,- format,- config,- queue,- &*handler as *const Block<_, _> as *const c_void- );- CFRelease(config);- stream- };-- match unsafe { CGDisplayStreamStart(stream) } {- CGError::Success => Ok(Capturer {- stream, queue, width, height, format, display- }),- x => Err(x)- }- }-- pub fn width(&self) -> usize { self.width }- pub fn height(&self) -> usize { self.height }- pub fn format(&self) -> PixelFormat { self.format }- pub fn display(&self) -> Display { self.display }-}--impl Drop for Capturer {- fn drop(&mut self) {- unsafe {- //TODO: Maybe it should wait until `Stopped` before releasing?- let _ = CGDisplayStreamStop(self.stream);- CFRelease(self.stream);- dispatch_release(self.queue);- }- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/quartz/config.rs b/apps/desktop/src-tauri/src/capture/src/quartz/config.rsdeleted file mode 100644index 76f1192dc..000000000--- a/apps/desktop/src-tauri/src/capture/src/quartz/config.rs+++ /dev/null@@ -1,73 +0,0 @@-use super::ffi::*;-use libc::c_void;-use std::ptr;--//TODO: Color space, YCbCr matrix.-pub struct Config {- /// Whether the cursor is visible.- pub cursor: bool,- /// Whether it should letterbox or stretch.- pub letterbox: bool,- /// Minimum seconds per frame.- pub throttle: f64,- /// How many frames are allocated.- /// 3 is the recommended value.- /// 8 is the maximum value.- pub queue_length: i8-}--impl Config {- /// Don't forget to CFRelease this!- pub fn build(self) -> CFDictionaryRef {- unsafe {- let throttle = CFNumberCreate(- ptr::null_mut(),- CFNumberType::Float64,- &self.throttle as *const _ as *const c_void- );- let queue_length = CFNumberCreate(- ptr::null_mut(),- CFNumberType::SInt8,- &self.queue_length as *const _ as *const c_void- );-- let keys: [CFStringRef; 4] = [- kCGDisplayStreamShowCursor,- kCGDisplayStreamPreserveAspectRatio,- kCGDisplayStreamMinimumFrameTime,- kCGDisplayStreamQueueDepth- ];- let values: [*mut c_void; 4] = [- cfbool(self.cursor),- cfbool(self.letterbox),- throttle,- queue_length- ];-- let res = CFDictionaryCreate(- ptr::null_mut(),- keys.as_ptr(),- values.as_ptr(),- 4,- &kCFTypeDictionaryKeyCallBacks,- &kCFTypeDictionaryValueCallBacks- );-- CFRelease(throttle);- CFRelease(queue_length);-- res- }- }-}--impl Default for Config {- fn default() -> Config {- Config {- cursor: true,- letterbox: true,- throttle: 0.0166,- queue_length: 1- }- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/quartz/display.rs b/apps/desktop/src-tauri/src/capture/src/quartz/display.rsdeleted file mode 100644index 5944f5a94..000000000--- a/apps/desktop/src-tauri/src/capture/src/quartz/display.rs+++ /dev/null@@ -1,58 +0,0 @@-use super::ffi::*;-use std::mem;--#[derive(PartialEq, Eq, Debug, Clone, Copy)]-#[repr(C)]-pub struct Display(u32);--impl Display {- pub fn primary() -> Display {- Display(unsafe { CGMainDisplayID() })- }-- pub fn online() -> Result<Vec<Display>, CGError> {- unsafe {- let mut arr: [u32; 16] = mem::uninitialized();- let mut len: u32 = 0;-- match CGGetOnlineDisplayList(16, arr.as_mut_ptr(), &mut len) {- CGError::Success => (),- x => return Err(x)- }-- let mut res = Vec::with_capacity(16);- for i in 0..len as usize {- res.push(Display(*arr.get_unchecked(i)));- }- Ok(res)- }- }-- pub fn id(self) -> u32 {- self.0- }-- pub fn width(self) -> usize {- unsafe { CGDisplayPixelsWide(self.0) }- }-- pub fn height(self) -> usize {- unsafe { CGDisplayPixelsHigh(self.0) }- }-- pub fn is_builtin(self) -> bool {- unsafe { CGDisplayIsBuiltin(self.0) != 0 }- }-- pub fn is_primary(self) -> bool {- unsafe { CGDisplayIsMain(self.0) != 0 }- }-- pub fn is_active(self) -> bool {- unsafe { CGDisplayIsActive(self.0) != 0 }- }-- pub fn is_online(self) -> bool {- unsafe { CGDisplayIsOnline(self.0) != 0 }- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/quartz/ffi.rs b/apps/desktop/src-tauri/src/capture/src/quartz/ffi.rsdeleted file mode 100644index 7653fec39..000000000--- a/apps/desktop/src-tauri/src/capture/src/quartz/ffi.rs+++ /dev/null@@ -1,228 +0,0 @@-#![allow(dead_code)]--use block::RcBlock;-use libc::c_void;--pub type CGDisplayStreamRef = *mut c_void;-pub type CFDictionaryRef = *mut c_void;-pub type CFBooleanRef = *mut c_void;-pub type CFNumberRef = *mut c_void;-pub type CFStringRef = *mut c_void;-pub type CGDisplayStreamUpdateRef = *mut c_void;-pub type IOSurfaceRef = *mut c_void;-pub type DispatchQueue = *mut c_void;-pub type DispatchQueueAttr = *mut c_void;-pub type CFAllocatorRef = *mut c_void;--#[repr(C)]-pub struct CFDictionaryKeyCallBacks {- callbacks: [usize; 5],- version: i32-}--#[repr(C)]-pub struct CFDictionaryValueCallBacks {- callbacks: [usize; 4],- version: i32-}--macro_rules! pixel_format {- ($a:expr, $b:expr, $c:expr, $d:expr) => {- ($a as i32) << 24- | ($b as i32) << 16- | ($c as i32) << 8- | ($d as i32)- }-}--pub const SURFACE_LOCK_READ_ONLY: u32 = 0x0000_0001;-pub const SURFACE_LOCK_AVOID_SYNC: u32 = 0x0000_0002;--pub fn cfbool(x: bool) -> CFBooleanRef {- unsafe {- if x { kCFBooleanTrue } else { kCFBooleanFalse }- }-}--#[repr(i32)]-#[derive(PartialEq, Eq, Debug, Clone, Copy)]-pub enum CGDisplayStreamFrameStatus {- /// A new frame was generated.- FrameComplete = 0,- /// A new frame was not generated because the display did not change.- FrameIdle = 1,- /// A new frame was not generated because the display has gone blank.- FrameBlank = 2,- /// The display stream was stopped.- Stopped = 3,- #[doc(hidden)]- __Nonexhaustive-}--#[repr(i32)]-#[derive(PartialEq, Eq, Debug, Clone, Copy)]-pub enum CFNumberType {- /* Fixed-width types */- SInt8 = 1,- SInt16 = 2,- SInt32 = 3,- SInt64 = 4,- Float32 = 5,- Float64 = 6, /* 64-bit IEEE 754 */- /* Basic C types */- Char = 7,- Short = 8,- Int = 9,- Long = 10,- LongLong = 11,- Float = 12,- Double = 13,- /* Other */- CFIndex = 14,- NSInteger = 15,- CGFloat = 16-}--#[repr(i32)]-#[derive(PartialEq, Eq, Debug, Clone, Copy)]-#[must_use]-pub enum CGError {- Success = 0,- Failure = 1000,- IllegalArgument = 1001,- InvalidConnection = 1002,- InvalidContext = 1003,- CannotComplete = 1004,- NotImplemented = 1006,- RangeCheck = 1007,- TypeCheck = 1008,- InvalidOperation = 1010,- NoneAvailable = 1011,- #[doc(hidden)]- __Nonexhaustive-}--#[repr(i32)]-#[derive(PartialEq, Eq, Debug, Clone, Copy)]-pub enum PixelFormat {- /// Packed Little Endian ARGB8888- Argb8888 = pixel_format!('B','G','R','A'),- /// Packed Little Endian ARGB2101010- Argb2101010 = pixel_format!('l','1','0','r'),- /// 2-plane "video" range YCbCr 4:2:0- YCbCr420Video = pixel_format!('4','2','0','v'),- /// 2-plane "full" range YCbCr 4:2:0- YCbCr420Full = pixel_format!('4','2','0','f'),- #[doc(hidden)]- __Nonexhaustive-}--pub type CGDisplayStreamFrameAvailableHandler = *const c_void;--pub type FrameAvailableHandler = RcBlock<(- CGDisplayStreamFrameStatus, // status- u64, // displayTime- IOSurfaceRef, // frameSurface- CGDisplayStreamUpdateRef // updateRef-), ()>;--#[link(name="System", kind="dylib")]-#[link(name="CoreGraphics", kind="framework")]-#[link(name="CoreFoundation", kind="framework")]-#[link(name="IOSurface", kind="framework")]-extern {- // CoreGraphics-- pub static kCGDisplayStreamShowCursor: CFStringRef;- pub static kCGDisplayStreamPreserveAspectRatio: CFStringRef;- pub static kCGDisplayStreamMinimumFrameTime: CFStringRef;- pub static kCGDisplayStreamQueueDepth: CFStringRef;-- pub fn CGDisplayStreamCreateWithDispatchQueue(- display: u32,- output_width: usize,- output_height: usize,- pixel_format: PixelFormat,- properties: CFDictionaryRef,- queue: DispatchQueue,- handler: CGDisplayStreamFrameAvailableHandler- ) -> CGDisplayStreamRef;-- pub fn CGDisplayStreamStart(- displayStream: CGDisplayStreamRef- ) -> CGError;-- pub fn CGDisplayStreamStop(- displayStream: CGDisplayStreamRef- ) -> CGError;-- pub fn CGMainDisplayID() -> u32;- pub fn CGDisplayPixelsWide(display: u32) -> usize;- pub fn CGDisplayPixelsHigh(display: u32) -> usize;-- pub fn CGGetOnlineDisplayList(- max_displays: u32,- online_displays: *mut u32,- display_count: *mut u32- ) -> CGError;-- pub fn CGDisplayIsBuiltin(display: u32) -> i32;- pub fn CGDisplayIsMain(display: u32) -> i32;- pub fn CGDisplayIsActive(display: u32) -> i32;- pub fn CGDisplayIsOnline(display: u32) -> i32;-- // IOSurface-- pub fn IOSurfaceGetAllocSize(buffer: IOSurfaceRef) -> usize;- pub fn IOSurfaceGetBaseAddress(buffer: IOSurfaceRef) -> *mut c_void;- pub fn IOSurfaceIncrementUseCount(buffer: IOSurfaceRef);- pub fn IOSurfaceDecrementUseCount(buffer: IOSurfaceRef);- pub fn IOSurfaceLock(- buffer: IOSurfaceRef,- options: u32,- seed: *mut u32- ) -> i32;- pub fn IOSurfaceUnlock(- buffer: IOSurfaceRef,- options: u32,- seed: *mut u32- ) -> i32;-- // Dispatch-- pub fn dispatch_queue_create(- label: *const i8,- attr: DispatchQueueAttr- ) -> DispatchQueue;-- pub fn dispatch_release(- object: DispatchQueue- );-- // Core Foundation-- pub static kCFTypeDictionaryKeyCallBacks: CFDictionaryKeyCallBacks;- pub static kCFTypeDictionaryValueCallBacks: CFDictionaryValueCallBacks;-- // EVEN THE BOOLEANS ARE REFERENCES.- pub static kCFBooleanTrue: CFBooleanRef;- pub static kCFBooleanFalse: CFBooleanRef;-- pub fn CFNumberCreate(- allocator: CFAllocatorRef,- theType: CFNumberType,- valuePtr: *const c_void- ) -> CFNumberRef;-- pub fn CFDictionaryCreate(- allocator: CFAllocatorRef,- keys: *const *mut c_void,- values: *const *mut c_void,- numValues: i64,- keyCallBacks: *const CFDictionaryKeyCallBacks,- valueCallBacks: *const CFDictionaryValueCallBacks- ) -> CFDictionaryRef;-- pub fn CFRetain(cf: *const c_void);- pub fn CFRelease(cf: *const c_void);-}diff --git a/apps/desktop/src-tauri/src/capture/src/quartz/frame.rs b/apps/desktop/src-tauri/src/capture/src/quartz/frame.rsdeleted file mode 100644index 3b6b0496d..000000000--- a/apps/desktop/src-tauri/src/capture/src/quartz/frame.rs+++ /dev/null@@ -1,49 +0,0 @@-use super::ffi::*;-use std::{ops, ptr, slice};--pub struct Frame {- surface: IOSurfaceRef,- inner: &'static [u8]-}--impl Frame {- pub unsafe fn new(surface: IOSurfaceRef) -> Frame {- CFRetain(surface);- IOSurfaceIncrementUseCount(surface);-- IOSurfaceLock(- surface,- SURFACE_LOCK_READ_ONLY,- ptr::null_mut()- );-- let inner = slice::from_raw_parts(- IOSurfaceGetBaseAddress(surface) as *const u8,- IOSurfaceGetAllocSize(surface)- );-- Frame { surface, inner }- }-}--impl ops::Deref for Frame {- type Target = [u8];- fn deref<'a>(&'a self) -> &'a [u8] {- self.inner- }-}--impl Drop for Frame {- fn drop(&mut self) {- unsafe {- IOSurfaceUnlock(- self.surface,- SURFACE_LOCK_READ_ONLY,- ptr::null_mut()- );-- IOSurfaceDecrementUseCount(self.surface);- CFRelease(self.surface);- }- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/quartz/mod.rs b/apps/desktop/src-tauri/src/capture/src/quartz/mod.rsdeleted file mode 100644index fce89e3b3..000000000--- a/apps/desktop/src-tauri/src/capture/src/quartz/mod.rs+++ /dev/null@@ -1,11 +0,0 @@-mod capturer;-mod config;-mod display;-mod ffi;-mod frame;--pub use self::capturer::Capturer;-pub use self::config::Config;-pub use self::display::Display;-pub use self::ffi::{CGError, PixelFormat};-pub use self::frame::Frame;diff --git a/apps/desktop/src-tauri/src/capture/src/x11/capturer.rs b/apps/desktop/src-tauri/src/capture/src/x11/capturer.rsdeleted file mode 100644index 7f3f3ad57..000000000--- a/apps/desktop/src-tauri/src/capture/src/x11/capturer.rs+++ /dev/null@@ -1,160 +0,0 @@-use libc;-use std::{io, ptr, slice};-use super::Display;-use super::ffi::*;--pub struct Capturer {- display: Display,- shmid: i32,- xcbid: u32,- buffer: *const u8,-- request: xcb_shm_get_image_cookie_t,- loading: usize,- size: usize-}--impl Capturer {- pub fn new(- display: Display- ) -> io::Result<Capturer> {- // Calculate dimensions.-- let pixel_width = 4;- let rect = display.rect();- let size = (rect.w as usize) * (rect.h as usize) * pixel_width;-- // Create a shared memory segment.-- let shmid = unsafe {- libc::shmget(- libc::IPC_PRIVATE,- size * 2,- // Everyone can do anything.- libc::IPC_CREAT | 0o777- )- };-- if shmid == -1 {- return Err(io::Error::last_os_error());- }-- // Attach the segment to a readable address.-- let buffer = unsafe {- libc::shmat(- shmid,- ptr::null(),- libc::SHM_RDONLY- )- } as *mut u8;-- if buffer as isize == -1 {- return Err(io::Error::last_os_error());- }-- // Attach the segment to XCB.-- let server = display.server().raw();- let xcbid = unsafe { xcb_generate_id(server) };- unsafe {- xcb_shm_attach(- server,- xcbid,- shmid as u32,- 0 // False, i.e. not read-only.- );- }-- // Start the first screenshot early.-- let request = unsafe {- xcb_shm_get_image_unchecked(- server,- display.root(),- rect.x, rect.y,- rect.w, rect.h,- !0, // Plane mask.- XCB_IMAGE_FORMAT_Z_PIXMAP,- xcbid,- 0 // Byte offset.- )- };-- // Return!-- Ok(Capturer {- display, shmid, xcbid, buffer,- request, loading: 0, size- })- }-- pub fn display(&self) -> &Display {- &self.display- }-- pub fn frame<'b>(&'b mut self) -> &'b [u8] {- // Get the return value.-- let result = unsafe {- let off = self.loading & self.size;- slice::from_raw_parts(- self.buffer.offset(off as isize),- self.size- )- };-- // Block for response.-- unsafe {- self.handle_response();- }-- // Start next request.-- let rect = self.display.rect();-- self.loading ^= !0;- self.request = unsafe {- xcb_shm_get_image_unchecked(- self.display.server().raw(),- self.display.root(),- rect.x, rect.y,- rect.w, rect.h,- !0,- XCB_IMAGE_FORMAT_Z_PIXMAP,- self.xcbid,- (self.loading & self.size) as u32- )- };-- // Return!-- result- }-- unsafe fn handle_response(&self) {- let response = xcb_shm_get_image_reply(- self.display.server().raw(),- self.request,- ptr::null_mut()- );-- libc::free(response as *mut _);- }-}--impl Drop for Capturer {- fn drop(&mut self) {- unsafe {- // Process pending request.- self.handle_response();- // Detach segment from XCB.- xcb_shm_detach(self.display.server().raw(), self.xcbid);- // Detach segment from our space.- libc::shmdt(self.buffer as *mut _);- // Destroy the shared memory segment.- libc::shmctl(self.shmid, libc::IPC_RMID, ptr::null_mut());- }- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/x11/display.rs b/apps/desktop/src-tauri/src/capture/src/x11/display.rsdeleted file mode 100644index e71a6df1f..000000000--- a/apps/desktop/src-tauri/src/capture/src/x11/display.rs+++ /dev/null@@ -1,35 +0,0 @@-use std::rc::Rc;-use super::Server;-use super::ffi::*;--#[derive(Debug)]-pub struct Display {- server: Rc<Server>,- default: bool,- rect: Rect,- root: xcb_window_t,-}--#[derive(Copy, Clone, Debug, Hash, Eq, PartialEq)]-pub struct Rect {- pub x: i16,- pub y: i16,- pub w: u16,- pub h: u16,-}--impl Display {- pub unsafe fn new(- server: Rc<Server>,- default: bool,- rect: Rect,- root: xcb_window_t- ) -> Display {- Display { server, default, rect, root }- }-- pub fn server(&self) -> &Rc<Server> { &self.server }- pub fn is_default(&self) -> bool { self.default }- pub fn rect(&self) -> Rect { self.rect }- pub fn root(&self) -> xcb_window_t { self.root }-}diff --git a/apps/desktop/src-tauri/src/capture/src/x11/ffi.rs b/apps/desktop/src-tauri/src/capture/src/x11/ffi.rsdeleted file mode 100644index 6e31cbf0a..000000000--- a/apps/desktop/src-tauri/src/capture/src/x11/ffi.rs+++ /dev/null@@ -1,225 +0,0 @@-#![allow(non_camel_case_types)]--use libc::c_void;--#[link(name="xcb")]-#[link(name="xcb-shm")]-#[link(name="xcb-randr")]-extern {- pub fn xcb_connect(- displayname: *const i8,- screenp: *mut i32- ) -> *mut xcb_connection_t;-- pub fn xcb_disconnect(- c: *mut xcb_connection_t- );-- pub fn xcb_connection_has_error(- c: *mut xcb_connection_t- ) -> i32;-- pub fn xcb_get_setup(- c: *mut xcb_connection_t- ) -> *const xcb_setup_t;-- pub fn xcb_setup_roots_iterator(- r: *const xcb_setup_t- ) -> xcb_screen_iterator_t;-- pub fn xcb_screen_next(- i: *mut xcb_screen_iterator_t- );-- pub fn xcb_generate_id(- c: *mut xcb_connection_t- ) -> u32;-- pub fn xcb_shm_attach(- c: *mut xcb_connection_t,- shmseg: xcb_shm_seg_t,- shmid: u32,- read_only: u8- ) -> xcb_void_cookie_t;-- pub fn xcb_shm_detach(- c: *mut xcb_connection_t,- shmseg: xcb_shm_seg_t- ) -> xcb_void_cookie_t;-- pub fn xcb_shm_get_image_unchecked(- c: *mut xcb_connection_t,- drawable: xcb_drawable_t,- x: i16,- y: i16,- width: u16,- height: u16,- plane_mask: u32,- format: u8,- shmseg: xcb_shm_seg_t,- offset: u32- ) -> xcb_shm_get_image_cookie_t;-- pub fn xcb_shm_get_image_reply(- c: *mut xcb_connection_t,- cookie: xcb_shm_get_image_cookie_t,- e: *mut *mut xcb_generic_error_t- ) -> *mut xcb_shm_get_image_reply_t;-- pub fn xcb_randr_get_monitors_unchecked(- c: *mut xcb_connection_t,- window: xcb_window_t,- get_active: u8,- ) -> xcb_randr_get_monitors_cookie_t;-- pub fn xcb_randr_get_monitors_reply(- c: *mut xcb_connection_t,- cookie: xcb_randr_get_monitors_cookie_t,- e: *mut *mut xcb_generic_error_t,- ) -> *mut xcb_randr_get_monitors_reply_t;-- pub fn xcb_randr_get_monitors_monitors_iterator(- r: *const xcb_randr_get_monitors_reply_t,- ) -> xcb_randr_monitor_info_iterator_t;-- pub fn xcb_randr_monitor_info_next(- i: *mut xcb_randr_monitor_info_iterator_t,- );-}--pub const XCB_IMAGE_FORMAT_Z_PIXMAP: u8 = 2;--pub type xcb_atom_t = u32;-pub type xcb_connection_t = c_void;-pub type xcb_window_t = u32;-pub type xcb_keycode_t = u8;-pub type xcb_visualid_t = u32;-pub type xcb_timestamp_t = u32;-pub type xcb_colormap_t = u32;-pub type xcb_shm_seg_t = u32;-pub type xcb_drawable_t = u32;--#[repr(C)]-pub struct xcb_setup_t {- pub status: u8,- pub pad0: u8,- pub protocol_major_version: u16,- pub protocol_minor_version: u16,- pub length: u16,- pub release_number: u32,- pub resource_id_base: u32,- pub resource_id_mask: u32,- pub motion_buffer_size: u32,- pub vendor_len: u16,- pub maximum_request_length: u16,- pub roots_len: u8,- pub pixmap_formats_len: u8,- pub image_byte_order: u8,- pub bitmap_format_bit_order: u8,- pub bitmap_format_scanline_unit: u8,- pub bitmap_format_scanline_pad: u8,- pub min_keycode: xcb_keycode_t,- pub max_keycode: xcb_keycode_t,- pub pad1: [u8; 4]-}--#[repr(C)]-pub struct xcb_screen_iterator_t {- pub data: *mut xcb_screen_t,- pub rem: i32,- pub index: i32-}--#[repr(C)]-pub struct xcb_screen_t {- pub root: xcb_window_t,- pub default_colormap: xcb_colormap_t,- pub white_pixel: u32,- pub black_pixel: u32,- pub current_input_masks: u32,- pub width_in_pixels: u16,- pub height_in_pixels: u16,- pub width_in_millimeters: u16,- pub height_in_millimeters: u16,- pub min_installed_maps: u16,- pub max_installed_maps: u16,- pub root_visual: xcb_visualid_t,- pub backing_stores: u8,- pub save_unders: u8,- pub root_depth: u8,- pub allowed_depths_len: u8-}--#[repr(C)]-pub struct xcb_randr_monitor_info_iterator_t {- pub data: *mut xcb_randr_monitor_info_t,- pub rem: i32,- pub index: i32,-}--#[repr(C)]-pub struct xcb_randr_monitor_info_t {- pub name: xcb_atom_t,- pub primary: u8,- pub automatic: u8,- pub n_output: u16,- pub x: i16,- pub y: i16,- pub width: u16,- pub height: u16,- pub width_mm: u32,- pub height_mm: u32,-}--#[repr(C)]-#[derive(Clone, Copy)]-pub struct xcb_randr_get_monitors_cookie_t {- pub sequence: u32-}--#[repr(C)]-#[derive(Clone, Copy)]-pub struct xcb_shm_get_image_cookie_t {- pub sequence: u32-}--#[repr(C)]-#[derive(Clone, Copy)]-pub struct xcb_void_cookie_t {- pub sequence: u32-}--#[repr(C)]-pub struct xcb_generic_error_t {- pub response_type: u8,- pub error_code: u8,- pub sequence: u16,- pub resource_id: u32,- pub minor_code: u16,- pub major_code: u8,- pub pad0: u8,- pub pad: [u32; 5],- pub full_sequence: u32-}--#[repr(C)]-pub struct xcb_shm_get_image_reply_t {- pub response_type: u8,- pub depth: u8,- pub sequence: u16,- pub length: u32,- pub visual: xcb_visualid_t,- pub size: u32-}--#[repr(C)]-pub struct xcb_randr_get_monitors_reply_t {- pub response_type: u8,- pub pad0: u8,- pub sequence: u16,- pub length: u32,- pub timestamp: xcb_timestamp_t,- pub n_monitors: u32,- pub n_outputs: u32,- pub pad1: [u8; 12],-}diff --git a/apps/desktop/src-tauri/src/capture/src/x11/iter.rs b/apps/desktop/src-tauri/src/capture/src/x11/iter.rsdeleted file mode 100644index f705294bd..000000000--- a/apps/desktop/src-tauri/src/capture/src/x11/iter.rs+++ /dev/null@@ -1,89 +0,0 @@-use libc;-use std::ptr;-use std::rc::Rc;-use super::{Display, Rect, Server};-use super::ffi::*;--//TODO: Do I have to free the displays?--pub struct DisplayIter {- outer: xcb_screen_iterator_t,- inner: Option<(xcb_randr_monitor_info_iterator_t, xcb_window_t)>,- server: Rc<Server>,-}--impl DisplayIter {- pub unsafe fn new(server: Rc<Server>) -> DisplayIter {- let mut outer = xcb_setup_roots_iterator(server.setup());- let inner = Self::next_screen(&mut outer, &server);- DisplayIter { outer, inner, server }- }-- fn next_screen(- outer: &mut xcb_screen_iterator_t,- server: &Server- ) -> Option<(xcb_randr_monitor_info_iterator_t, xcb_window_t)> {- if outer.rem == 0 {- return None;- }-- unsafe {- let root = (*outer.data).root;-- let cookie = xcb_randr_get_monitors_unchecked(- server.raw(),- root,- 1, //TODO: I don't know if this should be true or false.- );-- let response = xcb_randr_get_monitors_reply(- server.raw(),- cookie,- ptr::null_mut(),- );-- let inner = xcb_randr_get_monitors_monitors_iterator(response);-- libc::free(response as *mut _);- xcb_screen_next(outer);-- Some((inner, root))- }- }-}--impl Iterator for DisplayIter {- type Item = Display;-- fn next(&mut self) -> Option<Display> {- loop {- if let Some((ref mut inner, root)) = self.inner {- // If there is something in the current screen, return that.- if inner.rem != 0 {unsafe {- let data = &*inner.data;-- let display = Display::new(- self.server.clone(),- data.primary != 0,- Rect {- x: data.x,- y: data.y,- w: data.width,- h: data.height,- },- root- );-- xcb_randr_monitor_info_next(inner);- return Some(display);- }}- } else {- // If there is no current screen, the screen iterator is empty.- return None;- }-- // The current screen was empty, so try the next screen.- self.inner = Self::next_screen(&mut self.outer, &self.server);- }- }-}diff --git a/apps/desktop/src-tauri/src/capture/src/x11/mod.rs b/apps/desktop/src-tauri/src/capture/src/x11/mod.rsdeleted file mode 100644index 600027f65..000000000--- a/apps/desktop/src-tauri/src/capture/src/x11/mod.rs+++ /dev/null@@ -1,10 +0,0 @@-mod capturer;-mod display;-mod ffi;-mod iter;-mod server;--pub use self::capturer::*;-pub use self::display::*;-pub use self::iter::*;-pub use self::server::*;diff --git a/apps/desktop/src-tauri/src/capture/src/x11/server.rs b/apps/desktop/src-tauri/src/capture/src/x11/server.rsdeleted file mode 100644index 16461a646..000000000--- a/apps/desktop/src-tauri/src/capture/src/x11/server.rs+++ /dev/null@@ -1,75 +0,0 @@-use std::ptr;-use std::rc::Rc;-use super::DisplayIter;-use super::ffi::*;--#[derive(Debug)]-pub struct Server {- raw: *mut xcb_connection_t,- screenp: i32,- setup: *const xcb_setup_t-}--impl Server {- pub fn displays(slf: Rc<Server>) -> DisplayIter {- unsafe {- DisplayIter::new(slf)- }- }-- pub fn default() -> Result<Server, Error> {- Server::connect(ptr::null())- }-- pub fn connect(addr: *const i8) -> Result<Server, Error> {- unsafe {- let mut screenp = 0;- let raw = xcb_connect(addr, &mut screenp);-- let error = xcb_connection_has_error(raw);- if error != 0 {- xcb_disconnect(raw);- Err(Error::from(error))- } else {- let setup = xcb_get_setup(raw);- Ok(Server { raw, screenp, setup })- }- }- }-- pub fn raw(&self) -> *mut xcb_connection_t { self.raw }- pub fn screenp(&self) -> i32 { self.screenp }- pub fn setup(&self) -> *const xcb_setup_t { self.setup }-}--impl Drop for Server {- fn drop(&mut self) {- unsafe {- xcb_disconnect(self.raw);- }- }-}--#[derive(Clone, Copy, Debug)]-pub enum Error {- Generic,- UnsupportedExtension,- InsufficientMemory,- RequestTooLong,- ParseError,- InvalidScreen-}--impl From<i32> for Error {- fn from(x: i32) -> Error {- use self::Error::*;- match x {- 2 => UnsupportedExtension,- 3 => InsufficientMemory,- 4 => RequestTooLong,- 5 => ParseError,- 6 => InvalidScreen,- _ => Generic- }- }-}diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rsindex 83ebdb282..4cf1e34fc 100644--- a/apps/desktop/src-tauri/src/main.rs+++ b/apps/desktop/src-tauri/src/main.rs@@ -4,21 +4,14 @@ use std::sync::{Arc};use tokio::sync::Mutex;use std::env;use std::process::{Command, Child, Stdio};-use std::collections::HashMap;+use std::path::PathBuf;use tauri::State;-use std::fs;use std::path::Path;-use std::io;-use dotenvy_macro::dotenv;-use s3::bucket::Bucket;-use s3::creds::Credentials;-use s3::region::Region;-use s3::error::S3Error;use serde::Serialize;use serde::Deserialize;-use uuid::Uuid;+use serde_json::Value as JsonValue;use tokio::sync::mpsc;-use tauri::{Manager, Window};+use tauri::{Manager};use tauri_plugin_positioner::{WindowExt, Position};use ffmpeg_sidecar::{@@ -29,19 +22,25 @@ use ffmpeg_sidecar::{version::ffmpeg_version,};+#[warn(dead_code)]struct RecordingState {- process: Option<Child>,+ screen_process: Option<tokio::process::Child>,+ video_process: Option<tokio::process::Child>,tx: Option<mpsc::Sender<()>>,}-#[derive(Debug, Serialize, Deserialize)]+#[derive(Debug, Serialize, Deserialize, Clone)]struct RecordingOptions {user_id: String,- unique_id: String,+ video_id: String,+ screen_index: String,+ video_index: String,+ aws_region: String,+ aws_bucket: String}#[tauri::command]-async fn start_screen_recording(+async fn start_dual_recording(state: State<'_, Arc<Mutex<RecordingState>>>,options: RecordingOptions,) -> Result<(), String> {@@ -49,124 +48,210 @@ async fn start_screen_recording(let ffmpeg_binary_path = sidecar_dir().map_err(|e| e.to_string())?.join(if cfg!(target_os = "windows") { "ffmpeg.exe" } else { "ffmpeg" });- let chunks_dir = std::env::current_dir()+ let screen_chunks_dir = std::env::current_dir().map_err(|_| "Cannot get current directory".to_string())?- .join("chunks");- std::fs::create_dir_all(&chunks_dir)- .map_err(|_| "Failed to create chunks directory".to_string())?;-- let chunks_dir_str = chunks_dir.to_str().ok_or("Invalid chunks directory path")?;-- let output_filename_pattern = format!("{}/recording_chunk_%03d.mp4", chunks_dir.display());-- // Construct the ffmpeg command based on the OS- let ffmpeg_args = match std::env::consts::OS {- "macos" => vec![- "-f", "avfoundation", "-capture_cursor", "1", "-r", "30",- "-i", "1", "-pix_fmt", "uyvy422", "-c:v", "libx264",- "-crf", "20", "-preset", "veryfast", "-g", "60",- "-f", "segment", "-segment_time", "10", "-segment_wrap", "10",- &output_filename_pattern,- ],- _ => return Err("Unsupported OS".to_string()),- };-- // Use tokio's command to spawn the process so we can capture stdout/stderr in order to send file paths to the upload function- let child = Command::new(ffmpeg_binary_path)- .args(&ffmpeg_args)- .stdout(Stdio::piped())- .stderr(Stdio::piped())- .spawn()- .map_err(|e| e.to_string())?;-+ .join("chunks/screen");++ let video_chunks_dir = std::env::current_dir()+ .map_err(|_| "Cannot get current directory".to_string())?+ .join("chunks/video");++ clean_and_create_dir(&screen_chunks_dir)?;+ clean_and_create_dir(&video_chunks_dir)?;++ let ffmpeg_screen_args = construct_recording_args(&options.screen_index, &screen_chunks_dir, "screen");+ let ffmpeg_video_args = construct_recording_args(&options.video_index, &video_chunks_dir, "video");++ // Use tokio's Command to spawn the process with ffmpeg_screen_args+ let mut screen_child = tokio::process::Command::new(&ffmpeg_binary_path)+ .args(&ffmpeg_screen_args)+ .stdout(Stdio::piped())+ .stderr(Stdio::piped())+ .spawn()+ .map_err(|e| e.to_string())?;++ // Use tokio's Command to spawn the process with ffmpeg_video_args+ let mut video_child = tokio::process::Command::new(&ffmpeg_binary_path)+ .args(&ffmpeg_video_args)+ .stdout(Stdio::piped())+ .stderr(Stdio::piped())+ .spawn()+ .map_err(|e| e.to_string())?;++ let screen_stdout = screen_child.stdout.take().unwrap();+ let screen_stderr = screen_child.stderr.take().unwrap();+ tokio::spawn(log_output(screen_stdout, "Screen stdout"));+ tokio::spawn(log_output(screen_stderr, "Screen stderr"));++ // Video recording process+ let video_stdout = video_child.stdout.take().unwrap();+ let video_stderr = video_child.stderr.take().unwrap();+ tokio::spawn(log_output(video_stdout, "Video stdout"));+ tokio::spawn(log_output(video_stderr, "Video stderr"));+let (tx, _rx) = mpsc::channel::<()>(1);-- // Store the recording process in the shared state+let mut guard = state.lock().await;*guard = RecordingState {- process: Some(child),- tx: Some(tx),+ screen_process: Some(screen_child),+ video_process: Some(video_child),+ tx: Some(tx),};- drop(guard);+ drop(guard);++ start_upload_loop(screen_chunks_dir, options.clone(), "screen".to_string()).await;+ start_upload_loop(video_chunks_dir, options.clone(), "video".to_string()).await;- let user_id = options.user_id.clone();- let unique_id = options.unique_id.clone();- let chunks_dir = chunks_dir;+ Ok(())+}++fn clean_and_create_dir(dir: &Path) -> Result<(), String> {+ if dir.exists() {+ for entry in std::fs::read_dir(dir).map_err(|e| e.to_string())? {+ let entry = entry.map_err(|e| e.to_string())?;+ if entry.path().is_file() {+ std::fs::remove_file(entry.path()).map_err(|e| e.to_string())?;+ }+ }+ } else {+ std::fs::create_dir_all(dir).map_err(|e| e.to_string())?;+ }+ Ok(())+}++async fn log_output(mut stdout: impl tokio::io::AsyncRead + Unpin, desc: &str) {+ use tokio::io::{AsyncBufReadExt, BufReader};+ let mut reader = BufReader::new(stdout).lines();++ while let Some(line) = reader.next_line().await.unwrap() {+ println!("{}: {}", desc, line);+ }+}- tokio::spawn(async move {- let upload_interval = std::time::Duration::from_secs(10);- loop {- let chunks_dir_path = chunks_dir.clone();+fn construct_recording_args(input_index: &str, chunks_dir: &Path, video_type: &str) -> Vec<String> {+ let output_filename_pattern = format!("{}/recording_chunk_%03d.ts", chunks_dir.display());++ //List fps/options for input device, if video type is video+ if video_type == "video" {+ let (output, stderr) = run_command("ffmpeg", vec!["-f", "dshow", "-list_options", "true", "-i", format!("video={}", input_index).as_str()]).unwrap();+ let raw_output = if !stderr.trim().is_empty() { stderr } else { output };+ println!("Video options: {}", raw_output);+ }++ // The base arguments for FFmpeg command+ let mut ffmpeg_args = vec![+ "-pix_fmt".to_string(), "uyvy422".to_string(),+ "-c:v".to_string(), "libx264".to_string(),+ "-crf".to_string(), "20".to_string(),+ "-preset".to_string(), "veryfast".to_string(),+ "-g".to_string(), "60".to_string(),+ "-f".to_string(), "segment".to_string(),+ "-segment_time".to_string(), "10".to_string(),+ "-segment_format".to_string(), "mpegts".to_string(),+ "-reset_timestamps".to_string(), "1".to_string(),+ output_filename_pattern,+ ];++ // OS-specific argument construction+ match std::env::consts::OS {+ "macos" => {+ ffmpeg_args.insert(0, if video_type == "screen" { "Capture screen 0" } else { input_index }.to_string());+ ffmpeg_args.insert(0, "-i".to_string());+ ffmpeg_args.insert(0, "avfoundation".to_string());+ ffmpeg_args.insert(0, "-f".to_string());++ if video_type == "screen" {+ ffmpeg_args.insert(0, "1".to_string());+ ffmpeg_args.insert(0, "-capture_cursor".to_string());+ ffmpeg_args.insert(0, "60".to_string());+ ffmpeg_args.insert(0, "-r".to_string());+ }++ if video_type == "video" {+ ffmpeg_args.splice(0..0, vec!["-re".to_string()].into_iter());+ }+ },+ "linux" => {+ ffmpeg_args.insert(0, format!("{}+0,0", input_index).to_string());+ ffmpeg_args.insert(0, "-i".to_string());+ ffmpeg_args.insert(0, "x11grab".to_string());+ ffmpeg_args.insert(0, "-f".to_string());++ if video_type == "screen" {+ ffmpeg_args.insert(0, "60".to_string());+ ffmpeg_args.insert(0, "-r".to_string());+ ffmpeg_args.push("-draw_mouse".to_string());+ ffmpeg_args.push("1".to_string());+ }+ },+ "windows" => {+ if video_type == "screen" {+ ffmpeg_args.insert(0, "desktop".to_string());+ ffmpeg_args.insert(0, "-i".to_string());+ ffmpeg_args.insert(0, "gdigrab".to_string());+ ffmpeg_args.insert(0, "-f".to_string());+ ffmpeg_args.insert(0, "60".to_string());+ ffmpeg_args.insert(0, "-r".to_string());+ } else {+ ffmpeg_args.insert(0, format!("video={}", input_index).to_string());+ ffmpeg_args.insert(0, "-i".to_string());+ ffmpeg_args.insert(0, "dshow".to_string());+ ffmpeg_args.insert(0, "-f".to_string());+ ffmpeg_args.insert(0, "30".to_string());+ ffmpeg_args.insert(0, "-framerate".to_string());+ }+ },+ _ => panic!("Unsupported OS"),+ };++ ffmpeg_args+}++async fn start_upload_loop(chunks_dir: PathBuf, options: RecordingOptions, video_type: String) {+ println!("Starting upload loop for {}...", video_type);++ let upload_interval = std::time::Duration::from_secs(10);++ loop {+ let chunks_dir_path = chunks_dir.clone();let entries = match std::fs::read_dir(&chunks_dir_path) {Ok(entries) => entries,Err(e) => {- eprintln!("Failed to read chunks dir: {}", e);+ eprintln!("Failed to read chunks dir for {}: {}", video_type, e);tokio::time::sleep(upload_interval).await;continue;}};- for entry in entries {- let entry = match entry {- Ok(e) => e,- Err(e) => {- eprintln!("ReadDir entry error: {}", e);- continue;- }- };- let path = entry.path();- if path.is_file() {- let filepath_str = path.to_str().unwrap_or_default().to_owned();- match upload_video(- user_id.clone(),- filepath_str.clone(),- unique_id.clone(),- ).await {- Ok(file_key) => {- println!("Chunk uploaded: {}", file_key);- },- Err(e) => {- eprintln!("Failed to upload chunk {}: {}", filepath_str, e);- }- }- }- }-- tokio::time::sleep(upload_interval).await;- }- });-- Ok(())-}--#[tauri::command]-async fn stop_screen_recording(state: State<'_, Arc<Mutex<RecordingState>>>) -> Result<(), String> {- let mut guard = state.lock().await;-- // Attempt to kill the child process- if let Some(mut child) = guard.process.take() {- #[cfg(not(target_family = "unix"))]- {- if let Err(e) = child.kill() {- eprintln!("Failed to kill ffmpeg child process: {}", e);- return Err("Failed to kill ffmpeg process".to_string());+ for entry in entries {+ let entry = match entry {+ Ok(e) => e,+ Err(e) => {+ eprintln!("ReadDir entry error for {}: {}", video_type, e);+ continue;+ }+ };+ let path = entry.path();+ if path.is_file() && path.extension().map_or(false, |e| e == "ts") {+ let filepath_str = path.to_str().unwrap_or_default().to_owned();+ match upload_video(+ options.clone(),+ filepath_str.clone(),+ video_type.clone(),+ ).await {+ Ok(file_key) => {+ println!("Chunk uploaded: {}", file_key);+ },+ Err(e) => {+ eprintln!("Failed to upload chunk {}: {}", filepath_str, e);+ }+ }}}- // Try to wait for the process to exit- let _ = child.wait().map_err(|e| {- eprintln!("Failed to wait for the ffmpeg process to terminate: {}", e);- "Failed to wait for ffmpeg process to terminate".to_string()- })?;+ tokio::time::sleep(upload_interval).await;}-- // Notify the channel receiver to stop reading from the directory- if let Some(tx) = guard.tx.take() {- tx.send(()).await.map_err(|_| "Failed to send stop signal to channel".to_string())?;- }-- Ok(())}fn run_command(command: &str, args: Vec<&str>) -> Result<(String, String), String> {@@ -181,42 +266,13 @@ fn run_command(command: &str, args: Vec<&str>) -> Result<(String, String), StrinOk((stdout, stderr))}-async fn setup_s3_client() -> Result<Bucket, S3Error> {- let access_key: &str = dotenv!("CLOUDFLARE_ACCESS_KEY");- let secret_key: &str = dotenv!("CLOUDFLARE_SECRET_KEY");- let r2_endpoint: &str = dotenv!("CLOUDFLARE_R2_ENDPOINT");-- let region = Region::Custom {- region: "auto".to_string(),- endpoint: r2_endpoint.to_string(),- };- let credentials = Credentials::new(Some(&access_key), Some(&secret_key), None, None, None)?;- let bucket = Bucket::new("caps", region, credentials)?;-- // Perform a simple health check operation, such as listing objects- // Here we list the first object or prefix to minimize performance impact- bucket.list("".to_string(), Some("/".to_string())).await.map_err(|e| e)?;-- Ok(bucket)-}-#[tauri::command]async fn upload_video(- user_id: String,+ options: RecordingOptions,file_path: String,- unique_id: String+ video_type: String) -> Result<String, String> {- let bucket_result = setup_s3_client().await;- if let Err(e) = bucket_result {- return Err(format!("Failed to setup S3 client: {}", e));- }- let bucket = bucket_result.unwrap();-- let video_folder_uuid = if unique_id.is_empty() {- Uuid::new_v4().to_string()- } else {- unique_id- };+ println!("Uploading video...");let file_name = Path::new(&file_path).file_name()@@ -224,28 +280,95 @@ async fn upload_video(.ok_or("Invalid file path")?.to_string();- let file_key = format!("{}/{}/{}", user_id, video_folder_uuid, file_name);+ let file_key = format!("{}/{}/{}/{}", options.user_id, video_type, options.video_id, file_name);- let content = std::fs::read(&file_path)- .map_err(|e| format!("Failed to read video file: {}", e))?;+ // Here we assume your server listens on localhost:3000 and the route is `api/upload/new`+ let server_url = format!("http://localhost:3000/api/upload/new");- match bucket.put_object(&file_key, &content).await {- Ok(data) => {- if data.status_code() == 200 {- println!("Video '{}' uploaded successfully.", file_name);+ // Create the request body for the Next.js handler+ let body = serde_json::json!({+ "userId": options.user_id,+ "fileKey": file_key,+ "awsBucket": options.aws_bucket,+ "awsRegion": options.aws_region,+ });- // Remove the uploaded chunk file- std::fs::remove_file(&file_path)- .map_err(|e| format!("Failed to remove file after upload: {}", e))?;+ 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))?;- Ok(file_key)- } else {- let error_message = format!("Failed to upload file: HTTP Status Code {}", data.status_code());- Err(error_message)- }- },- Err(e) => return Err(format!("Failed to upload file: {}", e)),+ println!("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());}++ println!("Uploading file: {}", file_path);++ // Add the file content+ let file_bytes = tokio::fs::read(&file_path).await.map_err(|e| format!("Failed to read file: {}", e))?;+ let file_part = reqwest::multipart::Part::stream(reqwest::Body::from(file_bytes))+ .file_name(format!("{}", file_name));++ form = form.part("file", file_part);++ // Extract the URL and send the form to the presigned URL for upload+ let post_url = presigned_post_data["presignedPostData"]["url"].as_str()+ .ok_or("URL is missing or not a string")?;++ println!("Uploading file to: {}", post_url);++ let response = client.post(post_url)+ .multipart(form)+ .send()+ .await;++ match response {+ Ok(response) if response.status().is_success() => {+ println!("File uploaded successfully");+ }+ Ok(response) => {+ // The response was received without a network error, but the status code isn't a success.+ let status = response.status(); // Get the status before consuming the response+ let error_body = response.text().await.unwrap_or_else(|_| "<no response body>".to_string());+ eprintln!("Failed to upload file. Status: {}. Body: {}", status, error_body);+ return Err(format!("Failed to upload file. Status: {}. Body: {}", status, error_body));+ }+ Err(e) => {+ // The send operation failed before we got any response at all (e.g., a network error).+ return Err(format!("Failed to send upload file request: {}", e));+ }+ }++ // Clean up the uploaded file+ println!("Removing file after upload: {}", file_path);+ let remove_result = tokio::fs::remove_file(&file_path).await;+ match &remove_result {+ Ok(_) => println!("File removed successfully"),+ Err(e) => println!("Failed to remove file after upload: {}", e),+ }+ remove_result.map_err(|e| format!("Failed to remove file after upload: {}", e))?;++ Ok(file_key)}#[derive(Debug, Serialize, Deserialize)]@@ -396,19 +519,6 @@ fn main() {tauri::Builder::default().plugin(tauri_plugin_positioner::init()).setup(move |app| {- tauri::async_runtime::block_on(async {- if let Err(e) = setup_s3_client().await {- eprintln!("S3 client health check failed: {}", e);- } else {- eprintln!("S3 client health check passed.");- }- });-- // Fetch the full path to the FFmpeg binary- let ffmpeg_binary_path = sidecar_dir()?.join(if cfg!(target_os = "windows") { "ffmpeg.exe" } else { "ffmpeg" });-- let window = app.get_window("options").ok_or("Failed to get options window")?;-if let Some(camera_window) = app.get_window("camera") {let _ = camera_window.move_window(Position::BottomRight);}@@ -420,12 +530,11 @@ fn main() {Ok(())}).invoke_handler(tauri::generate_handler![- start_screen_recording,- stop_screen_recording,+ start_dual_recording,upload_video,list_devices])- .manage(Arc::new(Mutex::new(RecordingState { process: None, tx: None })))+ .manage(Arc::new(Mutex::new(RecordingState { screen_process: None, video_process: None, tx: None }))).plugin(tauri_plugin_context_menu::init()).run(tauri::generate_context!()).expect("Error while running tauri application");diff --git a/apps/desktop/src-tauri/src/recorder.rs b/apps/desktop/src-tauri/src/recorder.rsdeleted file mode 100644index 3f9184551..000000000--- a/apps/desktop/src-tauri/src/recorder.rs+++ /dev/null@@ -1,252 +0,0 @@-use std::io::{ErrorKind::WouldBlock, Write};-use std::process::{Command};-use std::sync::{Arc, Mutex};-use std::thread;-use std::time::{Duration, Instant};-use std::path::{PathBuf, Path};-use std::fs;-use std::fs::File;-use std::sync::atomic::{AtomicBool, Ordering};-use capture::{Capturer, Display};-use tauri::{Window};-use super::upload_video;--#[derive(Clone, PartialEq)]-pub enum RecordingState {- Idle,- Recording,- Stopping,-}--pub struct ScreenRecorder {- state: Arc<Mutex<RecordingState>>,- ffmpeg_handle: Mutex<Option<thread::JoinHandle<Result<(), String>>>>,- ffmpeg_path: PathBuf,- should_stop: Arc<AtomicBool>,- user_id: Option<String>,- window: Window-}--const BYTES_PER_PIXEL: usize = 4;--impl ScreenRecorder {-- pub fn new(ffmpeg_path: PathBuf, window: Window) -> Self {- Self {- state: Arc::new(Mutex::new(RecordingState::Idle)),- ffmpeg_handle: Mutex::new(None),- ffmpeg_path,- should_stop: Arc::new(AtomicBool::new(false)),- user_id: None,- window- }- }-- pub fn set_user_id(&mut self, user_id: String) {- self.user_id = Some(user_id);- }-- pub fn start_recording(&self) -> Result<(), String> {- let state = self.state.clone();- let should_stop = Arc::clone(&self.should_stop);- let ffmpeg_path = self.ffmpeg_path.clone();- let user_id = self.user_id.clone();- let window = self.window.clone();-- println!("Start recording requested.");-- // Ensure we have a primary display to capture- let display = Display::primary().map_err(|_| "Failed to find primary display".to_string())?;- let (w, h) = (display.width(), display.height());- let adjusted_height = h & !1;- let capture_size = w * adjusted_height * BYTES_PER_PIXEL;- let framerate = 60;-- println!("Display: {}x{}", w, h);-- // Check current recording state- let mut state_guard = state.lock().map_err(|_| "Failed to acquire state lock".to_string())?;- if *state_guard != RecordingState::Idle {- return Err("Recording is already in progress".to_owned());- }- *state_guard = RecordingState::Recording;- drop(state_guard);-- println!("Starting recording...");-- // Define paths for recordings and temp data- let recordings_dir = Path::new("recordings");- let tmp_file_path = recordings_dir.join("temporary_capture.raw");- let output_path = recordings_dir.join("screen.mp4").to_owned();-- fs::create_dir_all(&recordings_dir).map_err(|e| format!("Failed to create recordings directory: {}", e))?;-- println!("Temporary file path: {}", tmp_file_path.to_str().ok_or_else(|| "Failed to convert temporary file path to string".to_owned())?);-- // Delete existing temporary and final output files if they exist- if tmp_file_path.exists() {- std::fs::remove_file(&tmp_file_path).map_err(|e| format!("Failed to delete existing temp file: {}", e))?;- }- if output_path.exists() {- std::fs::remove_file(&output_path).map_err(|e| format!("Failed to delete existing final output file: {}", e))?;- }-- println!("Output file path: {}", output_path.to_str().ok_or_else(|| "Failed to convert output file path to string".to_owned())?);-- let output_path_str = output_path.to_str().ok_or_else(|| "Failed to construct output file path string".to_string())?.to_owned();-- let ffmpeg_handle = thread::spawn(move || {- println!("Starting capture...");-- let mut capturer = Capturer::new(display).expect("Failed to start capture");- let (sender, receiver) = std::sync::mpsc::channel::<Vec<u8>>();- let frame_duration = Duration::from_secs_f64(1.0 / framerate as f64);-- let write_handle = {- let tmp_file_path = tmp_file_path.clone();- let buffer_size = 100;- let mut buffer = Vec::new();- thread::spawn(move || {- let mut raw_file = File::create(&tmp_file_path).expect("Failed to create temporary raw file");- for data in receiver {- buffer.push(data);- if buffer.len() >= buffer_size {- for frame_data in buffer.drain(..) {- raw_file.write_all(&frame_data).expect("Failed to write frame data to file");- }- }- }- // Write any remaining frames in the buffer- for frame_data in buffer {- raw_file.write_all(&frame_data).expect("Failed to write frame data to file");- }- })- };-- // Capture loop- while !should_stop.load(Ordering::SeqCst) {- let time_started = Instant::now();- let frame = match capturer.frame() {- Ok(frame) => frame,- Err(error) if error.kind() == WouldBlock => {- continue;- },- Err(error) => return Err(format!("Capture error: {}", error)),- };-- let stride = frame[..capture_size].len() / adjusted_height;- let mut frame_data = Vec::with_capacity(capture_size);- for row in 0..adjusted_height {- let start = row * stride;- let end = start + stride;- frame_data.extend_from_slice(&frame[start..end]);- }-- sender.send(frame_data).expect("Failed to send frame data to the writer thread");- }-- println!("Capture stopped.");-- // End capture loop- drop(sender); // Send the terminating signal to the writing thread.- write_handle.join().expect("Failed to join the writer handle");-- println!("Encoding video...");-- // Encoding with FFmpeg- let status = Command::new(&ffmpeg_path)- .args(&[- "-f", "rawvideo",- "-pix_fmt", "bgra",- "-s", &format!("{}x{}", w, adjusted_height),- "-r", &framerate.to_string(),- "-i", tmp_file_path.to_str().ok_or_else(|| "Failed to convert temporary file path to string".to_owned())?,- "-c:v", "libx264",- "-preset", "veryfast",- "-crf", "15",- "-pix_fmt", "yuv420p",- "-y", // Overwrite output file without asking- "-movflags", "+faststart",- &output_path_str,- ])- .output();-- println!("Encoding finished.");- // Handle the FFmpeg output- match status {- Ok(output) if output.status.success() => {- // Encoding succeeded, remove the temporary file- let _ = fs::remove_file(&tmp_file_path);- println!("Encoding succeeded.");-- if let Some(user_id) = &user_id {- println!("Uploading video...");-- match tauri::async_runtime::block_on(upload_video(window.clone(), user_id.clone(), output_path_str.clone(), String::new(), false)) {- Ok(_) => println!("Video uploaded successfully."),- Err(e) => eprintln!("Video upload encountered an error: {}", e),- }- }-- Ok(())- },- Ok(output) => {- // Encoding failed - handle the error and FFmpeg's output accordingly- let stderr = String::from_utf8_lossy(&output.stderr);- Err(format!("FFmpeg failed with error: {}", stderr))- },- Err(e) => {- // FFmpeg failed to start or some other error occurred while waiting for it to complete- Err(format!("Failed to start encoding process: {}", e))- }- }- });-- // Save the handle to join later- *self.ffmpeg_handle.lock().unwrap() = Some(ffmpeg_handle);-- Ok(())- }--- pub fn stop_recording(&self) -> Result<(), String> {- println!("Stop recording requested.");-- // Check if recording is in progress or stopping- {- let state_guard = self.state.lock().map_err(|_| "Failed to acquire state lock".to_string())?;- if *state_guard == RecordingState::Idle {- println!("Recording is not in progress.");- return Ok(());- }- }-- // Mark the flag to stop recording- self.should_stop.store(true, Ordering::SeqCst);-- // Wait for the recording thread to finish- {- let mut handle = self.ffmpeg_handle.lock().map_err(|_| "Failed to acquire ffmpeg_handle lock".to_string())?;- if let Some(ffmpeg_handle) = handle.take() {- // Join the ffmpeg thread- match ffmpeg_handle.join() {- Ok(result) => match result {- Ok(_) => println!("Recording stopped successfully."),- Err(e) => eprintln!("Recording thread encountered an error: {}", e),- },- Err(_) => eprintln!("Failed to join recording thread."),- }- }- }-- // Reset the state to `Idle`- let mut state_guard = self.state.lock().map_err(|_| "Failed to acquire state lock".to_string())?;- *state_guard = RecordingState::Idle;-- // Lastly, reset the should_stop flag for potential next recording.- self.should_stop.store(false, Ordering::SeqCst);-- Ok(())- }--}\ No newline at end of filediff --git a/apps/desktop/src/components/windows/inner/Recorder.tsx b/apps/desktop/src/components/windows/inner/Recorder.tsxindex 1b34dcf3b..cf0513cb9 100644--- a/apps/desktop/src/components/windows/inner/Recorder.tsx+++ b/apps/desktop/src/components/windows/inner/Recorder.tsx@@ -71,28 +71,55 @@ export const Recorder = ({ session }: { session: AuthSession | null }) => {};const handleStopAllRecordings = async () => {- // stopRecording();await invoke("stop_screen_recording");+ setIsRecording(false);};useEffect(() => {const startRecording = async () => {if (isRecording) {- const { data: videoData, error: videoError } = (await supabase+ const {+ data: videoData,+ error: videoError,+ }: {+ data: Database["public"]["Tables"]["videos"]["Row"] | null;+ error: any;+ } = await supabase.from("videos")- .insert([- { owner_id: session?.user?.id },- ])) as Database["public"]["Tables"]["videos"]["Insert"];+ .insert({+ owner_id: session?.user?.id,+ aws_region: import.meta.env.VITE_AWS_REGION,+ aws_bucket: import.meta.env.VITE_AWS_BUCKET,+ })+ .select()+ .single();- if (videoError) {- console.error("Error inserting video:", videoError);+ console.log("session:");+ console.log(session?.user?.id);+ console.log("import.meta.env.VITE_AWS_REGION:");+ console.log(import.meta.env.VITE_AWS_REGION);+ console.log("import.meta.env.VITE_AWS_BUCKET:");+ console.log(import.meta.env.VITE_AWS_BUCKET);+ console.log("videoData:");+ console.log(videoData);+ console.log("videoError:");+ console.log(videoError);++ if (videoData === null) {+ console.error("videoData is null");return;}- if (videoData && videoData[0] && videoData[0].id) {- const videoId = videoData[0].id;- invoke("start_screen_recording", {- options: { user_id: session?.user?.id, unique_id: videoId },+ if (videoData.id) {+ invoke("start_dual_recording", {+ options: {+ user_id: session?.user?.id,+ video_id: videoData.id,+ aws_region: videoData.aws_region,+ aws_bucket: videoData.aws_bucket,+ screen_index: "3",+ video_index: "0",+ },}).catch((error) => {console.error("Error invoking start_screen_recording:", error);});@@ -158,13 +185,6 @@ export const Recorder = ({ session }: { session: AuthSession | null }) => {/>)}</div>- {/* <button- onClick={() => {- startStream();- }}- >- Start stream- </button> */}</div></div>);diff --git a/apps/desktop/tsconfig.json b/apps/desktop/tsconfig.jsonindex 04babecd7..a2e17269d 100644--- a/apps/desktop/tsconfig.json+++ b/apps/desktop/tsconfig.json@@ -5,7 +5,7 @@"lib": ["ES2020", "DOM", "DOM.Iterable"],"module": "ESNext","skipLibCheck": true,-+ "allowSyntheticDefaultImports": true,/* Bundler mode */"moduleResolution": "bundler","allowImportingTsExtensions": true,@@ -15,7 +15,7 @@"jsx": "react-jsx",/* Paths */- "baseUrl": "./",+ "baseUrl": ".","paths": {"@/*": ["src/*"],"@/components/*": ["src/components/*"],@@ -29,5 +29,6 @@"noFallthroughCasesInSwitch": true},"include": ["src", "tailwind.config.ts"],- "references": [{ "path": "./tsconfig.node.json" }]+ "references": [{ "path": "./tsconfig.node.json" }],+ "exclude": ["node_modules"]}diff --git a/apps/web/app/api/upload/new/route.ts b/apps/web/app/api/upload/new/route.tsnew file mode 100644index 000000000..f2e7c330f--- /dev/null+++ b/apps/web/app/api/upload/new/route.ts@@ -0,0 +1,61 @@+import { S3Client } from "@aws-sdk/client-s3";+import { createPresignedPost, PresignedPost } from "@aws-sdk/s3-presigned-post";+import { getSignedUrl } from "@aws-sdk/s3-request-presigner";+import { NextRequest } from "next/server";++const s3Client = new S3Client({+ region: process.env.AWS_REGION || "",+ credentials: {+ accessKeyId: process.env.AWS_ACCESS_KEY || "",+ secretAccessKey: process.env.AWS_SECRET_KEY || "",+ },+});++export async function POST(request: NextRequest) {+ try {+ const { userId, fileKey, awsBucket, awsRegion } = await request.json();++ if (!userId || !fileKey || !awsBucket || !awsRegion) {+ return new Response(+ JSON.stringify({ error: "Missing required fields" }),+ {+ status: 400,+ headers: {+ "Content-Type": "application/json",+ },+ }+ );+ }++ const Fields = {+ "x-amz-meta-userid": userId,+ };++ const presignedPostData: PresignedPost = await createPresignedPost(+ s3Client,+ {+ Bucket: awsBucket,+ Key: fileKey,+ Fields,+ Expires: 1800,+ }+ );++ return new Response(JSON.stringify({ presignedPostData }), {+ headers: {+ "Content-Type": "application/json",+ },+ });+ } catch (error) {+ console.error("Error creating presigned URL", error);+ return new Response(+ JSON.stringify({ error: "Error creating presigned URL" }),+ {+ status: 500,+ headers: {+ "Content-Type": "application/json",+ },+ }+ );+ }+}diff --git a/apps/web/package.json b/apps/web/package.jsonindex af6794627..ba059781e 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -9,10 +9,16 @@"lint": "next lint"},"dependencies": {+ "@aws-sdk/client-s3": "^3.485.0",+ "@aws-sdk/s3-presigned-post": "^3.485.0",+ "@aws-sdk/s3-request-presigner": "^3.485.0",+ "@cap/ui": "workspace:*",+ "@cap/utils": "workspace:*","@headlessui/react": "^1.7.17","@hookform/resolvers": "^3.3.2","@supabase/auth-helpers-nextjs": "^0.8.7","@supabase/supabase-js": "^2.39.0",+ "aws-sdk": "^2.1530.0","clsx": "^2.0.0","dotenv": "^16.3.1","lucide-react": "^0.294.0",@@ -24,8 +30,6 @@"react-scroll-parallax": "^3.4.5","server-only": "^0.0.1","tailwind-merge": "^2.1.0",- "@cap/ui": "workspace:*",- "@cap/utils": "workspace:*","zod": "^3.22.4"},"devDependencies": {diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex 505f46b5f..a572ba2dd 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -1,10 +1,10 @@{"name": "@cap/utils","version": "0.0.0",- "main": "./src/index.ts",- "types": "./src/index.ts",+ "main": "./src/index.tsx",+ "types": "./src/index.tsx","exports": {- ".": "./src/index.ts"+ ".": "./src/index.tsx"},"scripts": {"lint": "eslint src --cache",@@ -13,7 +13,10 @@},"devDependencies": {"tsconfig": "workspace:*",- "typescript": "^5.3.2"+ "typescript": "^5.3.2",+ "react": "^18.2.0",+ "react-dom": "^18.2.0",+ "react-router-dom": "^6.18.0"},"dependencies": {}}diff --git a/packages/utils/schema/schema.sql b/packages/utils/schema/schema.sqlindex 4a6917fcd..91fa97feb 100644--- a/packages/utils/schema/schema.sql+++ b/packages/utils/schema/schema.sql@@ -49,10 +49,11 @@ CREATE TABLE videos (owner_id UUID REFERENCES users(id) ON DELETE CASCADE,name VARCHAR(255) NOT NULL default 'My Video: ' || to_char(now(), 'YYYY-MM-DD HH24:MI:SS'),s3_url TEXT default null, -- AWS S3 URL to the video+ aws_region VARCHAR(255) default null, -- AWS region where the video is stored+ aws_bucket VARCHAR(255) default null, -- AWS bucket where the video is storedthumbnail_url TEXT, -- URL to the video's thumbnailduration NUMERIC, -- The length of the videometadata JSONB, -- Any additional metadata about the video- unique_cap_id UUID default NULL unique,complete BOOLEAN NOT NULL DEFAULT true, -- Whether video is fully processedis_public BOOLEAN NOT NULL DEFAULT false, -- Can be shared to spacescreated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.tsxsimilarity index 100%rename from packages/utils/src/index.tsrename to packages/utils/src/index.tsxdiff --git a/packages/utils/src/types/database.ts b/packages/utils/src/types/database.tsindex 054b12c06..5a68e8cae 100644--- a/packages/utils/src/types/database.ts+++ b/packages/utils/src/types/database.ts@@ -181,6 +181,8 @@ export interface Database {}videos: {Row: {+ aws_bucket: string | null+ aws_region: string | nullcomplete: booleancreated_at: stringduration: number | null@@ -191,10 +193,11 @@ export interface Database {owner_id: string | nulls3_url: string | nullthumbnail_url: string | null- unique_cap_id: string | nullupdated_at: string}Insert: {+ aws_bucket?: string | null+ aws_region?: string | nullcomplete?: booleancreated_at?: stringduration?: number | null@@ -205,10 +208,11 @@ export interface Database {owner_id?: string | nulls3_url?: string | nullthumbnail_url?: string | null- unique_cap_id?: string | nullupdated_at?: string}Update: {+ aws_bucket?: string | null+ aws_region?: string | nullcomplete?: booleancreated_at?: stringduration?: number | null@@ -219,7 +223,6 @@ export interface Database {owner_id?: string | nulls3_url?: string | nullthumbnail_url?: string | null- unique_cap_id?: string | nullupdated_at?: string}Relationships: [diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c70bdfbc8..f1ba1a6dd 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -64,7 +64,7 @@ importers:version: 0.2.7vite-tsconfig-paths:specifier: ^4.2.1- version: 4.2.1([email protected])([email protected])+ version: 4.2.1([email protected])([email protected])devDependencies:'@supabase/supabase-js':specifier: ^2.39.0@@ -80,16 +80,25 @@ importers:version: 18.2.17'@vitejs/plugin-react':specifier: ^4.0.3- version: 4.2.0([email protected])+ version: 4.2.0([email protected])typescript:- specifier: ^5.0.2+ specifier: ^5.3.2version: 5.3.2vite:- specifier: ^4.4.4- version: 4.5.0(@types/[email protected])+ specifier: ^5.0.11+ version: 5.0.11(@types/[email protected])apps/web:dependencies:+ '@aws-sdk/client-s3':+ specifier: ^3.485.0+ version: 3.485.0+ '@aws-sdk/s3-presigned-post':+ specifier: ^3.485.0+ version: 3.485.0+ '@aws-sdk/s3-request-presigner':+ specifier: ^3.485.0+ version: 3.485.0'@cap/ui':specifier: workspace:*version: link:../../packages/ui@@ -108,6 +117,9 @@ importers:'@supabase/supabase-js':specifier: ^2.39.0version: 2.39.0+ aws-sdk:+ specifier: ^2.1530.0+ version: 2.1530.0clsx:specifier: ^2.0.0version: 2.0.0@@ -320,6 +332,15 @@ importers:packages/utils:devDependencies:+ react:+ specifier: ^18.2.0+ version: 18.2.0+ react-dom:+ specifier: ^18.2.0+ version: 18.2.0([email protected])+ react-router-dom:+ specifier: ^6.18.0+ version: 6.20.0([email protected])([email protected])tsconfig:specifier: workspace:*version: link:../tsconfig@@ -345,6 +366,630 @@ packages:'@jridgewell/gen-mapping': 0.3.3'@jridgewell/trace-mapping': 0.3.20+ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==}+ dependencies:+ '@aws-crypto/util': 3.0.0+ '@aws-sdk/types': 3.485.0+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==}+ dependencies:+ '@aws-crypto/util': 3.0.0+ '@aws-sdk/types': 3.485.0+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==}+ dependencies:+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw==}+ dependencies:+ '@aws-crypto/ie11-detection': 3.0.0+ '@aws-crypto/supports-web-crypto': 3.0.0+ '@aws-crypto/util': 3.0.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-locate-window': 3.465.0+ '@aws-sdk/util-utf8-browser': 3.259.0+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==}+ dependencies:+ '@aws-crypto/ie11-detection': 3.0.0+ '@aws-crypto/sha256-js': 3.0.0+ '@aws-crypto/supports-web-crypto': 3.0.0+ '@aws-crypto/util': 3.0.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-locate-window': 3.465.0+ '@aws-sdk/util-utf8-browser': 3.259.0+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==}+ dependencies:+ '@aws-crypto/util': 3.0.0+ '@aws-sdk/types': 3.485.0+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==}+ dependencies:+ tslib: 1.14.1+ dev: false++ /@aws-crypto/[email protected]:+ resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-utf8-browser': 3.259.0+ tslib: 1.14.1+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-Vh8FRiXekwu1sSdfhS/wpNzjIljPmIXrUdEapR7EmaIwditR+mTTzNS+7y69YdPQhVEE2u9QxRlo4Eg1e1jD3w==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-crypto/sha1-browser': 3.0.0+ '@aws-crypto/sha256-browser': 3.0.0+ '@aws-crypto/sha256-js': 3.0.0+ '@aws-sdk/client-sts': 3.485.0+ '@aws-sdk/core': 3.485.0+ '@aws-sdk/credential-provider-node': 3.485.0+ '@aws-sdk/middleware-bucket-endpoint': 3.485.0+ '@aws-sdk/middleware-expect-continue': 3.485.0+ '@aws-sdk/middleware-flexible-checksums': 3.485.0+ '@aws-sdk/middleware-host-header': 3.485.0+ '@aws-sdk/middleware-location-constraint': 3.485.0+ '@aws-sdk/middleware-logger': 3.485.0+ '@aws-sdk/middleware-recursion-detection': 3.485.0+ '@aws-sdk/middleware-sdk-s3': 3.485.0+ '@aws-sdk/middleware-signing': 3.485.0+ '@aws-sdk/middleware-ssec': 3.485.0+ '@aws-sdk/middleware-user-agent': 3.485.0+ '@aws-sdk/region-config-resolver': 3.485.0+ '@aws-sdk/signature-v4-multi-region': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-endpoints': 3.485.0+ '@aws-sdk/util-user-agent-browser': 3.485.0+ '@aws-sdk/util-user-agent-node': 3.485.0+ '@aws-sdk/xml-builder': 3.485.0+ '@smithy/config-resolver': 2.0.23+ '@smithy/core': 1.2.2+ '@smithy/eventstream-serde-browser': 2.0.16+ '@smithy/eventstream-serde-config-resolver': 2.0.16+ '@smithy/eventstream-serde-node': 2.0.16+ '@smithy/fetch-http-handler': 2.3.2+ '@smithy/hash-blob-browser': 2.0.17+ '@smithy/hash-node': 2.0.18+ '@smithy/hash-stream-node': 2.0.18+ '@smithy/invalid-dependency': 2.0.16+ '@smithy/md5-js': 2.0.18+ '@smithy/middleware-content-length': 2.0.18+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/middleware-retry': 2.0.26+ '@smithy/middleware-serde': 2.0.16+ '@smithy/middleware-stack': 2.0.10+ '@smithy/node-config-provider': 2.1.9+ '@smithy/node-http-handler': 2.2.2+ '@smithy/protocol-http': 3.0.12+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/url-parser': 2.0.16+ '@smithy/util-base64': 2.0.1+ '@smithy/util-body-length-browser': 2.0.1+ '@smithy/util-body-length-node': 2.1.0+ '@smithy/util-defaults-mode-browser': 2.0.24+ '@smithy/util-defaults-mode-node': 2.0.32+ '@smithy/util-endpoints': 1.0.8+ '@smithy/util-retry': 2.0.9+ '@smithy/util-stream': 2.0.24+ '@smithy/util-utf8': 2.0.2+ '@smithy/util-waiter': 2.0.16+ fast-xml-parser: 4.2.5+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-apN2bEn0PZs0jD4jAfvwO3dlWqw9YIQJ6TAudM1bd3S5vzWqlBBcLfQpK6taHoQaI+WqgUWXLuOf7gRFbGXKPg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-crypto/sha256-browser': 3.0.0+ '@aws-crypto/sha256-js': 3.0.0+ '@aws-sdk/core': 3.485.0+ '@aws-sdk/middleware-host-header': 3.485.0+ '@aws-sdk/middleware-logger': 3.485.0+ '@aws-sdk/middleware-recursion-detection': 3.485.0+ '@aws-sdk/middleware-user-agent': 3.485.0+ '@aws-sdk/region-config-resolver': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-endpoints': 3.485.0+ '@aws-sdk/util-user-agent-browser': 3.485.0+ '@aws-sdk/util-user-agent-node': 3.485.0+ '@smithy/config-resolver': 2.0.23+ '@smithy/core': 1.2.2+ '@smithy/fetch-http-handler': 2.3.2+ '@smithy/hash-node': 2.0.18+ '@smithy/invalid-dependency': 2.0.16+ '@smithy/middleware-content-length': 2.0.18+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/middleware-retry': 2.0.26+ '@smithy/middleware-serde': 2.0.16+ '@smithy/middleware-stack': 2.0.10+ '@smithy/node-config-provider': 2.1.9+ '@smithy/node-http-handler': 2.2.2+ '@smithy/protocol-http': 3.0.12+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/url-parser': 2.0.16+ '@smithy/util-base64': 2.0.1+ '@smithy/util-body-length-browser': 2.0.1+ '@smithy/util-body-length-node': 2.1.0+ '@smithy/util-defaults-mode-browser': 2.0.24+ '@smithy/util-defaults-mode-node': 2.0.32+ '@smithy/util-endpoints': 1.0.8+ '@smithy/util-retry': 2.0.9+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-PI4q36kVF0fpIPZyeQhrwwJZ6SRkOGvU3rX5Qn4b5UY5X+Ct1aLhqSX8/OB372UZIcnh6eSvERu8POHleDO7Jw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-crypto/sha256-browser': 3.0.0+ '@aws-crypto/sha256-js': 3.0.0+ '@aws-sdk/core': 3.485.0+ '@aws-sdk/credential-provider-node': 3.485.0+ '@aws-sdk/middleware-host-header': 3.485.0+ '@aws-sdk/middleware-logger': 3.485.0+ '@aws-sdk/middleware-recursion-detection': 3.485.0+ '@aws-sdk/middleware-user-agent': 3.485.0+ '@aws-sdk/region-config-resolver': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-endpoints': 3.485.0+ '@aws-sdk/util-user-agent-browser': 3.485.0+ '@aws-sdk/util-user-agent-node': 3.485.0+ '@smithy/config-resolver': 2.0.23+ '@smithy/core': 1.2.2+ '@smithy/fetch-http-handler': 2.3.2+ '@smithy/hash-node': 2.0.18+ '@smithy/invalid-dependency': 2.0.16+ '@smithy/middleware-content-length': 2.0.18+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/middleware-retry': 2.0.26+ '@smithy/middleware-serde': 2.0.16+ '@smithy/middleware-stack': 2.0.10+ '@smithy/node-config-provider': 2.1.9+ '@smithy/node-http-handler': 2.2.2+ '@smithy/protocol-http': 3.0.12+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/url-parser': 2.0.16+ '@smithy/util-base64': 2.0.1+ '@smithy/util-body-length-browser': 2.0.1+ '@smithy/util-body-length-node': 2.1.0+ '@smithy/util-defaults-mode-browser': 2.0.24+ '@smithy/util-defaults-mode-node': 2.0.32+ '@smithy/util-endpoints': 1.0.8+ '@smithy/util-middleware': 2.0.9+ '@smithy/util-retry': 2.0.9+ '@smithy/util-utf8': 2.0.2+ fast-xml-parser: 4.2.5+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-Yvi80DQcbjkYCft471ClE3HuetuNVqntCs6eFOomDcrJaqdOFrXv2kJAxky84MRA/xb7bGlDGAPbTuj1ICputg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/core': 1.2.2+ '@smithy/protocol-http': 3.0.12+ '@smithy/signature-v4': 2.0.19+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-3XkFgwVU1XOB33dV7t9BKJ/ptdl2iS+0dxE7ecq8aqT2/gsfKmLCae1G17P8WmdD3z0kMDTvnqM2aWgUnSOkmg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/property-provider': 2.0.17+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-cFYF/Bdw7EnT4viSxYpNIv3IBkri/Yb+JpQXl8uDq7bfVJfAN5qZmK07vRkg08xL6TC4F41wshhMSAucGdTwIw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/credential-provider-env': 3.485.0+ '@aws-sdk/credential-provider-process': 3.485.0+ '@aws-sdk/credential-provider-sso': 3.485.0+ '@aws-sdk/credential-provider-web-identity': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@smithy/credential-provider-imds': 2.1.5+ '@smithy/property-provider': 2.0.17+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-2DwzO2azkSzngifKDT61W/DL0tSzewuaFHiLJWdfc8Et3mdAQJ9x3KAj8u7XFpjIcGNqk7FiKjN+zeGUuNiEhA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/credential-provider-env': 3.485.0+ '@aws-sdk/credential-provider-ini': 3.485.0+ '@aws-sdk/credential-provider-process': 3.485.0+ '@aws-sdk/credential-provider-sso': 3.485.0+ '@aws-sdk/credential-provider-web-identity': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@smithy/credential-provider-imds': 2.1.5+ '@smithy/property-provider': 2.0.17+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-X9qS6ZO/rDKYDgWqD1YmSX7sAUUHax9HbXlgGiTTdtfhZvQh1ZmnH6wiPu5WNliafHZFtZT2W07kgrDLPld/Ug==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/property-provider': 2.0.17+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-l0oC8GTrWh+LFQQfSmG1Jai1PX7Mhj9arb/CaS1/tmeZE0hgIXW++tvljYs/Dds4LGXUlaWG+P7BrObf6OyIXA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/client-sso': 3.485.0+ '@aws-sdk/token-providers': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@smithy/property-provider': 2.0.17+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-WpBFZFE0iXtnibH5POMEKITj/hR0YV5l2n9p8BEvKjdJ63s3Xke1RN20ZdIyKDaRDwj8adnKDgNPEnAKdS4kLw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/property-provider': 2.0.17+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-DptPuprsx9V1LH91ZvC/7a7B1UnuSAIi1ArJHlHqJL1ISo6sH1oeXP6KRa0tj8biGMDIx0b22wg8EEpFePMy3w==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-arn-parser': 3.465.0+ '@smithy/node-config-provider': 2.1.9+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ '@smithy/util-config-provider': 2.1.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-rOwJJWM1/ydwSiJJ1l/X5h91u2Xzb8/CwOW6ZY+E8iZA0HDCtlJnKNlhHb+NHGtDamd4+1qdGSRtPQevyS58Cg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-5+OmVMbEwl1LDdWbaJxoSViw6vuMsdDQgASFUM37aG46q1zWSiPU171IXutEAFZZXN/t0HcOFi0AmNrS0o+dkQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-crypto/crc32': 3.0.0+ '@aws-crypto/crc32c': 3.0.0+ '@aws-sdk/types': 3.485.0+ '@smithy/is-array-buffer': 2.0.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-1mAUX9dQNGo2RIKseVj7SI/D5abQJQ/Os8hQ0NyVAyyVYF+Yjx5PphKgfhM5yoBwuwZUl6q71XPYEGNx7be6SA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-Mrp4chtYliqCUSVjzLYPcZCPGmhL4QM7o6NhHBdA6omaIGdn4pJqFwN5ELZoWJDZMKyfrKi6s6u97jR9VtEXRg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-O8IgJ0LHi5wTs5GlpI7nqmmSSagkVdd1shpGgQWY2h0kMSCII8CJZHBG97dlFFpGTvx5EDlhPNek7rl/6F4dRw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-ZeVNATGNFcqkWDut3luVszROTUzkU5u+rJpB/xmeMoenlDAjPRiHt/ca3WkI5wAnIJ1VSNGpD2sOFLMCH+EWag==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-3769c4e3UtvaNU5T6dHxhjGI1kEXymldqiP1PMZMX2jVffwSGhbvyLq0Kl6+9Jr51fj2oXN6Tex+8J9+5dzTgQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-arn-parser': 3.465.0+ '@smithy/node-config-provider': 2.1.9+ '@smithy/protocol-http': 3.0.12+ '@smithy/signature-v4': 2.0.19+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/util-config-provider': 2.1.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-41xzT2p1sOibhsLkdE5rwPJkNbBtKD8Gp36/ySfu0KE415wfXKacElSVxAaBw39/j7iSWDYqqybeEYbAzk+3GQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/property-provider': 2.0.17+ '@smithy/protocol-http': 3.0.12+ '@smithy/signature-v4': 2.0.19+ '@smithy/types': 2.8.0+ '@smithy/util-middleware': 2.0.9+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-A59WTC0egT8zLnRzB+yWKq2AonugD1DgN4710RG70JY5XUmx5TYdECbUrVeG/zhNIKbBLLFjRcVk2uo4OZcgIA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-CddCVOn+OPQ0CcchketIg+WF6v+MDLAf3GOYTR2htUxxIm7HABuRd6R3kvQ5Jny9CV8gMt22G1UZITsFexSJlQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-endpoints': 3.485.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-2FB2EQ0sIE+YgFqGtkE1lDIMIL6nYe6MkOHBwBM7bommadKIrbbr2L22bPZGs3ReTsxiJabjzxbuCAVhrpHmhg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/node-config-provider': 2.1.9+ '@smithy/types': 2.8.0+ '@smithy/util-config-provider': 2.1.0+ '@smithy/util-middleware': 2.0.9+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-uu6PmQaIMrdovePeQi+DHiVuQcW4EXDcNgaL+sUeZjzPXV1/nTROgW+msMRB9nmWMhdEaVCNLUgJDf73BsYY5A==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/client-s3': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-format-url': 3.485.0+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/signature-v4': 2.0.19+ '@smithy/types': 2.8.0+ '@smithy/util-hex-encoding': 2.0.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-5TCyl1H/PdBH0XDSILb9y1d/fU+tDEQ7Fkqeb2gIYENDG09dX68TtcZVGs0sMZtC9CLUFpmEp8R/3LtfuoeY6w==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/signature-v4-multi-region': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-format-url': 3.485.0+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-168ipXkbG75l9cKQmsBtx/4+AYjGsBoy724bXosW13t2/l/E3IzJAYUjDROiK0JXVMG85xAnGWbFwZkjxVXzrQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/middleware-sdk-s3': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@smithy/protocol-http': 3.0.12+ '@smithy/signature-v4': 2.0.19+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-kOXA1WKIVIFNRqHL8ynVZ3hCKLsgnEmGr2iDR6agDNw5fYIlCO/6N2xR6QdGcLTvUUbwOlz4OvKLUQnWMKAnnA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-crypto/sha256-browser': 3.0.0+ '@aws-crypto/sha256-js': 3.0.0+ '@aws-sdk/middleware-host-header': 3.485.0+ '@aws-sdk/middleware-logger': 3.485.0+ '@aws-sdk/middleware-recursion-detection': 3.485.0+ '@aws-sdk/middleware-user-agent': 3.485.0+ '@aws-sdk/region-config-resolver': 3.485.0+ '@aws-sdk/types': 3.485.0+ '@aws-sdk/util-endpoints': 3.485.0+ '@aws-sdk/util-user-agent-browser': 3.485.0+ '@aws-sdk/util-user-agent-node': 3.485.0+ '@smithy/config-resolver': 2.0.23+ '@smithy/fetch-http-handler': 2.3.2+ '@smithy/hash-node': 2.0.18+ '@smithy/invalid-dependency': 2.0.16+ '@smithy/middleware-content-length': 2.0.18+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/middleware-retry': 2.0.26+ '@smithy/middleware-serde': 2.0.16+ '@smithy/middleware-stack': 2.0.10+ '@smithy/node-config-provider': 2.1.9+ '@smithy/node-http-handler': 2.2.2+ '@smithy/property-provider': 2.0.17+ '@smithy/protocol-http': 3.0.12+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/url-parser': 2.0.16+ '@smithy/util-base64': 2.0.1+ '@smithy/util-body-length-browser': 2.0.1+ '@smithy/util-body-length-node': 2.1.0+ '@smithy/util-defaults-mode-browser': 2.0.24+ '@smithy/util-defaults-mode-node': 2.0.32+ '@smithy/util-endpoints': 1.0.8+ '@smithy/util-retry': 2.0.9+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ transitivePeerDependencies:+ - aws-crt+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-+QW32YQdvZRDOwrAQPo/qCyXoSjgXB6RwJwCwkd8ebJXRXw6tmGKIHaZqYHt/LtBymvnaBgBBADNa4+qFvlOFw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-zOJ82vzDJFqBX9yZBlNeHHrul/kpx/DCoxzW5UBbZeb26kfV53QhMSoEmY8/lEbBqlqargJ/sgRC845GFhHNQw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-dTd642F7nJisApF8YjniqQ6U59CP/DCtar11fXf1nG9YNBCBsNNVw5ZfZb5nSNzaIdy27mQioWTCV18JEj1mxg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/util-endpoints': 1.0.8+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-CW82AQ8UD88jhI2OyAgT5yA8NH2KE0mgludRXYDT5uvwj6nlA7c2B+c2UJwbkMdlsUZip/XvN+jFoRR7AJH1GQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/querystring-builder': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-f+QNcWGswredzC1ExNAB/QzODlxwaTdXkNT5cvke2RLX8SFU5pYk6h4uCtWC0vWPELzOfMfloBrJefBzlarhsw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-QliWbjg0uOhGTcWgWTKPMY0SBi07g253DjwrCINT1auqDrdQPxa10xozpZExBYjAK2KuhYDNUzni127ae6MHOw==}+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/types': 2.8.0+ bowser: 2.11.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-QF+aQ9jnDlPUlFBxBRqOylPf86xQuD3aEPpOErR+50qJawVvKa94uiAFdvtI9jv6hnRZmuFsTj2rsyytnbAYBA==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ aws-crt: '>=1.0.0'+ peerDependenciesMeta:+ aws-crt:+ optional: true+ dependencies:+ '@aws-sdk/types': 3.485.0+ '@smithy/node-config-provider': 2.1.9+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@aws-sdk/[email protected]:+ resolution: {integrity: sha512-xQexPM6LINOIkf3NLFywplcbApifZRMWFN41TDWYSNgCUa5uC9fntfenw8N/HTx1n+McRCWSAFBTjDqY/2OLCQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false+/@babel/[email protected]:resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==}dependencies:@@ -572,6 +1217,14 @@ packages:'@jridgewell/trace-mapping': 0.3.9dev: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==}+ engines: {node: '>=12'}+ cpu: [ppc64]+ os: [aix]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}engines: {node: '>=12'}@@ -580,6 +1233,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==}engines: {node: '>=12'}@@ -588,6 +1249,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==}+ engines: {node: '>=12'}+ cpu: [arm]+ os: [android]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==}engines: {node: '>=12'}@@ -596,6 +1265,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [android]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==}engines: {node: '>=12'}@@ -604,10 +1281,26 @@ packages:requiresBuild: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==}engines: {node: '>=12'}- cpu: [x64]+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==}+ engines: {node: '>=12'}+ cpu: [x64]os: [darwin]requiresBuild: trueoptional: true@@ -620,6 +1313,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [freebsd]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==}engines: {node: '>=12'}@@ -628,6 +1329,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [freebsd]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==}engines: {node: '>=12'}@@ -636,6 +1345,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==}engines: {node: '>=12'}@@ -644,6 +1361,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==}+ engines: {node: '>=12'}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==}engines: {node: '>=12'}@@ -652,6 +1377,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==}+ engines: {node: '>=12'}+ cpu: [ia32]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==}engines: {node: '>=12'}@@ -660,6 +1393,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==}+ engines: {node: '>=12'}+ cpu: [loong64]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==}engines: {node: '>=12'}@@ -668,6 +1409,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==}+ engines: {node: '>=12'}+ cpu: [mips64el]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==}engines: {node: '>=12'}@@ -676,6 +1425,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==}+ engines: {node: '>=12'}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==}engines: {node: '>=12'}@@ -684,6 +1441,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==}+ engines: {node: '>=12'}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==}engines: {node: '>=12'}@@ -692,6 +1457,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==}+ engines: {node: '>=12'}+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==}engines: {node: '>=12'}@@ -700,6 +1473,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==}engines: {node: '>=12'}@@ -708,6 +1489,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [netbsd]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==}engines: {node: '>=12'}@@ -716,6 +1505,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [openbsd]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==}engines: {node: '>=12'}@@ -724,6 +1521,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [sunos]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==}engines: {node: '>=12'}@@ -732,6 +1537,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==}engines: {node: '>=12'}@@ -740,6 +1553,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==}+ engines: {node: '>=12'}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==}engines: {node: '>=12'}@@ -748,6 +1569,14 @@ packages:requiresBuild: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ optional: true+/@eslint-community/[email protected]([email protected]):resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -1543,112 +2372,658 @@ packages:react: 18.2.0dev: false- resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0- peerDependenciesMeta:- '@types/react':- optional: true+ resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@babel/runtime': 7.23.6+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.38+ react: 18.2.0+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.23.6+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])+ react: 18.2.0+ dev: false++ resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@babel/runtime': 7.23.6+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.38+ react: 18.2.0+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.23.6+ react: 18.2.0+ dev: false++ resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@babel/runtime': 7.23.6+ '@types/react': 18.2.38+ react: 18.2.0+ dev: false++ resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@babel/runtime': 7.23.6+ '@radix-ui/rect': 1.0.1+ '@types/react': 18.2.38+ react: 18.2.0+ dev: false++ resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@babel/runtime': 7.23.6+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])+ '@types/react': 18.2.38+ react: 18.2.0+ dev: false++ /@radix-ui/[email protected]:+ resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}+ dependencies:+ '@babel/runtime': 7.23.6+ dev: false++ /@remix-run/[email protected]:+ resolution: {integrity: sha512-5dMOnVnefRsl4uRnAdoWjtVTdh8e6aZqgM4puy9nmEADH72ck+uXwzpJLEKE9Q6F8ZljNewLgmTfkxUrBdv4WA==}+ engines: {node: '>=14.0.0'}++ /@rollup/[email protected]:+ resolution: {integrity: sha512-nvh9bB41vXEoKKvlWCGptpGt8EhrEwPQFDCY0VAto+R+qpSbaErPS3OjMZuXR8i/2UVw952Dtlnl2JFxH31Qvg==}+ cpu: [arm]+ os: [android]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-kffYCJ2RhDL1DlshLzYPyJtVeusHlA8Q1j6k6s4AEVKLq/3HfGa2ADDycLsmPo3OW83r4XtOPqRMbcFzFsEIzQ==}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-Fo7DR6Q9/+ztTyMBZ79+WJtb8RWZonyCgkBCjV51rW5K/dizBzImTW6HLC0pzmHaAevwM0jW1GtB5LCFE81mSw==}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-5HcxDF9fqHucIlTiw/gmMb3Qv23L8bLCg904I74Q2lpl4j/20z9ogaD3tWkeguRuz+/17cuS321PT3PAuyjQdg==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-cO6hKV+99D1V7uNJQn1chWaF9EGp7qV2N8sGH99q9Y62bsbN6Il55EwJppEWT+JiqDRg396vWCgwdHwje8itBQ==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-xANyq6lVg6KMO8UUs0LjA4q7di3tPpDbzLPgVEU2/F1ngIZ54eli8Zdt3uUUTMXVbgTCafIO+JPeGMhu097i3w==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-TZJUfRTugVFATQToCMD8DNV6jv/KpSwhE1lLq5kXiQbBX3Pqw6dRKtzNkh5wcp0n09reBBq/7CGDERRw9KmE+g==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-4/QVaRyaB5tkEAGfjVvWrmWdPF6F2NoaoO5uEP7N0AyeBw7l8SeCWWKAGrbx/00PUdHrJVURJiYikazslSKttQ==}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-koLC6D3pj1YLZSkTy/jsk3HOadp7q2h6VQl/lPX854twOmmLNekHB6yuS+MkWcKdGGdW1JPuPBv/ZYhr5Yhtdg==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-0OAkQ4HBp+JO2ip2Lgt/ShlrveOMzyhwt2D0KvqH28jFPqfZco28KSq76zymZwmU+F6GRojdxtQMJiNSXKNzeA==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-z5uvoMvdRWggigOnsb9OOCLERHV0ykRZoRB5O+URPZC9zM3pkoMg5fN4NKu2oHqgkzZtfx9u4njqqlYEzM1v9A==}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-wxomCHjBVKws+O4N1WLnniKCXu7vkLtdq9Fl9CN/EbwEldojvUrkoHE/fBLZzC7IT/x12Ut6d6cRs4dFvqJkMg==}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-1Qf/qk/iEtx0aOi+AQQt5PBoW0mFngsm7bPuxHClC/hWh2hHBktR6ktSfUg5b5rC9v8hTwNmHE7lBWXkgqluUQ==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ optional: true++ /@rushstack/[email protected]:+ resolution: {integrity: sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==}+ dev: true++ /@smithy/[email protected]:+ resolution: {integrity: sha512-4foO7738k8kM9flMHu3VLabqu7nPgvIj8TB909S0CnKx0YZz/dcDH3pZ/4JHdatfxlZdKF1JWOYCw9+v3HVVsw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-N2oCZRglhWKm7iMBu7S6wDzXirjAofi7tAd26cxmgibRYOBS4D3hGfmkwCpHdASZzwZDD8rluh0Rcqw1JeZDRw==}+ dependencies:+ '@smithy/util-base64': 2.0.1+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-k+J4GHJsMSAIQPChGBrjEmGS+WbPonCXesoqP9fynIqjn7rdOThdH8FAeCmokP9mxTYKQAKoHCLPzNlm6gh7Wg==}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-XakUqgtP2YY8Mi+Nlif5BiqJgWdvfxJafSpOSQeCOMizu+PUhE4fBQSy6xFcR+eInrwVadaABNxoJyGUMn15ew==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/node-config-provider': 2.1.9+ '@smithy/types': 2.8.0+ '@smithy/util-config-provider': 2.1.0+ '@smithy/util-middleware': 2.0.9+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-uLjrskLT+mWb0emTR5QaiAIxVEU7ndpptDaVDrTwwhD+RjvHhjIiGQ3YL5jKk1a5VSDQUA2RGkXvJ6XKRcz6Dg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/middleware-retry': 2.0.26+ '@smithy/middleware-serde': 2.0.16+ '@smithy/protocol-http': 3.0.12+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/util-middleware': 2.0.9+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-VfvE6Wg1MUWwpTZFBnUD7zxvPhLY8jlHCzu6bCjlIYoWgXCDzZAML76IlZUEf45nib3rjehnFgg0s1rgsuN/bg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/node-config-provider': 2.1.9+ '@smithy/property-provider': 2.0.17+ '@smithy/types': 2.8.0+ '@smithy/url-parser': 2.0.16+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-umYh5pdCE9GHgiMAH49zu9wXWZKNHHdKPm/lK22WYISTjqu29SepmpWNmPiBLy/yUu4HFEGJHIFrDWhbDlApaw==}+ dependencies:+ '@aws-crypto/crc32': 3.0.0+ '@smithy/types': 2.8.0+ '@smithy/util-hex-encoding': 2.0.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-W+BdiN728R57KuZOcG0GczpIOEFf8S5RP/OdVH7T3FMCy8HU2bBU0vB5xZZR5c00VRdoeWrohNv3XlHoZuGRoA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/eventstream-serde-universal': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-8qrE4nh+Tg6m1SMFK8vlzoK+8bUFTlIhXidmmQfASMninXW3Iu0T0bI4YcIk4nLznHZdybQ0qGydIanvVZxzVg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-NRNQuOa6mQdFSkqzY0IV37swHWx0SEoKxFtUfdZvfv0AVQPlSw4N7E3kcRSCpnHBr1kCuWWirdDlWcjWuD81MA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/eventstream-serde-universal': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-ZyLnGaYQMLc75j9kKEVMJ3X6bdBE9qWxhZdTXM5RIltuytxJC3FaOhawBxjE+IL1enmWSIohHGZCm/pLwEliQA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/eventstream-codec': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-O9R/OlnAOTsnysuSDjt0v2q6DcSvCz5cCFC/CFAWWcLyBwJDeFyGTCTszgpQTb19+Fi8uRwZE5/3ziAQBFeDMQ==}+ dependencies:+ '@smithy/protocol-http': 3.0.12+ '@smithy/querystring-builder': 2.0.16+ '@smithy/types': 2.8.0+ '@smithy/util-base64': 2.0.1+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-/mPpv1sRiRDdjO4zZuO8be6eeabmg5AVgKDfnmmqkpBtRyMGSJb968fjRuHt+FRAsIGywgIKJFmUUAYjhsi1oQ==}+ dependencies:+ '@smithy/chunked-blob-reader': 2.0.0+ '@smithy/chunked-blob-reader-native': 2.0.1+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-gN2JFvAgnZCyDN9rJgcejfpK0uPPJrSortVVVVWsru9whS7eQey6+gj2eM5ln2i6rHNntIXzal1Fm9XOPuoaKA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ '@smithy/util-buffer-from': 2.0.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-OuFk+ITpv8CtxGjQcS8GA04faNycu9UMm6YobvQzjeEoXZ0dLF6sRfuzD+3S8RHPKpTyLuXtKG1+GiJycZ5TcA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-apEHakT/kmpNo1VFHP4W/cjfeP9U0x5qvfsLJubgp7UM/gq4qYp0GbqdE7QhsjUaYvEnrftRqs7+YrtWreV0wA==}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==}+ engines: {node: '>=14.0.0'}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-bHwZ8/m6RbERQdVW5rJ2LzeW8qxfXv6Q/S7Fiudhso4pWRrksqLx3nsGZw7bmqqfN4zLqkxydxSa9+4c7s5zxg==}+ dependencies:+ '@smithy/types': 2.8.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-ZJ9uKPTfxYheTKSKYB+GCvcj+izw9WGzRLhjn8n254q0jWLojUzn7Vw0l4R/Gq7Wdpf/qmk/ptD+6CCXHNVCaw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-VsOAG2YQ8ykjSmKO+CIXdJBIWFo6AAvG6Iw95BakBTqk66/4BI7XyqLevoNSq/lZ6NgZv24sLmrcIN+fLDWBCg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/middleware-serde': 2.0.16+ '@smithy/node-config-provider': 2.1.9+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/types': 2.8.0+ '@smithy/url-parser': 2.0.16+ '@smithy/util-middleware': 2.0.9+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-Qzpxo0U5jfNiq9iD38U3e2bheXwvTEX4eue9xruIvEgh+UKq6dKuGqcB66oBDV7TD/mfoJi9Q/VmaiqwWbEp7A==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/node-config-provider': 2.1.9+ '@smithy/protocol-http': 3.0.12+ '@smithy/service-error-classification': 2.0.9+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ '@smithy/util-middleware': 2.0.9+ '@smithy/util-retry': 2.0.9+ tslib: 2.6.2+ uuid: 8.3.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-5EAd4t30pcc4M8TSSGq7q/x5IKrxfXR5+SrU4bgxNy7RPHQo2PSWBUco9C+D9Tfqp/JZvprRpK42dnupZafk2g==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-I2rbxctNq9FAPPEcuA1ntZxkTKOPQFy7YBPOaD/MLg1zCvzv21CoNxR0py6J8ZVC35l4qE4nhxB0f7TF5/+Ldw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-tUyW/9xrRy+s7RXkmQhgYkAPMpTIF8izK4orhHjNFEKR3QZiOCbWB546Y8iB/Fpbm3O9+q0Af9rpywLKJOwtaQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/property-provider': 2.0.17+ '@smithy/shared-ini-file-loader': 2.2.8+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-XO58TO/Eul/IBQKFKaaBtXJi0ItEQQCT+NI4IiKHCY/4KtqaUT6y/wC1EvDqlA9cP7Dyjdj7FdPs4DyynH3u7g==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/abort-controller': 2.0.16+ '@smithy/protocol-http': 3.0.12+ '@smithy/querystring-builder': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-+VkeZbVu7qtQ2DjI48Qwaf9fPOr3gZIwxQpuLJgRRSkWsdSvmaTCxI3gzRFKePB63Ts9r4yjn4HkxSCSkdWmcQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-Xz4iaqLiaBfbQpB9Hgi3VcZYbP7xRDXYhd8XWChh4v94uw7qwmvlxdU5yxzfm6ACJM66phHrTbS5TVvj5uQ72w==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-Q/GsJT0C0mijXMRs7YhZLLCP5FcuC4797lYjKQkME5CZohnLC4bEhylAd2QcD3gbMKNjCw8+T2I27WKiV/wToA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ '@smithy/util-uri-escape': 2.0.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-c4ueAuL6BDYKWpkubjrQthZKoC3L5kql5O++ovekNxiexRXTlLIVlCR4q3KziOktLIw66EU9SQljPXd/oN6Okg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-0K+8GvtwI7VkGmmInPydM2XZyBfIqLIbfR7mDQ+oPiz8mIinuHbV6sxOLdvX1Jv/myk7XTK9orgt3tuEpBu/zg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-E62byatbwSWrtq9RJ7xN40tqrRKDGrEL4EluyNpaIDvfvet06a/QC58oHw2FgVaEgkj0tXZPjZaKrhPfpoU0qw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-nwc3JihdM+kcJjtORv/n7qRHN2Kfh7S2RJI2qr8pz9UcY5TD8rSCRGQ0g81HgyS3jZ5X9U/L4p014P3FonBPhg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/eventstream-codec': 2.0.16+ '@smithy/is-array-buffer': 2.0.0+ '@smithy/types': 2.8.0+ '@smithy/util-hex-encoding': 2.0.0+ '@smithy/util-middleware': 2.0.9+ '@smithy/util-uri-escape': 2.0.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-SpD7FLK92XV2fon2hMotaNDa2w5VAy5/uVjP9WFmjGSgWM8pTPVkHcDl1yFs5Z8LYbij0FSz+DbCBK6i+uXXUA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/middleware-endpoint': 2.3.0+ '@smithy/middleware-stack': 2.0.10+ '@smithy/protocol-http': 3.0.12+ '@smithy/types': 2.8.0+ '@smithy/util-stream': 2.0.24+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-h9sz24cFgt/W1Re22OlhQKmUZkNh244ApgRsUDYinqF8R+QgcsBIX344u2j61TPshsTz3CvL6HYU1DnQdsSrHA==}+ engines: {node: '>=14.0.0'}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-Wfz5WqAoRT91TjRy1JeLR0fXtkIXHGsMbgzKFTx7E68SrZ55TB8xoG+vm11Ru4gheFTMXjAjwAxv1jQdC+pAQA==}+ dependencies:+ '@smithy/querystring-parser': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-DlI6XFYDMsIVN+GH9JtcRp3j02JEVuWIn/QOZisVzpIAprdsxGveFed0bjbMRCqmIFe8uetn5rxzNrBtIGrPIQ==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/util-buffer-from': 2.0.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-NXYp3ttgUlwkaug4bjBzJ5+yIbUbUx8VsSLuHZROQpoik+gRkIBeEG9MPVYfvPNpuXb/puqodeeUXcKFe7BLOQ==}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/is-array-buffer': 2.0.0+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-S6V0JvvhQgFSGLcJeT1CBsaTR03MM8qTuxMH9WPCCddlSo2W0V5jIHimHtIQALMLEDPGQ0ROSRr/dU0O+mxiQg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ tslib: 2.6.2+ dev: false++ /@smithy/[email protected]:+ resolution: {integrity: sha512-TsP5mBuLgO2C21+laNG2nHYZEyUdkbGURv2tHvSuQQxLz952MegX95uwdxOY2jR2H4GoKuVRfdJq7w4eIjGYeg==}+ engines: {node: '>= 10.0.0'}dependencies:- '@babel/runtime': 7.23.6- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.38- react: 18.2.0+ '@smithy/property-provider': 2.0.17+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ bowser: 2.11.0+ tslib: 2.6.2dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0+ /@smithy/[email protected]:+ resolution: {integrity: sha512-d0S33dXA2cq1NyorVMroMrEtqKMr3MlyLITcfTBf9pXiigYiPMOtbSI7czHIfDbuVuM89Cg0urAgpt73QV9mPQ==}+ engines: {node: '>= 10.0.0'}dependencies:- '@babel/runtime': 7.23.6- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])- react: 18.2.0+ '@smithy/config-resolver': 2.0.23+ '@smithy/credential-provider-imds': 2.1.5+ '@smithy/node-config-provider': 2.1.9+ '@smithy/property-provider': 2.0.17+ '@smithy/smithy-client': 2.2.1+ '@smithy/types': 2.8.0+ tslib: 2.6.2dev: false- resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0- peerDependenciesMeta:- '@types/react':- optional: true+ /@smithy/[email protected]:+ resolution: {integrity: sha512-l8zVuyZZ61IzZBYp5NWvsAhbaAjYkt0xg9R4xUASkg5SEeTT2meHOJwJHctKMFUXe4QZbn9fR2MaBYjP2119+w==}+ engines: {node: '>= 14.0.0'}dependencies:- '@babel/runtime': 7.23.6- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.38- react: 18.2.0+ '@smithy/node-config-provider': 2.1.9+ '@smithy/types': 2.8.0+ tslib: 2.6.2dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0+ /@smithy/[email protected]:+ resolution: {integrity: sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==}+ engines: {node: '>=14.0.0'}dependencies:- '@babel/runtime': 7.23.6- react: 18.2.0+ tslib: 2.6.2dev: false- resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0- peerDependenciesMeta:- '@types/react':- optional: true+ /@smithy/[email protected]:+ resolution: {integrity: sha512-PnCnBJ07noMX1lMDTEefmxSlusWJUiLfrme++MfK5TD0xz8NYmakgoXy5zkF/16zKGmiwOeKAztWT/Vjk1KRIQ==}+ engines: {node: '>=14.0.0'}dependencies:- '@babel/runtime': 7.23.6- '@types/react': 18.2.38- react: 18.2.0+ '@smithy/types': 2.8.0+ tslib: 2.6.2dev: false- resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0- peerDependenciesMeta:- '@types/react':- optional: true+ /@smithy/[email protected]:+ resolution: {integrity: sha512-46BFWe9RqB6g7f4mxm3W3HlqknqQQmWHKlhoqSFZuGNuiDU5KqmpebMbvC3tjTlUkqn4xa2Z7s3Hwb0HNs5scw==}+ engines: {node: '>= 14.0.0'}dependencies:- '@babel/runtime': 7.23.6- '@radix-ui/rect': 1.0.1- '@types/react': 18.2.38- react: 18.2.0+ '@smithy/service-error-classification': 2.0.9+ '@smithy/types': 2.8.0+ tslib: 2.6.2dev: false- resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0- peerDependenciesMeta:- '@types/react':- optional: true+ /@smithy/[email protected]:+ resolution: {integrity: sha512-hRpbcRrOxDriMVmbya+Mv77VZVupxRAsfxVDKS54XuiURhdiwCUXJP0X1iJhHinuUf6n8pBF0MkG9C8VooMnWw==}+ engines: {node: '>=14.0.0'}dependencies:- '@babel/runtime': 7.23.6- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- '@types/react': 18.2.38- react: 18.2.0+ '@smithy/fetch-http-handler': 2.3.2+ '@smithy/node-http-handler': 2.2.2+ '@smithy/types': 2.8.0+ '@smithy/util-base64': 2.0.1+ '@smithy/util-buffer-from': 2.0.0+ '@smithy/util-hex-encoding': 2.0.0+ '@smithy/util-utf8': 2.0.2+ tslib: 2.6.2dev: false- /@radix-ui/[email protected]:- resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}+ /@smithy/[email protected]:+ resolution: {integrity: sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==}+ engines: {node: '>=14.0.0'}dependencies:- '@babel/runtime': 7.23.6+ tslib: 2.6.2dev: false- /@remix-run/[email protected]:- resolution: {integrity: sha512-5dMOnVnefRsl4uRnAdoWjtVTdh8e6aZqgM4puy9nmEADH72ck+uXwzpJLEKE9Q6F8ZljNewLgmTfkxUrBdv4WA==}+ /@smithy/[email protected]:+ resolution: {integrity: sha512-qOiVORSPm6Ce4/Yu6hbSgNHABLP2VMv8QOC3tTDNHHlWY19pPyc++fBTbZPtx6egPXi4HQxKDnMxVxpbtX2GoA==}engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/util-buffer-from': 2.0.0+ tslib: 2.6.2+ dev: false- /@rushstack/[email protected]:- resolution: {integrity: sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==}- dev: true+ /@smithy/[email protected]:+ resolution: {integrity: sha512-5i4YONHQ6HoUWDd+X0frpxTXxSXgJhUFl+z0iMy/zpUmVeCQY2or3Vss6DzHKKMMQL4pmVHpQm9WayHDorFdZg==}+ engines: {node: '>=14.0.0'}+ dependencies:+ '@smithy/abort-controller': 2.0.16+ '@smithy/types': 2.8.0+ tslib: 2.6.2+ dev: false/@supabase/[email protected](@supabase/[email protected]):resolution: {integrity: sha512-iYdOjFo0GkRvha340l8JdCiBiyXQuG9v8jnq7qMJ/2fakrskRgHTCOt7ryWbip1T6BExcWKC8SoJrhCzPOxhhg==}@@ -1922,6 +3297,9 @@ packages:dependencies:'@babel/types': 7.23.4+ /@types/[email protected]:+ resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}+/@types/[email protected]:resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==}dependencies:@@ -2142,6 +3520,22 @@ packages:transitivePeerDependencies:- supports-color+ /@vitejs/[email protected]([email protected]):+ resolution: {integrity: sha512-+MHTH/e6H12kRp5HUkzOGqPMksezRMmW+TNzlh/QXfI8rRf6l2Z2yH/v12no1UvTwhZgEDMuQ7g7rrfMseU6FQ==}+ engines: {node: ^14.18.0 || >=16.0.0}+ peerDependencies:+ vite: ^4.2.0 || ^5.0.0+ dependencies:+ '@babel/core': 7.23.3+ '@babel/plugin-transform-react-jsx-self': 7.23.3(@babel/[email protected])+ '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/[email protected])+ '@types/babel__core': 7.20.5+ react-refresh: 0.14.0+ vite: 5.0.11(@types/[email protected])+ transitivePeerDependencies:+ - supports-color+ dev: true+resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}peerDependencies:@@ -2397,7 +3791,22 @@ packages:resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==}engines: {node: '>= 0.4'}- dev: true++ resolution: {integrity: sha512-00hEQvur+ohBQiBzyLm5YU3B5UrU2QgEzmIuvB88i4vrViRIcxHotWmdMMSQPOhHjyQb8RwfksfUMpstnyGWxg==}+ engines: {node: '>= 10.0.0'}+ dependencies:+ buffer: 4.9.2+ events: 1.1.1+ ieee754: 1.1.13+ jmespath: 0.16.0+ querystring: 0.2.0+ sax: 1.2.1+ url: 0.10.3+ util: 0.12.5+ uuid: 8.0.0+ xml2js: 0.5.0+ dev: falseresolution: {integrity: sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==}@@ -2415,7 +3824,6 @@ packages:resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}- dev: trueresolution: {integrity: sha512-QHX8HLlncOLpy54mh+k/sWIFd0ThmRqwe9ZjELybGZK+tZ8rUb9VO0saKJUROTbE+KhzDUT7xziGpGrW8Kmd+g==}@@ -2448,6 +3856,10 @@ packages:readable-stream: 3.6.2dev: true+ resolution: {integrity: sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==}+ dev: false+resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}dependencies:@@ -2476,6 +3888,14 @@ packages:node-releases: 2.0.13update-browserslist-db: 1.0.13([email protected])+ resolution: {integrity: sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==}+ dependencies:+ base64-js: 1.5.1+ ieee754: 1.2.1+ isarray: 1.0.0+ dev: false+resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}dependencies:@@ -2502,7 +3922,6 @@ packages:function-bind: 1.1.2get-intrinsic: 1.2.2set-function-length: 1.1.1- dev: trueresolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}@@ -2783,7 +4202,6 @@ packages:get-intrinsic: 1.2.2gopd: 1.0.1has-property-descriptors: 1.0.1- dev: trueresolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}@@ -3018,6 +4436,36 @@ packages:'@esbuild/win32-ia32': 0.18.20'@esbuild/win32-x64': 0.18.20+ resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==}+ engines: {node: '>=12'}+ hasBin: true+ requiresBuild: true+ optionalDependencies:+ '@esbuild/aix-ppc64': 0.19.11+ '@esbuild/android-arm': 0.19.11+ '@esbuild/android-arm64': 0.19.11+ '@esbuild/android-x64': 0.19.11+ '@esbuild/darwin-arm64': 0.19.11+ '@esbuild/darwin-x64': 0.19.11+ '@esbuild/freebsd-arm64': 0.19.11+ '@esbuild/freebsd-x64': 0.19.11+ '@esbuild/linux-arm': 0.19.11+ '@esbuild/linux-arm64': 0.19.11+ '@esbuild/linux-ia32': 0.19.11+ '@esbuild/linux-loong64': 0.19.11+ '@esbuild/linux-mips64el': 0.19.11+ '@esbuild/linux-ppc64': 0.19.11+ '@esbuild/linux-riscv64': 0.19.11+ '@esbuild/linux-s390x': 0.19.11+ '@esbuild/linux-x64': 0.19.11+ '@esbuild/netbsd-x64': 0.19.11+ '@esbuild/openbsd-x64': 0.19.11+ '@esbuild/sunos-x64': 0.19.11+ '@esbuild/win32-arm64': 0.19.11+ '@esbuild/win32-ia32': 0.19.11+ '@esbuild/win32-x64': 0.19.11+resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}engines: {node: '>=6'}@@ -3537,6 +4985,11 @@ packages:engines: {node: '>=0.10.0'}dev: true+ resolution: {integrity: sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==}+ engines: {node: '>=0.4.x'}+ dev: false+resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}engines: {node: '>=10'}@@ -3587,6 +5040,13 @@ packages:resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}dev: true+ resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==}+ hasBin: true+ dependencies:+ strnum: 1.0.5+ dev: false+resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==}dependencies:@@ -3645,7 +5105,6 @@ packages:resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}dependencies:is-callable: 1.2.7- dev: trueresolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==}@@ -3724,7 +5183,6 @@ packages:has-proto: 1.0.1has-symbols: 1.0.3hasown: 2.0.0- dev: trueresolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}@@ -3869,7 +5327,6 @@ packages:resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}dependencies:get-intrinsic: 1.2.2- dev: trueresolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}@@ -3916,24 +5373,20 @@ packages:resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==}dependencies:get-intrinsic: 1.2.2- dev: trueresolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==}engines: {node: '>= 0.4'}- dev: trueresolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}engines: {node: '>= 0.4'}- dev: trueresolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==}engines: {node: '>= 0.4'}dependencies:has-symbols: 1.0.3- dev: trueresolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==}@@ -3980,9 +5433,12 @@ packages:safer-buffer: 2.1.2dev: true+ resolution: {integrity: sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==}+ dev: false+resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}- dev: trueresolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==}@@ -4088,6 +5544,14 @@ packages:resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==}dev: true+ resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.5+ has-tostringtag: 1.0.0+ dev: false+resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==}dependencies:@@ -4126,7 +5590,6 @@ packages:resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}engines: {node: '>= 0.4'}- dev: trueresolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==}@@ -4160,7 +5623,6 @@ packages:engines: {node: '>= 0.4'}dependencies:has-tostringtag: 1.0.0- dev: trueresolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}@@ -4251,7 +5713,6 @@ packages:engines: {node: '>= 0.4'}dependencies:which-typed-array: 1.1.13- dev: trueresolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==}@@ -4281,6 +5742,10 @@ packages:get-intrinsic: 1.2.2dev: true+ resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}+ dev: false+resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}dev: true@@ -4308,6 +5773,11 @@ packages:resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==}hasBin: true+ resolution: {integrity: sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==}+ engines: {node: '>= 0.6.0'}+ dev: false+resolution: {integrity: sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ==}dev: false@@ -5021,6 +6491,14 @@ packages:picocolors: 1.0.0source-map-js: 1.0.2+ resolution: {integrity: sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.7+ picocolors: 1.0.0+ source-map-js: 1.0.2+resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}engines: {node: '>= 0.8.0'}@@ -5072,11 +6550,21 @@ packages:resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}dev: true+ resolution: {integrity: sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==}+ dev: false+resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}engines: {node: '>=6'}dev: true+ resolution: {integrity: sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==}+ engines: {node: '>=0.4.x'}+ deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.+ dev: false+resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}@@ -5373,6 +6861,28 @@ packages:optionalDependencies:fsevents: 2.3.3+ resolution: {integrity: sha512-JnchF0ZGFiqGpAPjg3e89j656Ne4tTtCY1VZc1AxtoQcRIxjTu9jyYHBAtkDXE+X681n4un/nX9SU52AroSRzg==}+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}+ hasBin: true+ dependencies:+ '@types/estree': 1.0.5+ optionalDependencies:+ '@rollup/rollup-android-arm-eabi': 4.9.3+ '@rollup/rollup-android-arm64': 4.9.3+ '@rollup/rollup-darwin-arm64': 4.9.3+ '@rollup/rollup-darwin-x64': 4.9.3+ '@rollup/rollup-linux-arm-gnueabihf': 4.9.3+ '@rollup/rollup-linux-arm64-gnu': 4.9.3+ '@rollup/rollup-linux-arm64-musl': 4.9.3+ '@rollup/rollup-linux-riscv64-gnu': 4.9.3+ '@rollup/rollup-linux-x64-gnu': 4.9.3+ '@rollup/rollup-linux-x64-musl': 4.9.3+ '@rollup/rollup-win32-arm64-msvc': 4.9.3+ '@rollup/rollup-win32-ia32-msvc': 4.9.3+ '@rollup/rollup-win32-x64-msvc': 4.9.3+ fsevents: 2.3.3+resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}engines: {node: '>=0.12.0'}@@ -5422,6 +6932,10 @@ packages:resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}dev: true+ resolution: {integrity: sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==}+ dev: false+resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}dependencies:@@ -5462,7 +6976,6 @@ packages:get-intrinsic: 1.2.2gopd: 1.0.1has-property-descriptors: 1.0.1- dev: trueresolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==}@@ -5645,6 +7158,10 @@ packages:engines: {node: '>=8'}dev: true+ resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==}+ dev: false+resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}engines: {node: '>= 12.0.0'}@@ -5901,7 +7418,6 @@ packages:resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}- dev: trueresolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}@@ -6099,6 +7615,13 @@ packages:punycode: 2.3.1dev: true+ resolution: {integrity: sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==}+ dependencies:+ punycode: 1.3.2+ querystring: 0.2.0+ dev: false+resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==}engines: {node: '>=10'}@@ -6133,6 +7656,26 @@ packages:resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}+ resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==}+ dependencies:+ inherits: 2.0.4+ is-arguments: 1.1.1+ is-generator-function: 1.0.10+ is-typed-array: 1.1.12+ which-typed-array: 1.1.13+ dev: false++ resolution: {integrity: sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==}+ hasBin: true+ dev: false++ resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}+ hasBin: true+ dev: false+resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}dev: true@@ -6164,6 +7707,23 @@ packages:- supports-color- typescript+ resolution: {integrity: sha512-GNUI6ZgPqT3oervkvzU+qtys83+75N/OuDaQl7HmOqFTb0pjZsuARrRipsyJhJ3enqV8beI1xhGbToR4o78nSQ==}+ peerDependencies:+ vite: '*'+ peerDependenciesMeta:+ vite:+ optional: true+ dependencies:+ debug: 4.3.4+ globrex: 0.1.2+ tsconfck: 2.1.2([email protected])+ vite: 5.0.11(@types/[email protected])+ transitivePeerDependencies:+ - supports-color+ - typescript+ dev: false+/[email protected](@types/[email protected]):resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==}engines: {node: ^14.18.0 || >=16.0.0}@@ -6199,6 +7759,41 @@ packages:optionalDependencies:fsevents: 2.3.3+ /[email protected](@types/[email protected]):+ resolution: {integrity: sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==}+ engines: {node: ^18.0.0 || >=20.0.0}+ hasBin: true+ peerDependencies:+ '@types/node': ^18.0.0 || >=20.0.0+ less: '*'+ lightningcss: ^1.21.0+ sass: '*'+ stylus: '*'+ sugarss: '*'+ terser: ^5.4.0+ peerDependenciesMeta:+ '@types/node':+ optional: true+ less:+ optional: true+ lightningcss:+ optional: true+ sass:+ optional: true+ stylus:+ optional: true+ sugarss:+ optional: true+ terser:+ optional: true+ dependencies:+ '@types/node': 20.10.0+ esbuild: 0.19.11+ postcss: 8.4.33+ rollup: 4.9.3+ optionalDependencies:+ fsevents: 2.3.3+resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==}engines: {node: '>=10.13.0'}@@ -6273,7 +7868,6 @@ packages:for-each: 0.3.3gopd: 1.0.1has-tostringtag: 1.0.0- dev: trueresolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}@@ -6319,6 +7913,19 @@ packages:utf-8-validate:optional: true+ resolution: {integrity: sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==}+ engines: {node: '>=4.0.0'}+ dependencies:+ sax: 1.2.1+ xmlbuilder: 11.0.1+ dev: false++ resolution: {integrity: sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==}+ engines: {node: '>=4.0'}+ dev: false+resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}